aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/lowlevel_init.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/armv7/lowlevel_init.S')
-rw-r--r--arch/arm/cpu/armv7/lowlevel_init.S1
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 ef04575e825..0d45528e999 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