|
@@ -19,7 +19,7 @@
|
|
#include <mach/hardware.h>
|
|
#include <mach/hardware.h>
|
|
#include <mach/msm_iomap.h>
|
|
#include <mach/msm_iomap.h>
|
|
|
|
|
|
-#ifdef CONFIG_HAS_MSM_DEBUG_UART_PHYS
|
|
|
|
|
|
+#if defined(CONFIG_HAS_MSM_DEBUG_UART_PHYS) && !defined(CONFIG_MSM_DEBUG_UART_NONE)
|
|
.macro addruart, rp, rv
|
|
.macro addruart, rp, rv
|
|
ldr \rp, =MSM_DEBUG_UART_PHYS
|
|
ldr \rp, =MSM_DEBUG_UART_PHYS
|
|
ldr \rv, =MSM_DEBUG_UART_BASE
|
|
ldr \rv, =MSM_DEBUG_UART_BASE
|