]> bbs.cooldavid.org Git - net-next-2.6.git/commit
MIPS: Loongson: Add serial port support
authorWu Zhangjin <wuzhangjin@gmail.com>
Fri, 16 Oct 2009 06:17:18 +0000 (14:17 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Dec 2009 01:57:04 +0000 (01:57 +0000)
commite8be5283881cb96bafb751e1f9ea34c4e6fc2845
tree83e28f874ea451b7c1a024cf265f9913ef3125e7
parentdb54ff246eae5acb6b7dffec2c05e682f91e0f4e
MIPS: Loongson: Add serial port support

This patch add serial port support for all of the existing loongson
family machines. most of the board specific part are put in serial.c,
and the base address of the serial ports are defined as macros in
machine.h for sharing it between serial.c and early_printk.c

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: Zhang Le <r0bertz@gentoo.org>
Cc: zhangfx@lemote.com
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/Makefile
arch/mips/loongson/common/serial.c [new file with mode: 0644]