From b5ff4cdb6ff81882aa17e3b72334ac6b1f264e75 Mon Sep 17 00:00:00 2001 From: Florian Vaussard Date: Fri, 28 Apr 2017 14:30:35 +0200 Subject: [PATCH] arm: stm32f4: Do not enable USART1/USART2 by default Not all the boards (for instance the Nuclo F412) use USART1 or USART2. Let each board enable these USARTs when really used. Change-Id: Idfe79c724bd7b1ab154310b4a8234b52eef2298d Signed-off-by: Florian Vaussard --- .../soc/st_stm32/stm32f4/Kconfig.defconfig.series | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series index cc581d52069..e1fa08e2478 100644 --- a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series +++ b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series @@ -26,18 +26,6 @@ config UART_CONSOLE config UART_STM32 def_bool y -config UART_STM32_PORT_1 - def_bool y - -config UART_STM32_PORT_1_NAME - default UART_1 - -config UART_STM32_PORT_2 - def_bool y - -config UART_STM32_PORT_2_NAME - default UART_2 - endif #SERIAL if CLOCK_CONTROL