From 382e6fbccf55c145e75e024cc9a7352622ded18e Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Wed, 4 Dec 2019 00:41:17 +0900 Subject: [PATCH] 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 --- drivers/watchdog/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 8623b54ce9d..1a0ce7c03a5 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -14,8 +14,13 @@ if WATCHDOG config WDT_DISABLE_AT_BOOT bool "Disable at boot" + default y 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-str = watchdog