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:
parent
2b441732ff
commit
382e6fbccf
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue