]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/mips/cobalt/console.c
ca56b415b8ac30c3e6b45a7c02767a9226e12ce1
[linux-2.6-omap-h63xx.git] / arch / mips / cobalt / console.c
1 /*
2  * (C) P. Horton 2006
3  */
4
5 #include <linux/init.h>
6 #include <linux/kernel.h>
7 #include <linux/console.h>
8 #include <linux/serial_reg.h>
9 #include <asm/addrspace.h>
10 #include <asm/mach-cobalt/cobalt.h>
11
12 void prom_putchar(char c)
13 {
14         while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE))
15                 ;
16
17         COBALT_UART[UART_TX] = c;
18 }