aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mxc/mxc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-mxc/mxc.h')
-rw-r--r--include/asm-arm/arch-mxc/mxc.h5
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 f1349734b8a..146d3f60951 100644
--- a/include/asm-arm/arch-mxc/mxc.h
+++ b/include/asm-arm/arch-mxc/mxc.h
@@ -15,6 +15,11 @@
#error "Do not include directly."
#endif
+/* clean up all things that are not used */
+#ifndef CONFIG_ARCH_MX3
+# define cpu_is_mx31() (0)
+#endif
+
/*
*****************************************
* GPT Register definitions *