Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189010
b: refs/heads/master
c: 7471f46
h: refs/heads/master
v: v3
  • Loading branch information
Eric Miao committed Mar 22, 2010
1 parent 0a96625 commit 0b3e655
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 2a8ac187e03027a958b289dd8701ca9c013ab096
refs/heads/master: 7471f46d74e0e2a668f4bc085ef486b1079b3466
5 changes: 4 additions & 1 deletion trunk/arch/arm/mach-mmp/include/mach/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define UART2_BASE (APB_PHYS_BASE + 0x17000)
#define UART3_BASE (APB_PHYS_BASE + 0x18000)

static volatile unsigned long *UART = (unsigned long *)UART2_BASE;
static volatile unsigned long *UART;

static inline void putc(char c)
{
Expand All @@ -37,6 +37,9 @@ static inline void flush(void)

static inline void arch_decomp_setup(void)
{
/* default to UART2 */
UART = (unsigned long *)UART2_BASE;

if (machine_is_avengers_lite())
UART = (unsigned long *)UART3_BASE;
}
Expand Down

0 comments on commit 0b3e655

Please sign in to comment.