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 <sean@xobs.io>
This commit is contained in:
parent
e889287f6c
commit
ed8a52d1db
|
@ -68,7 +68,6 @@ safe_mode_t port_init(void) {
|
||||||
irq_setmask(0);
|
irq_setmask(0);
|
||||||
irq_setie(1);
|
irq_setie(1);
|
||||||
tick_init();
|
tick_init();
|
||||||
board_init();
|
|
||||||
return NO_SAFE_MODE;
|
return NO_SAFE_MODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue