summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-01-31 08:57:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-02-01 09:02:04 +0100
commit314dcbc09ae7f3274583b55df1a61a0f8f830417 (patch)
tree6c2a5bf5b60fbd3246ad224bd99647ce8fa6ea68 /drivers/i2c
parent6e8f41b475ecbfc8cfe8eaddf2c99897bf0698ff (diff)
downloadbarebox-314dcbc09ae7f3274583b55df1a61a0f8f830417.tar.gz
barebox-314dcbc09ae7f3274583b55df1a61a0f8f830417.tar.xz
ARM: stm32mp: allow driver reuse for STM32 MCUs
Most peripheral driver are usable for both STM32 MPUs and MCUs, but so far we they were only used for STM32MP1. In preparation for adding MCU support, introduce a new ARCH_STM32 selected by ARCH_STM32MP and migrate common drivers to it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-12-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index a551df537a..d4e74552b7 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -60,7 +60,7 @@ config I2C_STM32
bool "STM32 I2C master driver"
select RESET_CONTROLLER
depends on HAVE_CLK
- depends on ARCH_STM32MP || COMPILE_TEST
+ depends on ARCH_STM32 || COMPILE_TEST
config I2C_RK3X
tristate "Rockchip RK3xxx I2C adapter"