]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Add ARM Serial Port Subtypes to DBG2
authorSami Mujawar <sami.mujawar@arm.com>
Fri, 4 Mar 2016 17:24:41 +0000 (17:24 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 1 Apr 2016 14:45:54 +0000 (16:45 +0200)
The Microsoft Debug Port Table 2 (DBG2) specification revision
October 6, 2015 adds support for Serial Port Subtypes for ARM.

This patch adds these definitions.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/IndustryStandard/DebugPort2Table.h

index 4014c9fdb6b901e0f33788bbc3cd15e39baa7d82..08d6fc093d4c87682497237a1aaad5215e77e624 100644 (file)
@@ -3,6 +3,7 @@
   Microsoft DebugPort2Specification.\r
 \r
   Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2012 - 2016, ARM Limited. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -47,6 +48,11 @@ typedef struct {
 #define EFI_ACPI_DBG2_PORT_TYPE_SERIAL                                                 0x8000\r
 #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_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
+#define   EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_BCM2835_UART                               0x0010\r
 #define EFI_ACPI_DBG2_PORT_TYPE_1394                                                   0x8001\r
 #define   EFI_ACPI_DBG2_PORT_SUBTYPE_1394_STANDARD                                     0x0000\r
 #define EFI_ACPI_DBG2_PORT_TYPE_USB                                                    0x8002\r