]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - arch/arm/cpu/pxa/pxa2xx.c
CONFIG_SPL_SYS_[DI]CACHE_OFF: add
[thirdparty/u-boot.git] / arch / arm / cpu / pxa / pxa2xx.c
index b9fd41ece25c41e006b896b9972dc377f0fb816e..0b28f0a3ef60ffe4278c1eca0cee0d5b6ff699e9 100644 (file)
@@ -286,10 +286,10 @@ void reset_cpu(ulong ignored)
 
 void enable_caches(void)
 {
-#ifndef CONFIG_SYS_ICACHE_OFF
+#if !CONFIG_IS_ENABLED(SYS_ICACHE_OFF)
        icache_enable();
 #endif
-#ifndef CONFIG_SYS_DCACHE_OFF
+#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
        dcache_enable();
 #endif
 }