提交 34401ec4 编写于 作者: C Catalin Marinas

RealView: Add uncompressing support to PB11MPCore

This patch adds the UART address detection in uncompress.h for the
PB11MPCore platform.
Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
上级 e67172f5
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册