diff options
author | Pavel Machek <pavel@ucw.cz> | 2009-11-02 05:48:29 -0500 |
---|---|---|
committer | Daniel Walker <dwalker@fifo99.com> | 2009-11-20 09:40:05 -0500 |
commit | 6339f6695f84e48b42021c6df91d81b17308fe92 (patch) | |
tree | 38be250cc731428524eba5f1c598771f71780304 /arch/arm/mach-msm/io.c | |
parent | 333a07437c31ea8c16a2b82071629a540ae1e50f (diff) |
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/io.c')
-rw-r--r-- | arch/arm/mach-msm/io.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c index 6e7692ff6f2c..1c5e7dac086f 100644 --- a/arch/arm/mach-msm/io.c +++ b/arch/arm/mach-msm/io.c | |||
@@ -42,6 +42,9 @@ static struct map_desc msm_io_desc[] __initdata = { | |||
42 | MSM_DEVICE(GPIO1), | 42 | MSM_DEVICE(GPIO1), |
43 | MSM_DEVICE(GPIO2), | 43 | MSM_DEVICE(GPIO2), |
44 | MSM_DEVICE(CLK_CTL), | 44 | MSM_DEVICE(CLK_CTL), |
45 | #ifdef CONFIG_MSM_DEBUG_UART | ||
46 | MSM_DEVICE(DEBUG_UART), | ||
47 | #endif | ||
45 | { | 48 | { |
46 | .virtual = (unsigned long) MSM_SHARED_RAM_BASE, | 49 | .virtual = (unsigned long) MSM_SHARED_RAM_BASE, |
47 | .pfn = __phys_to_pfn(MSM_SHARED_RAM_PHYS), | 50 | .pfn = __phys_to_pfn(MSM_SHARED_RAM_PHYS), |