RealView: Add uncompressing support to PB11MPCore
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 18 Apr 2008 21:43:13 +0000 (22:43 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 18 Apr 2008 21:43:13 +0000 (22:43 +0100)
This patch adds the UART address detection in uncompress.h for the
PB11MPCore platform.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
include/asm-arm/arch-realview/uncompress.h

index 9b790a7e782dd3d6e69acc4dc7523e55ab198d59..4ebc9c9084424f7ebf46b8ae9821957efa4b58bf 100644 (file)
@@ -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))
@@ -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;
 }