MIPS: BCM47xx: read out full board data
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 3 Oct 2012 11:34:18 +0000 (11:34 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 10:37:17 +0000 (11:37 +0100)
commit5d24ceab4eaf0dd7825c5a06dc6f264c0a59660c
treec5407e21c5dc6ba8fed56921e2ec7a174a9d2c67
parentc47cc20ca53e792938556aa29103fa889ce0d858
MIPS: BCM47xx: read out full board data

Read out the full board data independently of the sprom version. Now we
also get the full boardflags and so on if sromrev is not set and our
code would assume a rev 1 device. When a nvram option is not set
because it is not there this is no problem.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4363
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/bcm47xx/sprom.c