arch: stm32: l4: factorize HAS_STM32CUBE

In L4 series, select HAS_STM32CUBE is done per soc.
This could be factorized in Kconfig.series.
Aim is  to lower the steps to add a new SoC.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2017-07-26 16:20:51 +02:00 committed by Kumar Gala
commit 92c7ef5939
2 changed files with 1 additions and 4 deletions

View file

@ -12,6 +12,7 @@ config SOC_SERIES_STM32L4X
select CPU_CORTEX_M4
select SOC_FAMILY_STM32
select SYS_POWER_LOW_POWER_STATE_SUPPORTED
select HAS_STM32CUBE
select CPU_HAS_MPU
select CPU_HAS_SYSTICK
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL

View file

@ -12,18 +12,14 @@ depends on SOC_SERIES_STM32L4X
config SOC_STM32L476XG
bool "STM32L476XG"
select HAS_STM32CUBE
config SOC_STM32L496XG
bool "STM32L496XG"
select HAS_STM32CUBE
config SOC_STM32L432XC
bool "STM32L432XC"
select HAS_STM32CUBE
config SOC_STM32L475XG
bool "STM32L475XG"
select HAS_STM32CUBE
endchoice