Page MenuHomeFreeBSD

mips/broadcom: Early boot NVRAM support
ClosedPublic

Authored by landonf on Mar 6 2017, 9:03 PM.
Tags
None
Referenced Files
F83693879: D9913.id26619.diff
Mon, May 13, 5:41 PM
F83674229: D9913.diff
Mon, May 13, 11:07 AM
Unknown Object (File)
Thu, Apr 25, 7:51 PM
Unknown Object (File)
Thu, Apr 25, 7:48 PM
Unknown Object (File)
Dec 31 2023, 11:26 PM
Unknown Object (File)
Dec 20 2023, 12:53 AM
Unknown Object (File)
Nov 9 2023, 6:12 PM
Unknown Object (File)
Nov 7 2023, 1:03 PM
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.