From be3cb485eb9eb112d715efadd5649b4345ce5891 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Tue, 28 Jan 2020 22:47:03 +0100 Subject: [PATCH] soc: arm: nxp: kinetis: disable watchdog init if bootloader is enabled Disable the early watchdog initialization for the NXP Kinetis series if the application is to be chain-loaded by mcuboot. The early watchdog initialization must only take place once and needs to happen within a SoC specific number of CPU clock cycles after reset. Signed-off-by: Henrik Brix Andersen --- soc/arm/nxp_kinetis/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/arm/nxp_kinetis/Kconfig b/soc/arm/nxp_kinetis/Kconfig index 8c0c13df74e..0c6a2b50b63 100644 --- a/soc/arm/nxp_kinetis/Kconfig +++ b/soc/arm/nxp_kinetis/Kconfig @@ -153,7 +153,7 @@ endif # KINETIS_FLASH_CONFIG config WDOG_INIT bool - default y + default !BOOTLOADER_MCUBOOT help This processor enables the watchdog timer with a short window for configuration upon reset. Therefore, this