]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/Include: Add DCC and BCM2835 SPCR UART types
authorPete Batard <pete@akeo.ie>
Tue, 10 Dec 2019 18:23:04 +0000 (18:23 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 12 Dec 2019 07:32:11 +0000 (07:32 +0000)
As per the Microsoft Debug Port Table 2 (DBG2) documentation, that
can be found online, we are missing 2 serial interface types for
Arm DCC and Bcm2835 (the latter being used with the Raspberry Pi).

These same types are present in DebugPort2Table.h so add them to
SerialPortConsoleRedirectionTable.h too.

Note that we followed the same idiosyncrasies as DebugPort2Table
for naming these new macros.

Signed-off-by: Pete Batard <pete@akeo.ie>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h

index b069fb2be97f4bd3e931f644e5360fcded41e77f..2066c7895e59942993327a5f3f28cfaaba110132 100644 (file)
@@ -90,6 +90,16 @@ typedef struct {
 ///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_ARM_SBSA_GENERIC_UART     0x0e\r
 \r
+///\r
+/// ARM DCC\r
+///\r
+#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_DCC                       0x0f\r
+\r
+///\r
+/// BCM2835 UART\r
+///\r
+#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_BCM2835_UART              0x10\r
+\r
 //\r
 // Interrupt Type\r
 //\r