Skip to content

Commit

Permalink
watchdog: don't autostart watchdog on Sunxi boards
Browse files Browse the repository at this point in the history
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: b147bd3 ("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>
  • Loading branch information
xypron authored and Andre-ARM committed Nov 10, 2021
1 parent e8e9c6f commit 86798ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/watchdog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86798ee

Please sign in to comment.