ArmVirtPkg/HighMemDxe: allow patchable PCD for PcdSystemMemoryBase
[mirror_edk2.git] / ArmVirtPkg / HighMemDxe / HighMemDxe.c
index 4963164..7fd7e8e 100644 (file)
@@ -74,7 +74,7 @@ InitializeHighMemDxe (
         CurBase = fdt64_to_cpu (((UINT64 *)RegProp)[0]);\r
         CurSize = fdt64_to_cpu (((UINT64 *)RegProp)[1]);\r
 \r
-        if (FixedPcdGet64 (PcdSystemMemoryBase) != CurBase) {\r
+        if (PcdGet64 (PcdSystemMemoryBase) != CurBase) {\r
           Status = gDS->AddMemorySpace (\r
                           EfiGcdMemoryTypeSystemMemory,\r
                           CurBase, CurSize,\r