1 commit 86bd812676d1e99968f395ad82ccaa2db7965748
2 Author: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Thu Sep 19 22:04:04 2013 +0200
5 MIPS: BCM47XX: print board name in machine entry in cpuinfo
7 This will add the board name to the machine entry in /proc/cpuinfo.
9 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
11 --- a/arch/mips/bcm47xx/setup.c
12 +++ b/arch/mips/bcm47xx/setup.c
14 #include <linux/ssb/ssb_embedded.h>
15 #include <linux/bcma/bcma_soc.h>
16 #include <asm/bootinfo.h>
17 +#include <asm/prom.h>
18 #include <asm/reboot.h>
21 @@ -225,6 +226,7 @@ void __init plat_mem_setup(void)
22 _machine_halt = bcm47xx_machine_halt;
23 pm_power_off = bcm47xx_machine_halt;
24 bcm47xx_board_detect();
25 + mips_set_machine_name(bcm47xx_board_get_name());
28 static int __init bcm47xx_register_bus_complete(void)