summaryrefslogtreecommitdiffstats
path: root/drivers/mci/Kconfig
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-07-02 17:37:30 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-07-14 20:28:08 +0200
commit5fe4c6d8a9463ff72c84bf41c564e3d3cbcb4e8f (patch)
treef9985bd7274ca46f2e94982c2302223e5a633d70 /drivers/mci/Kconfig
parente4f2c9e565b492ac4e008c3f72795e9f7e821662 (diff)
downloadbarebox-5fe4c6d8a9463ff72c84bf41c564e3d3cbcb4e8f.tar.gz
barebox-5fe4c6d8a9463ff72c84bf41c564e3d3cbcb4e8f.tar.xz
ARM: stm32mp: depend on ARCH_STM32MP for SoC drivers
The i2c, MCI and reset controller peripherals are STM32-specific. There is no reason to ask uses on oldconfig about it, thus make them depend on ARCH_STM32MP || COMPILE_TEST. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci/Kconfig')
-rw-r--r--drivers/mci/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mci/Kconfig b/drivers/mci/Kconfig
index 6ae1e81252..d1695c678c 100644
--- a/drivers/mci/Kconfig
+++ b/drivers/mci/Kconfig
@@ -177,6 +177,7 @@ config MCI_STM32_SDMMC2
bool "STMicroelectronics STM32H7 SD/MMC Host Controller support"
depends on ARM_AMBA
depends on RESET_CONTROLLER
+ depends on ARCH_STM32MP || COMPILE_TEST
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,