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