drivers/spi: Switch Intel driver to new SPI API
Ditch any legacy API support altogether. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
b4247fde4d
commit
65f6c96736
6 changed files with 305 additions and 343 deletions
|
@ -290,6 +290,14 @@ config SPI_5_OP_MODES
|
|||
|
||||
if SPI_LEGACY_API
|
||||
|
||||
source "drivers/spi/Kconfig.mcux_dspi"
|
||||
|
||||
source "drivers/spi/Kconfig.nrf5_legacy"
|
||||
|
||||
endif # SPI_LEGACY_API
|
||||
|
||||
if !SPI_LEGACY_API
|
||||
|
||||
config SPI_INTEL
|
||||
bool "Intel SPI controller driver"
|
||||
depends on CPU_MINUTEIA
|
||||
|
@ -299,14 +307,6 @@ config SPI_INTEL
|
|||
was formerly found on XScale chips. It can be found nowadays
|
||||
on CEXXXX Intel media controller and Quark CPU (2 of them).
|
||||
|
||||
source "drivers/spi/Kconfig.mcux_dspi"
|
||||
|
||||
source "drivers/spi/Kconfig.nrf5_legacy"
|
||||
|
||||
endif # SPI_LEGACY_API
|
||||
|
||||
if !SPI_LEGACY_API
|
||||
|
||||
source "drivers/spi/Kconfig.stm32"
|
||||
|
||||
endif # !SPI_LEGACY_API
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue