ArmPkg/ArmCpuLib: Fixed SMP Cortex-A9 and Cortex-A15
Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13261 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -48,6 +48,9 @@ ArmCpuSetup (
|
||||
|
||||
// If MPCore then Enable the SCU
|
||||
if (ArmIsMpCore()) {
|
||||
// Signals the Cortex-A9 processor is taking part in coherency
|
||||
ArmSetAuxCrBit (A9_FEATURE_SMP);
|
||||
|
||||
ArmEnableScu ();
|
||||
}
|
||||
}
|
||||
@@ -60,8 +63,6 @@ ArmCpuSetupSmpNonSecure (
|
||||
{
|
||||
INTN ScuBase;
|
||||
|
||||
ArmSetAuxCrBit (A9_FEATURE_SMP);
|
||||
|
||||
// Make the SCU accessible in Non Secure world
|
||||
if (IS_PRIMARY_CORE(MpId)) {
|
||||
ScuBase = ArmGetScuBaseAddress();
|
||||
|
Reference in New Issue
Block a user