aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/debug-macro.S
diff options
context:
space:
mode:
authorDirk Behme <dirk.behme@de.bosch.com>2012-04-27 10:15:45 +0200
committerShawn Guo <shawn.guo@linaro.org>2012-05-11 15:17:57 +0800
commit785d7fab3eb0c39bcd8086055e7bd144c48158e4 (patch)
tree09acce24a08b86cb4034dd5369dfb1e40a632f65 /arch/arm/plat-mxc/include/mach/debug-macro.S
parentARM: imx6q: register phy fixup only when CONFIG_PHYLIB is enabled (diff)
downloadlinux-dev-785d7fab3eb0c39bcd8086055e7bd144c48158e4.tar.xz
linux-dev-785d7fab3eb0c39bcd8086055e7bd144c48158e4.zip
ARM: imx6: Add UART2 for low-level debug
To be able to enable early debugging on boards using the UART2 for the console, add the option for early debugging on UART2. Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/debug-macro.S')
-rw-r--r--arch/arm/plat-mxc/include/mach/debug-macro.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/debug-macro.S b/arch/arm/plat-mxc/include/mach/debug-macro.S
index 8ddda365f1a0..761e45f9456f 100644
--- a/arch/arm/plat-mxc/include/mach/debug-macro.S
+++ b/arch/arm/plat-mxc/include/mach/debug-macro.S
@@ -24,6 +24,8 @@
#define UART_PADDR MX51_UART1_BASE_ADDR
#elif defined (CONFIG_DEBUG_IMX50_IMX53_UART)
#define UART_PADDR MX53_UART1_BASE_ADDR
+#elif defined (CONFIG_DEBUG_IMX6Q_UART2)
+#define UART_PADDR MX6Q_UART2_BASE_ADDR
#elif defined (CONFIG_DEBUG_IMX6Q_UART4)
#define UART_PADDR MX6Q_UART4_BASE_ADDR
#endif