From 40b9ca6beb8c5cd11e9fb30ebc447c7889157eff Mon Sep 17 00:00:00 2001 From: Samer El-Haj-Mahmoud Date: Fri, 10 Apr 2020 11:29:24 -0400 Subject: [PATCH] MdeModulePkg: PcdAcpiExposedTableVersions default for Arm64 platforms Set the default value of PcdAcpiExposedTableVersions for Aarch64 platforms to 0x20. Previously, the default was set to 0x3E for all platforms. The new value removes ACPI 1.0b compatability, which forces the use of XSDT 64-bit pointer, as required by Arm SBBR specification. This also resolves an error reported by acpiview command, as seen on the RPi (see https://github.com/pftf/RPi4/issues/25). Signed-off-by: Samer El-Haj-Mahmoud Reviewed-by: Ard Biesheuvel Reviewed-by: Dandan Bi Reviewed-by: Sami Mujawar Acked-by: Hao A Wu --- MdeModulePkg/MdeModulePkg.dec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 42ad21cf24..4f44af6948 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1550,6 +1550,9 @@ # @Prompt Console Output Row of Text Setup gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|25|UINT32|0x4000000e +[PcdsFixedAtBuild.AARCH64, PcdsPatchableInModule.AARCH64] + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20|UINT32|0x0001004c + [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] ## UART clock frequency is for the baud rate configuration. # @Prompt Serial Port Clock Rate.