summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/Kconfig
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2009-11-02 13:48:29 +0300
committerDaniel Walker <dwalker@fifo99.com>2009-11-20 17:40:05 +0300
commit6339f6695f84e48b42021c6df91d81b17308fe92 (patch)
tree38be250cc731428524eba5f1c598771f71780304 /arch/arm/mach-msm/Kconfig
parent333a07437c31ea8c16a2b82071629a540ae1e50f (diff)
downloadlinux-6339f6695f84e48b42021c6df91d81b17308fe92.tar.xz
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/Kconfig')
-rw-r--r--arch/arm/mach-msm/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index d140abca690a..35f2a90a2afe 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -3,6 +3,30 @@ if ARCH_MSM
comment "MSM Board Type"
depends on ARCH_MSM
+config MSM_DEBUG_UART
+ int
+ default 1 if MSM_DEBUG_UART1
+ default 2 if MSM_DEBUG_UART2
+ default 3 if MSM_DEBUG_UART3
+
+choice
+ prompt "Debug UART"
+
+ default MSM_DEBUG_UART_NONE
+
+ config MSM_DEBUG_UART_NONE
+ bool "None"
+
+ config MSM_DEBUG_UART1
+ bool "UART1"
+
+ config MSM_DEBUG_UART2
+ bool "UART2"
+
+ config MSM_DEBUG_UART3
+ bool "UART3"
+endchoice
+
config MACH_HALIBUT
depends on ARCH_MSM
default y