diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-01 14:21:12 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-01 14:21:12 +0000 |
commit | bf72cf3381c20703042c5a574ec4ba689abd4430 (patch) | |
tree | a458cab6b6caace0d1835f10bb5a676f8083edc4 /ArmPlatformPkg/MemoryInitPei | |
parent | 4883513061c7bbcb805cd310b82ab6abb546b1aa (diff) | |
download | edk2-platforms-bf72cf3381c20703042c5a574ec4ba689abd4430.tar.xz |
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
Diffstat (limited to 'ArmPlatformPkg/MemoryInitPei')
-rwxr-xr-x | ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.c | 4 | ||||
-rwxr-xr-x | ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf | 3 |
2 files changed, 4 insertions, 3 deletions
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 {
diff --git a/ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf b/ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf index c0971b30f4..0d578648a7 100755 --- a/ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf +++ b/ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf @@ -49,9 +49,10 @@ [FeaturePcd]
gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob
- gArmPlatformTokenSpaceGuid.PcdStandalone
[FixedPcd]
+ gArmPlatformTokenSpaceGuid.PcdStandalone
+
gArmTokenSpaceGuid.PcdNormalFdBaseAddress
gArmTokenSpaceGuid.PcdNormalFdSize
|