MIPS: bcm47xx: read baordrev without prefix from sprom
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 29 Apr 2012 00:04:09 +0000 (02:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 16:45:21 +0000 (12:45 -0400)
commita25595562291baea4ccc2ed570dd15c638b67b21
treebbbadbd8af780c2e095aa97b6b0334feb5856ce6
parent0a2fcaa70ce96be6e663234072984fd2b0ffa36e
MIPS: bcm47xx: read baordrev without prefix from sprom

When the boardrev with a prefix is not available, try to read it
without a prefix. This is based on code from the Broadcom SDK.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
arch/mips/bcm47xx/sprom.c