[PATCH 7/9] ARM: zynq: zed: switch to entry function with stack
Lucas Stach
dev at lynxeye.de
Fri Dec 13 13:00:13 PST 2024
Use the upper non-contiguous OCM region vacated by the
BootROM as the entry stack.
Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
arch/arm/boards/avnet-zedboard/lowlevel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/avnet-zedboard/lowlevel.c b/arch/arm/boards/avnet-zedboard/lowlevel.c
index 6e5a17d7eff5..c681764bd009 100644
--- a/arch/arm/boards/avnet-zedboard/lowlevel.c
+++ b/arch/arm/boards/avnet-zedboard/lowlevel.c
@@ -286,7 +286,7 @@ static void avnet_zedboard_pbl_console_init(void)
pr_debug("\nAvnet ZedBoard PBL\n");
}
-ENTRY_FUNCTION(start_avnet_zedboard, r0, r1, r2)
+ENTRY_FUNCTION_WITHSTACK(start_avnet_zedboard, 0xfffff000, r0, r1, r2)
{
void *fdt = __dtb_z_zynq_zed_start + get_runtime_offset();
--
2.47.1
More information about the barebox
mailing list