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/PrePeiCore | |
parent | 4883513061c7bbcb805cd310b82ab6abb546b1aa (diff) | |
download | edk2-bf72cf3381c20703042c5a574ec4ba689abd4430.zip edk2-bf72cf3381c20703042c5a574ec4ba689abd4430.tar.gz edk2-bf72cf3381c20703042c5a574ec4ba689abd4430.tar.bz2 |
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/PrePeiCore')
-rw-r--r-- | ArmPlatformPkg/PrePeiCore/MainMPCore.c | 2 | ||||
-rw-r--r-- | ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf | 5 | ||||
-rw-r--r-- | ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf | 5 |
3 files changed, 5 insertions, 7 deletions
diff --git a/ArmPlatformPkg/PrePeiCore/MainMPCore.c b/ArmPlatformPkg/PrePeiCore/MainMPCore.c index 39de31a..19683cb 100644 --- a/ArmPlatformPkg/PrePeiCore/MainMPCore.c +++ b/ArmPlatformPkg/PrePeiCore/MainMPCore.c @@ -71,7 +71,7 @@ PrimaryMain ( PL390GicEnableDistributor(PcdGet32(PcdGicDistributorBase));
// If ArmVe has not been built as Standalone then we need to wake up the secondary cores
- if (FeaturePcdGet(PcdStandalone) == FALSE) {
+ if (!PcdGet32(PcdStandalone)) {
// Sending SGI to all the Secondary CPU interfaces
PL390GicSendSgiTo (PcdGet32(PcdGicDistributorBase), GIC_ICDSGIR_FILTER_EVERYONEELSE, 0x0E);
}
diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf b/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf index 917da5d..730361b 100644 --- a/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf +++ b/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf @@ -49,10 +49,9 @@ [Ppis]
gEfiTemporaryRamSupportPpiGuid
-[FeaturePcd]
- gArmPlatformTokenSpaceGuid.PcdStandalone
-
[FixedPcd]
+ gArmPlatformTokenSpaceGuid.PcdStandalone
+
gArmTokenSpaceGuid.PcdNormalFvBaseAddress
gArmTokenSpaceGuid.PcdNormalFvSize
diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf b/ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf index aeaa0db..52e6d95 100644 --- a/ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf +++ b/ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf @@ -46,10 +46,9 @@ [Ppis]
gEfiTemporaryRamSupportPpiGuid
-[FeaturePcd]
- gArmPlatformTokenSpaceGuid.PcdStandalone
-
[FixedPcd]
+ gArmPlatformTokenSpaceGuid.PcdStandalone
+
gArmTokenSpaceGuid.PcdNormalFvBaseAddress
gArmTokenSpaceGuid.PcdNormalFvSize
|