summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/files-4.1
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-03-06 18:08:03 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-03-06 18:08:03 +0000
commitdab0569b970de590bf9fde2c5887c1cd796f44c4 (patch)
treebece7b6a922ce26291e52d26d631a90cb4d23bd8 /target/linux/bcm53xx/files-4.1
parent4c80909fa141fe2921c62bd17b2b04153031df18 (diff)
downloadmtk-20170518-dab0569b970de590bf9fde2c5887c1cd796f44c4.zip
mtk-20170518-dab0569b970de590bf9fde2c5887c1cd796f44c4.tar.gz
mtk-20170518-dab0569b970de590bf9fde2c5887c1cd796f44c4.tar.bz2
bcm53xx: use SPROM driver queued for 4.6
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48935
Diffstat (limited to 'target/linux/bcm53xx/files-4.1')
-rw-r--r--target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/Kconfig11
-rw-r--r--target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/Makefile1
2 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/Kconfig b/target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/Kconfig
index 6bed119..3c7e5b7 100644
--- a/target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/Kconfig
+++ b/target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/Kconfig
@@ -9,3 +9,14 @@ config BCM47XX_NVRAM
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.
+
+config BCM47XX_SPROM
+ bool "Broadcom SPROM driver"
+ depends on BCM47XX_NVRAM
+ 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.
diff --git a/target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/Makefile b/target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/Makefile
index d0e6835..f93efc4 100644
--- a/target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/Makefile
+++ b/target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/Makefile
@@ -1 +1,2 @@
obj-$(CONFIG_BCM47XX_NVRAM) += bcm47xx_nvram.o
+obj-$(CONFIG_BCM47XX_SPROM) += bcm47xx_sprom.o