From 6fef62cc47a0ad2a1ef6b58fda18f1e333869003 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Mon, 11 Jun 2018 17:17:48 -0500 Subject: block: Add SPL_BLOCK_CACHE and default n When enabling BLOCK_CACHE on devices with limited RAM during SPL, some devices may not boot. This creates an option to enable block caching in SPL by defaults off. It is dependent on SPL_BLK Fixes: 46960ad6d09b ("block: Have BLOCK_CACHE default to y in some cases") Signed-off-by: Adam Ford --- drivers/block/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/block/Makefile') diff --git a/drivers/block/Makefile b/drivers/block/Makefile index 5fcafb193ee..0e80ce94058 100644 --- a/drivers/block/Makefile +++ b/drivers/block/Makefile @@ -11,4 +11,4 @@ endif obj-$(CONFIG_IDE) += ide.o obj-$(CONFIG_SANDBOX) += sandbox.o -obj-$(CONFIG_BLOCK_CACHE) += blkcache.o +obj-$(CONFIG_$(SPL_)BLOCK_CACHE) += blkcache.o -- cgit v1.2.3