summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
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/watchdog
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/watchdog')
-rw-r--r--drivers/watchdog/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 70c8be7ca9..2d194fab79 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -97,7 +97,7 @@ config RAVE_SP_WATCHDOG
config STM32_IWDG_WATCHDOG
bool "STM32 IWDG"
- depends on ARCH_STM32MP || COMPILE_TEST
+ depends on ARCH_STM32 || COMPILE_TEST
select MFD_SYSCON
help
Enable to support configuration of the STM32's on-SoC IWDG watchdog.