aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-realview/uncompress.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-realview/uncompress.h')
-rw-r--r--include/asm-arm/arch-realview/uncompress.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/arch-realview/uncompress.h b/include/asm-arm/arch-realview/uncompress.h
index 9b790a7e782d..4ebc9c908442 100644
--- a/include/asm-arm/arch-realview/uncompress.h
+++ b/include/asm-arm/arch-realview/uncompress.h
@@ -21,6 +21,7 @@
21#include <asm/mach-types.h> 21#include <asm/mach-types.h>
22 22
23#include <asm/arch/board-eb.h> 23#include <asm/arch/board-eb.h>
24#include <asm/arch/board-pb11mp.h>
24 25
25#define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00)) 26#define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00))
26#define AMBA_UART_LCRH(base) (*(volatile unsigned char *)((base) + 0x2c)) 27#define AMBA_UART_LCRH(base) (*(volatile unsigned char *)((base) + 0x2c))
@@ -34,6 +35,8 @@ static inline unsigned long get_uart_base(void)
34{ 35{
35 if (machine_is_realview_eb()) 36 if (machine_is_realview_eb())
36 return REALVIEW_EB_UART0_BASE; 37 return REALVIEW_EB_UART0_BASE;
38 else if (machine_is_realview_pb11mp())
39 return REALVIEW_PB11MP_UART0_BASE;
37 else 40 else
38 return 0; 41 return 0;
39} 42}