9
0
Fork 0

tegra: lowlevel: setup an early stack

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

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Lucas Stach 2014-06-03 22:34:52 +02:00 committed by Sascha Hauer
parent a41187b2e9
commit 7819300000
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}