]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/arm926ejs/start.S
ARM: uniphier: rework spl_boot_device() and related code
[u-boot] / arch / arm / cpu / arm926ejs / start.S
index 8eb249475e473bbbca5888fd61d9cb1aa9dbb7ae..959d1ed86d8af82c62a1f497aa90c50d3f109318 100644 (file)
@@ -18,7 +18,6 @@
 #include <asm-offsets.h>
 #include <config.h>
 #include <common.h>
-#include <version.h>
 
 /*
  *************************************************************************
@@ -96,17 +95,19 @@ flush_dcache:
 #else
        bic     r0, r0, #0x00002000     /* clear bit 13 (--V- ----) */
 #endif
-       orr     r0, r0, #0x00000002     /* set bit 2 (A) Align */
+       orr     r0, r0, #0x00000002     /* set bit 1 (A) Align */
 #ifndef CONFIG_SYS_ICACHE_OFF
        orr     r0, r0, #0x00001000     /* set bit 12 (I) I-Cache */
 #endif
        mcr     p15, 0, r0, c1, c0, 0
 
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT_ONLY
        /*
         * Go setup Memory and board specific bits prior to relocation.
         */
        mov     ip, lr          /* perserve link reg across call */
        bl      lowlevel_init   /* go setup pll,mux,memory */
        mov     lr, ip          /* restore link */
+#endif
        mov     pc, lr          /* back to my caller */
 #endif /* CONFIG_SKIP_LOWLEVEL_INIT */