From: Hauke Mehrtens Date: Tue, 14 Jan 2014 11:06:08 +0000 (+0100) Subject: MIPS: BCM47XX: print board name in machine entry in cpuinfo X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=7da4b6f8ffdbcddcb203d890617768af51d1ad91;p=~andy%2Flinux 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 Signed-off-by: John Crispin Patchwork: http://patchwork.linux-mips.org/patch/5864/ --- diff --git a/arch/mips/bcm47xx/setup.c b/arch/mips/bcm47xx/setup.c index de08ba95eba..71e5c7cae81 100644 --- 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)