]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20a22a5587eb1bac8f087aa6d55722c8c446d7ee
tree329006b10d850609914659eab385b5eab4fe0001
parent31fa743ccdc742c0b38c709ff96fcb52d4b5a957
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