projects
/
linux-2.6
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Pull cpuidle into release branch
[linux-2.6]
/
arch
/
mips
/
cobalt
/
console.c
1
/*
2
* (C) P. Horton 2006
3
*/
4
#include <linux/io.h>
5
#include <linux/serial_reg.h>
6
7
#define UART_BASE ((void __iomem *)CKSEG1ADDR(0x1c800000))
8
9
void prom_putchar(char c)
10
{
11
while (!(readb(UART_BASE + UART_LSR) & UART_LSR_THRE))
12
;
13
14
writeb(c, UART_BASE + UART_TX);
15
}