drivers/watchdog: stm32: Select watchdog using compatible

Rather than Kconfig vendor symbols, select stm32 watchdog using
compatible.
So user only has to enable the requested node and set
CONFIG_WATCHDOG=y.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2021-01-27 11:27:58 +01:00 committed by Anas Nashif
commit 9abff32bdc
4 changed files with 6 additions and 31 deletions

View file

@ -36,16 +36,6 @@ config PINMUX_STM32
default y
depends on PINMUX
if WATCHDOG
config IWDG_STM32
default y
config WWDG_STM32
default n
endif # WATCHDOG
config PWM_STM32
default y
depends on PWM