diff options
author | Tom Rini <trini@ti.com> | 2012-08-09 08:22:06 -0700 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 14:58:19 +0200 |
commit | 975b71bc10acb944092456fceb35aca7222addc0 (patch) | |
tree | fdd84c3b7b4b71acc7e3104bdd2b1e5038a101f8 /arch/arm/cpu/armv7 | |
parent | 41aebf810688d606bd43b9ca336bd26d914ad2c8 (diff) | |
download | u-boot-imx-975b71bc10acb944092456fceb35aca7222addc0.zip u-boot-imx-975b71bc10acb944092456fceb35aca7222addc0.tar.gz u-boot-imx-975b71bc10acb944092456fceb35aca7222addc0.tar.bz2 |
armv7: Make lowlevel_init.S's lowlevel_init do ABI compatible stack
Make sure that when we setup the stack before calling s_init() we have
the stack have 8-byte alignment for ABI compliance.
Tested-by: Allen Martin <amartin@nvidia.com>
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r-- | arch/arm/cpu/armv7/lowlevel_init.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/lowlevel_init.S b/arch/arm/cpu/armv7/lowlevel_init.S index ef04575..0d45528 100644 --- a/arch/arm/cpu/armv7/lowlevel_init.S +++ b/arch/arm/cpu/armv7/lowlevel_init.S @@ -36,6 +36,7 @@ ENTRY(lowlevel_init) * Setup a temporary stack */ ldr sp, =CONFIG_SYS_INIT_SP_ADDR + bic sp, sp, #7 /* 8-byte alignment for ABI compliance */ /* * Save the old lr(passed in ip) and the current lr to stack |