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:
parent
a573dfc298
commit
9abff32bdc
4 changed files with 6 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue