mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
59d0452df3
commit
731ba3c0be
1 changed files with 7 additions and 0 deletions
|
@ -56,6 +56,13 @@ config SPL_BLOCK_CACHE
|
|||
help
|
||||
This option enables the disk-block cache in SPL
|
||||
|
||||
config TPL_BLOCK_CACHE
|
||||
bool "Use block device cache in TPL"
|
||||
depends on TPL_BLK
|
||||
default n
|
||||
help
|
||||
This option enables the disk-block cache in TPL
|
||||
|
||||
config IDE
|
||||
bool "Support IDE controllers"
|
||||
select HAVE_BLOCK_DEVICE
|
||||
|
|
Loading…
Reference in a new issue