]> git.sur5r.net Git - u-boot/commitdiff
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 c667c5555be57cc9e394180558819347d605755a..d2e41a026c4ddf5243af05bf50760a0e4124c4cf 100644 (file)
@@ -47,6 +47,8 @@ SECTIONS
                *(.__end)
        } >.sram
 
+       _image_binary_end = .;
+
        .bss :
        {
                . = ALIGN(4);