diff options
author | Michael Walle <michael@walle.cc> | 2020-09-23 13:42:51 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-10-12 10:50:19 +0300 |
commit | 4d6a773b1cfcb7e62d12dd31e588b5d00179b470 (patch) | |
tree | 262d88f7955fceeb8806c9675a42543e4fc8e8bc /drivers/mmc/Kconfig | |
parent | 7e48a028a42c111ba38a90b86e5f57dace980fa0 (diff) | |
download | u-boot-4d6a773b1cfcb7e62d12dd31e588b5d00179b470.tar.xz |
mmc: sdhci: move the ADMA2 table handling into own module
There are other (non-SDHCI) controllers which supports ADMA2 descriptor
tables, namely the Freescale eSDHC. Instead of copying the code, move it
into an own module.
Signed-off-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'drivers/mmc/Kconfig')
-rw-r--r-- | drivers/mmc/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 0c252e34c7..88582db58c 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -46,6 +46,9 @@ config SPL_DM_MMC if MMC +config MMC_SDHCI_ADMA_HELPERS + bool + config MMC_SPI bool "Support for SPI-based MMC controller" depends on DM_MMC && DM_SPI @@ -445,6 +448,7 @@ config MMC_SDHCI_SDMA config MMC_SDHCI_ADMA bool "Support SDHCI ADMA2" depends on MMC_SDHCI + select MMC_SDHCI_ADMA_HELPERS help This enables support for the ADMA (Advanced DMA) defined in the SD Host Controller Standard Specification Version 3.00 @@ -452,6 +456,7 @@ config MMC_SDHCI_ADMA config SPL_MMC_SDHCI_ADMA bool "Support SDHCI ADMA2 in SPL" depends on MMC_SDHCI + select MMC_SDHCI_ADMA_HELPERS help This enables support for the ADMA (Advanced DMA) defined in the SD Host Controller Standard Specification Version 3.00 in SPL. |