diff --git a/arch/risc-v/src/bl808/bl808_mm_init.c b/arch/risc-v/src/bl808/bl808_mm_init.c index 0757f121046e1..0d17982a8e339 100644 --- a/arch/risc-v/src/bl808/bl808_mm_init.c +++ b/arch/risc-v/src/bl808/bl808_mm_init.c @@ -235,8 +235,7 @@ void bl808_kernel_mappings(void) /* Begin mapping memory to MMU; note that at this point the MMU is not yet * active, so the page table virtual addresses are actually physical - * addresses and so forth. M-mode does not perform translations anyhow, so - * this mapping is quite simple to do + * addresses and so forth. */ /* Map I/O region, use enough large page tables for the IO region. */ @@ -291,7 +290,7 @@ void bl808_mm_init(void) bl808_kernel_mappings(); - /* Enable MMU (note: system is still in M-mode) */ + /* Enable MMU */ binfo("mmu_enable: satp=%" PRIuPTR "\n", g_kernel_pgt_pbase); mmu_enable(g_kernel_pgt_pbase, 0);