Even the lowlevel functions are growing to a
size where having a stack seem beneficial.

Signed-off-by: Lucas Stach <[email protected]>
---
 arch/arm/mach-tegra/include/mach/lowlevel.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-tegra/include/mach/lowlevel.h 
b/arch/arm/mach-tegra/include/mach/lowlevel.h
index 1026518..80d65a6 100644
--- a/arch/arm/mach-tegra/include/mach/lowlevel.h
+++ b/arch/arm/mach-tegra/include/mach/lowlevel.h
@@ -272,6 +272,8 @@ void tegra_cpu_lowlevel_setup(void)
        r &= ~0x1f;
        r |= 0xd3;
        __asm__ __volatile__("msr cpsr, %0" : : "r"(r));
+
+       arm_setup_stack(TEGRA_IRAM_BASE + SZ_256K - 8);
        tegra_ll_delay_setup();
 }
 
-- 
1.9.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to