]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformPei/Platform.c
OvmfPkg: replace PcdAcpiPmBaseAddress with PIIX4_PMBA_VALUE
[mirror_edk2.git] / OvmfPkg / PlatformPei / Platform.c
index 4be9922aeb1f5e04a98657363f2e31854b16f43d..2348b56f0b2202827764637c6ac5413cc070444c 100644 (file)
@@ -412,7 +412,7 @@ MiscInitialization (
     // The PEI phase should be exited with fully accessibe ACPI PM IO space:\r
     // 1. set PMBA\r
     //\r
-    PciAndThenOr32 (Pmba, (UINT32) ~0xFFC0, PcdGet16 (PcdAcpiPmBaseAddress));\r
+    PciAndThenOr32 (Pmba, (UINT32) ~0xFFC0, PIIX4_PMBA_VALUE);\r
 \r
     //\r
     // 2. set PCICMD/IOSE\r