Skip to content

Commit ed8a52d

Browse files
committed
litex: remove call to board_init()
These calls were all moved into `main.c`, however this call was not removed from litex. As a result, litex was calling `board_init()` twice. This is currently not a problem, as `fomu` is able to be initialized twice without issue, however future boards may have issue with this. This fixes #2991. Signed-off-by: Sean Cross <[email protected]>
1 parent e889287 commit ed8a52d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ports/litex/supervisor/port.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ safe_mode_t port_init(void) {
6868
irq_setmask(0);
6969
irq_setie(1);
7070
tick_init();
71-
board_init();
7271
return NO_SAFE_MODE;
7372
}
7473

0 commit comments

Comments
 (0)