summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson/common/Makefile
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2009-10-16 08:17:18 +0200
committerRalf Baechle <ralf@linux-mips.org>2009-12-17 02:57:04 +0100
commite8be5283881cb96bafb751e1f9ea34c4e6fc2845 (patch)
tree83e28f874ea451b7c1a024cf265f9913ef3125e7 /arch/mips/loongson/common/Makefile
parentMIPS: Loongson early_printk: Fix variable type of uart_base (diff)
downloadlinux-e8be5283881cb96bafb751e1f9ea34c4e6fc2845.tar.xz
linux-e8be5283881cb96bafb751e1f9ea34c4e6fc2845.zip
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>
Diffstat (limited to 'arch/mips/loongson/common/Makefile')
-rw-r--r--arch/mips/loongson/common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/loongson/common/Makefile b/arch/mips/loongson/common/Makefile
index 656b3cc0a2a6..d21d1163fad0 100644
--- a/arch/mips/loongson/common/Makefile
+++ b/arch/mips/loongson/common/Makefile
@@ -9,3 +9,4 @@ obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
# Early printk support
#
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
+obj-$(CONFIG_SERIAL_8250) += serial.o