diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-01-14 06:06:08 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-24 16:39:51 -0500 |
commit | 7da4b6f8ffdbcddcb203d890617768af51d1ad91 (patch) | |
tree | b987dcd1e93ab8fafac13e792d2fff6f60d64e20 | |
parent | e92e1d0d789634f8136c7ca1cb7d679acc3c52b0 (diff) |
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 <hauke@hauke-m.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5864/
-rw-r--r-- | arch/mips/bcm47xx/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/setup.c b/arch/mips/bcm47xx/setup.c index de08ba95ebac..71e5c7cae814 100644 --- a/arch/mips/bcm47xx/setup.c +++ b/arch/mips/bcm47xx/setup.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/ssb/ssb_embedded.h> | 32 | #include <linux/ssb/ssb_embedded.h> |
33 | #include <linux/bcma/bcma_soc.h> | 33 | #include <linux/bcma/bcma_soc.h> |
34 | #include <asm/bootinfo.h> | 34 | #include <asm/bootinfo.h> |
35 | #include <asm/prom.h> | ||
35 | #include <asm/reboot.h> | 36 | #include <asm/reboot.h> |
36 | #include <asm/time.h> | 37 | #include <asm/time.h> |
37 | #include <bcm47xx.h> | 38 | #include <bcm47xx.h> |
@@ -225,6 +226,7 @@ void __init plat_mem_setup(void) | |||
225 | _machine_halt = bcm47xx_machine_halt; | 226 | _machine_halt = bcm47xx_machine_halt; |
226 | pm_power_off = bcm47xx_machine_halt; | 227 | pm_power_off = bcm47xx_machine_halt; |
227 | bcm47xx_board_detect(); | 228 | bcm47xx_board_detect(); |
229 | mips_set_machine_name(bcm47xx_board_get_name()); | ||
228 | } | 230 | } |
229 | 231 | ||
230 | static int __init bcm47xx_register_bus_complete(void) | 232 | static int __init bcm47xx_register_bus_complete(void) |