]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm1136/start.S
arm: add 8-byte alignment for ABI compliance before board_init_f
[karo-tx-uboot.git] / arch / arm / cpu / arm1136 / start.S
index eec8bee7eb2c8c5c55ee1a4a7de1a489548c292c..7b59619c1790b4c587cc72350808731a57b5e806 100644 (file)
@@ -160,6 +160,7 @@ next:
 /* 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
 
 #ifdef CONFIG_NAND_SPL