summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/include/mach/mxs.h
diff options
context:
space:
mode:
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