[PATCH 1/3] ARM: k3: am62x: move stack to end of SRAM
Sascha Hauer
s.hauer at pengutronix.de
Mon May 18 02:26:38 PDT 2026
Our available SRAM ends at 0x43c3e000. Move the initial stack the to not
waste 0x1000 bytes of scarce SRAM.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/boards/am625-sk/entry-r5.S | 2 +-
arch/arm/boards/beagleplay/entry-r5.S | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/am625-sk/entry-r5.S b/arch/arm/boards/am625-sk/entry-r5.S
index e724e5550c..c0ece084a0 100644
--- a/arch/arm/boards/am625-sk/entry-r5.S
+++ b/arch/arm/boards/am625-sk/entry-r5.S
@@ -3,7 +3,7 @@
#define SRAM_BASE 0x43c00000
-#define STACK_TOP SRAM_BASE + 0x3d000
+#define STACK_TOP SRAM_BASE + 0x3e000
.arm
.section .text_head_entry_start_am625_sk_r5;
diff --git a/arch/arm/boards/beagleplay/entry-r5.S b/arch/arm/boards/beagleplay/entry-r5.S
index 712f0f4b8c..8f961651eb 100644
--- a/arch/arm/boards/beagleplay/entry-r5.S
+++ b/arch/arm/boards/beagleplay/entry-r5.S
@@ -3,7 +3,7 @@
#define SRAM_BASE 0x43c00000
-#define STACK_TOP SRAM_BASE + 0x3d000
+#define STACK_TOP SRAM_BASE + 0x3e000
.arm
.section .text_head_entry_start_beagleplay_r5;
--
2.47.3
More information about the barebox
mailing list