From 6e601dc191c6666a12161a8cd23ac62fd2f90ddf Mon Sep 17 00:00:00 2001 From: Juergen Beisert Date: Thu, 15 Nov 2007 18:40:17 +0100 Subject: adding pcm038's macine type Signed-off-by: Juergen Beisert --- include/asm-arm/mach-types.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- cgit v1.2.3