mmc: nuvoton: Add NPCM7xx mmc driver
[platform/kernel/u-boot.git] / drivers / mmc / Kconfig
index 53a6b00..c5e1a1b 100644 (file)
@@ -45,6 +45,7 @@ config DM_MMC
 config SPL_DM_MMC
        bool "Enable MMC controllers using Driver Model in SPL"
        depends on SPL_DM && DM_MMC
+       default n if ARCH_MVEBU && !MVEBU_SPL_BOOT_DEVICE_MMC
        default y
        help
          This enables the MultiMediaCard (MMC) uclass which supports MMC and
@@ -123,6 +124,7 @@ config MMC_IO_VOLTAGE
 
 config SPL_MMC_IO_VOLTAGE
        bool "Support IO voltage configuration in SPL"
+       depends on SPL_MMC
        help
          IO voltage configuration allows selecting the voltage level of the IO
          lines (not the level of main supply). This is required for UHS
@@ -153,6 +155,7 @@ config MMC_HS400_ES_SUPPORT
 
 config SPL_MMC_HS400_ES_SUPPORT
        bool "enable HS400 Enhanced Strobe support in SPL"
+       depends on SPL_MMC
        help
          The HS400 Enhanced Strobe mode is support by some eMMC. The bus
          frequency is up to 200MHz. This mode does not tune the IO.
@@ -166,6 +169,7 @@ config MMC_HS400_SUPPORT
 
 config SPL_MMC_HS400_SUPPORT
        bool "enable HS400 support in SPL"
+       depends on SPL_MMC
        select SPL_MMC_HS200_SUPPORT
        help
          The HS400 mode is support by some eMMC. The bus frequency is up to
@@ -179,6 +183,7 @@ config MMC_HS200_SUPPORT
 
 config SPL_MMC_HS200_SUPPORT
        bool "enable HS200 support in SPL"
+       depends on SPL_MMC
        help
          The HS200 mode is support by some eMMC. The bus frequency is up to
          200MHz. This mode requires tuning the IO.
@@ -342,14 +347,6 @@ config MVEBU_MMC
 
          If unsure, say N.
 
-config PXA_MMC_GENERIC
-       bool "Support for MMC controllers on PXA"
-       help
-         This selects MMC controllers on PXA.
-         If you are on a PXA architecture, say Y here.
-
-         If unsure, say N.
-
 config MMC_OMAP_HS
        bool "TI OMAP High Speed Multimedia Card Interface support"
        select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
@@ -478,7 +475,7 @@ config MMC_SDHCI_ADMA
 
 config SPL_MMC_SDHCI_ADMA
        bool "Support SDHCI ADMA2 in SPL"
-       depends on MMC_SDHCI
+       depends on SPL_MMC && MMC_SDHCI
        select MMC_SDHCI_ADMA_HELPERS
        help
          This enables support for the ADMA (Advanced DMA) defined
@@ -502,6 +499,7 @@ config MMC_SDHCI_ASPEED
        depends on ARCH_ASPEED
        depends on DM_MMC
        depends on MMC_SDHCI
+       select MISC
        help
          Enables support for the Aspeed SDHCI 2.0 controller present on Aspeed
          SoCs. This device is compatible with SD 3.0 and/or MMC 4.3
@@ -620,6 +618,18 @@ config MMC_SDHCI_MV
 
          If unsure, say N.
 
+config MMC_SDHCI_NPCM
+       bool "SDHCI support on Nuvoton NPCM device"
+       depends on MMC_SDHCI
+       depends on DM_MMC
+       help
+         This selects the Secure Digital Host Controller Interface (SDHCI)
+         on Nuvoton NPCM device.
+
+         If you have a controller with this interface, say Y here.
+
+         If unsure, say N.
+
 config MMC_SDHCI_PIC32
        bool "Microchip PIC32 on-chip SDHCI support"
        depends on DM_MMC && MACH_PIC32
@@ -856,7 +866,7 @@ config FSL_ESDHC_IMX
 
 config FSL_USDHC
        bool "Freescale/NXP i.MX uSDHC controller support"
-       depends on MX6 || MX7 ||ARCH_MX7ULP || IMX8 || IMX8M || IMX8ULP || IMXRT
+       depends on MX6 || MX7 ||ARCH_MX7ULP || IMX8 || IMX8M || IMX8ULP || IMX9 || IMXRT
        select FSL_ESDHC_IMX
        help
          This enables the Ultra Secured Digital Host Controller enhancements