From: Lokesh Vutla <lokeshvutla@ti.com>
Date: Fri, 10 Feb 2017 15:07:17 +0000 (+0530)
Subject: ARM: OMAP2+: define _image_binary_end to fix SPL_OF_CONTROL
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4d451c00825ab7c4d25dc507d9a81e90ad3eb308;p=project%2Fbcm63xx%2Fu-boot.git

ARM: OMAP2+: define _image_binary_end to fix SPL_OF_CONTROL

To make SPL_OF_CONTROL work on OMAP2+ SoCs, _image_binary_end must be
defined in the linker script along with CONFIG_SPL_SEPARATE_BSS.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---

diff --git a/arch/arm/mach-omap2/u-boot-spl.lds b/arch/arm/mach-omap2/u-boot-spl.lds
index 8fec715ca5..e9da2a9dd1 100644
--- a/arch/arm/mach-omap2/u-boot-spl.lds
+++ b/arch/arm/mach-omap2/u-boot-spl.lds
@@ -46,6 +46,8 @@ SECTIONS
 		*(.__end)
 	}
 
+	_image_binary_end = .;
+
 	.bss :
 	{
 		. = ALIGN(4);