drivers/dma: stm32: Base Konfig symbols on dts compatible status

In order to simplify the handling of DMA_STM32_V1/V2 and DMAMUX_STM32
symbols, set them directly based on related compatible status.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2021-01-07 20:39:55 +01:00 committed by Anas Nashif
commit b226f1d446
12 changed files with 10 additions and 50 deletions

View file

@ -12,8 +12,4 @@ source "soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f0*"
config SOC_SERIES
default "stm32f0"
config DMA_STM32_V2
default y
depends on DMA_STM32
endif # SOC_SERIES_STM32F0X