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