2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-06-11 05:05:08 +08:00
|
|
|
config BCM47XX_NVRAM
|
|
|
|
bool "Broadcom NVRAM driver"
|
|
|
|
depends on BCM47XX || ARCH_BCM_5301X
|
|
|
|
help
|
|
|
|
Broadcom home routers contain flash partition called "nvram" with all
|
|
|
|
important hardware configuration as well as some minor user setup.
|
|
|
|
NVRAM partition contains a text-like data representing name=value
|
|
|
|
pairs.
|
|
|
|
This driver provides an easy way to get value of requested parameter.
|
|
|
|
It simply reads content of NVRAM and parses it. It doesn't control any
|
|
|
|
hardware part itself.
|
2016-01-25 16:50:29 +08:00
|
|
|
|
|
|
|
config BCM47XX_SPROM
|
|
|
|
bool "Broadcom SPROM driver"
|
|
|
|
depends on BCM47XX_NVRAM
|
2017-12-21 22:40:55 +08:00
|
|
|
select GENERIC_NET_UTILS
|
2016-01-25 16:50:29 +08:00
|
|
|
help
|
|
|
|
Broadcom devices store configuration data in SPROM. Accessing it is
|
|
|
|
specific to the bus host type, e.g. PCI(e) devices have it mapped in
|
|
|
|
a PCI BAR.
|
|
|
|
In case of SoC devices SPROM content is stored on a flash used by
|
|
|
|
bootloader firmware CFE. This driver provides method to ssb and bcma
|
|
|
|
drivers to read SPROM on SoC.
|