dts: import stm32mp1 device tree from linux kernel
[oweals/u-boot.git] / include / blk.h
index fc0c239e4680b49ebd619d4784d76e8c66952ee4..86f6d5057f23e7155a6ead3248d426baef94d171 100644 (file)
@@ -111,7 +111,7 @@ struct blk_desc {
 #define PAD_TO_BLOCKSIZE(size, blk_desc) \
        (PAD_SIZE(size, blk_desc->blksz))
 
-#ifdef CONFIG_BLOCK_CACHE
+#if CONFIG_IS_ENABLED(BLOCK_CACHE)
 /**
  * blkcache_read() - attempt to read a set of blocks from cache
  *