]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/mach-orion5x/cpu.c
edminiv2: switch to SPL
[karo-tx-uboot.git] / arch / arm / mach-orion5x / cpu.c
index f88db3b1f96ad400fdf47c0e3bbd83f91a46ed6a..2ecd3856780cb10533a9d1981eb97f14a23188a7 100644 (file)
@@ -234,7 +234,9 @@ int arch_cpu_init(void)
        /* Enable and invalidate L2 cache in write through mode */
        invalidate_l2_cache();
 
+#ifdef CONFIG_SPL_BUILD
        orion5x_config_adr_windows();
+#endif
 
        return 0;
 }