diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2007-03-01 22:42:33 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-06 19:07:16 -0500 |
commit | 0a22e0d43b6d6468544dd7559d5f3c4acb8b536e (patch) | |
tree | fc757116fdc4fbe1408ab4a218c4e9754b9b0784 /arch/mips/cobalt/console.c | |
parent | 57a2050c408620613c5715171364de2cc5566f22 (diff) |
[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/console.c')
-rw-r--r-- | arch/mips/cobalt/console.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/cobalt/console.c b/arch/mips/cobalt/console.c index fff20d28114f..ca56b415b8ac 100644 --- a/arch/mips/cobalt/console.c +++ b/arch/mips/cobalt/console.c | |||
@@ -9,11 +9,8 @@ | |||
9 | #include <asm/addrspace.h> | 9 | #include <asm/addrspace.h> |
10 | #include <asm/mach-cobalt/cobalt.h> | 10 | #include <asm/mach-cobalt/cobalt.h> |
11 | 11 | ||
12 | static void putchar(int c) | 12 | void prom_putchar(char c) |
13 | { | 13 | { |
14 | if(c == '\n') | ||
15 | putchar('\r'); | ||
16 | |||
17 | while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE)) | 14 | while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE)) |
18 | ; | 15 | ; |
19 | 16 | ||