From 31d5a235df6cac6018b2182f048e38c1a4dbad6d Mon Sep 17 00:00:00 2001
From: Santosh Shilimkar <santosh.shilimkar@ti.com>
Date: Sat, 16 Jan 2010 03:33:00 +0530
Subject: [PATCH] Update DEBUG_LL for OMAP4

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
---
 arch/arm/mach-omap2/include/mach/debug-macro.S |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/include/mach/debug-macro.S b/arch/arm/mach-omap2/include/mach/debug-macro.S
index 1b83584..515b163 100644
--- a/arch/arm/mach-omap2/include/mach/debug-macro.S
+++ b/arch/arm/mach-omap2/include/mach/debug-macro.S
@@ -53,6 +53,8 @@ omap_uart_virt:	.word	0x0
 		beq	23f			@ configure OMAP2UART3
 		cmp	\rx, #OMAP3UART3	@ only on 34xx
 		beq	33f			@ configure OMAP3UART3
+		cmp	\rx, #OMAP4UART3	@ only on 44xx
+		beq	44f			@ configure OMAP4UART3
 
 		/* Configure the UART offset from the phys/virt base */
 21:		mov	\rx, #0x0006a000	@ OMAP2/3/4UART1
@@ -66,6 +68,7 @@ omap_uart_virt:	.word	0x0
 33:		mov	\rx, #0x0006a000	@ OMAP2/3/4UART1
 		add	\rx, \rx, #0x00fb0000
 		add	\rx, \rx, #0x00006000	@ OMAP3UART3
+44:		mov	\rx, #0x00020000	@ OMAP4UART3
 
 		/* Store both phys and virt address for the uart */
 98:		add	\rx, \rx, #0x48000000	@ phys base
-- 
1.6.0.4

