diff options
author | Fabio Estevam <fabioestevam@yahoo.com> | 2009-04-16 15:45:01 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-05-07 10:16:55 -0400 |
commit | ec9be0debd822d5bd1d5bfdf297144396d56ac6b (patch) | |
tree | eaa59ed2e53d11f7e58e40eb0371a6090a437c6b /arch/arm/plat-mxc | |
parent | 5ed7449a26bf5336ba9828025f54407227e4f379 (diff) |
MX27: Add basic support to MX27PDK
This patch adds basic support to MX27PDK board http://www.freescale.com/imx27pdk ).
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/board-mx27pdk.h | 19 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/debug-macro.S | 3 |
2 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/board-mx27pdk.h b/arch/arm/plat-mxc/include/mach/board-mx27pdk.h new file mode 100644 index 000000000000..552b55d714d8 --- /dev/null +++ b/arch/arm/plat-mxc/include/mach/board-mx27pdk.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | * Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved. | ||
3 | */ | ||
4 | |||
5 | /* | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __ASM_ARCH_MXC_BOARD_MX27PDK_H__ | ||
12 | #define __ASM_ARCH_MXC_BOARD_MX27PDK_H__ | ||
13 | |||
14 | /* mandatory for CONFIG_DEBUG_LL */ | ||
15 | |||
16 | #define MXC_LL_UART_PADDR UART1_BASE_ADDR | ||
17 | #define MXC_LL_UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR) | ||
18 | |||
19 | #endif /* __ASM_ARCH_MXC_BOARD_MX27PDK_H__ */ | ||
diff --git a/arch/arm/plat-mxc/include/mach/debug-macro.S b/arch/arm/plat-mxc/include/mach/debug-macro.S index cc7e89d42874..e6b841b15e36 100644 --- a/arch/arm/plat-mxc/include/mach/debug-macro.S +++ b/arch/arm/plat-mxc/include/mach/debug-macro.S | |||
@@ -40,6 +40,9 @@ | |||
40 | #ifdef CONFIG_MACH_PCM043 | 40 | #ifdef CONFIG_MACH_PCM043 |
41 | #include <mach/board-pcm043.h> | 41 | #include <mach/board-pcm043.h> |
42 | #endif | 42 | #endif |
43 | #ifdef CONFIG_MACH_MX27_3DS | ||
44 | #include <mach/board-mx27pdk.h> | ||
45 | #endif | ||
43 | .macro addruart,rx | 46 | .macro addruart,rx |
44 | mrc p15, 0, \rx, c1, c0 | 47 | mrc p15, 0, \rx, c1, c0 |
45 | tst \rx, #1 @ MMU enabled? | 48 | tst \rx, #1 @ MMU enabled? |