[MIPS] Cobalt: Fix early printk
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
57a2050c40
commit
0a22e0d43b
@@ -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))
|
||||
;
|
||||
|
||||
|
Reference in New Issue
Block a user