diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2009-01-26 10:34:53 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-13 05:33:53 -0400 |
commit | 260a1fd26c62af482a22c6b31cc7882b4ec980d2 (patch) | |
tree | 358b432297a42123ac3970999ac9e1add47d5dd2 /arch/arm/plat-mxc/include/mach/mxc.h | |
parent | 058b7a6f465bebd87c1f295afdd56cc6a33dffbd (diff) |
arm/imx2x: split i.MX21/i.MX27 register definitions
* define new CONFIG_ARCH_MX21 (this one is currently mutually exclusive to
CONFIG_ARCH_MX27, but this might change)
* splits one header file. Memory definitions, interrupt sources,
DMA channels are split into common part, i.MX27 specific and i.MX21
specific.
* guard access to UART5/UART6, which don't exist on i.MX21
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mxc.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mxc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc.h b/arch/arm/plat-mxc/include/mach/mxc.h index bbd848e004d7..d6b0c472cd97 100644 --- a/arch/arm/plat-mxc/include/mach/mxc.h +++ b/arch/arm/plat-mxc/include/mach/mxc.h | |||
@@ -37,6 +37,10 @@ | |||
37 | # define cpu_is_mx27() (0) | 37 | # define cpu_is_mx27() (0) |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #ifndef CONFIG_MACH_MX21 | ||
41 | # define cpu_is_mx21() (0) | ||
42 | #endif | ||
43 | |||
40 | #if defined(CONFIG_ARCH_MX3) || defined(CONFIG_ARCH_MX2) | 44 | #if defined(CONFIG_ARCH_MX3) || defined(CONFIG_ARCH_MX2) |
41 | #define CSCR_U(n) (IO_ADDRESS(WEIM_BASE_ADDR) + n * 0x10) | 45 | #define CSCR_U(n) (IO_ADDRESS(WEIM_BASE_ADDR) + n * 0x10) |
42 | #define CSCR_L(n) (IO_ADDRESS(WEIM_BASE_ADDR) + n * 0x10 + 0x4) | 46 | #define CSCR_L(n) (IO_ADDRESS(WEIM_BASE_ADDR) + n * 0x10 + 0x4) |