arch: st_stm32: Remove I2C and SPI instances from common defconfig
Remove I2C and SPI instances when enabling I2C_STM32 and SPI_STM32 drivers. It allows to enable the drivers if ports I2C_4, SPI_4, SPI_5, SPI_6 are selected. Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
parent
68823b503e
commit
32a6fa1c58
1 changed files with 2 additions and 2 deletions
|
@ -51,14 +51,14 @@ config PWM_STM32
|
||||||
|
|
||||||
endif # PWM
|
endif # PWM
|
||||||
|
|
||||||
if SPI && (SPI_1 || SPI_2 || SPI_3)
|
if SPI
|
||||||
|
|
||||||
config SPI_STM32
|
config SPI_STM32
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
endif # SPI
|
endif # SPI
|
||||||
|
|
||||||
if I2C && (I2C_1 || I2C_2 || I2C_3)
|
if I2C
|
||||||
|
|
||||||
config I2C_STM32
|
config I2C_STM32
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue