From d420e1fb8735a08592cb80c07889ad323c6dc380 Mon Sep 17 00:00:00 2001 From: Uwe Poeche Date: Thu, 13 Nov 2025 10:57:45 +0100 Subject: [PATCH] mb/siemens/mc_ehl8: Switch from LPSS UART to legacy 8250 I/O UART Replace the memory-mapped LPSS UART2 with I/O port-mapped legacy 8250 UART for the serial console which is placed on mainboard. - Removing INTEL_LPSS_UART_FOR_CONSOLE activates the DRIVERS_UART_8250IO switch by default. - Change UART_FOR_CONSOLE from 2 to 0 (COM1 at I/O 0x3F8). - Add SOC_INTEL_COMMON_BLOCK_LPC_COMB_ENABLE (to enable COM2 at I/O 0x2F8). - Sort Kconfig switches alphabetically. TEST=Built and booted on mc_ehl8 - Verifed boot log on COM1. - Verifed functionality in OS via: 1) stty -F /dev/ttySx 115200 cs8 -cstopb -parenb 2) sending: echo "teststring" > /dev/ttySx 3) receiving: cat /dev/ttySx Change-Id: I72b2c0e745b40beab862ee3b68fdb6bfc54ed9ed Signed-off-by: Uwe Poeche Reviewed-on: https://review.coreboot.org/c/coreboot/+/90767 Tested-by: build bot (Jenkins) Reviewed-by: Mario Scheithauer --- src/mainboard/siemens/mc_ehl/variants/mc_ehl8/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl8/Kconfig b/src/mainboard/siemens/mc_ehl/variants/mc_ehl8/Kconfig index b0941d7ed1..4160e7bc22 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl8/Kconfig +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl8/Kconfig @@ -4,13 +4,13 @@ if BOARD_SIEMENS_MC_EHL8 config BOARD_SPECIFIC_OPTIONS def_bool y - select DRIVERS_I2C_RV3028C7 - select DRIVERS_I2C_PI608GP select DRIVER_INTEL_I210 - select INTEL_LPSS_UART_FOR_CONSOLE + select DRIVERS_I2C_PI608GP + select DRIVERS_I2C_RV3028C7 select NC_FPGA_POST_CODE select MAINBOARD_HAS_TPM2 select MEMORY_MAPPED_TPM + select SOC_INTEL_COMMON_BLOCK_LPC_COMB_ENABLE select TPM_MEASURED_BOOT select TPM_MEASURED_BOOT_INIT_BOOTBLOCK @@ -19,7 +19,7 @@ config FMDFILE config UART_FOR_CONSOLE int - default 2 + default 0 config EARLY_PCI_BRIDGE_DEVICE hex