projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.denx.de/u-boot-imx
[oweals/u-boot.git]
/
arch
/
powerpc
/
cpu
/
mpc85xx
/
u-boot-nand.lds
diff --git
a/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
b/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
index df3b0f9168b7615eab3515114bc83b20738af37f..0399f93e6ef04aade2fa91a7379cb13a0c5e5689 100644
(file)
--- a/
arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
+++ b/
arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
@@
-4,6
+4,12
@@
* SPDX-License-Identifier: GPL-2.0+
*/
* SPDX-License-Identifier: GPL-2.0+
*/
+#include "config.h"
+
+#ifndef CONFIG_SYS_MONITOR_LEN
+#define CONFIG_SYS_MONITOR_LEN 0x80000
+#endif
+
OUTPUT_ARCH(powerpc)
/* Do we need any of these for elf?
__DYNAMIC = 0; */
OUTPUT_ARCH(powerpc)
/* Do we need any of these for elf?
__DYNAMIC = 0; */
@@
-38,7
+44,6
@@
SECTIONS
_GOT2_TABLE_ = .;
KEEP(*(.got2))
KEEP(*(.got))
_GOT2_TABLE_ = .;
KEEP(*(.got2))
KEEP(*(.got))
- PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
_FIXUP_TABLE_ = .;
KEEP(*(.fixup))
}
_FIXUP_TABLE_ = .;
KEEP(*(.fixup))
}
@@
-76,7
+81,7
@@
SECTIONS
KEEP(arch/powerpc/cpu/mpc85xx/start.o (.bootpg))
} :text = 0xffff
KEEP(arch/powerpc/cpu/mpc85xx/start.o (.bootpg))
} :text = 0xffff
- . = ADDR(.text) +
0x80000
;
+ . = ADDR(.text) +
CONFIG_SYS_MONITOR_LEN
;
__bss_start = .;
.bss (NOLOAD) :
__bss_start = .;
.bss (NOLOAD) :