diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2007-03-02 12:42:33 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-07 00:07:16 +0000 |
commit | 0a22e0d43b6d6468544dd7559d5f3c4acb8b536e (patch) | |
tree | fc757116fdc4fbe1408ab4a218c4e9754b9b0784 /arch/mips/cobalt | |
parent | 57a2050c408620613c5715171364de2cc5566f22 (diff) | |
download | kernel_goldelico_gta04-0a22e0d43b6d6468544dd7559d5f3c4acb8b536e.zip kernel_goldelico_gta04-0a22e0d43b6d6468544dd7559d5f3c4acb8b536e.tar.gz kernel_goldelico_gta04-0a22e0d43b6d6468544dd7559d5f3c4acb8b536e.tar.bz2 |
[MIPS] Cobalt: Fix early printk
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cobalt')
-rw-r--r-- | arch/mips/cobalt/Kconfig | 7 | ||||
-rw-r--r-- | arch/mips/cobalt/console.c | 5 |
2 files changed, 1 insertions, 11 deletions
diff --git a/arch/mips/cobalt/Kconfig b/arch/mips/cobalt/Kconfig deleted file mode 100644 index 7c42b08..0000000 --- a/arch/mips/cobalt/Kconfig +++ /dev/null @@ -1,7 +0,0 @@ -config EARLY_PRINTK - bool "Early console support" - depends on MIPS_COBALT - help - Provide early console support by direct access to the - on board UART. The UART must have been previously - initialised by the boot loader. diff --git a/arch/mips/cobalt/console.c b/arch/mips/cobalt/console.c index fff20d2..ca56b41 100644 --- a/arch/mips/cobalt/console.c +++ b/arch/mips/cobalt/console.c @@ -9,11 +9,8 @@ #include <asm/addrspace.h> #include <asm/mach-cobalt/cobalt.h> -static void putchar(int c) +void prom_putchar(char c) { - if(c == '\n') - putchar('\r'); - while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE)) ; |