From ebf07787210deee29e3ad4f2308433866a853c20 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 6 Oct 2013 23:51:24 +0000 Subject: brcm47xx: update board detection patches Add patches like they are currently in the mainline mips tree and add some more pending patches for board detection. * Now the board name is shown under machine in /proc/cpuinfo. Signed-off-by: Hauke Mehrtens SVN-Revision: 38308 --- ...X-print-board-name-in-machine-entry-in-cp.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 target/linux/brcm47xx/patches-3.10/073-MIPS-BCM47XX-print-board-name-in-machine-entry-in-cp.patch (limited to 'target/linux/brcm47xx/patches-3.10/073-MIPS-BCM47XX-print-board-name-in-machine-entry-in-cp.patch') diff --git a/target/linux/brcm47xx/patches-3.10/073-MIPS-BCM47XX-print-board-name-in-machine-entry-in-cp.patch b/target/linux/brcm47xx/patches-3.10/073-MIPS-BCM47XX-print-board-name-in-machine-entry-in-cp.patch new file mode 100644 index 0000000000..b7bc335f95 --- /dev/null +++ b/target/linux/brcm47xx/patches-3.10/073-MIPS-BCM47XX-print-board-name-in-machine-entry-in-cp.patch @@ -0,0 +1,28 @@ +commit 86bd812676d1e99968f395ad82ccaa2db7965748 +Author: Hauke Mehrtens +Date: Thu Sep 19 22:04:04 2013 +0200 + + MIPS: BCM47XX: print board name in machine entry in cpuinfo + + This will add the board name to the machine entry in /proc/cpuinfo. + + Signed-off-by: Hauke Mehrtens + +--- a/arch/mips/bcm47xx/setup.c ++++ b/arch/mips/bcm47xx/setup.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -225,6 +226,7 @@ void __init plat_mem_setup(void) + _machine_halt = bcm47xx_machine_halt; + pm_power_off = bcm47xx_machine_halt; + bcm47xx_board_detect(); ++ mips_set_machine_name(bcm47xx_board_get_name()); + } + + static int __init bcm47xx_register_bus_complete(void) -- cgit v1.2.3