MIPS: Loongson: Cleanups of serial port support
authorWu Zhangjin <wuzhangjin@gmail.com>
Sat, 28 Nov 2009 06:21:50 +0000 (14:21 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Dec 2009 01:57:34 +0000 (01:57 +0000)
commitc3d8d85019c9e4f6e4f23d194b6432a2c2464372
tree644e1cf5e7f215fa6789d96bce9fac7e14666846
parentc47a48d83a7a82c86ff3e74bdcabeee8f6e6b730
MIPS: Loongson: Cleanups of serial port support

This patchs uses a loongson_uart_base variable instead of the
uart_base[] array and adds a new kernel option to avoid to compile
uart_base.c all the time, which will save a little bit of memory for us.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
http://patchwork.linux-mips.org/patch/727/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-loongson/loongson.h
arch/mips/loongson/Kconfig
arch/mips/loongson/common/Makefile
arch/mips/loongson/common/init.c
arch/mips/loongson/common/serial.c
arch/mips/loongson/common/uart_base.c