diff mbox

[1/3] mach-msm: add aqp8064 debug uart

Message ID 1387213254-23020-2-git-send-email-robdclark@gmail.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Rob Clark Dec. 16, 2013, 5 p.m. UTC
Signed-off-by: Rob Clark <robdclark@gmail.com>
---
 arch/arm/Kconfig.debug       | 9 +++++++++
 arch/arm/include/debug/msm.S | 5 +++++
 2 files changed, 14 insertions(+)

Comments

Christopher Covington Dec. 16, 2013, 5:26 p.m. UTC | #1
Hi Rob,

Small typo in the subject of this patch (s/aqp/apq/).

Regards,
Christopher
Rob Clark Dec. 16, 2013, 5:39 p.m. UTC | #2
On Mon, Dec 16, 2013 at 12:26 PM, Christopher Covington
<cov@codeaurora.org> wrote:
> Hi Rob,
>
> Small typo in the subject of this patch (s/aqp/apq/).

oh, whoops.. looks like I wasn't minding my p's and q's

(but at a small enough font size, it is pretty hard to tell the difference :-P)

BR,
-R

>
> Regards,
> Christopher
>
> --
> Employee of Qualcomm Innovation Center, Inc.
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> hosted by the Linux Foundation.
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 5765abf..de9207d 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -357,6 +357,15 @@  choice
 		  Say Y here if you want the debug print routines to direct
 		  their output to the serial port on MSM 8960 devices.
 
+	config DEBUG_APQ8064_UART
+		bool "Kernel low-level debugging messages via APQ 8064 UART"
+		depends on ARCH_MSM8960
+		select MSM_HAS_DEBUG_UART_HS
+		select DEBUG_MSM_UART
+		help
+		  Say Y here if you want the debug print routines to direct
+		  their output to the serial port on APQ 8064 devices.
+
 	config DEBUG_MSM8974_UART
 		bool "Kernel low-level debugging messages via MSM 8974 UART"
 		depends on ARCH_MSM8974
diff --git a/arch/arm/include/debug/msm.S b/arch/arm/include/debug/msm.S
index 9d653d4..08dc880 100644
--- a/arch/arm/include/debug/msm.S
+++ b/arch/arm/include/debug/msm.S
@@ -46,6 +46,11 @@ 
 #define MSM_DEBUG_UART_PHYS	0x16440000
 #endif
 
+#ifdef CONFIG_DEBUG_APQ8064_UART
+#define MSM_DEBUG_UART_BASE     0xFA740000
+#define MSM_DEBUG_UART_PHYS     0x16640000
+#endif
+
 #ifdef CONFIG_DEBUG_MSM8974_UART
 #define MSM_DEBUG_UART_BASE	0xFA71E000
 #define MSM_DEBUG_UART_PHYS	0xF991E000