From 1f0c6118d213d99658892f7fe75c34f05d28233e Mon Sep 17 00:00:00 2001 From: Yannis Damigos Date: Wed, 6 Sep 2017 19:40:22 +0300 Subject: [PATCH] arch: stm32f4: Select USB_DC_STM32 driver if USB is enabled Signed-off-by: Yannis Damigos --- arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series index f547dfaa2c2f2f..9e8d7969ae9788 100644 --- a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series +++ b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series @@ -51,4 +51,11 @@ config PINMUX_STM32 endif #PINMUX +if USB + +config USB_DC_STM32 + def_bool y + +endif #USB + endif # SOC_SERIES_STM32F4X