MIPS: BCM47xx: Move SPROM driver to drivers/firmware/
authorRafał Miłecki <zajec5@gmail.com>
Mon, 25 Jan 2016 08:50:29 +0000 (09:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:43 +0000 (14:01 +0200)
commit2ab71a02c56f8244ac611b5c6e6603c6fe83b966
treeb741901481c7b40fe0afe0a2dbc36aeedac1e44c
parentb11d022767f78357f08bc3d548e99af1c6cf7808
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>
arch/mips/Kconfig
arch/mips/bcm47xx/Makefile
arch/mips/bcm47xx/bcm47xx_private.h
arch/mips/bcm47xx/setup.c
arch/mips/bcm47xx/sprom.c [deleted file]
drivers/firmware/broadcom/Kconfig
drivers/firmware/broadcom/Makefile
drivers/firmware/broadcom/bcm47xx_sprom.c [new file with mode: 0644]
include/linux/bcm47xx_sprom.h [new file with mode: 0644]