]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.c
ArmPlatformPkg: Move PcdStandalone from Feature PCD to Fixed PCD
[mirror_edk2.git] / ArmPlatformPkg / MemoryInitPei / MemoryInitPeim.c
index 3a26c35998ef9dc8cf2f2e29175cdb51b0e8c306..d745357164eb5fb4a3f4521e2700259f153933d3 100755 (executable)
@@ -112,7 +112,7 @@ InitializeMemory (
   //\r
   // Initialize the System Memory (DRAM)\r
   //\r
   //\r
   // Initialize the System Memory (DRAM)\r
   //\r
-  if (FeaturePcdGet(PcdStandalone)) {\r
+  if (PcdGet32 (PcdStandalone)) {\r
     // In case of a standalone version, the DRAM is already initialized\r
     ArmPlatformInitializeSystemMemory();\r
   }\r
     // In case of a standalone version, the DRAM is already initialized\r
     ArmPlatformInitializeSystemMemory();\r
   }\r
@@ -120,7 +120,7 @@ InitializeMemory (
   //\r
   // Declare the UEFI memory to PEI\r
   //\r
   //\r
   // Declare the UEFI memory to PEI\r
   //\r
-  if (FeaturePcdGet(PcdStandalone)) {\r
+  if (PcdGet32 (PcdStandalone)) {\r
     // In case of standalone UEFI, we set the UEFI memory region at the top of the DRAM\r
     UefiMemoryBase = SystemMemoryTop - FixedPcdGet32 (PcdSystemMemoryUefiRegionSize);\r
   } else {\r
     // In case of standalone UEFI, we set the UEFI memory region at the top of the DRAM\r
     UefiMemoryBase = SystemMemoryTop - FixedPcdGet32 (PcdSystemMemoryUefiRegionSize);\r
   } else {\r