diff options
author | Pavel Machek <pavel@ucw.cz> | 2009-11-02 13:48:29 +0300 |
---|---|---|
committer | Daniel Walker <dwalker@fifo99.com> | 2009-11-20 17:40:05 +0300 |
commit | 6339f6695f84e48b42021c6df91d81b17308fe92 (patch) | |
tree | 38be250cc731428524eba5f1c598771f71780304 /arch/arm/mach-msm/io.c | |
parent | 333a07437c31ea8c16a2b82071629a540ae1e50f (diff) | |
download | linux-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/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 = { MSM_DEVICE(GPIO1), MSM_DEVICE(GPIO2), MSM_DEVICE(CLK_CTL), +#ifdef CONFIG_MSM_DEBUG_UART + MSM_DEVICE(DEBUG_UART), +#endif { .virtual = (unsigned long) MSM_SHARED_RAM_BASE, .pfn = __phys_to_pfn(MSM_SHARED_RAM_PHYS), |