From afc2883a87ab85ce22e052383567d89b1115fa3e Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Fri, 18 Apr 2008 22:43:13 +0100 Subject: [PATCH] --- yaml --- r: 91122 b: refs/heads/master c: 34401ec4668c01156c6c4540930a63840f567a61 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-arm/arch-realview/uncompress.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 08707da871ed..46e01aa67b91 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e67172f5793293370a3ded597742b8d12bd42b82 +refs/heads/master: 34401ec4668c01156c6c4540930a63840f567a61 diff --git a/trunk/include/asm-arm/arch-realview/uncompress.h b/trunk/include/asm-arm/arch-realview/uncompress.h index 9b790a7e782d..4ebc9c908442 100644 --- a/trunk/include/asm-arm/arch-realview/uncompress.h +++ b/trunk/include/asm-arm/arch-realview/uncompress.h @@ -21,6 +21,7 @@ #include #include +#include #define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00)) #define AMBA_UART_LCRH(base) (*(volatile unsigned char *)((base) + 0x2c)) @@ -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; }