aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/include/mach/msm_iomap.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2009-11-02 11:48:29 +0100
committerDaniel Walker <dwalker@fifo99.com>2009-11-20 06:40:05 -0800
commit6339f6695f84e48b42021c6df91d81b17308fe92 (patch)
tree38be250cc731428524eba5f1c598771f71780304 /arch/arm/mach-msm/include/mach/msm_iomap.h
parent333a07437c31ea8c16a2b82071629a540ae1e50f (diff)
downloadkernel_samsung_smdk4412-6339f6695f84e48b42021c6df91d81b17308fe92.zip
kernel_samsung_smdk4412-6339f6695f84e48b42021c6df91d81b17308fe92.tar.gz
kernel_samsung_smdk4412-6339f6695f84e48b42021c6df91d81b17308fe92.tar.bz2
msm: make debugging UART (for DEBUG_LL) configurable
Provides options to select one of the three "lowspeed" UARTs on MSM7k SoCs for DEBUG_LL output from the zImage decompressor and kernel. Signed-off-by: Brian Swetland <swetland@google.com> Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/include/mach/msm_iomap.h')
-rw-r--r--arch/arm/mach-msm/include/mach/msm_iomap.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/include/mach/msm_iomap.h b/arch/arm/mach-msm/include/mach/msm_iomap.h
index 2f7b4c8..9dae1a9 100644
--- a/arch/arm/mach-msm/include/mach/msm_iomap.h
+++ b/arch/arm/mach-msm/include/mach/msm_iomap.h
@@ -84,6 +84,18 @@
#define MSM_UART3_PHYS 0xA9C00000
#define MSM_UART3_SIZE SZ_4K
+#ifdef CONFIG_MSM_DEBUG_UART
+#define MSM_DEBUG_UART_BASE 0xE1000000
+#if CONFIG_MSM_DEBUG_UART == 1
+#define MSM_DEBUG_UART_PHYS MSM_UART1_PHYS
+#elif CONFIG_MSM_DEBUG_UART == 2
+#define MSM_DEBUG_UART_PHYS MSM_UART2_PHYS
+#elif CONFIG_MSM_DEBUG_UART == 3
+#define MSM_DEBUG_UART_PHYS MSM_UART3_PHYS
+#endif
+#define MSM_DEBUG_UART_SIZE SZ_4K
+#endif
+
#define MSM_SDC1_PHYS 0xA0400000
#define MSM_SDC1_SIZE SZ_4K