diff options
| author | Sean Cross <sean@xobs.io> | 2020-06-02 10:19:40 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2020-06-02 10:19:40 +0800 |
| commit | ed8a52d1db09930e2edcf434ca45e8f682ddd4b8 (patch) | |
| tree | b76d598cb1e07a74393fea07bdf23e704453c128 | |
| parent | e889287f6cf0d1f7541297cb9a178eefef5babbe (diff) | |
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>
| -rw-r--r-- | ports/litex/supervisor/port.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |
