]> git.karo-electronics.de Git - mv-sheeva.git/commit
MIPS: Loongson: Lemote-2F: Get the machine type from PMON_VER
authorWu Zhangjin <wuzhangjin@gmail.com>
Mon, 4 Jan 2010 09:16:43 +0000 (17:16 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:09 +0000 (12:53 +0100)
commit1b39a0bad50779177ebca818c6c3380463bfca7d
tree2c0ecf8f110ee22646d3dea494ff1562625f0ce2
parent081f6749ae33f72b4fafea4c02976e163ef6ef37
MIPS: Loongson: Lemote-2F: Get the machine type from PMON_VER

Lemote have used the PMON_VER strings to indicate the loongson-2f
machine series:

  PMON_VER=LM8089 Lemote 8.9'' netbook
           LM8101 Lemote 10.1'' netbook
  (The above two netbooks have the same kernel support)
         LM6XXX Lemote FuLoong(2F) box series
         LM9XXX Lemote LynLoong PC series

Before the machtype is supported by the PMON, we can get the machine
type from the PMON_VER for these machines, this will help the users a
lot.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: zhangfx@lemote.com
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/821/
Patchwork: http://patchwork.linux-mips.org/patch/908/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/machtype.c
arch/mips/loongson/lemote-2f/Makefile
arch/mips/loongson/lemote-2f/machtype.c [new file with mode: 0644]