Skip to content

Commit 382e6fb

Browse files
stephanosionashif
authored andcommitted
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 <[email protected]>
1 parent 2b44173 commit 382e6fb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

drivers/watchdog/Kconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,13 @@ if WATCHDOG
1414

1515
config WDT_DISABLE_AT_BOOT
1616
bool "Disable at boot"
17+
default y
1718
help
18-
Disable watchdog at Zephyr system startup.
19+
Disable watchdog at Zephyr system startup for the SoCs that enable
20+
the watchdog by default after reset.
21+
22+
Note that disabling this configuration option does not enable the
23+
watchdog for the SoCs that boot with the watchdog disabled.
1924

2025
module = WDT
2126
module-str = watchdog

0 commit comments

Comments
 (0)