Use the upper non-contiguous OCM region vacated by the
BootROM as the entry stack.

Signed-off-by: Lucas Stach <[email protected]>
---
 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


Reply via email to