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
|
@ -165,27 +165,27 @@
|
|||
|
||||
#define DT_SPI_1_BASE_ADDRESS DT_ST_STM32_SPI_40013000_BASE_ADDRESS
|
||||
#define CONFIG_SPI_1_IRQ_PRI DT_ST_STM32_SPI_40013000_IRQ_0_PRIORITY
|
||||
#define CONFIG_SPI_1_NAME DT_ST_STM32_SPI_40013000_LABEL
|
||||
#define DT_SPI_1_NAME DT_ST_STM32_SPI_40013000_LABEL
|
||||
#define DT_SPI_1_IRQ DT_ST_STM32_SPI_40013000_IRQ_0
|
||||
|
||||
#define DT_SPI_2_BASE_ADDRESS DT_ST_STM32_SPI_40003800_BASE_ADDRESS
|
||||
#define CONFIG_SPI_2_IRQ_PRI DT_ST_STM32_SPI_40003800_IRQ_0_PRIORITY
|
||||
#define CONFIG_SPI_2_NAME DT_ST_STM32_SPI_40003800_LABEL
|
||||
#define DT_SPI_2_NAME DT_ST_STM32_SPI_40003800_LABEL
|
||||
#define DT_SPI_2_IRQ DT_ST_STM32_SPI_40003800_IRQ_0
|
||||
|
||||
#define DT_SPI_3_BASE_ADDRESS DT_ST_STM32_SPI_40003C00_BASE_ADDRESS
|
||||
#define CONFIG_SPI_3_IRQ_PRI DT_ST_STM32_SPI_40003C00_IRQ_0_PRIORITY
|
||||
#define CONFIG_SPI_3_NAME DT_ST_STM32_SPI_40003C00_LABEL
|
||||
#define DT_SPI_3_NAME DT_ST_STM32_SPI_40003C00_LABEL
|
||||
#define DT_SPI_3_IRQ DT_ST_STM32_SPI_40003C00_IRQ_0
|
||||
|
||||
#define DT_SPI_4_BASE_ADDRESS DT_ST_STM32_SPI_40013400_BASE_ADDRESS
|
||||
#define DT_SPI_4_IRQ_PRI DT_ST_STM32_SPI_40013400_IRQ_0_PRIORITY
|
||||
#define CONFIG_SPI_4_NAME DT_ST_STM32_SPI_40013400_LABEL
|
||||
#define DT_SPI_4_NAME DT_ST_STM32_SPI_40013400_LABEL
|
||||
#define DT_SPI_4_IRQ DT_ST_STM32_SPI_40013400_IRQ_0
|
||||
|
||||
#define DT_SPI_5_BASE_ADDRESS DT_ST_STM32_SPI_40015000_BASE_ADDRESS
|
||||
#define DT_SPI_5_IRQ_PRI DT_ST_STM32_SPI_40015000_IRQ_0_PRIORITY
|
||||
#define CONFIG_SPI_5_NAME DT_ST_STM32_SPI_40015000_LABEL
|
||||
#define DT_SPI_5_NAME DT_ST_STM32_SPI_40015000_LABEL
|
||||
#define DT_SPI_5_IRQ DT_ST_STM32_SPI_40015000_IRQ_0
|
||||
|
||||
#define DT_SPI_6_BASE_ADDRESS DT_ST_STM32_SPI_40015400_BASE_ADDRESS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue