]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - arch/arm/lib/cache.c
CONFIG_SPL_SYS_[DI]CACHE_OFF: add
[thirdparty/u-boot.git] / arch / arm / lib / cache.c
index 565fbbe1097460617609fc8ef17bc159ec75968e..449544d11cff52ccf34adc03b3e946550a4e26ad 100644 (file)
@@ -87,7 +87,7 @@ void noncached_init(void)
        noncached_end = end;
        noncached_next = start;
 
-#ifndef CONFIG_SYS_DCACHE_OFF
+#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
        mmu_set_region_dcache_behaviour(noncached_start, size, DCACHE_OFF);
 #endif
 }