summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg/Library')
-rw-r--r--ArmPkg/Library/BdsLib/BdsLinuxLoader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Library/BdsLib/BdsLinuxLoader.c b/ArmPkg/Library/BdsLib/BdsLinuxLoader.c
index 6cd49a2fca..5ef3c1cb8d 100644
--- a/ArmPkg/Library/BdsLib/BdsLinuxLoader.c
+++ b/ArmPkg/Library/BdsLib/BdsLinuxLoader.c
@@ -25,12 +25,12 @@ PreparePlatformHardware (
//Note: Interrupts will be disabled by the GIC driver when ExitBootServices() will be called.
// Clean, invalidate, disable data cache
- ArmCleanInvalidateDataCache();
ArmDisableDataCache();
+ ArmCleanInvalidateDataCache();
// Invalidate and disable the Instruction cache
- ArmInvalidateInstructionCache ();
ArmDisableInstructionCache ();
+ ArmInvalidateInstructionCache ();
// Turn off MMU
ArmDisableMmu();