summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/include/mach/mxs.h
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2010-12-10 16:22:47 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-07 19:29:07 +0100
commit1cb59f9f79f4ed89845f6f8bebf0273442e1ccd5 (patch)
treed9455a01c8ec8a8218284468c117575930117f21 /arch/arm/mach-mxs/include/mach/mxs.h
parentccb24d50b7ee242a2bf2dd208193f7335a3a0d7d (diff)
ARM: mxs: Initial support for Ka-Ro TX28
Based on code created by Lothar Waßmann, Sascha Hauer, Wolfram Sang and me. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/include/mach/mxs.h')
-rw-r--r--arch/arm/mach-mxs/include/mach/mxs.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-mxs/include/mach/mxs.h b/arch/arm/mach-mxs/include/mach/mxs.h
index f186c08c291..35a89dd2724 100644
--- a/arch/arm/mach-mxs/include/mach/mxs.h
+++ b/arch/arm/mach-mxs/include/mach/mxs.h
@@ -28,8 +28,13 @@
/*
* MXS CPU types
*/
-#define cpu_is_mx23() (machine_is_mx23evk())
-#define cpu_is_mx28() (machine_is_mx28evk())
+#define cpu_is_mx23() ( \
+ machine_is_mx23evk() || \
+ 0)
+#define cpu_is_mx28() ( \
+ machine_is_mx28evk() || \
+ machine_is_tx28() || \
+ 0)
/*
* IO addresses common to MXS-based