Skip to content

Commit bb3d2f1

Browse files
Rebecca Cranardbiesheuvel
Rebecca Cran
authored andcommitted
Silicon/Qemu: Use the symbolic value for the SPCR table revision.
The current SPCR table revision is 2. Instead of using a hard-coded value, use the symbolic constant EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION. Signed-off-by: Rebecca Cran <[email protected]> Reviewed-by: Ard Biesheuvel <[email protected]>
1 parent 2775438 commit bb3d2f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Silicon/Qemu/SbsaQemu/AcpiTables/Spcr.aslc

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ STATIC EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE Spcr = {
1717
SBSAQEMU_ACPI_HEADER (
1818
EFI_ACPI_6_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE,
1919
EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE,
20-
2), /* New MS definition for PL011 support */
20+
/* New MS definition for PL011 support */
21+
EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION),
2122
EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_ARM_PL011_UART,
2223
{ EFI_ACPI_RESERVED_BYTE, EFI_ACPI_RESERVED_BYTE, EFI_ACPI_RESERVED_BYTE },
2324
{

0 commit comments

Comments
 (0)