watchdog: remove Kconfig.defconfig setting of watchdog drivers

Now that watchdog drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
watchdog and not respect the devicetree state of the watchdog.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-08-02 08:06:32 -05:00 committed by Maureen Helm
parent 3e2f30a7ef
commit 6298b27725
23 changed files with 0 additions and 76 deletions

View file

@ -10,7 +10,6 @@ CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_GPIO=y CONFIG_GPIO=y
CONFIG_WATCHDOG=y CONFIG_WATCHDOG=y
CONFIG_WDT_SAM0=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K=y CONFIG_SOC_ATMEL_SAMD_XOSC32K=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y
CONFIG_USE_DT_CODE_PARTITION=y CONFIG_USE_DT_CODE_PARTITION=y

View file

@ -11,6 +11,5 @@ CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_GPIO=y CONFIG_GPIO=y
CONFIG_WATCHDOG=y CONFIG_WATCHDOG=y
CONFIG_WDT_SAM0=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K=y CONFIG_SOC_ATMEL_SAMD_XOSC32K=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y

View file

@ -11,6 +11,5 @@ CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_GPIO=y CONFIG_GPIO=y
CONFIG_WATCHDOG=y CONFIG_WATCHDOG=y
CONFIG_WDT_SAM0=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K=y CONFIG_SOC_ATMEL_SAMD_XOSC32K=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y

View file

@ -14,7 +14,6 @@ CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_GPIO=y CONFIG_GPIO=y
CONFIG_WATCHDOG=y CONFIG_WATCHDOG=y
CONFIG_WDT_SAM0=y
# Enable HW stack protection # Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y CONFIG_HW_STACK_PROTECTION=y

View file

@ -12,6 +12,5 @@ CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_GPIO=y CONFIG_GPIO=y
CONFIG_WATCHDOG=y CONFIG_WATCHDOG=y
CONFIG_WDT_SAM0=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K=y CONFIG_SOC_ATMEL_SAMD_XOSC32K=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y

View file

@ -13,10 +13,6 @@ config UART_INTERRUPT_DRIVEN
endif # SERIAL endif # SERIAL
config WDOG_CMSDK_APB
default y
depends on WATCHDOG
if COUNTER if COUNTER
config TIMER_TMR_CMSDK_APB config TIMER_TMR_CMSDK_APB

View file

@ -29,10 +29,6 @@ config UART_INTERRUPT_DRIVEN
endif # SERIAL endif # SERIAL
config WDOG_CMSDK_APB
default y
depends on WATCHDOG
if IPM if IPM
config IPM_MHU config IPM_MHU

View file

@ -19,10 +19,6 @@ config UART_INTERRUPT_DRIVEN
endif # SERIAL endif # SERIAL
config WDOG_CMSDK_APB
default y
depends on WATCHDOG
if COUNTER if COUNTER
config TIMER_TMR_CMSDK_APB config TIMER_TMR_CMSDK_APB

View file

@ -17,9 +17,6 @@ config HWINFO_SAM0
config USB_DC_SAM0 config USB_DC_SAM0
default USB_DEVICE_DRIVER default USB_DEVICE_DRIVER
config WDT_SAM0
default WATCHDOG
if USB_DEVICE_DRIVER if USB_DEVICE_DRIVER
config HEAP_MEM_POOL_SIZE config HEAP_MEM_POOL_SIZE

View file

@ -14,10 +14,6 @@ config NUM_IRQS
config CORTEX_M_SYSTICK config CORTEX_M_SYSTICK
default !NPCX_ITIM_TIMER default !NPCX_ITIM_TIMER
config WDT_NPCX
default y
depends on WATCHDOG
config ESPI_NPCX config ESPI_NPCX
default y default y
depends on ESPI depends on ESPI

View file

@ -14,10 +14,6 @@ config NUM_IRQS
config CORTEX_M_SYSTICK config CORTEX_M_SYSTICK
default !NPCX_ITIM_TIMER default !NPCX_ITIM_TIMER
config WDT_NPCX
default y
depends on WATCHDOG
config ESPI_NPCX config ESPI_NPCX
default y default y
depends on ESPI depends on ESPI

View file

@ -70,10 +70,6 @@ config COUNTER_MCUX_GPT
endif # COUNTER endif # COUNTER
config WDT_MCUX_IMX_WDOG
default y
depends on WATCHDOG
config PM_MCUX_GPC config PM_MCUX_GPC
default y if HAS_MCUX_GPC default y if HAS_MCUX_GPC
depends on SOC_SERIES_IMX_RT11XX && PM depends on SOC_SERIES_IMX_RT11XX && PM

View file

@ -20,10 +20,6 @@ config COUNTER_MCUX_CTIMER
default y default y
depends on COUNTER depends on COUNTER
config WDT_MCUX_WWDT
default y
depends on WATCHDOG
if MCUX_OS_TIMER if MCUX_OS_TIMER
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC

View file

@ -43,10 +43,6 @@ config COUNTER_MCUX_LPC_RTC
default y default y
depends on COUNTER depends on COUNTER
config WDT_MCUX_WWDT
default y
depends on WATCHDOG
config USB_MCUX config USB_MCUX
default y default y
depends on USB_DEVICE_DRIVER depends on USB_DEVICE_DRIVER

View file

@ -23,8 +23,4 @@ config USB_KINETIS
default y default y
depends on USB_DEVICE_DRIVER depends on USB_DEVICE_DRIVER
config WDT_MCUX_WDOG
default y
depends on WATCHDOG
endif # SOC_MK22F12 endif # SOC_MK22F12

View file

@ -38,10 +38,6 @@ config USB_KINETIS
default y default y
depends on USB_DEVICE_DRIVER depends on USB_DEVICE_DRIVER
config WDT_MCUX_WDOG
default y
depends on WATCHDOG
config COUNTER_MCUX_RTC config COUNTER_MCUX_RTC
default y default y
depends on COUNTER depends on COUNTER

View file

@ -35,10 +35,6 @@ config USB_KINETIS
default y default y
depends on USB_DEVICE_DRIVER depends on USB_DEVICE_DRIVER
config WDT_MCUX_WDOG
default y
depends on WATCHDOG
config COUNTER_MCUX_RTC config COUNTER_MCUX_RTC
default y default y
depends on COUNTER depends on COUNTER

View file

@ -34,10 +34,6 @@ config USB_KINETIS
default y default y
depends on USB_DEVICE_DRIVER depends on USB_DEVICE_DRIVER
config WDT_MCUX_WDOG
default y
depends on WATCHDOG
config COUNTER_MCUX_PIT config COUNTER_MCUX_PIT
default y if HAS_MCUX_PIT default y if HAS_MCUX_PIT
depends on COUNTER depends on COUNTER

View file

@ -29,10 +29,6 @@ config KINETIS_FLASH_CONFIG_FOPT
default 0x7d default 0x7d
depends on KINETIS_FLASH_CONFIG depends on KINETIS_FLASH_CONFIG
config WDT_MCUX_WDOG32
default y
depends on WATCHDOG
if COUNTER if COUNTER
config COUNTER_MCUX_RTC config COUNTER_MCUX_RTC

View file

@ -31,8 +31,4 @@ config USB_KINETIS
default y default y
depends on USB_DEVICE_DRIVER depends on USB_DEVICE_DRIVER
config WDT_MCUX_WDOG
default y
depends on WATCHDOG
endif # SOC_MKW2xD512 endif # SOC_MKW2xD512

View file

@ -16,10 +16,6 @@ config SOC_FLASH_MCUX
default y default y
depends on FLASH depends on FLASH
config WDT_MCUX_WWDT
default y
depends on WATCHDOG
config DMA_MCUX_LPC config DMA_MCUX_LPC
default y default y
depends on DMA depends on DMA

View file

@ -17,10 +17,6 @@ config SOC_FLASH_MCUX
depends on FLASH depends on FLASH
depends on !TRUSTED_EXECUTION_NONSECURE depends on !TRUSTED_EXECUTION_NONSECURE
config WDT_MCUX_WWDT
default y
depends on WATCHDOG
config DMA_MCUX_LPC config DMA_MCUX_LPC
default y default y
depends on DMA depends on DMA

View file

@ -35,10 +35,6 @@ config UART_NS16550_WA_ISR_REENABLE_INTERRUPT
config RISCV_HAS_CPU_IDLE config RISCV_HAS_CPU_IDLE
default y default y
config WDT_ITE_IT8XXX2
default y
depends on WATCHDOG
config KSCAN_ITE_IT8XXX2 config KSCAN_ITE_IT8XXX2
default y default y
depends on KSCAN depends on KSCAN