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>
This commit is contained in:
Angel Pons 2022-11-30 11:23:31 +01:00 committed by Felix Held
parent 0a89d5237e
commit 69a8a53005
1 changed files with 3 additions and 1 deletions

View File

@ -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");