]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm_intcm/start.S
arm: add 8-byte alignment for ABI compliance before board_init_f
[karo-tx-uboot.git] / arch / arm / cpu / arm_intcm / start.S
index fcaba30f586b6896b472eeff5ab4b4f3e2592010..0e8a21b3d9f2c02b1bc17da75f78487c5b605d2c 100644 (file)
@@ -142,6 +142,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