diff options
author | Dmitriy Taychenachev <dimichxp@gmail.com> | 2009-07-31 15:29:22 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-14 14:40:46 +0400 |
commit | fd6ac7bb9d671d36fd7536c68fde977d197756ab (patch) | |
tree | 4c1993ee4079a55c6d621b46dba4826b92e3c028 /arch/arm/plat-mxc/include/mach/debug-macro.S | |
parent | 8e5be212cba6675dc363a224ce4a98bb07039b4b (diff) | |
download | linux-fd6ac7bb9d671d36fd7536c68fde977d197756ab.tar.xz |
MXC: add basic MXC91231 support
Signed-off-by: Dmitriy Taychenachev <dimichxp@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/debug-macro.S')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/debug-macro.S | 8 |
1 files changed, 8 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 bf683de56b76..15b2b148a105 100644 --- a/arch/arm/plat-mxc/include/mach/debug-macro.S +++ b/arch/arm/plat-mxc/include/mach/debug-macro.S @@ -44,6 +44,14 @@ #define UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR) #endif +#ifdef CONFIG_ARCH_MXC91231 +#ifdef UART_PADDR +#error "CONFIG_DEBUG_LL is incompatible with multiple archs" +#endif +#include <mach/mxc91231.h> +#define UART_PADDR MXC91231_UART2_BASE_ADDR +#define UART_VADDR MXC91231_AIPS1_IO_ADDRESS(MXC91231_UART2_BASE_ADDR) +#endif .macro addruart,rx mrc p15, 0, \rx, c1, c0 tst \rx, #1 @ MMU enabled? |