diff options
author | Pete Batard <pete@akeo.ie> | 2019-12-10 18:23:04 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2019-12-12 07:32:11 +0000 |
commit | bfb141cf19dd6f9b8df8b9d0914a5b3b15e1a798 (patch) | |
tree | 2d0974394c25574aebdcbc5418aefb6cbcbd59f0 /MdePkg | |
parent | 2fe25a74d6fee3c2ac0b930f7f3596cb432e766e (diff) | |
download | edk2-bfb141cf19dd6f9b8df8b9d0914a5b3b15e1a798.tar.gz edk2-bfb141cf19dd6f9b8df8b9d0914a5b3b15e1a798.tar.bz2 edk2-bfb141cf19dd6f9b8df8b9d0914a5b3b15e1a798.zip |
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 <pete@akeo.ie>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h | 10 |
1 files changed, 10 insertions, 0 deletions
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
//
|