aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-mxc/board-mx31ads.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-07-05 10:02:51 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2008-07-05 10:02:51 +0200
commit4bc256501a159abc7e9fee43f63c68894f6a11d8 (patch)
tree934b9da94e0dfb720556d24004399784bbe8a8d7 /include/asm-arm/arch-mxc/board-mx31ads.h
parenti.MXC family: Adding timer support (diff)
downloadlinux-dev-4bc256501a159abc7e9fee43f63c68894f6a11d8.tar.xz
linux-dev-4bc256501a159abc7e9fee43f63c68894f6a11d8.zip
MXC: add debug-macro.S for mxc
This patch adds debug-macro.S for arch-mxc Disadvantage: Due to the board specific UART definition, these macros (and compile time) will fail for multi board kernels. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/asm-arm/arch-mxc/board-mx31ads.h')
-rw-r--r--include/asm-arm/arch-mxc/board-mx31ads.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mxc/board-mx31ads.h b/include/asm-arm/arch-mxc/board-mx31ads.h
index 8590127760a8..1bc6fb0f9a83 100644
--- a/include/asm-arm/arch-mxc/board-mx31ads.h
+++ b/include/asm-arm/arch-mxc/board-mx31ads.h
@@ -109,4 +109,9 @@
#define MXC_MAX_EXP_IO_LINES 16
+/* mandatory for CONFIG_LL_DEBUG */
+
+#define MXC_LL_UART_PADDR UART1_BASE_ADDR
+#define MXC_LL_UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR)
+
#endif /* __ASM_ARCH_MXC_BOARD_MX31ADS_H__ */