Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333305
b: refs/heads/master
c: 096947f
h: refs/heads/master
i:
  333303: 5970963
v: v3
  • Loading branch information
Tony Prisk authored and Olof Johansson committed Oct 7, 2012
1 parent 4a17690 commit 6593361
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 68528265149d2861195fc81aa3cdb64120953e12
refs/heads/master: 096947fdab96fd97df47b10b8547382290ef9fcd
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-vt8500/include/mach/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
*
*/

#define UART0_PHYS 0xd8200000
#include <asm/io.h>
#define UART0_PHYS 0xd8200000
#define UART0_ADDR(x) *(volatile unsigned char *)(UART0_PHYS + x)

static void putc(const char c)
{
while (readb(UART0_PHYS + 0x1c) & 0x2)
while (UART0_ADDR(0x1c) & 0x2)
/* Tx busy, wait and poll */;

writeb(c, UART0_PHYS);
UART0_ADDR(0) = c;
}

static void flush(void)
Expand Down

0 comments on commit 6593361

Please sign in to comment.