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