]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-exynos/lowlevel_init.c
imx-common: consider mux_ctrl_ofs when setting mux_mode
[u-boot] / arch / arm / mach-exynos / lowlevel_init.c
index 37746078487eda5b6339b6321754bbaafae30d37..6c39cb2052f94aabba313f3ec35275388945d4ee 100644 (file)
@@ -175,7 +175,7 @@ int do_lowlevel_init(void)
 
        arch_cpu_init();
 
-#ifndef CONFIG_SYS_L2CACHE_OFF
+#if !defined(CONFIG_SYS_L2CACHE_OFF) && defined(CONFIG_EXYNOS5420)
        /*
         * Init L2 cache parameters here for use by boot and resume
         *
@@ -188,9 +188,7 @@ int do_lowlevel_init(void)
        configure_l2_actlr();
        dsb();
        isb();
-#endif
 
-#ifdef CONFIG_EXYNOS5420
        relocate_wait_code();
 
        /* Reconfigure secondary cores */