Page MenuHomeFreeBSD

mips/broadcom: Early boot NVRAM support
ClosedPublic

Authored by landonf on Mar 6 2017, 9:03 PM.
Tags
None
Referenced Files
F174898891: D9913.id26043.diff
Tue, Oct 6, 8:36 PM
Unknown Object (File)
Wed, Sep 23, 5:52 PM
Unknown Object (File)
Fri, Sep 11, 5:07 AM
Unknown Object (File)
Wed, Sep 9, 12:54 AM
Unknown Object (File)
Sep 6 2026, 3:27 PM
Unknown Object (File)
Sep 6 2026, 11:46 AM
Unknown Object (File)
Sep 6 2026, 6:56 AM
Unknown Object (File)
Sep 5 2026, 11:53 AM
Subscribers
None

Details

Summary

This adds support for early boot access to NVRAM variables, using a new
bhnd_nvram_data_getvar_direct() API to support for zero-allocation direct
reading of NVRAM variables from a bhnd_nvram_io instance backed by the
CFE-provided NVRAM device.

This allows us to fetch NVRAM variables prior to our probing the flash/partition
layout, and is required for the upcoming GEOM-aware BHND NVRAM support.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7932
Build 8069: arc lint + arc unit

Event Timeline

landonf retitled this revision from to mips/broadcom: Early boot NVRAM support.
landonf updated this object.
landonf edited the test plan for this revision. (Show Details)
landonf added reviewers: adrian, mizhka.
adrian edited edge metadata.

Check with Michael!

This revision is now accepted and ready to land.Mar 6 2017, 9:11 PM
This revision was automatically updated to reflect the committed changes.