From 09ca5cc9cb3211717f8bdcc8b2b48e92dc5f854c Mon Sep 17 00:00:00 2001 From: Jose Alberto Meza Date: Wed, 20 Apr 2022 14:28:41 -0700 Subject: [PATCH] drivers: espi: Correct default eSPI to UART mapping Correct default mapping for eSPI UART virtual port to SoC UART for MEC172x. Signed-off-by: Jose Alberto Meza --- drivers/espi/Kconfig.xec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/espi/Kconfig.xec b/drivers/espi/Kconfig.xec index 32b79d5643f..b6fde723b71 100644 --- a/drivers/espi/Kconfig.xec +++ b/drivers/espi/Kconfig.xec @@ -31,7 +31,8 @@ config ESPI_PERIPHERAL_UART config ESPI_PERIPHERAL_UART_SOC_MAPPING int "SoC port exposed as logical eSPI UART" - default 2 + default 2 if SOC_SERIES_MEC1501X + default 1 if SOC_SERIES_MEC172X depends on ESPI_PERIPHERAL_UART help This tells the driver to which SoC UART to direct the UART traffic