summaryrefslogtreecommitdiff
path: root/ArmPkg
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2012-08-21 18:29:52 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2013-09-17 11:47:19 +0100
commit7f48c06d77a3cdec6b1c62c441bb62b6a5f70a4a (patch)
tree2d30654f81326909411a6e503c6173edee9baa1b /ArmPkg
parentc683aa9cd1074135a1d22b11c0ca85631e9a7813 (diff)
ArmPkg/ArmLib: Revert data cache clean/disable order when turning MMU on
Part of the change to ArmPkg/Library/BdsLib/BdsLinuxLoader.c causes A9 to hang when booting the kernel, so I reverted the change that caused the problem. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'ArmPkg')
-rw-r--r--ArmPkg/Library/BdsLib/Arm/BdsLinuxLoader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/BdsLib/Arm/BdsLinuxLoader.c b/ArmPkg/Library/BdsLib/Arm/BdsLinuxLoader.c
index 0e8113cb3..d0eb075c6 100644
--- a/ArmPkg/Library/BdsLib/Arm/BdsLinuxLoader.c
+++ b/ArmPkg/Library/BdsLib/Arm/BdsLinuxLoader.c
@@ -26,8 +26,8 @@ PreparePlatformHardware (
//Note: Interrupts will be disabled by the GIC driver when ExitBootServices() will be called.
// Clean, invalidate, disable data cache
- ArmDisableDataCache();
ArmCleanInvalidateDataCache();
+ ArmDisableDataCache();
// Invalidate and disable the Instruction cache
ArmDisableInstructionCache ();