From 5fe4c6d8a9463ff72c84bf41c564e3d3cbcb4e8f Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Thu, 2 Jul 2020 17:37:30 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- drivers/mci/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/mci/Kconfig') 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, -- cgit v1.2.3