Wipe the PMP configuration in MPFS bootloader start routine

This way old PMP configurations are removed upon warm reset.
This commit is contained in:
Ville Juven 2022-01-14 11:49:07 +02:00 committed by Xiang Xiao
parent 81188d9c94
commit fc3cd308d5

View File

@ -192,6 +192,10 @@ __start:
.continue_boot:
/* Clear PMP */
csrw pmpcfg0, zero
csrw pmpcfg2, zero
#endif
/* Set stack pointer to the idle thread stack */