From ed8a52d1db09930e2edcf434ca45e8f682ddd4b8 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Tue, 2 Jun 2020 10:19:40 +0800 Subject: 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 --- ports/litex/supervisor/port.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ports/litex/supervisor/port.c b/ports/litex/supervisor/port.c index 4721d82fa..3125072e6 100644 --- a/ports/litex/supervisor/port.c +++ b/ports/litex/supervisor/port.c @@ -68,7 +68,6 @@ safe_mode_t port_init(void) { irq_setmask(0); irq_setie(1); tick_init(); - board_init(); return NO_SAFE_MODE; } -- cgit v1.2.3