Commit f06a1d84 authored by Kumar Gala's avatar Kumar Gala Committed by Anas Nashif
Browse files

spi: sort drivers into legacy or not in CMakeLists.txt



Sort the drivers to make it explicit of which drivers are supporting
the legacy API vs the new API.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent 80c49853
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -2,14 +2,14 @@ if(CONFIG_SPI_LEGACY_API)
  zephyr_sources_ifdef(CONFIG_SPI_DW 		spi_dw_legacy.c)
  zephyr_sources_ifdef(CONFIG_SPIM_NRF52	spim_nrf52_legacy.c)
  zephyr_sources_ifdef(CONFIG_SPIS_NRF5		spis_nrf5_legacy.c)
else()
  zephyr_sources_ifdef(CONFIG_SPI_DW		spi_dw.c)
endif()
  zephyr_sources_ifdef(CONFIG_SPI_INTEL		spi_intel.c)
  zephyr_sources_ifdef(CONFIG_SPI_MCUX_DSPI	spi_mcux_dspi.c)
  zephyr_sources_ifdef(CONFIG_SPI_QMSI		spi_qmsi.c)
  zephyr_sources_ifdef(CONFIG_SPI_QMSI_SS	spi_qmsi_ss.c)
else()
  zephyr_sources_ifdef(CONFIG_SPI_DW		spi_dw.c)
  zephyr_sources_ifdef(CONFIG_SPI_STM32		spi_ll_stm32.c)
  zephyr_sources_ifdef(CONFIG_SPI_SAM0		spi_sam0.c)
endif()

zephyr_sources_ifdef(CONFIG_USERSPACE		spi_handlers.c)