[PATCH 1/2] ARM: msm: Add support for MSM8974 Dragonboard
From: Josh Cartwright <hidden>
Date: 2013-09-11 18:13:05
Also in:
linux-arm-msm, linux-devicetree, lkml
Hey Ivan- On Tue, Aug 06, 2013 at 12:14:46PM +0300, Ivan T. Ivanov wrote: [..]
Enable low-level debug print routines to direct their output to the serial port on MSM 8974 devices. Signed-off-by: Ivan T. Ivanov <redacted> --- arch/arm/Kconfig.debug | 8 ++++++++ arch/arm/mach-msm/board-dt-8974.c | 2 ++ arch/arm/mach-msm/include/mach/msm_iomap.h | 4 ++++ 3 files changed, 14 insertions(+)
[..]
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-msm/board-dt-8974.c b/arch/arm/mach-msm/board-dt-8974.c index 697623e..0ce016a 100644 --- a/arch/arm/mach-msm/board-dt-8974.c +++ b/arch/arm/mach-msm/board-dt-8974.c@@ -12,6 +12,7 @@ #include <linux/of_platform.h> #include <asm/mach/arch.h> +#include <asm/mach/map.h> static const char * const msm8974_dt_match[] __initconst = { "qcom,msm8974-db",@@ -20,4 +21,5 @@ static const char * const msm8974_dt_match[] __initconst = { DT_MACHINE_START(MSM8974_DT, "Qualcomm MSM (Flattened Device Tree)") .dt_compat = msm8974_dt_match, + .map_io = debug_ll_io_init,
If/when you get this patch cooked up ontop of Rohit's, changes to this
file (renamed to board-dt.c) should not be necessary. As of bc37324
("ARM: mmu: Call debug_ll_io_init if no map_io function is specified"),
the debug ll uart mapping is setup automatically.
Thanks,
Josh
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation