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