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