2006-02-13 01:10:25 +08:00
|
|
|
/*
|
|
|
|
* (C) P. Horton 2006
|
|
|
|
*/
|
|
|
|
#include <linux/serial_reg.h>
|
2007-03-06 20:34:44 +08:00
|
|
|
|
2006-02-13 01:10:25 +08:00
|
|
|
#include <asm/addrspace.h>
|
2007-03-06 20:34:44 +08:00
|
|
|
|
|
|
|
#include <cobalt.h>
|
2006-02-13 01:10:25 +08:00
|
|
|
|
2007-03-02 11:42:33 +08:00
|
|
|
void prom_putchar(char c)
|
2006-02-13 01:10:25 +08:00
|
|
|
{
|
|
|
|
while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE))
|
|
|
|
;
|
|
|
|
|
|
|
|
COBALT_UART[UART_TX] = c;
|
|
|
|
}
|