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
1 changed files with 4 additions and 0 deletions
|
|
@ -192,6 +192,10 @@ __start:
|
|||
|
||||
.continue_boot:
|
||||
|
||||
/* Clear PMP */
|
||||
|
||||
csrw pmpcfg0, zero
|
||||
csrw pmpcfg2, zero
|
||||
#endif
|
||||
|
||||
/* Set stack pointer to the idle thread stack */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue