ARM: at91: lds: use "_image_binary_end" for DT location
authorWenyou Yang <wenyou.yang@atmel.com>
Fri, 24 Mar 2017 03:34:06 +0000 (11:34 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Apr 2017 20:44:52 +0000 (14:44 -0600)
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>
arch/arm/mach-at91/armv7/u-boot-spl.lds

index c667c55..d2e41a0 100644 (file)
@@ -47,6 +47,8 @@ SECTIONS
                *(.__end)
        } >.sram
 
+       _image_binary_end = .;
+
        .bss :
        {
                . = ALIGN(4);