e83ce34035
This adds support for the NVRAM handling and the basic SPROM hardware used on siba(4) and bcma(4) devices, including: * SPROM directly attached to the PCI core, accessible via PCI configuration space. * SPROM attached to later ChipCommon cores. * SPROM variables vended from the parent SoC bus (e.g. via a directly-attached flash device). Additional improvements to the NVRAM/SPROM interface will be required, but this changeset stands alone as working checkpoint. Submitted by: Landon Fuller <landonf@landonf.org> Reviewed by: Michael Zhilin <mizkha@gmail.com> (Broadcom MIPS support) Differential Revision: https://reviews.freebsd.org/D6196
14 lines
262 B
Makefile
14 lines
262 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../../dev/bhnd/bhndb
|
|
|
|
KMOD= bhndb_pci
|
|
SRCS= bhndb_pci.c bhndb_pci_hwdata.c \
|
|
bhndb_pci_sprom.c
|
|
SRCS+= bhnd_bus_if.h bhndb_bus_if.h bhndb_if.h
|
|
SRCS+= bhnd_nvram_if.h
|
|
|
|
SRCS+= device_if.h bus_if.h pci_if.h
|
|
|
|
.include <bsd.kmod.mk>
|