From 70127562c7fff03d10da1a82d42973564eb73f8e 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: 62e25177d322 ("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 d306054a8c..1177f17fd8 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.39.5