From: Wenyou Yang Date: Fri, 24 Mar 2017 03:34:06 +0000 (+0800) Subject: ARM: at91: lds: use "_image_binary_end" for DT location X-Git-Tag: v2017.05-rc2~8^2~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7abd5aabfa8a2137c82d2f401d0da7413dd8cfaf;p=oweals%2Fu-boot.git 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 --- 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);