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
|
|
|
|
2019-11-21 17:27:45 +01:00
|
|
|
config ESPI_OOB_CHANNEL
|
|
|
|
default y
|
|
|
|
|
2020-04-09 03:21:29 +02:00
|
|
|
config ESPI_FLASH_CHANNEL
|
|
|
|
default y
|
|
|
|
|
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
|
|
|
|
2020-06-02 07:51:29 +02:00
|
|
|
config ESPI_PERIPHERAL_HOST_IO_PVT
|
|
|
|
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
|
|
|
|
2020-11-09 18:06:22 +01:00
|
|
|
config ESPI_SAF
|
|
|
|
bool "XEC Microchip ESPI SAF driver"
|
|
|
|
depends on ESPI_FLASH_CHANNEL
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable Slave Attached Flash eSPI driver. SAF depends upon ESPI XEC driver
|
|
|
|
and flash channel.
|
|
|
|
|
|
|
|
config ESPI_SAF_INIT_PRIORITY
|
|
|
|
int "ESPI SAF driver initialization priority"
|
|
|
|
depends on ESPI_SAF
|
|
|
|
default 4
|
|
|
|
help
|
|
|
|
Driver initialization priority for eSPI SAF driver.
|
|
|
|
|
2019-10-18 20:00:01 +02:00
|
|
|
endif #ESPI_XEC
|