blk: Make block subsystems select BLK
The BLK symbol has a few meanings, one of which is that it controls the driver model portion of a "block device". Rather than having this hidden symbol be "default y if ..." it should be select'd by the various block subsystems. Symbols such as PVBLOCK which already select'd BLK are unchanged". Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
config BLK
|
||||
bool # "Support block devices"
|
||||
depends on DM
|
||||
def_bool y if MMC || USB || SCSI || NVME || IDE || AHCI || SATA
|
||||
def_bool y if EFI_MEDIA || VIRTIO_BLK || PVBLOCK
|
||||
bool
|
||||
help
|
||||
Enable support for block devices, such as SCSI, MMC and USB
|
||||
flash sticks. These provide a block-level interface which permits
|
||||
@@ -100,6 +97,7 @@ config TPL_BLOCK_CACHE
|
||||
config EFI_MEDIA
|
||||
bool "Support EFI media drivers"
|
||||
default y if EFI || SANDBOX
|
||||
select BLK
|
||||
help
|
||||
Enable this to support media devices on top of UEFI. This enables
|
||||
just the uclass so you also need a specific driver to make this do
|
||||
@@ -139,6 +137,7 @@ endif # EFI_MEDIA
|
||||
|
||||
config IDE
|
||||
bool "Support IDE controllers"
|
||||
select BLK
|
||||
help
|
||||
Enables support for IDE (Integrated Drive Electronics) hard drives.
|
||||
This allows access to raw blocks and filesystems on an IDE drive
|
||||
|
||||
Reference in New Issue
Block a user