]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
watchdog: don't autostart watchdog on Sunxi boards
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 5 Nov 2021 18:34:31 +0000 (19:34 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Wed, 10 Nov 2021 01:38:07 +0000 (01:38 +0000)
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 <heinrich.schuchardt@canonical.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/watchdog/Kconfig

index d306054a8c241248e4df938f509de5e981310d99..1177f17fd8a2c7784516f593c1e9700fef146bb3 100644 (file)
@@ -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