ArmPlatformPkg: Move PcdStandalone from Feature PCD to Fixed PCD
Feature PCDs cannot be used in assembly files. The PcdStandalone PCD is needed in one of the assembly file of the ArmPlatformPkg/PrePi module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11952 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user