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