soc: arm: nxp: kinetis: unify CONFIG_WDOG_INIT Kconfig option

Move CONFIG_WDOG_INIT for the NXP Kinetis series to the top-level
Kinetis Kconfig file and enable it where needed.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2020-01-25 23:37:36 +01:00 committed by Maureen Helm
commit 282d85c3f4
8 changed files with 9 additions and 53 deletions

View file

@ -151,4 +151,13 @@ config KINETIS_FLASH_CONFIG_FDPROT
endif # KINETIS_FLASH_CONFIG endif # KINETIS_FLASH_CONFIG
config WDOG_INIT
bool
default y
help
This processor enables the watchdog timer with a short
window for configuration upon reset. Therefore, this
requires that the watchdog be configured during reset
handling.
endif # SOC_FAMILY_KINETIS endif # SOC_FAMILY_KINETIS

View file

@ -70,11 +70,4 @@ config K22_FLASH_CLOCK_DIVIDER
This option specifies the divide value for the K64 flash clock from the This option specifies the divide value for the K64 flash clock from the
system clock. system clock.
config WDOG_INIT
def_bool y
help
This processor enables the watchdog timer with a short timeout
upon reset. Therefore, this requires that the watchdog be configured
during reset handling.
endif # SOC_SERIES_KINETIS_K2X endif # SOC_SERIES_KINETIS_K2X

View file

@ -97,11 +97,4 @@ config K64_FLASH_CLOCK_DIVIDER
This option specifies the divide value for the K64 flash clock from the This option specifies the divide value for the K64 flash clock from the
system clock. system clock.
config WDOG_INIT
def_bool y
help
This processor enables the watchdog timer with a short timeout
upon reset. Therefore, this requires that the watchdog be configured
during reset handling.
endif # SOC_SERIES_KINETIS_K6X endif # SOC_SERIES_KINETIS_K6X

View file

@ -69,12 +69,4 @@ config K8X_FLASH_CLOCK_DIVIDER
This option specifies the divide value for the K8x flash clock from the This option specifies the divide value for the K8x flash clock from the
system clock. system clock.
config WDOG_INIT
def_bool y
help
This processor enables the watchdog timer with a short
window for configuration upon reset. Therefore, this
requires that the watchdog be configured during reset
handling.
endif # SOC_SERIES_KINETIS_K8X endif # SOC_SERIES_KINETIS_K8X

View file

@ -78,14 +78,6 @@ config SOC_PART_NUMBER_KINETIS_KE1XF
number selection choice defines the default value for this number selection choice defines the default value for this
string. string.
config WDOG_INIT
def_bool y
help
This processor enables the watchdog timer with a short
window for configuration upon reset. Therefore, this
requires that the watchdog be configured during reset
handling.
config KINETIS_KE1XF_ENABLE_CODE_CACHE config KINETIS_KE1XF_ENABLE_CODE_CACHE
bool "Enable the code cache" bool "Enable the code cache"
default y default y

View file

@ -77,12 +77,4 @@ config SOC_PART_NUMBER_KINETIS_KL2X
that you should not set directly. The part number selection choice defines that you should not set directly. The part number selection choice defines
the default value for this string. the default value for this string.
config WDOG_INIT
def_bool y
help
This processor enables the watchdog timer with a short
window for configuration upon reset. Therefore, this
requires that the watchdog be configured during reset
handling.
endif # SOC_SERIES_KINETIS_KL2X endif # SOC_SERIES_KINETIS_KL2X

View file

@ -85,12 +85,4 @@ config KV5X_FLASH_CLOCK_DIVIDER
This option specifies the divide value for the KV5X flash clock from the This option specifies the divide value for the KV5X flash clock from the
system clock. system clock.
config WDOG_INIT
def_bool y
help
This processor enables the watchdog timer with a short
window for configuration upon reset. Therefore, this
requires that the watchdog be configured during reset
handling.
endif # SOC_SERIES_KINETIS_KV5X endif # SOC_SERIES_KINETIS_KV5X

View file

@ -113,11 +113,4 @@ config KW2XD_FLASH_CLOCK_DIVIDER
endif # SOC_MKW24D5 || SOC_MKW22D5 endif # SOC_MKW24D5 || SOC_MKW22D5
config WDOG_INIT
def_bool y
help
This processor enables the watchdog timer with a short timeout
upon reset. Therefore, this requires that the watchdog be configured
during reset handling.
endif # SOC_SERIES_KINETIS_KWX endif # SOC_SERIES_KINETIS_KWX