Pull error-inject into release branch
[linux-2.6] / arch / mips / cobalt / console.c
1 /*
2  * (C) P. Horton 2006
3  */
4 #include <linux/serial_reg.h>
5
6 #include <asm/addrspace.h>
7
8 #include <cobalt.h>
9
10 void prom_putchar(char c)
11 {
12         while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE))
13                 ;
14
15         COBALT_UART[UART_TX] = c;
16 }