diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-02-06 09:42:26 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-05-07 10:15:08 -0400 |
commit | 54df526819d3bfbc1af3f13aed7a3f9b9fdbdd04 (patch) | |
tree | 30b39e12ed1c186bd56b6a8302a262d5e0926225 /arch/arm/plat-mxc/include | |
parent | 218deaa743fde30033caeb91fa211063620399de (diff) |
[ARM] MX35: Add PCM043 board support
The PCM043 is a i.MX35 based board from Phytec also known as the
phyCORE-i.MX35.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/board-pcm043.h | 27 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/debug-macro.S | 3 |
2 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/board-pcm043.h b/arch/arm/plat-mxc/include/mach/board-pcm043.h new file mode 100644 index 000000000000..15fbdf16abcd --- /dev/null +++ b/arch/arm/plat-mxc/include/mach/board-pcm043.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2008 Sascha Hauer, Pengutronix | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
17 | */ | ||
18 | |||
19 | #ifndef __ASM_ARCH_MXC_BOARD_PCM043_H__ | ||
20 | #define __ASM_ARCH_MXC_BOARD_PCM043_H__ | ||
21 | |||
22 | /* mandatory for CONFIG_LL_DEBUG */ | ||
23 | |||
24 | #define MXC_LL_UART_PADDR UART1_BASE_ADDR | ||
25 | #define MXC_LL_UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR) | ||
26 | |||
27 | #endif /* __ASM_ARCH_MXC_BOARD_PCM043_H__ */ | ||
diff --git a/arch/arm/plat-mxc/include/mach/debug-macro.S b/arch/arm/plat-mxc/include/mach/debug-macro.S index 4f773148bc20..4e7c8d2ad029 100644 --- a/arch/arm/plat-mxc/include/mach/debug-macro.S +++ b/arch/arm/plat-mxc/include/mach/debug-macro.S | |||
@@ -34,6 +34,9 @@ | |||
34 | #ifdef CONFIG_MACH_QONG | 34 | #ifdef CONFIG_MACH_QONG |
35 | #include <mach/board-qong.h> | 35 | #include <mach/board-qong.h> |
36 | #endif | 36 | #endif |
37 | #ifdef CONFIG_MACH_PCM043 | ||
38 | #include <mach/board-pcm043.h> | ||
39 | #endif | ||
37 | .macro addruart,rx | 40 | .macro addruart,rx |
38 | mrc p15, 0, \rx, c1, c0 | 41 | mrc p15, 0, \rx, c1, c0 |
39 | tst \rx, #1 @ MMU enabled? | 42 | tst \rx, #1 @ MMU enabled? |