mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
powerpc: mpc85xx: Put bss after image when not including reset vector
Linker knows exact size of the image, so there is no need to use CONFIG_SYS_MONITOR_LEN macro (which should be upper limit). Remove usage of CONFIG_SYS_MONITOR_LEN macro to simplify setup. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
c45f000f29
commit
1b780b654f
@ -11,10 +11,6 @@
|
|||||||
#define RESET_VECTOR_ADDRESS 0xfffffffc
|
#define RESET_VECTOR_ADDRESS 0xfffffffc
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_SYS_MONITOR_LEN
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN 0x80000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
OUTPUT_ARCH(powerpc)
|
OUTPUT_ARCH(powerpc)
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
|
||||||
@ -86,7 +82,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
KEEP(arch/powerpc/cpu/mpc85xx/start.o (.bootpg))
|
KEEP(arch/powerpc/cpu/mpc85xx/start.o (.bootpg))
|
||||||
} :text = 0xffff
|
} :text = 0xffff
|
||||||
. = ADDR(.text) + CONFIG_SYS_MONITOR_LEN;
|
. = _end;
|
||||||
#else
|
#else
|
||||||
.bootpg RESET_VECTOR_ADDRESS - 0xffc :
|
.bootpg RESET_VECTOR_ADDRESS - 0xffc :
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user