diff --git a/arch/risc-v/src/mpfs/mpfs_head.S b/arch/risc-v/src/mpfs/mpfs_head.S index c3591a6f3d..fe851b73dc 100755 --- a/arch/risc-v/src/mpfs/mpfs_head.S +++ b/arch/risc-v/src/mpfs/mpfs_head.S @@ -192,6 +192,10 @@ __start: .continue_boot: + /* Clear PMP */ + + csrw pmpcfg0, zero + csrw pmpcfg2, zero #endif /* Set stack pointer to the idle thread stack */