summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/armv7/lib/mmu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/armv7/lib/mmu.c b/src/arch/armv7/lib/mmu.c
index d55d4bd681..224b566a50 100644
--- a/src/arch/armv7/lib/mmu.c
+++ b/src/arch/armv7/lib/mmu.c
@@ -88,6 +88,9 @@ void mmu_config_range(unsigned long start_mb, unsigned long size_mb,
for (i = start_mb; i < start_mb + size_mb; i++)
ttb_entry[i] = (i << 20) | attr;
+
+ /* TODO: add helper to invalidate TLB by MVA */
+ tlb_invalidate_all();
}
void mmu_init(void)