diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-01-31 08:57:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-02-01 09:02:04 +0100 |
commit | 314dcbc09ae7f3274583b55df1a61a0f8f830417 (patch) | |
tree | 6c2a5bf5b60fbd3246ad224bd99647ce8fa6ea68 /drivers/pinctrl | |
parent | 6e8f41b475ecbfc8cfe8eaddf2c99897bf0698ff (diff) | |
download | barebox-314dcbc09ae7f3274583b55df1a61a0f8f830417.tar.gz |
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/pinctrl')
-rw-r--r-- | drivers/pinctrl/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index d3d5c7be23..2ff99a39c8 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -102,7 +102,7 @@ config PINCTRL_VF610 config PINCTRL_STM32 bool "STM32 pinctrl support" if COMPILE_TEST - default y if ARCH_STM32MP + default y if ARCH_STM32 help Pinmux and GPIO controller found on STM32 family endif |