summaryrefslogtreecommitdiff
path: root/bl2u
diff options
context:
space:
mode:
Diffstat (limited to 'bl2u')
-rw-r--r--bl2u/bl2u_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bl2u/bl2u_main.c b/bl2u/bl2u_main.c
index d3c83ccc..d49c9ce9 100644
--- a/bl2u/bl2u_main.c
+++ b/bl2u/bl2u_main.c
@@ -45,14 +45,14 @@ void bl2u_main(void)
console_flush();
-#ifdef AARCH32
+#ifndef __aarch64__
/*
* For AArch32 state BL1 and BL2U share the MMU setup.
* Given that BL2U does not map BL1 regions, MMU needs
* to be disabled in order to go back to BL1.
*/
disable_mmu_icache_secure();
-#endif /* AARCH32 */
+#endif /* !__aarch64__ */
/*
* Indicate that BL2U is done and resume back to