Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77542
b: refs/heads/master
c: 49db76e
h: refs/heads/master
v: v3
  • Loading branch information
Philipp Zabel authored and Russell King committed Jan 26, 2008
1 parent 8d51e43 commit 8581d92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 6bc54e69921a64e8f813de658aef645c960a2904
refs/heads/master: 49db76eb5fd7d75babb4f3a5f30e86d1f8e82543
9 changes: 7 additions & 2 deletions trunk/include/asm-arm/arch-pxa/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
* published by the Free Software Foundation.
*/

#include <linux/serial_reg.h>
#include <asm/arch/pxa-regs.h>

#define FFUART ((volatile unsigned long *)0x40100000)
#define BTUART ((volatile unsigned long *)0x40200000)
#define STUART ((volatile unsigned long *)0x40700000)
Expand All @@ -19,9 +22,11 @@

static inline void putc(char c)
{
while (!(UART[5] & 0x20))
if (!(UART[UART_IER] & IER_UUE))
return;
while (!(UART[UART_LSR] & LSR_TDRQ))
barrier();
UART[0] = c;
UART[UART_TX] = c;
}

/*
Expand Down

0 comments on commit 8581d92

Please sign in to comment.