summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/include/mach/msm_iomap.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-12-11 20:46:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-11 20:46:51 -0800
commitc4e194e3b71ff4fed01d727c32ee1071921d28a3 (patch)
treef3d237e46ee08c15693e14c15ed1f93c1946c560 /arch/arm/mach-msm/include/mach/msm_iomap.h
parent2fe77b81c77eed92c4c0439f74c8148a295b4a86 (diff)
parent3989d17847071fa94c93299805a9cca27cf65d26 (diff)
Merge branch 'for-linus' of git://codeaurora.org/quic/kernel/dwalker/linux-msm
* 'for-linus' of git://codeaurora.org/quic/kernel/dwalker/linux-msm: HTC Dream: mmc compilation fixes video: Allow selecting MSM framebuffer in Kconfig Add arm msm maintainer entry msm: Add memory map for HTC Dream msm: add minimal board file for HTC Dream device msm: make debugging UART (for DEBUG_LL) configurable
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 2f7b4c8620d9..9dae1a98c77a 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