]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: 7860/1: debug: msm: Add DEBUG_LL support for ARCH_MSM8974
authorRohit Vaswani <rvaswani@codeaurora.org>
Thu, 17 Oct 2013 21:15:35 +0000 (22:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 29 Oct 2013 11:06:21 +0000 (11:06 +0000)
Add debug uart support for MSM8974. This patch adds a Kconfig
entry and the base address for the debug uart.

Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig.debug
arch/arm/include/debug/msm.S

index 8e9665d5fed3e70f46458843625b8a585ce28d49..a8f305b07f296c9b352a7f5faa4ee9a56d3d9758 100644 (file)
@@ -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_MSM8974_UART
+               bool "Kernel low-level debugging messages via MSM 8974 UART"
+               depends on ARCH_MSM8974
+               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 MSM 8974 devices.
+
        config DEBUG_MVEBU_UART
                bool "Kernel low-level debugging messages via MVEBU UART (old bootloaders)"
                depends on ARCH_MVEBU
index 9166e1bc470e0153107f059ddd5fbec2570fb5a6..9d653d475903b56ea14e3e7c568319c963d9ceca 100644 (file)
 #ifdef CONFIG_DEBUG_MSM8960_UART
 #define MSM_DEBUG_UART_BASE    0xF0040000
 #define MSM_DEBUG_UART_PHYS    0x16440000
+#endif
+
+#ifdef CONFIG_DEBUG_MSM8974_UART
+#define MSM_DEBUG_UART_BASE    0xFA71E000
+#define MSM_DEBUG_UART_PHYS    0xF991E000
 #endif
 
        .macro  addruart, rp, rv, tmp