]> git.proxmox.com Git - mirror_edk2.git/commitdiff
DynamicTablesPkg/AcpiSpcrLibArm: Support 16550 UART.
authorAshish Singhal <ashishsingha@nvidia.com>
Thu, 21 Feb 2019 18:38:57 +0000 (11:38 -0700)
committerSami Mujawar <sami.mujawar@arm.com>
Mon, 25 Feb 2019 13:42:28 +0000 (13:42 +0000)
Add support for 16550 UART to ACPI SPCR table as it is a
supported UART type by HLOS.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <alexei.fedorov@arm.com>
DynamicTablesPkg/Library/Acpi/Arm/AcpiSpcrLibArm/SpcrGenerator.c

index 23d3a50713d200321e3d93850c1b42e48da2faeb..a4654acb39812af022a1e678b78e31415d94ef30 100644 (file)
@@ -189,6 +189,8 @@ BuildSpcrTable (
       (SerialPortInfo->PortSubtype !=\r
       EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART) &&\r
       (SerialPortInfo->PortSubtype !=\r
+      EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_FULL_16550) &&\r
+      (SerialPortInfo->PortSubtype !=\r
       EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_DCC)) {\r
     Status = EFI_INVALID_PARAMETER;\r
     DEBUG ((\r