aboutsummaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-30 00:56:53 -0600
committerTom Rini <trini@konsulko.com>2022-05-02 09:58:13 -0400
commit747093dd4089bdb2eccae90d7bccf33198e78eaa (patch)
treee36264b636aee2ab78fa2c91defc292e2151b8ed /drivers/block
parentf86ca5ad8f780d306e79d49ffe4f5cf1edef37b9 (diff)
downloadu-boot-747093dd4089bdb2eccae90d7bccf33198e78eaa.zip
u-boot-747093dd4089bdb2eccae90d7bccf33198e78eaa.tar.gz
u-boot-747093dd4089bdb2eccae90d7bccf33198e78eaa.tar.bz2
vpl: Add Kconfig options for VPL
Add VPL versions of commonly used Kconfig options. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index c54b581..d6d1c6e 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -39,6 +39,18 @@ config TPL_BLK
be partitioned into several areas, called 'partitions' in U-Boot.
A filesystem can be placed in each partition.
+config VPL_BLK
+ bool "Support block devices in VPL"
+ depends on VPL_DM && BLK
+ default y
+ help
+ Enable support for block devices, such as SCSI, MMC and USB
+ flash sticks. These provide a block-level interface which permits
+ reading, writing and (in some cases) erasing blocks. Block
+ devices often have a partition table which allows the device to
+ be partitioned into several areas, called 'partitions' in U-Boot.
+ A filesystem can be placed in each partition.
+
config BLOCK_CACHE
bool "Use block device cache"
depends on BLK