MIPS: BCM47xx: Fetch board info directly in callback function
authorRafał Miłecki <zajec5@gmail.com>
Mon, 26 Oct 2015 10:13:16 +0000 (11:13 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 11 Nov 2015 07:36:57 +0000 (08:36 +0100)
commitd8cfb5037bfc875e6dc8e09e4caceb443c04ff6a
tree329006b10d850609914659eab385b5eab4fe0001
parent2f94acde42b70c81129b398c44aa09411974a16d
MIPS: BCM47xx: Fetch board info directly in callback function

This drops another symbol dependency between setup.c and sprom.c which
will allow us to make SPROM code a separated module (and share it with
ARM).
Patch tested on Linksys WRT300N V1.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11360/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/setup.c
arch/mips/bcm47xx/sprom.c
arch/mips/include/asm/mach-bcm47xx/bcm47xx.h