Skip to content
Snippets Groups Projects
Commit 975b71bc authored by Tom Rini's avatar Tom Rini Committed by Albert ARIBAUD
Browse files

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: default avatarAllen Martin <amartin@nvidia.com>
Signed-off-by: default avatarTom Rini <trini@ti.com>
parent 41aebf81
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment