diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-02-06 09:38:22 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-13 05:34:26 -0400 |
commit | 198016e1b12d781ef00aaafbf571775a8e723f54 (patch) | |
tree | d2d45593f7c5e3ce9a703081e78fd5c6b5c29386 /arch/arm/plat-mxc/include/mach/mx21.h | |
parent | c0a5f85523132dc893916d6059370233fac1cb11 (diff) |
[ARM] MXC: add cpu_is_ macros
We had hardcoded cpu_is_ macros for mxc architectures till now. As we
want to run the same kernel on i.MX31 and i.MX35 this patch adds cpu_is_
macros which expand to 0 or 1 if only one architecture is compiled in and
only check for the cpu type if more than one architecture is compiled
in.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx21.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx21.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx21.h b/arch/arm/plat-mxc/include/mach/mx21.h index cfdbe051caf6..e8c4cf56c24e 100644 --- a/arch/arm/plat-mxc/include/mach/mx21.h +++ b/arch/arm/plat-mxc/include/mach/mx21.h | |||
@@ -54,9 +54,6 @@ | |||
54 | 54 | ||
55 | #define IRAM_BASE_ADDR 0xFFFFE800 /* internal ram */ | 55 | #define IRAM_BASE_ADDR 0xFFFFE800 /* internal ram */ |
56 | 56 | ||
57 | /* this is an i.MX21 CPU */ | ||
58 | #define cpu_is_mx21() (1) | ||
59 | |||
60 | /* this CPU supports up to 192 GPIOs (don't forget the baseboard!) */ | 57 | /* this CPU supports up to 192 GPIOs (don't forget the baseboard!) */ |
61 | #define ARCH_NR_GPIOS (6*32 + 16) | 58 | #define ARCH_NR_GPIOS (6*32 + 16) |
62 | 59 | ||