From: Catalin Marinas Date: Fri, 18 Apr 2008 21:43:16 +0000 (+0100) Subject: RealView: Add uncompressing support for PB1176 X-Git-Tag: v2.6.26-rc1~1131^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14a6acc23fa49446529bd99742264192939819bc;p=linux-2.6 RealView: Add uncompressing support for PB1176 This patch adds the UART0 base address detection in uncompress.h. Signed-off-by: Catalin Marinas --- diff --git a/include/asm-arm/arch-realview/uncompress.h b/include/asm-arm/arch-realview/uncompress.h index 4ebc9c9084..4c905d7a13 100644 --- a/include/asm-arm/arch-realview/uncompress.h +++ b/include/asm-arm/arch-realview/uncompress.h @@ -22,6 +22,7 @@ #include #include +#include #define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00)) #define AMBA_UART_LCRH(base) (*(volatile unsigned char *)((base) + 0x2c)) @@ -37,6 +38,8 @@ static inline unsigned long get_uart_base(void) return REALVIEW_EB_UART0_BASE; else if (machine_is_realview_pb11mp()) return REALVIEW_PB11MP_UART0_BASE; + else if (machine_is_realview_pb1176()) + return REALVIEW_PB1176_UART0_BASE; else return 0; }