Message ID | 20230701023053.747972-1-festevam@gmail.com |
---|---|
State | Accepted |
Commit | a1ddcf7cee55261a3c4a874440b3f152c73d203a |
Delegated to: | Tom Rini |
Headers | show |
Series | [v2,1/3] sunxi: u-boot-spl.lds: Pass _image_binary_end | expand |
On 7/1/23 04:30, Fabio Estevam wrote: > From: Fabio Estevam <festevam@denx.de> > > 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>
On Fri, Jun 30, 2023 at 11:30:51PM -0300, Fabio Estevam wrote: > From: Fabio Estevam <festevam@denx.de> > > 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> Applied to u-boot/master, thanks!
diff --git a/arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds b/arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds index c10873681157..cf65e8c46281 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 306a4ddf3cd2..fb7a789b28b8 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 : {