]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: PcdAcpiExposedTableVersions default for Arm64 platforms
authorSamer El-Haj-Mahmoud <samer@elhajmahmoud.com>
Fri, 10 Apr 2020 15:29:24 +0000 (11:29 -0400)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 21 Apr 2020 17:06:06 +0000 (17:06 +0000)
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 <samer@elhajmahmoud.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Acked-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/MdeModulePkg.dec

index 42ad21cf244d7fc0b5dfe71c970dd72fc08ddb86..4f44af694862c95e542fea44568ce562e633de93 100644 (file)
   # @Prompt Console Output Row of Text Setup\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|25|UINT32|0x4000000e\r
 \r
+[PcdsFixedAtBuild.AARCH64, PcdsPatchableInModule.AARCH64]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20|UINT32|0x0001004c\r
+\r
 [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
   ## UART clock frequency is for the baud rate configuration.\r
   # @Prompt Serial Port Clock Rate.\r