diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2017-03-24 11:34:06 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-04-13 14:44:52 -0600 |
commit | 7abd5aabfa8a2137c82d2f401d0da7413dd8cfaf (patch) | |
tree | 6966127ffa1aa4142f90f35172fee9d679c3eb47 /arch/arm/mach-at91/armv7 | |
parent | 5bede73c6c2478f2da9be64ee3a0d13d4b20f893 (diff) |
ARM: at91: lds: use "_image_binary_end" for DT location
The MMC SPL locates the BSS section to a different memory region
from text, then use "_image_binary_end" variable to point to the
correct device tree location.
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/armv7')
-rw-r--r-- | arch/arm/mach-at91/armv7/u-boot-spl.lds | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/armv7/u-boot-spl.lds b/arch/arm/mach-at91/armv7/u-boot-spl.lds index c667c5555b..d2e41a026c 100644 --- a/arch/arm/mach-at91/armv7/u-boot-spl.lds +++ b/arch/arm/mach-at91/armv7/u-boot-spl.lds @@ -47,6 +47,8 @@ SECTIONS *(.__end) } >.sram + _image_binary_end = .; + .bss : { . = ALIGN(4); |