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