From df21ab8541cd34b0040503fd460b1a1ee32b10a2 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Wed, 5 Apr 2017 11:26:13 -0500 Subject: [PATCH] dts: arm: ST: Cleanup DTS bits on STM32L4 SoCs Since all the L4 SoCs are using DTS we can remove the various Kconfig bits that we now get from DTS. Change-Id: Icdec49b478ff285dc3347b09412964a721f75bbf Signed-off-by: Kumar Gala --- arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.series | 6 ------ .../soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx | 9 --------- boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig | 1 - 3 files changed, 16 deletions(-) diff --git a/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.series index 9807b96161c..3c3e5ec29b1 100644 --- a/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.series +++ b/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.series @@ -13,10 +13,4 @@ source "arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l4*" config SOC_SERIES default stm32l4 -if !HAS_DTS -config NUM_IRQ_PRIO_BITS - int - default 4 -endif # !HAS_DTS - endif # SOC_SERIES_STM32L4X diff --git a/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx b/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx index 9a4ff286d7a..676cc6c67f4 100644 --- a/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx +++ b/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx @@ -12,15 +12,6 @@ config SOC string default stm32l476xx -if !HAS_DTS -config SRAM_SIZE - default 96 - -config FLASH_SIZE - default 1024 - -endif # !HAS_DTS - config NUM_IRQS int default 82 diff --git a/boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig b/boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig index 1d8dfd0bd03..7bb2cd984c1 100644 --- a/boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig +++ b/boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig @@ -11,7 +11,6 @@ CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=80000000 CONFIG_SERIAL=y CONFIG_UART_STM32=y CONFIG_UART_STM32_PORT_2=y -CONFIG_UART_STM32_PORT_2_BAUD_RATE=115200 # enable pinmux CONFIG_PINMUX=y