summaryrefslogtreecommitdiffstats
path: root/drivers/mci/Kconfig
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-10-15 11:33:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-06 11:22:35 +0100
commitce99d0c86b32ecc2946e36456695a8aad83ea15e (patch)
treef41e025406f04c782a7be8134896bc62c43f4197 /drivers/mci/Kconfig
parentbad5fbbb6de427e2bc67df6b9ada478d241c6d0c (diff)
downloadbarebox-ce99d0c86b32ecc2946e36456695a8aad83ea15e.tar.gz
barebox-ce99d0c86b32ecc2946e36456695a8aad83ea15e.tar.xz
mci: add support for stm32mp sd/mmc controller
This driver was ported from u-boot v2019.10. Instead of devicetree compatible it is using ARM AMBA id. So, there is no need to patch devicetree with different compatible as it was implemented in u-boot. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci/Kconfig')
-rw-r--r--drivers/mci/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mci/Kconfig b/drivers/mci/Kconfig
index 08c8c84e8c..4a71a46097 100644
--- a/drivers/mci/Kconfig
+++ b/drivers/mci/Kconfig
@@ -153,4 +153,13 @@ config MMC_SPI_CRC_ON
help
Enable CRC protection for transfers
+config MCI_STM32_SDMMC2
+ bool "STMicroelectronics STM32H7 SD/MMC Host Controller support"
+ depends on ARM_AMBA
+ depends on RESET_CONTROLLER
+ help
+ 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,
+ say Y or M here.
+
endif