aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/Kconfig
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-09-23 12:42:51 +0200
committerPeng Fan <peng.fan@nxp.com>2020-10-12 15:50:19 +0800
commit4d6a773b1cfcb7e62d12dd31e588b5d00179b470 (patch)
tree262d88f7955fceeb8806c9675a42543e4fc8e8bc /drivers/mmc/Kconfig
parent7e48a028a42c111ba38a90b86e5f57dace980fa0 (diff)
downloadu-boot-4d6a773b1cfcb7e62d12dd31e588b5d00179b470.zip
u-boot-4d6a773b1cfcb7e62d12dd31e588b5d00179b470.tar.gz
u-boot-4d6a773b1cfcb7e62d12dd31e588b5d00179b470.tar.bz2
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/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 0c252e3..88582db 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.