layerscape: stm32mp1: Migrate to enable_mmu_svc_mon()
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Tue, 7 Aug 2018 15:35:54 +0000 (16:35 +0100)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Fri, 10 Aug 2018 12:47:37 +0000 (13:47 +0100)
Change-Id: I3d16b247a0fa457e6293e2d2c4503dfde1e51c1d
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
plat/layerscape/common/ls_bl1_setup.c
plat/layerscape/common/ls_bl2_setup.c
plat/st/stm32mp1/stm32mp1_common.c

index 43f745070986048270de76eaf31fc68d41e7c449..0642b5ef7d27ce5a3c89eadcfa869caafd6528b1 100644 (file)
@@ -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 */
index 6e6ad6eb17b4d724d5fcb75a17e447b06bdd9395..4b2dc7245476e1af7d75f09f23a776d48befe97a 100644 (file)
@@ -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
index 68ca7db32771e25e3b5b5623a40858505de67508..7d84da1f8736826ffe95fbfc335e014b708498b4 100644 (file)
@@ -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)