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