mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 20:34:38 +00:00
block: Update BLK to be def_bool
At this point in the DM migration, all platforms enable DM. BLK requires DM. Make BLK "def_bool y" in the cases it had been "default y" to make this clearer. Now remove the symbol requirement from other places as it is redundant here. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
9c9e667965
commit
fd0ab46ead
3 changed files with 16 additions and 19 deletions
|
@ -61,7 +61,6 @@ config DWC_AHCI
|
||||||
config DWC_AHSATA
|
config DWC_AHSATA
|
||||||
bool "Enable DWC AHSATA driver support"
|
bool "Enable DWC AHSATA driver support"
|
||||||
select LIBATA
|
select LIBATA
|
||||||
depends on BLK
|
|
||||||
help
|
help
|
||||||
Enable this driver to support the DWC AHSATA SATA controller found
|
Enable this driver to support the DWC AHSATA SATA controller found
|
||||||
in i.MX5 and i.MX6 SoCs.
|
in i.MX5 and i.MX6 SoCs.
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
config BLK
|
config BLK
|
||||||
bool # "Support block devices"
|
bool # "Support block devices"
|
||||||
depends on DM
|
depends on DM
|
||||||
default y if MMC || USB || SCSI || NVME || IDE || AHCI || SATA
|
def_bool y if MMC || USB || SCSI || NVME || IDE || AHCI || SATA
|
||||||
default y if EFI_MEDIA || VIRTIO_BLK || PVBLOCK
|
def_bool y if EFI_MEDIA || VIRTIO_BLK || PVBLOCK
|
||||||
help
|
help
|
||||||
Enable support for block devices, such as SCSI, MMC and USB
|
Enable support for block devices, such as SCSI, MMC and USB
|
||||||
flash sticks. These provide a block-level interface which permits
|
flash sticks. These provide a block-level interface which permits
|
||||||
|
|
|
@ -41,7 +41,6 @@ config MMC_BROKEN_CD
|
||||||
config DM_MMC
|
config DM_MMC
|
||||||
bool "Enable MMC controllers using Driver Model"
|
bool "Enable MMC controllers using Driver Model"
|
||||||
depends on DM
|
depends on DM
|
||||||
select BLK
|
|
||||||
help
|
help
|
||||||
This enables the MultiMediaCard (MMC) uclass which supports MMC and
|
This enables the MultiMediaCard (MMC) uclass which supports MMC and
|
||||||
Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
|
Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
|
||||||
|
@ -249,7 +248,6 @@ config MMC_DW_CORTINA
|
||||||
bool "Cortina specific extensions for Synopsys DW Memory Card Interface"
|
bool "Cortina specific extensions for Synopsys DW Memory Card Interface"
|
||||||
depends on DM_MMC
|
depends on DM_MMC
|
||||||
depends on MMC_DW
|
depends on MMC_DW
|
||||||
depends on BLK
|
|
||||||
help
|
help
|
||||||
This selects support for Cortina SoC specific extensions to the
|
This selects support for Cortina SoC specific extensions to the
|
||||||
Synopsys DesignWare Memory Card Interface driver. Select this option
|
Synopsys DesignWare Memory Card Interface driver. Select this option
|
||||||
|
@ -313,7 +311,7 @@ config NEXELL_DWMMC
|
||||||
|
|
||||||
config MMC_MESON_GX
|
config MMC_MESON_GX
|
||||||
bool "Meson GX EMMC controller support"
|
bool "Meson GX EMMC controller support"
|
||||||
depends on DM_MMC && BLK && ARCH_MESON
|
depends on DM_MMC && ARCH_MESON
|
||||||
help
|
help
|
||||||
Support for EMMC host controller on Meson GX ARM SoCs platform (S905)
|
Support for EMMC host controller on Meson GX ARM SoCs platform (S905)
|
||||||
|
|
||||||
|
@ -367,7 +365,7 @@ config MMC_OCTEONTX
|
||||||
|
|
||||||
config MVEBU_MMC
|
config MVEBU_MMC
|
||||||
bool "Kirkwood MMC controller support"
|
bool "Kirkwood MMC controller support"
|
||||||
depends on DM_MMC && BLK && ARCH_KIRKWOOD
|
depends on DM_MMC && ARCH_KIRKWOOD
|
||||||
help
|
help
|
||||||
Support for MMC host controller on Kirkwood SoCs.
|
Support for MMC host controller on Kirkwood SoCs.
|
||||||
If you are on a Kirkwood architecture, say Y here.
|
If you are on a Kirkwood architecture, say Y here.
|
||||||
|
@ -420,7 +418,7 @@ config SH_MMCIF
|
||||||
config MMC_UNIPHIER
|
config MMC_UNIPHIER
|
||||||
bool "UniPhier SD/MMC Host Controller support"
|
bool "UniPhier SD/MMC Host Controller support"
|
||||||
depends on ARCH_UNIPHIER
|
depends on ARCH_UNIPHIER
|
||||||
depends on BLK && DM_MMC
|
depends on DM_MMC
|
||||||
depends on OF_CONTROL
|
depends on OF_CONTROL
|
||||||
help
|
help
|
||||||
This selects support for the Matsushita SD/MMC Host Controller on
|
This selects support for the Matsushita SD/MMC Host Controller on
|
||||||
|
@ -429,7 +427,7 @@ config MMC_UNIPHIER
|
||||||
config RENESAS_SDHI
|
config RENESAS_SDHI
|
||||||
bool "Renesas R-Car SD/MMC Host Controller support"
|
bool "Renesas R-Car SD/MMC Host Controller support"
|
||||||
depends on ARCH_RENESAS
|
depends on ARCH_RENESAS
|
||||||
depends on BLK && DM_MMC
|
depends on DM_MMC
|
||||||
depends on OF_CONTROL
|
depends on OF_CONTROL
|
||||||
select BOUNCE_BUFFER
|
select BOUNCE_BUFFER
|
||||||
help
|
help
|
||||||
|
@ -439,7 +437,7 @@ config RENESAS_SDHI
|
||||||
config MMC_BCM2835
|
config MMC_BCM2835
|
||||||
bool "BCM2835 family custom SD/MMC Host Controller support"
|
bool "BCM2835 family custom SD/MMC Host Controller support"
|
||||||
depends on ARCH_BCM283X
|
depends on ARCH_BCM283X
|
||||||
depends on BLK && DM_MMC
|
depends on DM_MMC
|
||||||
depends on OF_CONTROL
|
depends on OF_CONTROL
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
|
@ -459,7 +457,7 @@ config JZ47XX_MMC
|
||||||
config MMC_SANDBOX
|
config MMC_SANDBOX
|
||||||
bool "Sandbox MMC support"
|
bool "Sandbox MMC support"
|
||||||
depends on SANDBOX
|
depends on SANDBOX
|
||||||
depends on BLK && DM_MMC && OF_CONTROL
|
depends on DM_MMC && OF_CONTROL
|
||||||
help
|
help
|
||||||
This select a dummy sandbox MMC driver. At present this does nothing
|
This select a dummy sandbox MMC driver. At present this does nothing
|
||||||
other than allow sandbox to be build with MMC support. This
|
other than allow sandbox to be build with MMC support. This
|
||||||
|
@ -561,7 +559,7 @@ config MMC_SDHCI_ASPEED
|
||||||
config MMC_SDHCI_ATMEL
|
config MMC_SDHCI_ATMEL
|
||||||
bool "Atmel SDHCI controller support"
|
bool "Atmel SDHCI controller support"
|
||||||
depends on ARCH_AT91
|
depends on ARCH_AT91
|
||||||
depends on DM_MMC && BLK && ARCH_AT91
|
depends on DM_MMC && ARCH_AT91
|
||||||
depends on MMC_SDHCI
|
depends on MMC_SDHCI
|
||||||
help
|
help
|
||||||
This enables support for the Atmel SDHCI controller, which supports
|
This enables support for the Atmel SDHCI controller, which supports
|
||||||
|
@ -596,7 +594,7 @@ config MMC_SDHCI_BCMSTB
|
||||||
|
|
||||||
config MMC_SDHCI_CADENCE
|
config MMC_SDHCI_CADENCE
|
||||||
bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
|
bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
|
||||||
depends on BLK && DM_MMC
|
depends on DM_MMC
|
||||||
depends on MMC_SDHCI
|
depends on MMC_SDHCI
|
||||||
depends on OF_CONTROL
|
depends on OF_CONTROL
|
||||||
help
|
help
|
||||||
|
@ -608,7 +606,7 @@ config MMC_SDHCI_CADENCE
|
||||||
|
|
||||||
config MMC_SDHCI_CV1800B
|
config MMC_SDHCI_CV1800B
|
||||||
bool "SDHCI support for the CV1800B SD/SDIO/eMMC controller"
|
bool "SDHCI support for the CV1800B SD/SDIO/eMMC controller"
|
||||||
depends on BLK && DM_MMC
|
depends on DM_MMC
|
||||||
depends on MMC_SDHCI
|
depends on MMC_SDHCI
|
||||||
depends on OF_CONTROL
|
depends on OF_CONTROL
|
||||||
help
|
help
|
||||||
|
@ -643,7 +641,7 @@ config MMC_SDHCI_IPROC
|
||||||
|
|
||||||
config MMC_SDHCI_F_SDH30
|
config MMC_SDHCI_F_SDH30
|
||||||
bool "SDHCI support for Fujitsu Semiconductor/Socionext F_SDH30"
|
bool "SDHCI support for Fujitsu Semiconductor/Socionext F_SDH30"
|
||||||
depends on BLK && DM_MMC
|
depends on DM_MMC
|
||||||
depends on MMC_SDHCI
|
depends on MMC_SDHCI
|
||||||
help
|
help
|
||||||
This selects the Secure Digital Host Controller Interface (SDHCI)
|
This selects the Secure Digital Host Controller Interface (SDHCI)
|
||||||
|
@ -663,7 +661,7 @@ config MMC_SDHCI_KONA
|
||||||
|
|
||||||
config MMC_SDHCI_MSM
|
config MMC_SDHCI_MSM
|
||||||
bool "Qualcomm SDHCI controller"
|
bool "Qualcomm SDHCI controller"
|
||||||
depends on BLK && DM_MMC
|
depends on DM_MMC
|
||||||
depends on MMC_SDHCI
|
depends on MMC_SDHCI
|
||||||
help
|
help
|
||||||
Enables support for SDHCI 2.0 controller present on some Qualcomm
|
Enables support for SDHCI 2.0 controller present on some Qualcomm
|
||||||
|
@ -829,7 +827,7 @@ config MMC_PITON
|
||||||
|
|
||||||
config GENERIC_ATMEL_MCI
|
config GENERIC_ATMEL_MCI
|
||||||
bool "Atmel Multimedia Card Interface support"
|
bool "Atmel Multimedia Card Interface support"
|
||||||
depends on DM_MMC && BLK && ARCH_AT91
|
depends on DM_MMC && ARCH_AT91
|
||||||
help
|
help
|
||||||
This enables support for Atmel High Speed Multimedia Card Interface
|
This enables support for Atmel High Speed Multimedia Card Interface
|
||||||
(HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3,
|
(HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3,
|
||||||
|
@ -838,7 +836,7 @@ config GENERIC_ATMEL_MCI
|
||||||
|
|
||||||
config STM32_SDMMC2
|
config STM32_SDMMC2
|
||||||
bool "STMicroelectronics STM32H7 SD/MMC Host Controller support"
|
bool "STMicroelectronics STM32H7 SD/MMC Host Controller support"
|
||||||
depends on DM_MMC && BLK && OF_CONTROL
|
depends on DM_MMC && OF_CONTROL
|
||||||
help
|
help
|
||||||
This selects support for the SD/MMC controller on STM32H7 SoCs.
|
This selects support for the SD/MMC controller on STM32H7 SoCs.
|
||||||
If you have a board based on such a SoC and with a SD/MMC slot,
|
If you have a board based on such a SoC and with a SD/MMC slot,
|
||||||
|
@ -858,7 +856,7 @@ config FTSDC010_SDIO
|
||||||
config MMC_MTK
|
config MMC_MTK
|
||||||
bool "MediaTek SD/MMC Card Interface support"
|
bool "MediaTek SD/MMC Card Interface support"
|
||||||
depends on ARCH_MEDIATEK || ARCH_MTMIPS
|
depends on ARCH_MEDIATEK || ARCH_MTMIPS
|
||||||
depends on BLK && DM_MMC
|
depends on DM_MMC
|
||||||
depends on OF_CONTROL
|
depends on OF_CONTROL
|
||||||
help
|
help
|
||||||
This selects the MediaTek(R) Secure digital and Multimedia card Interface.
|
This selects the MediaTek(R) Secure digital and Multimedia card Interface.
|
||||||
|
|
Loading…
Add table
Reference in a new issue