cortexa: Flush I-Cache on detach.
This commit is contained in:
parent
6b3c3d3473
commit
60c67ee156
|
@ -334,6 +334,8 @@ void cortexa_detach(target *t)
|
|||
|
||||
/* Restore any clobbered registers */
|
||||
cortexa_regs_write_internal(t);
|
||||
/* Invalidate cache */
|
||||
apb_write(t, DBGITR, MCR | ICIALLU);
|
||||
|
||||
uint32_t dbgdscr = apb_read(t, DBGDSCR);
|
||||
/* Disable halting debug mode */
|
||||
|
|
Loading…
Reference in New Issue