arch/arm: stm32: All SoCs have dts for I2C and SPI

All boards based on STM32 should use dts for I2C and SPI.
Move CONFIG flags selection from boards to arch and select them
for all STM32 SoCs.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2018-04-10 14:19:07 +02:00 committed by Kumar Gala
commit 6c2047fcd0
5 changed files with 2 additions and 5 deletions

View file

@ -9,6 +9,8 @@ config SOC_FAMILY_STM32
bool
# omit prompt to signify a "hidden" option
default n
select HAS_DTS_I2C_DEVICE if I2C
select HAS_DTS_SPI_DEVICE if SPI
if SOC_FAMILY_STM32

View file

@ -7,5 +7,4 @@
config BOARD_96B_CARBON
bool "96Boards Carbon (STM32F401)"
select HAS_DTS_SPI_DEVICE
depends on SOC_STM32F401XE

View file

@ -7,6 +7,4 @@
config BOARD_DISCO_L475_IOT1
bool "Discovery IoT L475 Development Board"
select HAS_DTS_I2C_DEVICE
select HAS_DTS_SPI_DEVICE
depends on SOC_STM32L475XG

View file

@ -7,5 +7,4 @@
config BOARD_NUCLEO_F412ZG
bool "NUCLEO-144 F412ZG Development Board"
select HAS_DTS_I2C_DEVICE
depends on SOC_STM32F412ZG

View file

@ -7,5 +7,4 @@
config BOARD_NUCLEO_F429ZI
bool "NUCLEO-144 F429ZI Development Board"
select HAS_DTS_I2C_DEVICE
depends on SOC_STM32F429XI