mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 08:31:03 +00:00
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>
This commit is contained in:
parent
41aebf8106
commit
975b71bc10
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue