summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson/Kconfig
diff options
context:
space:
mode:
authorWu Zhangjin2009-11-28 07:21:50 +0100
committerRalf Baechle2009-12-17 02:57:34 +0100
commitc3d8d85019c9e4f6e4f23d194b6432a2c2464372 (patch)
tree644e1cf5e7f215fa6789d96bce9fac7e14666846 /arch/mips/loongson/Kconfig
parentMIPS: Lemote 2F: Suspend CS5536 MFGPT Timer (diff)
downloadkernel-qcow2-linux-c3d8d85019c9e4f6e4f23d194b6432a2c2464372.tar.gz
kernel-qcow2-linux-c3d8d85019c9e4f6e4f23d194b6432a2c2464372.tar.xz
kernel-qcow2-linux-c3d8d85019c9e4f6e4f23d194b6432a2c2464372.zip
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>
Diffstat (limited to 'arch/mips/loongson/Kconfig')
-rw-r--r--arch/mips/loongson/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/loongson/Kconfig b/arch/mips/loongson/Kconfig
index 7a86987b478f..3df1967dea08 100644
--- a/arch/mips/loongson/Kconfig
+++ b/arch/mips/loongson/Kconfig
@@ -78,3 +78,8 @@ config LOONGSON_SUSPEND
bool
default y
depends on CPU_SUPPORTS_CPUFREQ && SUSPEND
+
+config LOONGSON_UART_BASE
+ bool
+ default y
+ depends on EARLY_PRINTK || SERIAL_8250