diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2013-04-18 09:25:30 +0100 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2014-07-11 12:29:39 +0100 |
commit | cfe6abf8ec2861c275bb1756520a26b6e25107fa (patch) | |
tree | 3e5a825cdf0608e7a85cb1d111fc2dc373c7f095 | |
parent | f8b074a6ac3ae383464dde43ac3e176dcd5a187b (diff) |
VEA9: Revert A9 part of "ArmPkg/ArmCpuLib: Fixed SMP Cortex-A9 and Cortex-A15"
This reverts the A9 changes from this commit:
> commit 9d59a88be171f74ae08ad63b3e8d1b77a87522e8
> Author: oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
> Date: Wed May 2 20:14:55 2012 +0000
>
> 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
Reverting this change not only fixes ATAGs boot for A9, but Device Tree boot works too.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
-rw-r--r-- | ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.c b/ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.c index 4fc6a08b9..aed43cb3e 100644 --- a/ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.c +++ b/ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.c @@ -49,9 +49,6 @@ ArmCpuSetup ( // If MPCore then Enable the SCU
if (ArmIsMpCore()) {
- // Signals the Cortex-A9 processor is taking part in coherency
- ArmSetAuxCrBit (A9_FEATURE_SMP);
-
ArmEnableScu ();
}
}
@@ -64,6 +61,8 @@ ArmCpuSetupSmpNonSecure ( {
INTN ScuBase;
+ ArmSetAuxCrBit (A9_FEATURE_SMP); + // Make the SCU accessible in Non Secure world
if (ArmPlatformIsPrimaryCore (MpId)) {
ScuBase = ArmGetScuBaseAddress();
|