xref: /OK3568_Linux_fs/kernel/drivers/firmware/broadcom/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunconfig BCM47XX_NVRAM
3*4882a593Smuzhiyun	bool "Broadcom NVRAM driver"
4*4882a593Smuzhiyun	depends on BCM47XX || ARCH_BCM_5301X || COMPILE_TEST
5*4882a593Smuzhiyun	help
6*4882a593Smuzhiyun	  Broadcom home routers contain flash partition called "nvram" with all
7*4882a593Smuzhiyun	  important hardware configuration as well as some minor user setup.
8*4882a593Smuzhiyun	  NVRAM partition contains a text-like data representing name=value
9*4882a593Smuzhiyun	  pairs.
10*4882a593Smuzhiyun	  This driver provides an easy way to get value of requested parameter.
11*4882a593Smuzhiyun	  It simply reads content of NVRAM and parses it. It doesn't control any
12*4882a593Smuzhiyun	  hardware part itself.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunconfig BCM47XX_SPROM
15*4882a593Smuzhiyun	bool "Broadcom SPROM driver"
16*4882a593Smuzhiyun	depends on BCM47XX_NVRAM
17*4882a593Smuzhiyun	select GENERIC_NET_UTILS
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  Broadcom devices store configuration data in SPROM. Accessing it is
20*4882a593Smuzhiyun	  specific to the bus host type, e.g. PCI(e) devices have it mapped in
21*4882a593Smuzhiyun	  a PCI BAR.
22*4882a593Smuzhiyun	  In case of SoC devices SPROM content is stored on a flash used by
23*4882a593Smuzhiyun	  bootloader firmware CFE. This driver provides method to ssb and bcma
24*4882a593Smuzhiyun	  drivers to read SPROM on SoC.
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunconfig TEE_BNXT_FW
27*4882a593Smuzhiyun	tristate "Broadcom BNXT firmware manager"
28*4882a593Smuzhiyun	depends on (ARCH_BCM_IPROC && OPTEE) || (COMPILE_TEST && TEE)
29*4882a593Smuzhiyun	default ARCH_BCM_IPROC
30*4882a593Smuzhiyun	help
31*4882a593Smuzhiyun	  This module help to manage firmware on Broadcom BNXT device. The module
32*4882a593Smuzhiyun	  registers on tee bus and invoke calls to manage firmware on BNXT device.
33