Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201380
b: refs/heads/master
c: 661f10f
h: refs/heads/master
v: v3
  • Loading branch information
Rabin Vincent authored and Russell King committed Jul 29, 2010
1 parent c798b1c commit 3920f1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1b957d3a06826f4a30fd4440e54a6b87c2e6173
refs/heads/master: 661f10f6b6ce55c737e88c4803453eba4ba3a61c
10 changes: 5 additions & 5 deletions trunk/arch/arm/mach-ux500/include/mach/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@
static void putc(const char c)
{
/* Do nothing if the UART is not enabled. */
if (!(readb(U8500_UART_CR) & 0x1))
if (!(__raw_readb(U8500_UART_CR) & 0x1))
return;

if (c == '\n')
putc('\r');

while (readb(U8500_UART_FR) & (1 << 5))
while (__raw_readb(U8500_UART_FR) & (1 << 5))
barrier();
writeb(c, U8500_UART_DR);
__raw_writeb(c, U8500_UART_DR);
}

static void flush(void)
{
if (!(readb(U8500_UART_CR) & 0x1))
if (!(__raw_readb(U8500_UART_CR) & 0x1))
return;
while (readb(U8500_UART_FR) & (1 << 3))
while (__raw_readb(U8500_UART_FR) & (1 << 3))
barrier();
}

Expand Down

0 comments on commit 3920f1f

Please sign in to comment.