Commit 4c72c3fe authored by Antonio Nino Diaz's avatar Antonio Nino Diaz
Browse files

layerscape: stm32mp1: Migrate to enable_mmu_svc_mon()



Change-Id: I3d16b247a0fa457e6293e2d2c4503dfde1e51c1d
Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
parent 1e54cbb8
...@@ -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