]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Update DBG2 and SPCR header with NVIDIA 16550 Subtype
authorAshish Singhal <ashishsingha@nvidia.com>
Tue, 18 May 2021 18:37:39 +0000 (02:37 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 1 Jun 2021 03:28:16 +0000 (03:28 +0000)
Add macros for NVIDIA 16550 UART specific debug port subtype in both
DBG2 as well as SPCR header file.

Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
Reviewed-by: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Sunny Wang <sunny.wang@arm.com>
MdePkg/Include/IndustryStandard/DebugPort2Table.h
MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h

index 9ccfc1b1ee9003ce3b1cfce32a445563a40c5717..8aab77b95ce731f42469a3a6743177cd31d27153 100644 (file)
@@ -43,6 +43,7 @@ typedef struct {
 #define   EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_FULL_16550                                 0x0000\r
 #define   EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_16550_SUBSET_COMPATIBLE_WITH_MS_DBGP_SPEC  0x0001\r
 #define   EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_PL011_UART                             0x0003\r
+#define   EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_NVIDIA_16550_UART                          0x0005\r
 #define   EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART_2X                   0x000d\r
 #define   EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART                      0x000e\r
 #define   EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_DCC                                        0x000f\r
index 7796796afe4dbad0640dccbd8acd7e7238b6d055..8fd1582be4946c6c9474b98eb6cce9cc3ba82a5f 100644 (file)
@@ -80,6 +80,11 @@ typedef struct {
 ///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_ARM_PL011_UART            0x03\r
 \r
+///\r
+/// NVIDIA 16550 UART\r
+///\r
+#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_NVIDIA_16550_UART         0x05\r
+\r
 ///\r
 /// ARM SBSA Generic UART (2.x) supporting 32-bit only accesses [deprecated]\r
 ///\r