The next two patches cleanup the machtype support and the serial port support, which will help to the coming support to share the same kernel image among different loongson2f family machines made by Lemote. Wu Zhangjin (2): [loongson] Cleanup the machtype support [loongson] Cleanup the serial port support arch/mips/include/asm/mach-loongson/loongson.h | 4 +++ arch/mips/include/asm/mach-loongson/machine.h | 2 - arch/mips/loongson/common/Makefile | 2 +- arch/mips/loongson/common/cmdline.c | 4 ++- arch/mips/loongson/common/early_printk.c | 11 +++++--- arch/mips/loongson/common/init.c | 11 +++++--- arch/mips/loongson/common/machtype.c | 17 +++++++----- arch/mips/loongson/common/serial.c | 15 +++++----- arch/mips/loongson/common/uart_base.c | 34 ++++++++++++++++++++++++ 9 files changed, 74 insertions(+), 26 deletions(-) create mode 100644 arch/mips/loongson/common/uart_base.c