Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91122
b: refs/heads/master
c: 34401ec
h: refs/heads/master
v: v3
  • Loading branch information
Catalin Marinas committed Apr 18, 2008
1 parent 8cc7971 commit afc2883
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e67172f5793293370a3ded597742b8d12bd42b82
refs/heads/master: 34401ec4668c01156c6c4540930a63840f567a61
3 changes: 3 additions & 0 deletions trunk/include/asm-arm/arch-realview/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <asm/mach-types.h>

#include <asm/arch/board-eb.h>
#include <asm/arch/board-pb11mp.h>

#define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00))
#define AMBA_UART_LCRH(base) (*(volatile unsigned char *)((base) + 0x2c))
Expand All @@ -34,6 +35,8 @@ static inline unsigned long get_uart_base(void)
{
if (machine_is_realview_eb())
return REALVIEW_EB_UART0_BASE;
else if (machine_is_realview_pb11mp())
return REALVIEW_PB11MP_UART0_BASE;
else
return 0;
}
Expand Down

0 comments on commit afc2883

Please sign in to comment.