Skip to content
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

risc-v/mpfs: make cache clearing optional #324

Merged
merged 1 commit into from
Dec 9, 2024
Merged

risc-v/mpfs: make cache clearing optional #324

merged 1 commit into from
Dec 9, 2024

Conversation

eenurkka
Copy link

@eenurkka eenurkka commented Dec 9, 2024

L2 needs to be zeroed to make the ECC happy. However, if there's more than one bootloader in the chain, the cache doesn't need to be wiped every time. One time is enough. Thus, make this optional so that it's initialized only when really needed.

Summary

Make cache clearing optional

Impact

Bootloader

Testing

Saluki-v2

L2 needs to be zeroed to make the ECC happy. However, if there's
more than one bootloader in the chain, the cache doesn't need to
be wiped every time. One time is enough. Thus, make this optional
so that it's initialized only when really needed.

Signed-off-by: Eero Nurkkala <[email protected]>
@eenurkka eenurkka merged commit a4df9f9 into master Dec 9, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants