]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Loongson: Add a machtype kernel command line argument
authorWu Zhangjin <wuzhangjin@gmail.com>
Thu, 2 Jul 2009 15:27:12 +0000 (23:27 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Sep 2009 18:07:47 +0000 (20:07 +0200)
commitc6c4a069af051ae239437b99691bd84b3b3349a5
tree21eb5afbdd2d1568dfb0a4d117b5267de6786b3d
parente27502ea21fbf6eeaf6d8b5b842137559dc2fb1f
MIPS: Loongson: Add a machtype kernel command line argument

The difference between some loongson-based machines is very small, so, if
there is no necessary to add new kernel config options to cope with this
difference, it will be better to share the same kernel image file between
them, benefit from this, the linux distribution developers only have a need
to compile the kernel one time.

This machtype kernel command line argument will be used later to share the
same kernel image file between two different machines(menglong & yeeloong)
made by lemote.

Thanks very much to Zhang Le for cleaning up the machtype implementation.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Documentation/kernel-parameters.txt
arch/mips/include/asm/bootinfo.h
arch/mips/include/asm/mach-loongson/machine.h
arch/mips/loongson/common/Makefile
arch/mips/loongson/common/machtype.c
arch/mips/loongson/fuloong-2e/Makefile