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/io.c b/arch/arm/mach-msm/io.c
index 8a79af7..f09c6d9 100644
--- a/arch/arm/mach-msm/io.c
+++ b/arch/arm/mach-msm/io.c
@@ -286,6 +286,9 @@
MSM_CHIP_DEVICE(TLMM, COPPER),
MSM_CHIP_DEVICE(TMR, COPPER),
MSM_CHIP_DEVICE(TMR0, COPPER),
+#ifdef CONFIG_DEBUG_MSMCOPPER_UART
+ MSM_DEVICE(DEBUG_UART),
+#endif
};
void __init msm_map_copper_io(void)