aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-06-30 23:30:51 -0300
committerTom Rini <trini@konsulko.com>2023-07-03 10:20:13 -0400
commita1ddcf7cee55261a3c4a874440b3f152c73d203a (patch)
tree2e2b4a8bd4f6997aa08c7ed28d36fcfae40dd373
parentf5d98b01e10f05a823f3f5821c729198e56ebdbb (diff)
downloadu-boot-a1ddcf7cee55261a3c4a874440b3f152c73d203a.zip
u-boot-a1ddcf7cee55261a3c4a874440b3f152c73d203a.tar.gz
u-boot-a1ddcf7cee55261a3c4a874440b3f152c73d203a.tar.bz2
sunxi: u-boot-spl.lds: Pass _image_binary_end
Pass _image_binary_end to make a standard way to indicate the end of the text section in SPL. The motivation for this is to have a uniform way to handle the SPL boundary checks. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Marek Vasut <marex@denx.de>
-rw-r--r--arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds1
-rw-r--r--arch/arm/cpu/armv7/sunxi/u-boot-spl.lds1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds b/arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds
index c108736..cf65e8c 100644
--- a/arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds
+++ b/arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds
@@ -36,6 +36,7 @@ SECTIONS
. = ALIGN(4);
__image_copy_end = .;
_end = .;
+ _image_binary_end = .;
.bss :
{
diff --git a/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds b/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds
index 306a4dd..fb7a789 100644
--- a/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds
+++ b/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds
@@ -45,6 +45,7 @@ SECTIONS
. = ALIGN(4);
__image_copy_end = .;
_end = .;
+ _image_binary_end = .;
.bss :
{