Unverified Commit 0983b8b1 authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by GitHub
Browse files

Merge pull request #1519 from antonio-nino-diaz-arm/an/xlat-el2

xlat v2: Support EL2 translation regime
parents 6902e66a 4c72c3fe
...@@ -59,7 +59,7 @@ void ls_bl1_plat_arch_setup(void) ...@@ -59,7 +59,7 @@ void ls_bl1_plat_arch_setup(void)
); );
VERBOSE("After setup the page tables\n"); VERBOSE("After setup the page tables\n");
#ifdef AARCH32 #ifdef AARCH32
enable_mmu_secure(0); enable_mmu_svc_mon(0);
#else #else
enable_mmu_el3(0); enable_mmu_el3(0);
#endif /* AARCH32 */ #endif /* AARCH32 */
......
...@@ -53,7 +53,7 @@ void ls_bl2_plat_arch_setup(void) ...@@ -53,7 +53,7 @@ void ls_bl2_plat_arch_setup(void)
); );
#ifdef AARCH32 #ifdef AARCH32
enable_mmu_secure(0); enable_mmu_svc_mon(0);
#else #else
enable_mmu_el1(0); enable_mmu_el1(0);
#endif #endif
......
...@@ -74,7 +74,7 @@ void configure_mmu(void) ...@@ -74,7 +74,7 @@ void configure_mmu(void)
mmap_add(stm32mp1_mmap); mmap_add(stm32mp1_mmap);
init_xlat_tables(); init_xlat_tables();
enable_mmu_secure(0); enable_mmu_svc_mon(0);
} }
uintptr_t plat_get_ns_image_entrypoint(void) uintptr_t plat_get_ns_image_entrypoint(void)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment