From: Pete Batard Date: Tue, 10 Dec 2019 18:23:04 +0000 (+0000) Subject: MdePkg/Include: Add DCC and BCM2835 SPCR UART types X-Git-Tag: edk2-stable202002~329 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bfb141cf19dd6f9b8df8b9d0914a5b3b15e1a798;p=mirror_edk2.git MdePkg/Include: Add DCC and BCM2835 SPCR UART types 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 Acked-by: Ard Biesheuvel Reviewed-by: Liming Gao --- diff --git a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h index b069fb2be9..2066c7895e 100644 --- a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h +++ b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h @@ -90,6 +90,16 @@ typedef struct { /// #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_ARM_SBSA_GENERIC_UART 0x0e +/// +/// ARM DCC +/// +#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_DCC 0x0f + +/// +/// BCM2835 UART +/// +#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_BCM2835_UART 0x10 + // // Interrupt Type //