From: Russell King Date: Fri, 28 Jan 2011 20:57:57 +0000 (+0000) Subject: ARM: footbridge: fix debug macros X-Git-Tag: upstream/snapshot3+hdmi~11555^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f2c1b30c7f60670c8b9d1cb1ea7c818b9c743a6;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ARM: footbridge: fix debug macros 0ea1293 (arm: return both physical and virtual addresses from addruart) changed the way the 'addruart' worked, making it return both the virt and phys addresses. Unfortunately, for footbridge, these were reversed. Fix that. Tested on Netwinder. Signed-off-by: Russell King --- diff --git a/arch/arm/mach-footbridge/include/mach/debug-macro.S b/arch/arm/mach-footbridge/include/mach/debug-macro.S index 3c9e0c4..30b971d 100644 --- a/arch/arm/mach-footbridge/include/mach/debug-macro.S +++ b/arch/arm/mach-footbridge/include/mach/debug-macro.S @@ -17,8 +17,8 @@ /* For NetWinder debugging */ .macro addruart, rp, rv mov \rp, #0x000003f8 - orr \rv, \rp, #0x7c000000 @ physical - orr \rp, \rp, #0xff000000 @ virtual + orr \rv, \rp, #0xff000000 @ virtual + orr \rp, \rp, #0x7c000000 @ physical .endm #define UART_SHIFT 0