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:
parent
fb4f5e727b
commit
859b630c51
9 changed files with 7 additions and 25 deletions
|
@ -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
|
||||
|
|
|
@ -24,4 +24,3 @@ config GPIO_STM32_PORTH
|
|||
endif # GPIO_STM32
|
||||
|
||||
endif # SOC_STM32L432XC
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue