MIPS: bcm47xx: refactor fetching board data
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 29 Apr 2012 00:04:07 +0000 (02:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 16:45:20 +0000 (12:45 -0400)
commita9bba182a1f3f33ba11abde8226ab2a4c39ce4e7
treec43aad92f8f473f6d59d748cc7cd616f305528fe
parent5a20ef3db28faa42dd5dc86ad75d2736bcd3da4c
MIPS: bcm47xx: refactor fetching board data

Now the fetching of board data also uses nvram_read_u16 and not
simple_strtoul any more.

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/setup.c
arch/mips/bcm47xx/sprom.c
arch/mips/include/asm/mach-bcm47xx/bcm47xx.h