From 69a8a53005839aec748f26553e351b80e753cc0d Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Wed, 30 Nov 2022 11:23:31 +0100 Subject: [PATCH] soc/intel/common/block/uart: Show ACPI UART in OS Do not hide UARTs in ACPI mode from the OS, as this prevents using them on at least Windows. Currently, the driver is only used on the Prodrive Hermes mainboard. Change-Id: I01bdccff1b11e1862970c924fd5fc7718a2d6ce9 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/70155 Reviewed-by: Arthur Heymans Reviewed-by: Lean Sheng Tan Reviewed-by: Patrick Rudolph Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/uart/uart.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/soc/intel/common/block/uart/uart.c b/src/soc/intel/common/block/uart/uart.c index b881c58127..0ca3361b3e 100644 --- a/src/soc/intel/common/block/uart/uart.c +++ b/src/soc/intel/common/block/uart/uart.c @@ -253,7 +253,9 @@ static void uart_fill_ssdt(const struct device *dev) acpi_device_write_uid(dev); acpigen_write_name_string("_DDN", "LPSS ACPI UART"); - acpigen_write_STA(acpi_device_status(dev)); + + /* Do not hide the UART device from the OS */ + acpigen_write_STA(ACPI_STATUS_DEVICE_ALL_ON); /* Resources */ acpigen_write_name("_CRS");