From 86798ee0c148db248d8e3e9b6395bbe9e24d9149 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Fri, 5 Nov 2021 19:34:31 +0100 Subject: [PATCH] watchdog: don't autostart watchdog on Sunxi boards The Sunxi boards only support a 16 second watchdog timeout. This is too short to boot Linux. The UEFI specification requires 300 seconds as default timeout. Change the default for CONFIG_WATCHDOG_AUTOSTART for ARCH_SUNXI. Fixes: b147bd3607f8 ("sunxi: Enable watchdog timer support by default") Signed-off-by: Heinrich Schuchardt Tested-by: Andre Przywara Signed-off-by: Andre Przywara --- drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index d306054..1177f17 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -12,6 +12,7 @@ config WATCHDOG config WATCHDOG_AUTOSTART bool "Automatically start watchdog timer" depends on WDT + default n if ARCH_SUNXI default y help Automatically start watchdog timer and start servicing it during -- 2.7.4