]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - drivers/mtd/nand/raw/mxs_nand.c
CONFIG_SPL_SYS_[DI]CACHE_OFF: add
[thirdparty/u-boot.git] / drivers / mtd / nand / raw / mxs_nand.c
index be4ee2c7f8a809f2ef08702bde29c2e4d94919ea..b93d77a39518ed0db5d48e7d151790bb04fcf172 100644 (file)
@@ -50,7 +50,7 @@ struct nand_ecclayout fake_ecc_layout;
 /*
  * Cache management functions
  */
-#ifndef        CONFIG_SYS_DCACHE_OFF
+#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
 static void mxs_nand_flush_data_buf(struct mxs_nand_info *info)
 {
        uint32_t addr = (uint32_t)info->data_buf;