Wipe the PMP configuration in MPFS bootloader start routine
This way old PMP configurations are removed upon warm reset.
This commit is contained in:
parent
81188d9c94
commit
fc3cd308d5
@ -192,6 +192,10 @@ __start:
|
|||||||
|
|
||||||
.continue_boot:
|
.continue_boot:
|
||||||
|
|
||||||
|
/* Clear PMP */
|
||||||
|
|
||||||
|
csrw pmpcfg0, zero
|
||||||
|
csrw pmpcfg2, zero
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Set stack pointer to the idle thread stack */
|
/* Set stack pointer to the idle thread stack */
|
||||||
|
Loading…
Reference in New Issue
Block a user