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 <ma...@denx.de>
Cc: Simon Glass <s...@chromium.org>
Cc: Michal Simek <michal.si...@xilinx.com>
Cc: Tom Rini <tr...@konsulko.com>
---
 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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to