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
|
@ -11,6 +11,7 @@
|
|||
#
|
||||
menuconfig SPI
|
||||
bool "SPI hardware bus support"
|
||||
select HAS_DTS_SPI
|
||||
help
|
||||
Enable support for the SPI hardware bus.
|
||||
|
||||
|
@ -46,11 +47,6 @@ config SPI_0
|
|||
|
||||
if SPI_0
|
||||
|
||||
config SPI_0_NAME
|
||||
string "SPI port 0 device name"
|
||||
depends on !HAS_DTS_SPI
|
||||
default "SPI_0"
|
||||
|
||||
config SPI_0_OP_MODES
|
||||
int "Port 0 supported operation modes (master/slave/both)"
|
||||
default 1
|
||||
|
@ -62,10 +58,6 @@ config SPI_0_OP_MODES
|
|||
2 is SLAVE mode only
|
||||
3 is both modes are available.
|
||||
|
||||
config SPI_0_IRQ_PRI
|
||||
int "Port 0 interrupt priority"
|
||||
depends on !HAS_DTS_SPI
|
||||
|
||||
endif # SPI_0
|
||||
|
||||
config SPI_1
|
||||
|
@ -75,11 +67,6 @@ config SPI_1
|
|||
|
||||
if SPI_1
|
||||
|
||||
config SPI_1_NAME
|
||||
string "SPI port 1 device name"
|
||||
depends on !HAS_DTS_SPI
|
||||
default "SPI_1"
|
||||
|
||||
config SPI_1_OP_MODES
|
||||
int "Port 1 supported operation modes (master/slave/both)"
|
||||
default 1
|
||||
|
@ -91,10 +78,6 @@ config SPI_1_OP_MODES
|
|||
2 is SLAVE mode only
|
||||
3 is both modes are available.
|
||||
|
||||
config SPI_1_IRQ_PRI
|
||||
int "Port 1 interrupt priority"
|
||||
depends on !HAS_DTS_SPI
|
||||
|
||||
endif # SPI_1
|
||||
|
||||
config SPI_2
|
||||
|
@ -104,11 +87,6 @@ config SPI_2
|
|||
|
||||
if SPI_2
|
||||
|
||||
config SPI_2_NAME
|
||||
string "SPI port 2 device name"
|
||||
depends on !HAS_DTS_SPI
|
||||
default "SPI_2"
|
||||
|
||||
config SPI_2_OP_MODES
|
||||
int "Port 2 supported operation modes (master/slave/both)"
|
||||
default 1
|
||||
|
@ -120,10 +98,6 @@ config SPI_2_OP_MODES
|
|||
2 is SLAVE mode only
|
||||
3 is both modes are available.
|
||||
|
||||
config SPI_2_IRQ_PRI
|
||||
int "Port 2 interrupt priority"
|
||||
depends on !HAS_DTS_SPI
|
||||
|
||||
endif # SPI_2
|
||||
|
||||
config SPI_3
|
||||
|
@ -133,11 +107,6 @@ config SPI_3
|
|||
|
||||
if SPI_3
|
||||
|
||||
config SPI_3_NAME
|
||||
string "SPI port 3 device name"
|
||||
depends on !HAS_DTS_SPI
|
||||
default "SPI_3"
|
||||
|
||||
config SPI_3_OP_MODES
|
||||
int "Port 3 supported operation modes (master/slave/both)"
|
||||
default 1
|
||||
|
@ -149,10 +118,6 @@ config SPI_3_OP_MODES
|
|||
2 is SLAVE mode only
|
||||
3 is both modes are available.
|
||||
|
||||
config SPI_3_IRQ_PRI
|
||||
int "Port 3 interrupt priority"
|
||||
depends on !HAS_DTS_SPI
|
||||
|
||||
endif # SPI_3
|
||||
|
||||
config SPI_4
|
||||
|
@ -162,11 +127,6 @@ config SPI_4
|
|||
|
||||
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
|
||||
int "Port 4 supported operation modes (master/slave/both)"
|
||||
default 1
|
||||
|
@ -187,11 +147,6 @@ config SPI_5
|
|||
|
||||
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
|
||||
int "Port 5 supported operation modes (master/slave/both)"
|
||||
default 1
|
||||
|
@ -208,7 +163,6 @@ endif # SPI_5
|
|||
config SPI_INTEL
|
||||
bool "Intel SPI controller driver"
|
||||
depends on CPU_MINUTEIA
|
||||
select HAS_DTS_SPI
|
||||
help
|
||||
Enable support for Intel's SPI controllers. Such controller
|
||||
was formerly found on XScale chips. It can be found nowadays
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue