Skip to content

litex: remove call to board_init() #2997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2020
Merged

Conversation

xobs
Copy link

@xobs xobs commented Jun 2, 2020

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.

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 micropython#2991.

Signed-off-by: Sean Cross <[email protected]>
Copy link

@jepler jepler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's what I expected -- no testing done, but assuming xobs did :)

@jepler jepler merged commit aae7a45 into adafruit:master Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

litex: calls board_init() twice?
3 participants