Skip to content

Commit 13e7725

Browse files
committed
litex: make unimplemented reset_cpu at least not return
1 parent 47ff50d commit 13e7725

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/litex/supervisor/port.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ void reset_to_bootloader(void) {
8888
}
8989

9090
void reset_cpu(void) {
91+
for (;;) {
92+
}
9193
}
9294

9395
supervisor_allocation* port_fixed_stack(void) {

0 commit comments

Comments
 (0)