mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 20:06:24 +08:00
Wipe the PMP configuration in MPFS bootloader start routine
This way old PMP configurations are removed upon warm reset.
This commit is contained in:
@@ -192,6 +192,10 @@ __start:
|
||||
|
||||
.continue_boot:
|
||||
|
||||
/* Clear PMP */
|
||||
|
||||
csrw pmpcfg0, zero
|
||||
csrw pmpcfg2, zero
|
||||
#endif
|
||||
|
||||
/* Set stack pointer to the idle thread stack */
|
||||
|
||||
Reference in New Issue
Block a user