public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 1/3] sunxi: u-boot-spl.lds: Pass _image_binary_end
@ 2023-07-01  2:30 Fabio Estevam
  2023-07-01  2:30 ` [PATCH v2 2/3] microblaze: " Fabio Estevam
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Fabio Estevam @ 2023-07-01  2:30 UTC (permalink / raw)
  To: trini; +Cc: marex, u-boot, francesco.dolcini, Fabio Estevam

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>
---
Changes since v1:
- Newly introduced to avoid build failure.

 arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds | 1 +
 arch/arm/cpu/armv7/sunxi/u-boot-spl.lds     | 1 +
 2 files changed, 2 insertions(+)

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 :
 	{
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-07-03 18:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-01  2:30 [PATCH v2 1/3] sunxi: u-boot-spl.lds: Pass _image_binary_end Fabio Estevam
2023-07-01  2:30 ` [PATCH v2 2/3] microblaze: " Fabio Estevam
2023-07-01 13:06   ` Marek Vasut
2023-07-03 18:28   ` Tom Rini
2023-07-01  2:30 ` [PATCH v2 3/3] spl: spl_legacy: Fix spl_end address Fabio Estevam
2023-07-01 13:11   ` Marek Vasut
2023-07-03 18:28   ` Tom Rini
2023-07-01 13:06 ` [PATCH v2 1/3] sunxi: u-boot-spl.lds: Pass _image_binary_end Marek Vasut
2023-07-03 18:27 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox