Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339580
b: refs/heads/master
c: 09aaf99
h: refs/heads/master
v: v3
  • Loading branch information
Sekhar Nori committed Oct 27, 2012
1 parent cbf1a93 commit 5853e8c
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 5604f69eec0aed392cea2909ee49dd834b782fac
refs/heads/master: 09aaf994e37c3e37fd2b0e9b1856038e31ae3b68
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-davinci/include/mach/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,19 @@ u32 *uart;
/* PORT_16C550A, in polled non-fifo mode */
static void putc(char c)
{
if (!uart)
return;

while (!(uart[UART_LSR] & UART_LSR_THRE))
barrier();
uart[UART_TX] = c;
}

static inline void flush(void)
{
if (!uart)
return;

while (!(uart[UART_LSR] & UART_LSR_THRE))
barrier();
}
Expand Down

0 comments on commit 5853e8c

Please sign in to comment.