blk: Allow control of the block cache in TPL
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 17:59:53 +0000 (11:59 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit731ba3c0beaf4318cc97ece1e422a61fc5721f5b
tree517057aaff18a5bf76ef0f31da7b65e88d5b802e
parent59d0452df36c92015eb68163519f1581e68d6392
blk: Allow control of the block cache in TPL

Generally block devices are not enabled in TPL, but in case they are,
add a Kconfig option for the block cache. This allows the setting (default
off) to be found with CONFIG_IS_ENABLED().

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/Kconfig