From 2a10920aafea32e3805df83153564070d19fd24f Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Wed, 10 May 2017 13:54:16 +0200 Subject: [PATCH] soc: stm32f429zi: rename SOC config flag Rename SOC_STM32F429XX to SOC_STM32F429XI to keep flash size information. Aim is to be able to distinguish flash size variants of the SoC when needed (for instance in dts/arm/st/mem.h file) Change-Id: Id188b7703d2bce0a3ded09132ff0f205efa9c143 Signed-off-by: Erwan Gouriou --- arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f429xx | 4 ++-- arch/arm/soc/st_stm32/stm32f4/Kconfig.soc | 2 +- dts/arm/st/mem.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f429xx b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f429xx index b8286245434..7d706e8efab 100644 --- a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f429xx +++ b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f429xx @@ -5,7 +5,7 @@ # SPDX-License-Identifier: Apache-2.0 # -if SOC_STM32F429XX +if SOC_STM32F429XI config SOC string @@ -15,4 +15,4 @@ config NUM_IRQS int default 91 -endif # SOC_STM32F429XX +endif # SOC_STM32F429XI diff --git a/arch/arm/soc/st_stm32/stm32f4/Kconfig.soc b/arch/arm/soc/st_stm32/stm32f4/Kconfig.soc index 01e9d6d9ca0..4cce8ff43dc 100644 --- a/arch/arm/soc/st_stm32/stm32f4/Kconfig.soc +++ b/arch/arm/soc/st_stm32/stm32f4/Kconfig.soc @@ -18,7 +18,7 @@ config SOC_STM32F407XX config SOC_STM32F411XE bool "STM32F411XE" -config SOC_STM32F429XX +config SOC_STM32F429XI bool "STM32F429XX" endchoice diff --git a/dts/arm/st/mem.h b/dts/arm/st/mem.h index 145fe1065be..a3616a67e22 100644 --- a/dts/arm/st/mem.h +++ b/dts/arm/st/mem.h @@ -30,7 +30,7 @@ #elif defined(CONFIG_SOC_STM32F411XE) #define DT_FLASH_SIZE __SIZE_K(512) #define DT_SRAM_SIZE __SIZE_K(128) -#elif defined(CONFIG_SOC_STM32F429XX) +#elif defined(CONFIG_SOC_STM32F429XI) #define DT_FLASH_SIZE __SIZE_K(2048) #define DT_SRAM_SIZE __SIZE_K(256) #elif defined(CONFIG_SOC_STM32L475XG)