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

Parse nvram size from ADT #336

Merged
merged 2 commits into from
Oct 5, 2023
Merged

Conversation

jannau
Copy link
Member

@jannau jannau commented Sep 30, 2023

Fixes an issue in adt_get_reg() which affect only the range parsing in spinor

Can be merged without effects before the device tree updates in AsahiLinux/linux#179

Fixes adt_get_reg() for the nvram partition.

Signed-off-by: Janne Grunau <[email protected]>
src/kboot.c Outdated Show resolved Hide resolved
"nvram" size depends on the iboot version. Monterey (12.3) and earlier
used 128k nvram partition but Ventura since at least 13.2 increased the
size to 1M. Parse the values from the ADT and fill and enable the node
in the device tree.

Signed-off-by: Janne Grunau <[email protected]>
@marcan marcan merged commit fecfa13 into AsahiLinux:main Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants