CONFIG_SPL_SYS_[DI]CACHE_OFF: add
[platform/kernel/u-boot.git] / arch / arm / mach-rmobile / cpu_info.c
index b0686ed..784a2a2 100644 (file)
@@ -17,7 +17,7 @@ int arch_cpu_init(void)
 
 /* R-Car Gen3 D-cache is enabled in memmap-gen3.c */
 #ifndef CONFIG_RCAR_GEN3
-#ifndef CONFIG_SYS_DCACHE_OFF
+#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
 void enable_caches(void)
 {
        dcache_enable();