summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-11-15 18:40:17 +0100
committerJuergen Beisert <j.beisert@pengutronix.de>2007-11-15 18:40:17 +0100
commit6e601dc191c6666a12161a8cd23ac62fd2f90ddf (patch)
tree562d5354717f74e1f30e2510881564b1205af04c
parent8e7e44e32cbfcce31eaad7144e3afab33d0af8e3 (diff)
downloadbarebox-6e601dc191c6666a12161a8cd23ac62fd2f90ddf.tar.gz
barebox-6e601dc191c6666a12161a8cd23ac62fd2f90ddf.tar.xz
adding pcm038's macine type
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
-rw-r--r--include/asm-arm/mach-types.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-arm/mach-types.h b/include/asm-arm/mach-types.h
index e09ba3a720..e4cdd91e38 100644
--- a/include/asm-arm/mach-types.h
+++ b/include/asm-arm/mach-types.h
@@ -1153,6 +1153,11 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_HME_PXA 1145
#define MACH_TYPE_DEISTERDCA 1146
+/**
+ * Phytec PCM-038 phyCORE-i.MX27
+ */
+#define MACH_TYPE_PCM038 1551
+
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
# undef machine_arch_type
@@ -14843,4 +14848,16 @@ extern unsigned int __machine_arch_type;
#define machine_arch_type __machine_arch_type
#endif
+#ifdef CONFIG_MACH_PCM038
+# ifdef machine_arch_type
+# undef machine_arch_type
+# define machine_arch_type __machine_arch_type
+# else
+# define machine_arch_type MACH_TYPE_PCM038
+# endif
+# define machine_is_pcm038() (machine_arch_type == MACH_TYPE_SCB9328)
+#else
+# define machine_is_pcm038() (0)
+#endif
+
#endif