xref: /linux/drivers/firmware/broadcom/Kconfig (revision 4d73b73ff7943c92e8bcb65fece8caa70c24db87)
1f6e734a8SRafał Miłeckiconfig BCM47XX_NVRAM
2f6e734a8SRafał Miłecki	bool "Broadcom NVRAM driver"
3f6e734a8SRafał Miłecki	depends on BCM47XX || ARCH_BCM_5301X
4f6e734a8SRafał Miłecki	help
5f6e734a8SRafał Miłecki	  Broadcom home routers contain flash partition called "nvram" with all
6f6e734a8SRafał Miłecki	  important hardware configuration as well as some minor user setup.
7f6e734a8SRafał Miłecki	  NVRAM partition contains a text-like data representing name=value
8f6e734a8SRafał Miłecki	  pairs.
9f6e734a8SRafał Miłecki	  This driver provides an easy way to get value of requested parameter.
10f6e734a8SRafał Miłecki	  It simply reads content of NVRAM and parses it. It doesn't control any
11f6e734a8SRafał Miłecki	  hardware part itself.
122ab71a02SRafał Miłecki
132ab71a02SRafał Miłeckiconfig BCM47XX_SPROM
142ab71a02SRafał Miłecki	bool "Broadcom SPROM driver"
152ab71a02SRafał Miłecki	depends on BCM47XX_NVRAM
16*4d73b73fSAndy Shevchenko	select GENERIC_NET_UTILS
172ab71a02SRafał Miłecki	help
182ab71a02SRafał Miłecki	  Broadcom devices store configuration data in SPROM. Accessing it is
192ab71a02SRafał Miłecki	  specific to the bus host type, e.g. PCI(e) devices have it mapped in
202ab71a02SRafał Miłecki	  a PCI BAR.
212ab71a02SRafał Miłecki	  In case of SoC devices SPROM content is stored on a flash used by
222ab71a02SRafał Miłecki	  bootloader firmware CFE. This driver provides method to ssb and bcma
232ab71a02SRafał Miłecki	  drivers to read SPROM on SoC.
24