Revert "drivers: watchdog: Make WDT_DISABLE_AT_BOOT default to y"

This reverts commit 382e6fbccf.

Disabling watchdog at boot breaks watchdog API contract. Production
firmware should never ship with the option enabled. Unfortunately, this
is dangerosly easy to overlook. If left enabled, in the best case, it
will degrade functionality of the subsystem. In the worst case it
will leave watchdog permanently disbled.

Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
Piotr Mienkowski 2020-02-16 00:20:44 +01:00 committed by Johan Hedberg
commit e609ad0c43

View file

@ -14,13 +14,8 @@ if WATCHDOG
config WDT_DISABLE_AT_BOOT config WDT_DISABLE_AT_BOOT
bool "Disable at boot" bool "Disable at boot"
default y
help help
Disable watchdog at Zephyr system startup for the SoCs that enable Disable watchdog at Zephyr system startup.
the watchdog by default after reset.
Note that disabling this configuration option does not enable the
watchdog for the SoCs that boot with the watchdog disabled.
module = WDT module = WDT
module-str = watchdog module-str = watchdog