spi: Fix missing "depends on !HAS_DTS_SPI"
Spi configs like irq priority and device name should not exist if the spi driver supports device tree. Fixes a few configs that were missing the necessary "depends on !HAS_DTS_SPI". Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
3fbc7c5853
commit
d749feb698
1 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,7 @@ config SPI_0_OP_MODES
|
|||
|
||||
config SPI_0_IRQ_PRI
|
||||
int "Port 0 interrupt priority"
|
||||
depends on !HAS_DTS_SPI
|
||||
|
||||
config SPI_0_CS_GPIO_PORT
|
||||
string "The GPIO port which is used to control CS"
|
||||
|
@ -216,6 +217,7 @@ if SPI_4
|
|||
|
||||
config SPI_4_NAME
|
||||
string "SPI port 4 device name"
|
||||
depends on !HAS_DTS_SPI
|
||||
default "SPI_4"
|
||||
|
||||
config SPI_4_OP_MODES
|
||||
|
@ -241,6 +243,7 @@ if SPI_5
|
|||
|
||||
config SPI_5_NAME
|
||||
string "SPI port 5 device name"
|
||||
depends on !HAS_DTS_SPI
|
||||
default "SPI_5"
|
||||
|
||||
config SPI_5_OP_MODES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue