summaryrefslogtreecommitdiffstats
path: root/bsps/aarch64/xilinx-versal/start/bspstartmmu.c
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2021-07-26 15:43:00 -0500
committerJoel Sherrill <joel@rtems.org>2021-09-21 08:58:32 -0500
commit5f652cb27e0134362e0160135124352539315845 (patch)
treea370df31b31472331566975319b8fc9fa950d4d4 /bsps/aarch64/xilinx-versal/start/bspstartmmu.c
parentbsps/gicv2: Allow BSPs to define IRQ attributes (diff)
downloadrtems-5f652cb27e0134362e0160135124352539315845.tar.bz2
cpukit: Add AArch64 SMP Support
This adds SMP support for AArch64 in cpukit and for the ZynqMP BSPs.
Diffstat (limited to 'bsps/aarch64/xilinx-versal/start/bspstartmmu.c')
-rw-r--r--bsps/aarch64/xilinx-versal/start/bspstartmmu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bsps/aarch64/xilinx-versal/start/bspstartmmu.c b/bsps/aarch64/xilinx-versal/start/bspstartmmu.c
index 6ab33cc4f1..8b622aec7d 100644
--- a/bsps/aarch64/xilinx-versal/start/bspstartmmu.c
+++ b/bsps/aarch64/xilinx-versal/start/bspstartmmu.c
@@ -70,8 +70,10 @@ versal_setup_mmu_and_cache( void )
{
aarch64_mmu_setup();
- aarch64_mmu_setup_translation_table_and_enable(
+ aarch64_mmu_setup_translation_table(
&versal_mmu_config_table[ 0 ],
RTEMS_ARRAY_SIZE( versal_mmu_config_table )
);
+
+ aarch64_mmu_enable();
}