Page MenuHomeFreeBSD

mips/broadcom: Early boot NVRAM support
ClosedPublic

Authored by landonf on Mar 6 2017, 9:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 11, 1:43 PM
Unknown Object (File)
Thu, Apr 9, 7:00 PM
Unknown Object (File)
Thu, Apr 9, 12:55 PM
Unknown Object (File)
Wed, Apr 8, 10:45 PM
Unknown Object (File)
Mon, Mar 30, 4:08 AM
Unknown Object (File)
Sat, Mar 21, 10:32 PM
Unknown Object (File)
Fri, Mar 20, 7:35 AM
Unknown Object (File)
Fri, Mar 20, 2:50 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.