]> 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)
commitc167a84b8108a607056693f510f088a02a497c82
treec5407e21c5dc6ba8fed56921e2ec7a174a9d2c67
parentae07d69d6df074c6fe23971b85ef7d3edbb61952
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