]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BCM47XX: Add board detection
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 18 Sep 2013 11:29:57 +0000 (13:29 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Oct 2013 20:24:00 +0000 (21:24 +0100)
commitcf97d1510018b741e1ebb345ced40e1a0cdecfee
treecfc128e317610d04c02645d94a796287386616d6
parent6f73c2ee495aac904d05f2aa2d89656fcce80a89
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>
arch/mips/bcm47xx/Makefile
arch/mips/bcm47xx/board.c [new file with mode: 0644]
arch/mips/bcm47xx/setup.c
arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h [new file with mode: 0644]