diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-07-05 04:02:52 -0400 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-07-05 04:02:52 -0400 |
commit | ce8ffef0bfd6e55d5da3923d8e9af27c3b5c4eff (patch) | |
tree | e8b8fe408418ebd90fd6608ec26df7a12ac6e3c6 /include/asm-arm/arch-mxc | |
parent | 1b53218bfa4c0e17fc16ff7fadb85b82bbd3c77c (diff) |
MX31: add basic pcm037 board support
This patch adds basic board support for phytecs pmc037 board.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/asm-arm/arch-mxc')
-rw-r--r-- | include/asm-arm/arch-mxc/board-pcm037.h | 27 | ||||
-rw-r--r-- | include/asm-arm/arch-mxc/debug-macro.S | 3 |
2 files changed, 30 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mxc/board-pcm037.h b/include/asm-arm/arch-mxc/board-pcm037.h new file mode 100644 index 000000000000..82232ba3c8fc --- /dev/null +++ b/include/asm-arm/arch-mxc/board-pcm037.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_PCM037_H__ | ||
20 | #define __ASM_ARCH_MXC_BOARD_PCM037_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_PCM037_H__ */ | ||
diff --git a/include/asm-arm/arch-mxc/debug-macro.S b/include/asm-arm/arch-mxc/debug-macro.S index 34befbb2ea42..81caa0aacfef 100644 --- a/include/asm-arm/arch-mxc/debug-macro.S +++ b/include/asm-arm/arch-mxc/debug-macro.S | |||
@@ -16,6 +16,9 @@ | |||
16 | #ifdef CONFIG_MACH_MX31ADS | 16 | #ifdef CONFIG_MACH_MX31ADS |
17 | #include <asm/arch/board-mx31ads.h> | 17 | #include <asm/arch/board-mx31ads.h> |
18 | #endif | 18 | #endif |
19 | #ifdef CONFIG_MACH_PCM037 | ||
20 | #include <asm/arch/board-pcm037.h> | ||
21 | #endif | ||
19 | 22 | ||
20 | .macro addruart,rx | 23 | .macro addruart,rx |
21 | mrc p15, 0, \rx, c1, c0 | 24 | mrc p15, 0, \rx, c1, c0 |