summaryrefslogtreecommitdiff
path: root/arch/mips/bcm47xx/Makefile
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-09-18 13:29:57 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-10-29 21:24:00 +0100
commit786c497a693c708465b937c05945beaea1164c12 (patch)
treecfc128e317610d04c02645d94a796287386616d6 /arch/mips/bcm47xx/Makefile
parent85f32dbdeb7a0139e667bcfcfc98bbf47ddfc24e (diff)
MIPS: BCM47XX: Add board detection
Detect on which board this code is running based on some nvram settings. This is needed to start board specific workarounds and configure the leds and buttons which are on different gpios on every board. This patches add some boards we have seen, but there are many more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5840 Patchwork: https://patchwork.linux-mips.org/patch/5855/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm47xx/Makefile')
-rw-r--r--arch/mips/bcm47xx/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/Makefile b/arch/mips/bcm47xx/Makefile
index f3bf6d5bfb9d..c52daf9b05c6 100644
--- a/arch/mips/bcm47xx/Makefile
+++ b/arch/mips/bcm47xx/Makefile
@@ -4,4 +4,5 @@
#
obj-y += irq.o nvram.o prom.o serial.o setup.o time.o sprom.o
+obj-y += board.o
obj-$(CONFIG_BCM47XX_SSB) += wgt634u.o