freebsd-dev/sys/dev/bhnd
Landon J. Fuller 1728aef23d bhnd(4): Implement NVRAM support required for PMU bring-up.
- Added a generic bhnd_nvram_parser API, with support for the TLV format
  used on WGT634U devices, the standard BCM NVRAM format used on most
  modern devices, and the "board text file" format used on some hardware
  to supply external NVRAM data at runtime (e.g. via an EFI variable).

- Extended the bhnd_bus_if and bhnd_nvram_if interfaces to support both
  string-based and primitive data type variable access, required for
  common behavior across both SPROM and NVRAM data sources.
- Extended the existing SPROM implementation to support the new
  string-based NVRAM APIs.

- Added an abstract bhnd_nvram driver, implementing the bhnd_nvram_if
  atop the bhnd_nvram_parser API.
- Added a CFE-based bhnd_nvram driver to provide read-only access to
  NVRAM data on MIPS SoCs, pending implementation of a flash-aware
  bhnd_nvram driver.

Approved by:	adrian (mentor)
Differential Revision:	https://reviews.freebsd.org/D7489
2016-08-16 21:32:05 +00:00
..
bcma bhnd(4): Add devinfo allocation and child addition methods, modeled on 2016-06-25 04:36:30 +00:00
bhndb bhndb(4): Drop MIPS-incompatible __builtin_ctz dependency. 2016-08-16 21:20:05 +00:00
cores bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00
nvram bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00
siba bhnd(4): Add devinfo allocation and child addition methods, modeled on 2016-06-25 04:36:30 +00:00
tools bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00
bhnd_bus_if.m bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00
bhnd_core.h [BHND/bcma] Add implementation of BHND_BUS_RESET_CORE function for BCMA 2016-06-23 01:14:33 +00:00
bhnd_debug.h [bhnd] Add logging macros to BHND. 2016-05-16 23:40:32 +00:00
bhnd_ids.h [bhnd] Finish bhnd(4) PCI/PCIe-G1 hostb support. 2016-05-17 06:52:53 +00:00
bhnd_match.h [bhnd] Normalize bhnd(4) device matching API 2016-05-24 21:20:17 +00:00
bhnd_nexus.c bhnd(4): Fix resource allocation issues exposed by chipc PMU support. 2016-06-16 19:57:24 +00:00
bhnd_nexusvar.h Switch mips/sentry5 to bhnd(4), and unify with mips/broadcom 2016-06-04 19:53:47 +00:00
bhnd_subr.c bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00
bhnd_types.h bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00
bhnd.c bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00
bhnd.h bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00
bhndreg.h
bhndvar.h bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00