summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-02-25 00:58:57 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-03-12 23:28:26 +0100
commit2fd34f2636e2547dcc2a6085de1039928f989ba4 (patch)
tree9dbb5736e12b661d53f37c73f8fd121fac59bccc
parent1acba3345c6f707195d8f1cbac834436445279b3 (diff)
downloadu-boot-imx-2fd34f2636e2547dcc2a6085de1039928f989ba4.zip
u-boot-imx-2fd34f2636e2547dcc2a6085de1039928f989ba4.tar.gz
u-boot-imx-2fd34f2636e2547dcc2a6085de1039928f989ba4.tar.bz2
arm: omap: map u_boot_lists section to .sram
Output section .u_boot_list was left unmapped in u-boot-spl.lds for omap-common, causing the location counter to roll back to bteween .rodata and .data, making __image_copy_end and _end symbols wrong. Mapping output section .u_boot_list to memory .sram fixes these symbols' mapping. This modifies the SPL binary but has no functional impact, as __image_copy_end and _end are never used in SPLs and u_boot_list is empty for all 29 boards affected (omap4_sdp4430 eco5pk igep0030 am335x_evm_uart3 omap3_beagle am3517_crane igep0032 mt_ventoux pcm051 am3517_evm omap3_evm_quick_mmc am335x_evm_uart2 am335x_evm_spiboot am335x_evm_uart1 omap3_evm igep0030_nand omap3_overo igep0020 am335x_evm omap4_panda omap5_evm am335x_evm_uart4 devkit8000 tricorder mcx twister omap3_evm_quick_nand am335x_evm_uart5 igep0020_nand). Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
-rw-r--r--arch/arm/cpu/armv7/omap-common/u-boot-spl.lds2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/u-boot-spl.lds b/arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
index 9979c30..6755628 100644
--- a/arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
+++ b/arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
@@ -50,7 +50,7 @@ SECTIONS
.u_boot_list : {
#include <u-boot.lst>
- }
+ } > .sram
. = ALIGN(4);
__image_copy_end = .;