drivers/spi: Always selecet HAS_DTS_SPI once SPI is enabled
All drivers require DTS for their primary SPI settings. Removing SPI_[0-9]_NAME config option added some more samples changes. Usage of these options there was anyway not relevant. Fixes #11064 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ea198e3e4b
commit
1634cf2248
37 changed files with 70 additions and 151 deletions
|
@ -90,12 +90,12 @@
|
|||
|
||||
#define DT_SPI_1_BASE_ADDRESS DT_ST_STM32_SPI_FIFO_40013000_BASE_ADDRESS
|
||||
#define CONFIG_SPI_1_IRQ_PRI DT_ST_STM32_SPI_FIFO_40013000_IRQ_0_PRIORITY
|
||||
#define CONFIG_SPI_1_NAME DT_ST_STM32_SPI_FIFO_40013000_LABEL
|
||||
#define DT_SPI_1_NAME DT_ST_STM32_SPI_FIFO_40013000_LABEL
|
||||
#define DT_SPI_1_IRQ DT_ST_STM32_SPI_FIFO_40013000_IRQ_0
|
||||
|
||||
#define DT_SPI_2_BASE_ADDRESS DT_ST_STM32_SPI_FIFO_40003800_BASE_ADDRESS
|
||||
#define CONFIG_SPI_2_IRQ_PRI DT_ST_STM32_SPI_FIFO_40003800_IRQ_0_PRIORITY
|
||||
#define CONFIG_SPI_2_NAME DT_ST_STM32_SPI_FIFO_40003800_LABEL
|
||||
#define DT_SPI_2_NAME DT_ST_STM32_SPI_FIFO_40003800_LABEL
|
||||
#define DT_SPI_2_IRQ DT_ST_STM32_SPI_FIFO_40003800_IRQ_0
|
||||
|
||||
#define DT_CAN_1_BASE_ADDRESS DT_ST_STM32_CAN_40006400_BASE_ADDRESS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue