aboutsummaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-08-11 19:34:41 -0600
committerTom Rini <trini@konsulko.com>2022-09-16 11:05:00 -0400
commit6b03b9d5b7b9efee81bdb01d17c291107818371e (patch)
treedfa27bf4d9064b911a06c3a2af032ac95db1a365 /drivers/block
parente7b1018dd377849780138a2b9aae59cf840fade6 (diff)
downloadu-boot-6b03b9d5b7b9efee81bdb01d17c291107818371e.zip
u-boot-6b03b9d5b7b9efee81bdb01d17c291107818371e.tar.gz
u-boot-6b03b9d5b7b9efee81bdb01d17c291107818371e.tar.bz2
blk: Enable CONFIG_BLK for all media
Enable this option on all boards which support block devices. Drop the related depencies on BLK since these are not needed anymore. Disable BLOCK_CACHE on M5253DEMO as this causes a build error. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index b5b4820..df242df 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -1,7 +1,8 @@
config BLK
bool "Support block devices"
depends on DM
- default y if DM_MMC || DM_USB
+ default y if MMC || USB || SCSI || NVME || IDE || AHCI || SATA
+ default y if EFI_MEDIA || VIRTIO_BLK || PVBLOCK
help
Enable support for block devices, such as SCSI, MMC and USB
flash sticks. These provide a block-level interface which permits