summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/s3c44b0
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2010-11-12 07:53:55 +0100
committerWolfgang Denk <wd@denx.de>2010-12-08 23:50:09 +0100
commit296cae732b0dbe374abc9b26fed6f73588b9d1e2 (patch)
treef947d45840b38c44825c5362e67d86e5afb3d4fc /arch/arm/cpu/s3c44b0
parent44b0a386bc435d2b51e1b088a0e2610226000c3c (diff)
downloadu-boot-imx-296cae732b0dbe374abc9b26fed6f73588b9d1e2.zip
u-boot-imx-296cae732b0dbe374abc9b26fed6f73588b9d1e2.tar.gz
u-boot-imx-296cae732b0dbe374abc9b26fed6f73588b9d1e2.tar.bz2
arm: add 8-byte alignment for ABI compliance before board_init_f
suggested from Daniel Hobi<daniel.hobi@schmid-telecom.ch> Tested on following boards: arm1136: qong armv7: omap3_beagle arm926ejs: magnesium, tx25 Signed-off-by: Heiko Schocher <hs@denx.de> cc: Daniel Hobi <daniel.hobi@schmid-telecom.ch> cc: Albert ARIBAUD <albert.aribaud@free.fr>
Diffstat (limited to 'arch/arm/cpu/s3c44b0')
-rw-r--r--arch/arm/cpu/s3c44b0/start.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/s3c44b0/start.S b/arch/arm/cpu/s3c44b0/start.S
index 8c7100c..5559431 100644
--- a/arch/arm/cpu/s3c44b0/start.S
+++ b/arch/arm/cpu/s3c44b0/start.S
@@ -127,6 +127,7 @@ reset:
/* Set stackpointer in internal RAM to call board_init_f */
call_board_init_f:
ldr sp, =(CONFIG_SYS_INIT_SP_ADDR)
+ bic sp, sp, #7 /* 8-byte alignment for ABI compliance */
ldr r0,=0x00000000
bl board_init_f