Revision: 14480
http://sourceforge.net/p/edk2/code/14480
Author: oliviermartin
Date: 2013-07-17 06:26:10 +0000 (Wed, 17 Jul 2013)
Log Message:
-----------
ArmPkg: Removed the non-used PCD PcdGicPrimaryCoreId
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <[email protected]>
Modified Paths:
--------------
trunk/edk2/ArmPkg/ArmPkg.dec
trunk/edk2/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c
trunk/edk2/ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
trunk/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA15-A7.dsc
trunk/edk2/ArmPlatformPkg/PrePeiCore/MainMPCore.c
trunk/edk2/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
trunk/edk2/ArmPlatformPkg/PrePi/MainMPCore.c
trunk/edk2/ArmPlatformPkg/PrePi/PeiMPCore.inf
Modified: trunk/edk2/ArmPkg/ArmPkg.dec
===================================================================
--- trunk/edk2/ArmPkg/ArmPkg.dec 2013-07-17 06:25:15 UTC (rev 14479)
+++ trunk/edk2/ArmPkg/ArmPkg.dec 2013-07-17 06:26:10 UTC (rev 14480)
@@ -147,10 +147,6 @@
gArmTokenSpaceGuid.PcdArmPrimaryCoreMask|0xF03|UINT32|0x00000031
# The Primary Core is ClusterId[0] & CoreId[0]
gArmTokenSpaceGuid.PcdArmPrimaryCore|0|UINT32|0x00000037
- # Number of the CPU Interface for the Primary Core (eg: The number for the
CPU0 of
- # Cluster1 might be 4 if the implementer had followed the convention: Cpu
Interface
- # = 4 * Cluster)
- gArmTokenSpaceGuid.PcdGicPrimaryCoreId|0|UINT32|0x00000043
#
# ARM L2x0 PCDs
Modified: trunk/edk2/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c
===================================================================
--- trunk/edk2/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c 2013-07-17 06:25:15 UTC
(rev 14479)
+++ trunk/edk2/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c 2013-07-17 06:26:10 UTC
(rev 14480)
@@ -346,13 +346,6 @@
EFI_CPU_ARCH_PROTOCOL *Cpu;
UINT32 CpuTarget;
- // Check PcdGicPrimaryCoreId has been set in case the Primary Core is not
the core 0 of Cluster 0
- DEBUG_CODE_BEGIN();
- if ((PcdGet32(PcdArmPrimaryCore) != 0) && (PcdGet32 (PcdGicPrimaryCoreId) ==
0)) {
- DEBUG((EFI_D_WARN,"Warning: the PCD PcdGicPrimaryCoreId does not seem to
be set up for the configuration.\n"));
- }
- DEBUG_CODE_END();
-
// Make sure the Interrupt Controller Protocol is not already installed in
the system.
ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gHardwareInterruptProtocolGuid);
Modified: trunk/edk2/ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
===================================================================
--- trunk/edk2/ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf 2013-07-17 06:25:15 UTC
(rev 14479)
+++ trunk/edk2/ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf 2013-07-17 06:26:10 UTC
(rev 14480)
@@ -51,7 +51,6 @@
gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase
gArmTokenSpaceGuid.PcdArmPrimaryCore
- gArmTokenSpaceGuid.PcdGicPrimaryCoreId
[Depex]
gEfiCpuArchProtocolGuid
Modified: trunk/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA15-A7.dsc
===================================================================
--- trunk/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA15-A7.dsc
2013-07-17 06:25:15 UTC (rev 14479)
+++ trunk/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA15-A7.dsc
2013-07-17 06:26:10 UTC (rev 14480)
@@ -122,7 +122,6 @@
# A7_1 = 0x101, GicCoreId = 3
# A7_2 = 0x102, GicCoreId = 4
gArmTokenSpaceGuid.PcdArmPrimaryCore|0x100
- gArmTokenSpaceGuid.PcdGicPrimaryCoreId|2
!endif
#
Modified: trunk/edk2/ArmPlatformPkg/PrePeiCore/MainMPCore.c
===================================================================
--- trunk/edk2/ArmPlatformPkg/PrePeiCore/MainMPCore.c 2013-07-17 06:25:15 UTC
(rev 14479)
+++ trunk/edk2/ArmPlatformPkg/PrePeiCore/MainMPCore.c 2013-07-17 06:26:10 UTC
(rev 14480)
@@ -110,13 +110,6 @@
UINTN TemporaryRamBase;
UINTN TemporaryRamSize;
- // Check PcdGicPrimaryCoreId has been set in case the Primary Core is not
the core 0 of Cluster 0
- DEBUG_CODE_BEGIN();
- if ((PcdGet32(PcdArmPrimaryCore) != 0) && (PcdGet32 (PcdGicPrimaryCoreId) ==
0)) {
- DEBUG((EFI_D_WARN,"Warning: the PCD PcdGicPrimaryCoreId does not seem to
be set up for the configuration.\n"));
- }
- DEBUG_CODE_END();
-
CreatePpiList (&PpiListSize, &PpiList);
// Enable the GIC Distributor
Modified: trunk/edk2/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
===================================================================
--- trunk/edk2/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf 2013-07-17
06:25:15 UTC (rev 14479)
+++ trunk/edk2/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf 2013-07-17
06:26:10 UTC (rev 14480)
@@ -63,7 +63,6 @@
gArmTokenSpaceGuid.PcdFvSize
gArmTokenSpaceGuid.PcdArmPrimaryCore
- gArmTokenSpaceGuid.PcdGicPrimaryCoreId
gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase
gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize
Modified: trunk/edk2/ArmPlatformPkg/PrePi/MainMPCore.c
===================================================================
--- trunk/edk2/ArmPlatformPkg/PrePi/MainMPCore.c 2013-07-17 06:25:15 UTC
(rev 14479)
+++ trunk/edk2/ArmPlatformPkg/PrePi/MainMPCore.c 2013-07-17 06:26:10 UTC
(rev 14480)
@@ -26,13 +26,6 @@
IN UINT64 StartTimeStamp
)
{
- // Check PcdGicPrimaryCoreId has been set in case the Primary Core is not
the core 0 of Cluster 0
- DEBUG_CODE_BEGIN();
- if ((PcdGet32(PcdArmPrimaryCore) != 0) && (PcdGet32 (PcdGicPrimaryCoreId) ==
0)) {
- DEBUG((EFI_D_WARN,"Warning: the PCD PcdGicPrimaryCoreId does not seem to
be set up for the configuration.\n"));
- }
- DEBUG_CODE_END();
-
// Enable the GIC Distributor
ArmGicEnableDistributor(PcdGet32(PcdGicDistributorBase));
Modified: trunk/edk2/ArmPlatformPkg/PrePi/PeiMPCore.inf
===================================================================
--- trunk/edk2/ArmPlatformPkg/PrePi/PeiMPCore.inf 2013-07-17 06:25:15 UTC
(rev 14479)
+++ trunk/edk2/ArmPlatformPkg/PrePi/PeiMPCore.inf 2013-07-17 06:26:10 UTC
(rev 14480)
@@ -96,7 +96,6 @@
gArmPlatformTokenSpaceGuid.PcdCoreCount
gArmPlatformTokenSpaceGuid.PcdClusterCount
gArmTokenSpaceGuid.PcdArmPrimaryCore
- gArmTokenSpaceGuid.PcdGicPrimaryCoreId
gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits