diff options
author | Robert Schwebel <robert@schwebel.de> | 2008-04-02 05:29:30 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-17 11:15:17 -0400 |
commit | d2db9aaa4a5b9f2a1d54080c13f5ff4fc6d0ae1b (patch) | |
tree | 356086f774a58af35a14f2f6a732e4693719a13c /include/asm-arm/arch-mxc/mxc.h | |
parent | 2c130fd5294499cd94578f8c792e190959372763 (diff) |
[ARM] 4887/1: i.MXC family: Separate current platform code
From: Juergen Beisert <j.beisert@pengutronix.de>
This patch separates the current code into i.MX2 and i.MX3 and modifies
the Kconfig files to reflect this separation in the menus.
Things happend since last review:
- make i.MX3 compile again
- fix some structure names to be conform with all the shared/common
sources from i.MX1/i.MX2
Previous changes:
- stay conform to other Kconfig files (note from Russell King)
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-mxc/mxc.h')
-rw-r--r-- | include/asm-arm/arch-mxc/mxc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mxc/mxc.h b/include/asm-arm/arch-mxc/mxc.h index f1349734b8af..146d3f60951a 100644 --- a/include/asm-arm/arch-mxc/mxc.h +++ b/include/asm-arm/arch-mxc/mxc.h | |||
@@ -15,6 +15,11 @@ | |||
15 | #error "Do not include directly." | 15 | #error "Do not include directly." |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | /* clean up all things that are not used */ | ||
19 | #ifndef CONFIG_ARCH_MX3 | ||
20 | # define cpu_is_mx31() (0) | ||
21 | #endif | ||
22 | |||
18 | /* | 23 | /* |
19 | ***************************************** | 24 | ***************************************** |
20 | * GPT Register definitions * | 25 | * GPT Register definitions * |