drivers: espi: Kconfig cosmetic changes

Several cosmetic changes applied to the Kconfig for ESPI driver

Signed-off-by: Francisco Munoz <francisco.munoz.ruiz@intel.com>
This commit is contained in:
Francisco Munoz 2019-10-18 11:00:01 -07:00 committed by Anas Nashif
commit 4538ddaea3
2 changed files with 20 additions and 27 deletions

View file

@ -6,7 +6,7 @@
menuconfig ESPI
bool "ESPI Driver"
help
Enable ESPI Driver
Enable ESPI Driver.
if ESPI
@ -20,69 +20,62 @@ config ESPI_SLAVE
bool "ESPI slave driver"
default y
help
Enables eSPI driver in slave mode
Enables eSPI driver in slave mode.
config ESPI_INIT_PRIORITY
int "IRQ Priority for ESPI Controller"
default 3
help
IRQ Priority for ESPI Controller
IRQ Priority for ESPI Controller.
config ESPI_PERIPHERAL_CHANNEL
bool "eSPI peripheral channel"
default y
help
eSPI Controller supports peripheral channel
eSPI Controller supports peripheral channel.
config ESPI_VWIRE_CHANNEL
bool "eSPI virtual wire channel"
default y
help
eSPI Controller supports virtual wires channel
eSPI Controller supports virtual wires channel.
config ESPI_OOB_CHANNEL
bool "eSPI Out-of-band channel"
default n
help
eSPI Controller supports OOB channel
eSPI Controller supports OOB channel.
config ESPI_FLASH_CHANNEL
bool "ESPI flash channel"
default n
help
eSPI Controller supports flash channel
eSPI Controller supports flash channel.
if ESPI_PERIPHERAL_CHANNEL
config ESPI_PERIPHERAL_UART
bool "UART peripheral"
default n
help
Enables UART over eSPI peripheral channel
Enables UART over eSPI peripheral channel.
config ESPI_PERIPHERAL_8042_KEYBOARD
bool "8042 keyboard peripheral"
default n
config ESPI_PERIPHERAL_8042_KBC
bool "8042 kbc peripheral"
help
Enables 8042 keyboard over eSPI peripheral channel
Enables 8042 keyboard controller over eSPI peripheral channel.
config ESPI_PERIPHERAL_HOST_IO
bool "Host I/O peripheral"
default n
help
Enables ACPI Host I/O over eSPI peripheral channel
Enables ACPI Host I/O over eSPI peripheral channel.
config ESPI_PERIPHERAL_PORT_92
bool "Legacy Port 92 peripheral"
default n
help
Enables legacy Port 92 over eSPI peripheral channel
Enables legacy Port 92 over eSPI peripheral channel.
config ESPI_PERIPHERAL_DEBUG_PORT_80
bool "Debug Port 80 peripheral"
default n
help
Enables debug Port 80 over eSPI peripheral channel
Enables debug Port 80 over eSPI peripheral channel.
endif # ESPI_PERIPHERAL_CHANNEL

View file

@ -7,18 +7,18 @@ config ESPI_XEC
bool "XEC Microchip ESPI driver"
depends on SOC_FAMILY_MEC
help
Enable the Microchip XEC ESPI driver
Enable the Microchip XEC ESPI driver.
if ESPI_XEC
config ESPI_PERIPHERAL_HOST_IO
def_bool y
default y
config ESPI_PERIPHERAL_DEBUG_PORT_80
def_bool y
default y
config ESPI_PERIPHERAL_UART
def_bool y
default y
config ESPI_PERIPHERAL_UART_SOC_MAPPING
int "SoC port exposed as logical eSPI UART"
@ -26,6 +26,6 @@ config ESPI_PERIPHERAL_UART_SOC_MAPPING
depends on ESPI_PERIPHERAL_UART
help
This tells the driver to which SoC UART to direct the UART traffic
send over eSPI from host
send over eSPI from host.
endif # ESPI_XEC
endif #ESPI_XEC