soc/arm/st_stm32/stm32l4: Factorize definition of GPIO_STM32_PORTH

GPIO port H is available on all SoCs of L4 series.
Move Kconfig GPIO_STM32_PORTH symbol deifnition to series Kconfig
fragment Kconfig.defconfig.series.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-02-18 13:45:21 +01:00 committed by Kumar Gala
commit 859b630c51
9 changed files with 7 additions and 25 deletions

View file

@ -13,6 +13,13 @@ source "soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4*"
config SOC_SERIES
default "stm32l4"
if GPIO_STM32
config GPIO_STM32_PORTH
default y
endif # GPIO_STM32
if I2C_STM32
config I2C_STM32_V2

View file

@ -24,4 +24,3 @@ config GPIO_STM32_PORTH
endif # GPIO_STM32
endif # SOC_STM32L432XC

View file

@ -23,10 +23,6 @@ config GPIO_STM32_PORTD
config GPIO_STM32_PORTE
default y
config GPIO_STM32_PORTH
default y
endif # GPIO_STM32
endif # SOC_STM32L433XC

View file

@ -23,10 +23,6 @@ config GPIO_STM32_PORTD
config GPIO_STM32_PORTE
default y
config GPIO_STM32_PORTH
default y
endif # GPIO_STM32
endif # SOC_STM32L452XC

View file

@ -29,9 +29,6 @@ config GPIO_STM32_PORTF
config GPIO_STM32_PORTG
default y
config GPIO_STM32_PORTH
default y
endif # GPIO_STM32
endif # SOC_STM32L471XX

View file

@ -29,9 +29,6 @@ config GPIO_STM32_PORTF
config GPIO_STM32_PORTG
default y
config GPIO_STM32_PORTH
default y
endif # GPIO_STM32
endif # SOC_STM32L475XG

View file

@ -30,9 +30,6 @@ config GPIO_STM32_PORTF
config GPIO_STM32_PORTG
default y
config GPIO_STM32_PORTH
default y
endif # GPIO_STM32
endif # SOC_STM32L476XG

View file

@ -30,13 +30,9 @@ config GPIO_STM32_PORTF
config GPIO_STM32_PORTG
default y
config GPIO_STM32_PORTH
default y
config GPIO_STM32_PORTI
default y
endif # GPIO_STM32
endif # SOC_STM32L496XG

View file

@ -29,9 +29,6 @@ config GPIO_STM32_PORTF
config GPIO_STM32_PORTG
default y
config GPIO_STM32_PORTH
default y
endif # GPIO_STM32
endif # SOC_STM32L4R5XI