[PATCH 4/4] watchdog: don't autostart watchdog on STM32MP boards

Antonio Borneo antonio.borneo at foss.st.com
Wed May 21 14:27:55 CEST 2025


From: Patrice Chotard <patrice.chotard at foss.st.com>

The STM32MP2 boards have watchdog started by a previous boot
stage (e.g. bootrom or secure OS), WATCHDOG_AUTOSTART is useless.
Prefer to rely on DT properties "u-boot,autostart" or "u-boot,noautostart"
if needed.

Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
Signed-off-by: Antonio Borneo <antonio.borneo at foss.st.com>
---
 drivers/watchdog/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 1bb67f50352..510330be8a5 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -15,6 +15,7 @@ config WATCHDOG_AUTOSTART
 	bool "Automatically start watchdog timer"
 	depends on WDT
 	default n if ARCH_SUNXI
+	default n if ARCH_STM32MP
 	default y
 	help
 	  Automatically start watchdog timer and start servicing it during
-- 
2.34.1



More information about the U-Boot mailing list