summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2022-11-30 11:23:31 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-12-05 16:05:44 +0000
commit69a8a53005839aec748f26553e351b80e753cc0d (patch)
tree178bfaa5f7d839fc65962c5fcd82f1eabb88a294 /src/soc/intel
parent0a89d5237edcec3015363e9a7a3bd8b014fec500 (diff)
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70155 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/common/block/uart/uart.c4
1 files changed, 3 insertions, 1 deletions
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");