Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75476
b: refs/heads/master
c: c43756d
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Jan 15, 2008
1 parent 30f79c2 commit e6d5684
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6c0f32ee8d21e800097fc35ba8ab2b5a3b9bdfa
refs/heads/master: c43756da94863395d5ee088659676029b3ae7191
5 changes: 5 additions & 0 deletions trunk/arch/mips/cobalt/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@
#include <linux/io.h>
#include <linux/serial_reg.h>

#include <cobalt.h>

#define UART_BASE ((void __iomem *)CKSEG1ADDR(0x1c800000))

void prom_putchar(char c)
{
if (cobalt_board_id <= COBALT_BRD_ID_QUBE1)
return;

while (!(readb(UART_BASE + UART_LSR) & UART_LSR_THRE))
;

Expand Down

0 comments on commit e6d5684

Please sign in to comment.