MIPS: Loongson: Cleanup machtype support
authorWu Zhangjin <wuzhangjin@gmail.com>
Fri, 6 Nov 2009 10:35:33 +0000 (18:35 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Dec 2009 01:57:08 +0000 (01:57 +0000)
commit04cfb90a92a2f9f7b56b2f85c528be7d1561e0e5
tree332e2aae4ebc66274e61f4174f922635e4d386af
parentb6ee75ed4fa201873d3a2b32dfce2dbd701a2de4
MIPS: Loongson: Cleanup machtype support

To choose code for different machines by the value of machtype it needs to
be initialized as early as possible.  So move initialization of
mips_machtype to prom_init().

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-loongson/loongson.h
arch/mips/loongson/common/cmdline.c
arch/mips/loongson/common/machtype.c