From: Catalin Marinas Date: Fri, 18 Apr 2008 21:43:13 +0000 (+0100) Subject: RealView: Add uncompressing support to PB11MPCore X-Git-Tag: v2.6.26-rc1~1131^2~9 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=34401ec4668c01156c6c4540930a63840f567a61;p=~emulex%2Finfiniband.git RealView: Add uncompressing support to PB11MPCore This patch adds the UART address detection in uncompress.h for the PB11MPCore platform. Signed-off-by: Catalin Marinas --- diff --git a/include/asm-arm/arch-realview/uncompress.h b/include/asm-arm/arch-realview/uncompress.h index 9b790a7e782..4ebc9c90844 100644 --- a/include/asm-arm/arch-realview/uncompress.h +++ b/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; }