From: Tom Rini Date: Thu, 9 Aug 2012 15:22:06 +0000 (-0700) Subject: armv7: Make lowlevel_init.S's lowlevel_init do ABI compatible stack X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=975b71bc10acb944092456fceb35aca7222addc0;p=u-boot.git 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 Signed-off-by: Tom Rini --- diff --git a/arch/arm/cpu/armv7/lowlevel_init.S b/arch/arm/cpu/armv7/lowlevel_init.S index ef04575e82..0d45528e99 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