2019-11-01 13:45:29 +01:00
|
|
|
# Microchip XEC ESPI configuration options
|
|
|
|
|
2019-05-11 00:49:10 +02:00
|
|
|
# Copyright (c) 2019 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-10-22 01:04:04 +02:00
|
|
|
config ESPI_XEC
|
2019-05-11 00:49:10 +02:00
|
|
|
bool "XEC Microchip ESPI driver"
|
|
|
|
depends on SOC_FAMILY_MEC
|
|
|
|
help
|
2019-10-18 20:00:01 +02:00
|
|
|
Enable the Microchip XEC ESPI driver.
|
2019-10-26 00:30:20 +02:00
|
|
|
|
|
|
|
if ESPI_XEC
|
2019-05-11 00:49:10 +02:00
|
|
|
|
|
|
|
config ESPI_PERIPHERAL_HOST_IO
|
2019-10-18 20:00:01 +02:00
|
|
|
default y
|
2019-05-11 00:49:10 +02:00
|
|
|
|
|
|
|
config ESPI_PERIPHERAL_DEBUG_PORT_80
|
2019-10-18 20:00:01 +02:00
|
|
|
default y
|
2019-05-11 00:49:10 +02:00
|
|
|
|
|
|
|
config ESPI_PERIPHERAL_UART
|
2019-10-18 20:00:01 +02:00
|
|
|
default y
|
2019-09-05 02:52:15 +02:00
|
|
|
|
|
|
|
config ESPI_PERIPHERAL_UART_SOC_MAPPING
|
2019-10-29 00:17:17 +01:00
|
|
|
int "SoC port exposed as logical eSPI UART"
|
2019-09-05 02:52:15 +02:00
|
|
|
default 2
|
|
|
|
depends on ESPI_PERIPHERAL_UART
|
|
|
|
help
|
|
|
|
This tells the driver to which SoC UART to direct the UART traffic
|
2019-10-18 20:00:01 +02:00
|
|
|
send over eSPI from host.
|
2019-10-26 00:30:20 +02:00
|
|
|
|
2019-10-18 20:00:01 +02:00
|
|
|
endif #ESPI_XEC
|