[ARM] msm: Add MSM_DEBUG_UART option.
authorArve Hjønnevåg <arve@android.com>
Tue, 18 Nov 2008 22:58:08 +0000 (14:58 -0800)
committerDaniel Walker <dwalker@codeaurora.org>
Wed, 12 May 2010 16:13:53 +0000 (09:13 -0700)
Signed-off-by: Arve Hjønnevåg <arve@android.com>
arch/arm/mach-msm/board-halibut.c

index b8da100..acc2288 100644 (file)
@@ -94,6 +94,10 @@ static void __init halibut_map_io(void)
 }
 
 MACHINE_START(HALIBUT, "Halibut Board (QCT SURF7200A)")
+#ifdef CONFIG_MSM_DEBUG_UART
+       .phys_io        = MSM_DEBUG_UART_PHYS,
+       .io_pg_offst    = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc,
+#endif
        .boot_params    = 0x10000100,
        .fixup          = halibut_fixup,
        .map_io         = halibut_map_io,