]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 7 Mar 2016 10:49:59 +0000 (11:49 +0100)
commite8a46c88b5167157b9e220b28621cb5312f2d4b0
tree0b1b482e2d19c868bd9aa840127e83b81b461483
parent94d68d7a927f6af51b0a68105809b223973036ba
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
drivers/firmware/broadcom/Kconfig
drivers/firmware/broadcom/Makefile
drivers/firmware/broadcom/bcm47xx_sprom.c [moved from arch/mips/bcm47xx/sprom.c with 98% similarity]
include/linux/bcm47xx_sprom.h [new file with mode: 0644]