From: Patrice Chotard <patrice.chot...@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.chot...@foss.st.com>
Signed-off-by: Antonio Borneo <antonio.bor...@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

Reply via email to