drivers: watchdog: Make WDT_DISABLE_AT_BOOT default to y

This commit consolidates the meaning of WDT_DISABLE_AT_BOOT option as
"disabling watchdog at Zephyr system startup for the SoCs that enable
the watchdog by default after reset", and makes this default to y in
order to prevent unintentional processor reset by the watchdog when
not explicitly configured and fed by the application.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2019-12-04 00:41:17 +09:00 committed by Anas Nashif
commit 382e6fbccf

View file

@ -14,8 +14,13 @@ 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. Disable watchdog at Zephyr system startup for the SoCs that enable
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