aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/Kconfig
diff options
context:
space:
mode:
authorBhargav Shah <bhargavshah1988@gmail.com>2019-07-08 04:10:48 +0000
committerPeng Fan <peng.fan@nxp.com>2019-07-15 10:16:49 +0800
commit05e35d429745253752b68f73146c22268ec9a5a8 (patch)
tree9b0d3a620caaf459143a4657b69ec9b9d972452c /drivers/mmc/Kconfig
parentf49ff79935730279cca0e6a288bcc9ad4f4f63dd (diff)
downloadu-boot-05e35d429745253752b68f73146c22268ec9a5a8.zip
u-boot-05e35d429745253752b68f73146c22268ec9a5a8.tar.gz
u-boot-05e35d429745253752b68f73146c22268ec9a5a8.tar.bz2
mmc: mmc_spi: Re-write driver using DM framework
This patch rewrites MMC SPI driver using U-Boot DM framework and get it's working on SiFive Unleashed board. Signed-off-by: Bhargav Shah <bhargavshah1988@gmail.com> Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/mmc/Kconfig')
-rw-r--r--drivers/mmc/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index b5180ea..a4a6a6c 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -46,6 +46,24 @@ config SPL_DM_MMC
if MMC
+config MMC_SPI
+ bool "Support for SPI-based MMC controller"
+ depends on DM_MMC && DM_SPI
+ help
+ This selects SPI-based MMC controllers.
+ If you have an MMC controller on a SPI bus, say Y here.
+
+ If unsure, say N.
+
+config MMC_SPI_CRC_ON
+ bool "Support CRC for SPI-based MMC controller"
+ depends on MMC_SPI
+ default y
+ help
+ This enables CRC for SPI-based MMC controllers.
+
+ If unsure, say N.
+
config ARM_PL180_MMCI
bool "ARM AMBA Multimedia Card Interface and compatible support"
depends on DM_MMC && OF_CONTROL