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

[Backport v3.4-branch] linker: allow tagging variables with __nocache_noinit and update Bosch M_CAN driver to use it #65276

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Nov 16, 2023

Backport 58e1963~2..58e1963 from #65169.

Fixes: #64691

Allow tagging variables with __nocach_noinit.

With CONFIG_NOCACHE_MEMORY=y, this will resolve to __nocache, which implies
__noinit. With CONFIG_NOCACHE_MEMORY=n, this simply resolves to __noinit.

Signed-off-by: Henrik Brix Andersen <[email protected]>
(cherry picked from commit afe1ca6)
Use __nocache_noinit for the Bosch M_CAN MRAM data variables on SoCs
without dedicated MRAM.

Fixes: #64691

Signed-off-by: Henrik Brix Andersen <[email protected]>
(cherry picked from commit 58e1963)
@jgl-meta jgl-meta merged commit 38e5554 into v3.4-branch Nov 21, 2023
21 checks passed
@nashif nashif deleted the backport-65169-to-v3.4-branch branch February 13, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: CAN Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants