Page MenuHomeFreeBSD

mips/broadcom: Early boot NVRAM support
ClosedPublic

Authored by landonf on Mar 6 2017, 9:03 PM.
Tags
None
Referenced Files
F168325166: D9913.id26043.diff
Thu, Aug 27, 3:23 PM
F168258682: D9913.diff
Thu, Aug 27, 5:43 AM
Unknown Object (File)
Tue, Aug 25, 2:01 PM
Unknown Object (File)
Tue, Aug 25, 12:59 PM
Unknown Object (File)
Tue, Aug 25, 9:52 AM
Unknown Object (File)
Tue, Aug 25, 5:56 AM
Unknown Object (File)
Sun, Aug 23, 7:06 AM
Unknown Object (File)
Sun, Aug 23, 6:18 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.