aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2011-09-28 12:24:51 +0159
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2011-09-28 12:24:51 +0159
commit97c9dd730514fc0d0f5fe7c977e6ab0901402eef (patch)
treea0b5ec7ae344797935a578e195ac8927a68c3671
parent9b1b03f886a7206b536bf1925a60c84e3c368fa2 (diff)
downloadimx53-97c9dd730514fc0d0f5fe7c977e6ab0901402eef.tar.gz
plat-mxc: Use MX53_UART1_BASE_ADDR if building for SOC_IMX53HEADlinaro-android-3.0
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--arch/arm/plat-mxc/include/mach/debug-macro.S4
1 files changed, 4 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 8e8d175e507..5d529c58836 100644
--- a/arch/arm/plat-mxc/include/mach/debug-macro.S
+++ b/arch/arm/plat-mxc/include/mach/debug-macro.S
@@ -41,8 +41,12 @@
#ifdef UART_PADDR
#error "CONFIG_DEBUG_LL is incompatible with multiple archs"
#endif
+#ifdef CONFIG_SOC_IMX53
+#define UART_PADDR MX53_UART1_BASE_ADDR
+#else
#define UART_PADDR MX51_UART1_BASE_ADDR
#endif
+#endif
#define UART_VADDR IMX_IO_ADDRESS(UART_PADDR)