msm: Support DEBUG_LL on MSM Copper
Use new config MSM_HAS_DEBUG_UART_HS instead of SERIAL_MSM_HSL so
as to remove dependency on serial driver to be enabled for DEBUG_LL
functionality.
Update register mappings to support UARTDM core v1.4 in
debug-macro.S and uncompress.h and add IO mappings for
debug uart.
Change-Id: If7a95d568cc4128b229e8f20a398fa63efb34924
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index 2d681fa..e5f7449 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -712,9 +712,21 @@
bool "6.2.20 + New ADSP"
endchoice
+config MSM_HAS_DEBUG_UART_HS
+ bool
+ help
+ Say Y here if high speed MSM UART is present.
+
+config MSM_HAS_DEBUG_UART_HS_V14
+ bool
+ select MSM_HAS_DEBUG_UART_HS
+ help
+ Say Y here if high speed MSM UART v1.4 is present.
+
config DEBUG_MSM8930_UART
bool "Kernel low-level debugging messages via MSM 8930 UART"
depends on ARCH_MSM8930 && DEBUG_LL
+ select MSM_HAS_DEBUG_UART_HS
help
Say Y here if you want the debug print routines to direct
their output to the serial port on MSM 8930 devices.
@@ -747,6 +759,7 @@
config DEBUG_MSM8660_UART
bool "Kernel low-level debugging messages via MSM 8660 UART"
depends on ARCH_MSM8X60
+ select MSM_HAS_DEBUG_UART_HS
help
Say Y here if you want the debug print routines to direct
their output to the serial port on MSM 8660 devices.
@@ -755,9 +768,18 @@
bool "Kernel low-level debugging messages via MSM 8960 UART"
depends on ARCH_MSM8960
select DEBUG_MSM8930_UART
+ select MSM_HAS_DEBUG_UART_HS
help
Say Y here if you want the debug print routines to direct
their output to the serial port on MSM 8960 devices.
+
+ config DEBUG_MSMCOPPER_UART
+ bool "Kernel low-level debugging messages via MSM Copper UART"
+ depends on ARCH_MSMCOPPER
+ select MSM_HAS_DEBUG_UART_HS_V14
+ help
+ Say Y here if you want the debug print routines to direct
+ their output to the serial port on MSM Copper devices.
endchoice
choice