summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/broadcom/Makefile
diff options
context:
space:
mode:
authorRafał Miłecki2016-01-25 09:50:29 +0100
committerRalf Baechle2016-05-13 14:01:43 +0200
commit2ab71a02c56f8244ac611b5c6e6603c6fe83b966 (patch)
treeb741901481c7b40fe0afe0a2dbc36aeedac1e44c /drivers/firmware/broadcom/Makefile
parentMIPS: ralink: Make reset_control_ops const (diff)
downloadkernel-qcow2-linux-2ab71a02c56f8244ac611b5c6e6603c6fe83b966.tar.gz
kernel-qcow2-linux-2ab71a02c56f8244ac611b5c6e6603c6fe83b966.tar.xz
kernel-qcow2-linux-2ab71a02c56f8244ac611b5c6e6603c6fe83b966.zip
MIPS: BCM47xx: Move SPROM driver to drivers/firmware/
Broadcom ARM home routers store SPROM content in NVRAM just like MIPS ones. To share SPROM code we need to move it out of arch/mips/ to some common place. We already have bcm47xx_nvram in firmware path and SPROM should fit there as well. This driver is responsible for parsing SoC configuration data into a struct shared between ssb and bcma buses. This was tested with BCM4706 & BCM5357C0 (BCM47XX) and BCM4708A0 (ARCH_BCM_5301X). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Cc: Hauke Mehrtens <hauke@hauke-m.de> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/12210/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/firmware/broadcom/Makefile')
-rw-r--r--drivers/firmware/broadcom/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/broadcom/Makefile b/drivers/firmware/broadcom/Makefile
index d0e683583cd6..f93efc479b8b 100644
--- a/drivers/firmware/broadcom/Makefile
+++ b/drivers/firmware/broadcom/Makefile
@@ -1 +1,2 @@
obj-$(CONFIG_BCM47XX_NVRAM) += bcm47xx_nvram.o
+obj-$(CONFIG_BCM47XX_SPROM) += bcm47xx_sprom.o