linux/arch/mips/loongson
Wu Zhangjin a3ed495190 MIPS: Loongson: Cleanup the serial port support
To share the same kernel image amon different machines we have added the
machtype command line support.

In the old serial port implementation the UART base address is hardcoded as
a macro in machine.h which breaks with machtype, so change that to discover
the address dynamically.  Also move the initialization of the UART base
address to uart_base.c to avoid remapping twice for early_printk.c and
serial.c.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/581/
Patchwork: http://patchwork.linux-mips.org/patch/682/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-12-17 01:57:09 +00:00
..
common MIPS: Loongson: Cleanup the serial port support 2009-12-17 01:57:09 +00:00
fuloong-2e MIPS: Bonito64: Make Loongson independent from Bonito64 code. 2009-12-17 01:57:06 +00:00
Kconfig MIPS: Fuloong2e: Cleanup Kconfig 2009-12-17 01:57:03 +00:00
Makefile MIPS: Loongson: Split common loongson source code out 2009-09-17 20:07:47 +02:00