soc/arm/st_stm32: Add comments on Kconfig.defconfig organization

There are some implicit rules in STM32 family Kconfig.defconfig
fragments organizations.
Add comments to explicit these rules.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-02-18 13:47:15 +01:00 committed by Kumar Gala
commit 809bca4585
9 changed files with 35 additions and 0 deletions

View file

@ -5,6 +5,8 @@
# SPDX-License-Identifier: Apache-2.0
#
# Here are set all the Kconfig symbols common to the whole STM32 family
if SOC_FAMILY_STM32
if SERIAL

View file

@ -5,6 +5,8 @@
# SPDX-License-Identifier: Apache-2.0
#
# Kconfig symbols common to STM32F0 series
if SOC_SERIES_STM32F0X
source "soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f0*"
@ -14,6 +16,8 @@ config SOC_SERIES
if GPIO_STM32
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
config GPIO_STM32_PORTD
default y

View file

@ -5,6 +5,8 @@
# SPDX-License-Identifier: Apache-2.0
#
# Kconfig symbols common to STM32F1 series
if SOC_SERIES_STM32F1X
source "soc/arm/st_stm32/stm32f1/Kconfig.defconfig.stm32f1*"
@ -14,6 +16,8 @@ config SOC_SERIES
if GPIO_STM32
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
config GPIO_STM32_PORTD
default y

View file

@ -5,6 +5,8 @@
# SPDX-License-Identifier: Apache-2.0
#
# Kconfig symbols common to STM32F2 series
if SOC_SERIES_STM32F2X
source "soc/arm/st_stm32/stm32f2/Kconfig.defconfig.stm32f2*"
@ -14,6 +16,8 @@ config SOC_SERIES
if GPIO_STM32
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
config GPIO_STM32_PORTD
default y

View file

@ -5,6 +5,8 @@
# SPDX-License-Identifier: Apache-2.0
#
# Kconfig symbols common to STM32F3 series
if SOC_SERIES_STM32F3X
source "soc/arm/st_stm32/stm32f3/Kconfig.defconfig.stm32f3*"
@ -14,6 +16,8 @@ config SOC_SERIES
if GPIO_STM32
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
config GPIO_STM32_PORTD
default y

View file

@ -5,6 +5,8 @@
# SPDX-License-Identifier: Apache-2.0
#
# Kconfig symbols common to STM32F4 series
if SOC_SERIES_STM32F4X
source "soc/arm/st_stm32/stm32f4/Kconfig.defconfig.stm32f4*"
@ -14,6 +16,8 @@ config SOC_SERIES
if GPIO_STM32
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
config GPIO_STM32_PORTD
default y

View file

@ -5,6 +5,8 @@
# SPDX-License-Identifier: Apache-2.0
#
# Kconfig symbols common to STM32F7 series
if SOC_SERIES_STM32F7X
source "soc/arm/st_stm32/stm32f7/Kconfig.defconfig.stm32f7*"
@ -14,6 +16,8 @@ config SOC_SERIES
if GPIO_STM32
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
config GPIO_STM32_PORTD
default y

View file

@ -5,6 +5,8 @@
# SPDX-License-Identifier: Apache-2.0
#
# Kconfig symbols common to STM32L0 series
if SOC_SERIES_STM32L0X
source "soc/arm/st_stm32/stm32l0/Kconfig.defconfig.stm32l0*"
@ -14,6 +16,8 @@ config SOC_SERIES
if GPIO_STM32
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
endif # GPIO_STM32
if I2C_STM32

View file

@ -6,6 +6,8 @@
# SPDX-License-Identifier: Apache-2.0
#
# Kconfig symbols common to STM32L4 series
if SOC_SERIES_STM32L4X
source "soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4*"
@ -16,10 +18,13 @@ config SOC_SERIES
if GPIO_STM32
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
config GPIO_STM32_PORTH
default y
endif # GPIO_STM32
if I2C_STM32
config I2C_STM32_V2