Browse Source

layerscape: stm32mp1: Migrate to enable_mmu_svc_mon()

Change-Id: I3d16b247a0fa457e6293e2d2c4503dfde1e51c1d
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
pull/1519/head
Antonio Nino Diaz 6 years ago
parent
commit
4c72c3fefa
  1. 2
      plat/layerscape/common/ls_bl1_setup.c
  2. 2
      plat/layerscape/common/ls_bl2_setup.c
  3. 2
      plat/st/stm32mp1/stm32mp1_common.c

2
plat/layerscape/common/ls_bl1_setup.c

@ -59,7 +59,7 @@ void ls_bl1_plat_arch_setup(void)
);
VERBOSE("After setup the page tables\n");
#ifdef AARCH32
enable_mmu_secure(0);
enable_mmu_svc_mon(0);
#else
enable_mmu_el3(0);
#endif /* AARCH32 */

2
plat/layerscape/common/ls_bl2_setup.c

@ -53,7 +53,7 @@ void ls_bl2_plat_arch_setup(void)
);
#ifdef AARCH32
enable_mmu_secure(0);
enable_mmu_svc_mon(0);
#else
enable_mmu_el1(0);
#endif

2
plat/st/stm32mp1/stm32mp1_common.c

@ -74,7 +74,7 @@ void configure_mmu(void)
mmap_add(stm32mp1_mmap);
init_xlat_tables();
enable_mmu_secure(0);
enable_mmu_svc_mon(0);
}
uintptr_t plat_get_ns_image_entrypoint(void)

Loading…
Cancel
Save