blob: 1edbae790d0d3dbe846e96bc43a119af7420bdae [file] [log] [blame]
# Microchip XEC ESPI configuration options
# Copyright (c) 2019 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config ESPI_XEC
bool "XEC Microchip ESPI driver"
depends on SOC_FAMILY_MEC
help
Enable the Microchip XEC ESPI driver
if ESPI_XEC
config ESPI_PERIPHERAL_HOST_IO
def_bool y
config ESPI_PERIPHERAL_DEBUG_PORT_80
def_bool y
config ESPI_PERIPHERAL_UART
def_bool y
config ESPI_PERIPHERAL_UART_SOC_MAPPING
int "SoC port exposed as logical eSPI UART"
default 2
depends on ESPI_PERIPHERAL_UART
help
This tells the driver to which SoC UART to direct the UART traffic
send over eSPI from host
endif # ESPI_XEC