summaryrefslogtreecommitdiff
path: root/include/asm-arm/mach-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/mach-types.h')
-rw-r--r--include/asm-arm/mach-types.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-arm/mach-types.h b/include/asm-arm/mach-types.h
index 5fd67438b4..c32923200e 100644
--- a/include/asm-arm/mach-types.h
+++ b/include/asm-arm/mach-types.h
@@ -741,6 +741,7 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_AT91SAM9260EK 1099
#define MACH_TYPE_AT91SAM9263EK 1202
#define MACH_TYPE_AT91SAM9RLEK 1326
+#define MACH_TYPE_AT91SAM9G20EK 1624
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
@@ -9454,6 +9455,18 @@ extern unsigned int __machine_arch_type;
# define machine_is_at91sam9rlek() (0)
#endif
+#ifdef CONFIG_MACH_AT91SAM9G20EK
+# ifdef machine_arch_type
+# undef machine_arch_type
+# define machine_arch_type __machine_arch_type
+# else
+# define machine_arch_type MACH_TYPE_AT91SAM9G20EK
+# endif
+# define machine_is_at91sam9g20ek() (machine_arch_type == MACH_TYPE_AT91SAM9G20EK)
+#else
+# define machine_is_at91sam9g20ek() (0)
+#endif
+
/*
* These have not yet been registered
*/