]> git.karo-electronics.de Git - linux-beck.git/commit
MIPS: BCM47XX: use fallback sprom var for board_{rev,type}
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 6 Dec 2012 21:25:05 +0000 (21:25 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 15 Feb 2013 18:01:57 +0000 (19:01 +0100)
commit6404b7cb83273623dc836a33427a30e371dab11b
tree4eb88c80dc1cae8f5c3c3caa0d86a14d780db5a1
parentdd54dedd947dd801ea60099837ac009eb235a61d
MIPS: BCM47XX: use fallback sprom var for board_{rev,type}

An SoC normally do not define path variables for board_rev and
board_type and the Broadcom SDK also uses the nvram values without a
prefix in such cases. Do the same to fill these sprom attributes from
nvram and do not leave them empty, because brcmsmac do not like this.

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