MIPS: BCM47XX: move and extend sprom parsing
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 27 Feb 2012 23:56:13 +0000 (00:56 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:20:51 +0000 (15:20 -0500)
commit019eee2e34e2d1db715dc4fe5be2079800636fa8
tree59666d59b79904d148c02b7548717566b933faec
parentac78838b65f6e843bc04cd7772ce7c85b607a404
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>
arch/mips/bcm47xx/Makefile
arch/mips/bcm47xx/setup.c
arch/mips/bcm47xx/sprom.c [new file with mode: 0644]
arch/mips/include/asm/mach-bcm47xx/bcm47xx.h