drivers: spi: Define SPI_6 symbol

Add SPI_6 Kconfig symbol as this is the higher supported instance on
STM32.
This makes symbol CONFIG_SPI_6, used in stm32 driver a valid symbol.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-02-06 15:33:38 +01:00 committed by Kumar Gala
commit b0245d4240

View file

@ -160,6 +160,26 @@ config SPI_5_OP_MODES
endif # SPI_5
config SPI_6
bool "SPI port 6"
help
Enable SPI controller port 6.
if SPI_6
config SPI_6_OP_MODES
int "Port 6 supported operation modes (master/slave/both)"
default 1
range 1 3
help
This sets the supported operation modes at runtime, by the SPI
port 6, where:
1 is MASTER mode only (default)
2 is SLAVE mode only
3 is both modes are available.
endif # SPI_6
config SPI_INTEL
bool "Intel SPI controller driver"
depends on CPU_MINUTEIA