drivers: espi: kconfig: Remove redundant ESPI_PERIPHERAL_CHANNEL deps.
The ESPI_PERIPHERAL_* symbols are surrounded by an 'if ESPI_PERIPHERAL_CHANNEL' in the same file, so no need to put 'depends on ESPI_PERIPHERAL' on them. 'if' is just a shorthand for 'depends on'. Also remove a redundant 'if ESPI' from ESPI_XEC. drivers/espi/Kconfig.xec is sourced within an 'if ESPI' in drivers/espi/Kconfig. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
cc8cf88e2c
commit
a9490541d6
2 changed files with 0 additions and 6 deletions
|
@ -58,35 +58,30 @@ if ESPI_PERIPHERAL_CHANNEL
|
||||||
|
|
||||||
config ESPI_PERIPHERAL_UART
|
config ESPI_PERIPHERAL_UART
|
||||||
bool "UART peripheral"
|
bool "UART peripheral"
|
||||||
depends on ESPI_PERIPHERAL_CHANNEL
|
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables UART over eSPI peripheral channel
|
Enables UART over eSPI peripheral channel
|
||||||
|
|
||||||
config ESPI_PERIPHERAL_8042_KEYBOARD
|
config ESPI_PERIPHERAL_8042_KEYBOARD
|
||||||
bool "8042 keyboard peripheral"
|
bool "8042 keyboard peripheral"
|
||||||
depends on ESPI_PERIPHERAL_CHANNEL
|
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables 8042 keyboard over eSPI peripheral channel
|
Enables 8042 keyboard over eSPI peripheral channel
|
||||||
|
|
||||||
config ESPI_PERIPHERAL_HOST_IO
|
config ESPI_PERIPHERAL_HOST_IO
|
||||||
bool "Host I/O peripheral"
|
bool "Host I/O peripheral"
|
||||||
depends on ESPI_PERIPHERAL_CHANNEL
|
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables ACPI Host I/O over eSPI peripheral channel
|
Enables ACPI Host I/O over eSPI peripheral channel
|
||||||
|
|
||||||
config ESPI_PERIPHERAL_PORT_92
|
config ESPI_PERIPHERAL_PORT_92
|
||||||
bool "Legacy Port 92 peripheral"
|
bool "Legacy Port 92 peripheral"
|
||||||
depends on ESPI_PERIPHERAL_CHANNEL
|
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables legacy Port 92 over eSPI peripheral channel
|
Enables legacy Port 92 over eSPI peripheral channel
|
||||||
|
|
||||||
config ESPI_PERIPHERAL_DEBUG_PORT_80
|
config ESPI_PERIPHERAL_DEBUG_PORT_80
|
||||||
bool "Debug Port 80 peripheral"
|
bool "Debug Port 80 peripheral"
|
||||||
depends on ESPI_PERIPHERAL_CHANNEL
|
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables debug Port 80 over eSPI peripheral channel
|
Enables debug Port 80 over eSPI peripheral channel
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
menuconfig ESPI_XEC
|
menuconfig ESPI_XEC
|
||||||
bool "XEC Microchip ESPI driver"
|
bool "XEC Microchip ESPI driver"
|
||||||
depends on ESPI
|
|
||||||
help
|
help
|
||||||
Enable the Microchip XEC ESPI driver.
|
Enable the Microchip XEC ESPI driver.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue