]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a2e6e76b95ebe40674eef8559a9833ee090e219
treec5407e21c5dc6ba8fed56921e2ec7a174a9d2c67
parent1fba3be3a22a3b374b43e633da7b46386297a1ca
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