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 <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2020-01-28 22:47:03 +01:00 committed by Maureen Helm
commit be3cb485eb

View file

@ -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