diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-02-28 00:56:13 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-05 15:20:51 -0500 |
commit | 019eee2e34e2d1db715dc4fe5be2079800636fa8 (patch) | |
tree | 59666d59b79904d148c02b7548717566b933faec /arch/mips/include/asm/mach-bcm47xx | |
parent | ac78838b65f6e843bc04cd7772ce7c85b607a404 (diff) | |
download | op-kernel-dev-019eee2e34e2d1db715dc4fe5be2079800636fa8.zip op-kernel-dev-019eee2e34e2d1db715dc4fe5be2079800636fa8.tar.gz |
MIPS: BCM47XX: move and extend sprom parsing
Move the sprom parsing from nvram into sprom.c. There are all values
needed for sprom version 1 to 9 read from nvram and there are more
sanity checks added. This is based on the sprom parsing in the open
source part of the Broadcom SDK.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/mips/include/asm/mach-bcm47xx')
-rw-r--r-- | arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h b/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h index de95e07..5ecaf47 100644 --- a/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h +++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h @@ -44,4 +44,7 @@ union bcm47xx_bus { extern union bcm47xx_bus bcm47xx_bus; extern enum bcm47xx_bus_type bcm47xx_bus_type; +void bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix); +void bcm47xx_fill_sprom_ethernet(struct ssb_sprom *sprom, const char *prefix); + #endif /* __ASM_BCM47XX_H */ |