X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPlatformPkg%2FMemoryInitPei%2FMemoryInitPeim.c;h=d745357164eb5fb4a3f4521e2700259f153933d3;hp=3a26c35998ef9dc8cf2f2e29175cdb51b0e8c306;hb=bf72cf3381c20703042c5a574ec4ba689abd4430;hpb=4883513061c7bbcb805cd310b82ab6abb546b1aa diff --git a/ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.c b/ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.c index 3a26c35998..d745357164 100755 --- a/ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.c +++ b/ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.c @@ -112,7 +112,7 @@ InitializeMemory ( // // Initialize the System Memory (DRAM) // - if (FeaturePcdGet(PcdStandalone)) { + if (PcdGet32 (PcdStandalone)) { // In case of a standalone version, the DRAM is already initialized ArmPlatformInitializeSystemMemory(); } @@ -120,7 +120,7 @@ InitializeMemory ( // // Declare the UEFI memory to PEI // - if (FeaturePcdGet(PcdStandalone)) { + if (PcdGet32 (PcdStandalone)) { // In case of standalone UEFI, we set the UEFI memory region at the top of the DRAM UefiMemoryBase = SystemMemoryTop - FixedPcdGet32 (PcdSystemMemoryUefiRegionSize); } else {