From: Marek Vasut Date: Fri, 18 May 2018 11:22:53 +0200 Subject: [U-Boot] [RFC][PATCH] block: Enable block cache by default Message-ID: <20180518092253.24255-1-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The recent ext4 cache discussion would indicate that the block cache is a desired feature, yet hidden and not enabled most of the time. Enable the block cache by default since it provides significant block device access performance improvement and if there are some users who cannot enable it ie. due to size limitations, those should disable it explicitly in their board config. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Michal Simek Cc: Tom Rini --- drivers/block/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index 15fd1bcb2b..832d626bd4 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -29,7 +29,7 @@ config SPL_BLK config BLOCK_CACHE bool "Use block device cache" - default n + default y help This option enables a disk-block cache for all block devices. This is most useful when accessing filesystems under U-Boot since -- 2.16.2