diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 22:43:13 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 22:43:13 +0100 |
commit | 34401ec4668c01156c6c4540930a63840f567a61 (patch) | |
tree | c94185dbbdf6d9d928a32e707330407a4c40259c /include/asm-arm/arch-realview | |
parent | e67172f5793293370a3ded597742b8d12bd42b82 (diff) | |
download | kernel_samsung_smdk4412-34401ec4668c01156c6c4540930a63840f567a61.zip kernel_samsung_smdk4412-34401ec4668c01156c6c4540930a63840f567a61.tar.gz kernel_samsung_smdk4412-34401ec4668c01156c6c4540930a63840f567a61.tar.bz2 |
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 <catalin.marinas@arm.com>
Diffstat (limited to 'include/asm-arm/arch-realview')
-rw-r--r-- | include/asm-arm/arch-realview/uncompress.h | 3 |
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 9b790a7..4ebc9c9 100644 --- a/include/asm-arm/arch-realview/uncompress.h +++ b/include/asm-arm/arch-realview/uncompress.h @@ -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; } |