drivers: spi: cc13xx_cc26xx: remove usage of CONFIG_SPI_0/1

Clean up as we wish to move away from using these Kconfig settings.
Also removing them from the boards' default config.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
This commit is contained in:
Vincent Wan 2020-05-06 13:33:41 -07:00 committed by Kumar Gala
commit da60111949
3 changed files with 0 additions and 12 deletions

View file

@ -277,14 +277,10 @@ static int spi_cc13xx_cc26xx_pm_control(struct device *dev, u32_t ctrl_command,
#endif /* CONFIG_DEVICE_POWER_MANAGEMENT */
#if defined(CONFIG_SPI_0) || defined(CONFIG_SPI_1)
static const struct spi_driver_api spi_cc13xx_cc26xx_driver_api = {
.transceive = spi_cc13xx_cc26xx_transceive,
.release = spi_cc13xx_cc26xx_release,
};
#else
#warning "No SPI port configured"
#endif
#define SPI_CC13XX_CC26XX_DOMAIN_0 PRCM_DOMAIN_SERIAL
#define SPI_CC13XX_CC26XX_DOMAIN_1 PRCM_DOMAIN_PERIPH