diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-07-02 17:37:30 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-07-14 20:28:08 +0200 |
commit | 5fe4c6d8a9463ff72c84bf41c564e3d3cbcb4e8f (patch) | |
tree | f9985bd7274ca46f2e94982c2302223e5a633d70 /drivers/i2c | |
parent | e4f2c9e565b492ac4e008c3f72795e9f7e821662 (diff) | |
download | barebox-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/i2c')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 21d2cb21cf..3bc8d1b8d2 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -59,5 +59,6 @@ config I2C_STM32 bool "STM32 I2C master driver" select RESET_CONTROLLER depends on HAVE_CLK + depends on ARCH_STM32MP || COMPILE_TEST endmenu |