[U-Boot] [PATCH 1/5] add DOCKSTAR machine type

Eric Cooper ecc at cmu.edu
Tue Sep 7 16:28:12 CEST 2010


Signed-off-by: Eric Cooper <ecc at cmu.edu>
---
 arch/arm/include/asm/mach-types.h |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/mach-types.h b/arch/arm/include/asm/mach-types.h
index fd28d2b..e0b6090 100644
--- a/arch/arm/include/asm/mach-types.h
+++ b/arch/arm/include/asm/mach-types.h
@@ -2946,6 +2946,7 @@ extern unsigned int __machine_arch_type;
 #define MACH_TYPE_NETVIZ               2964
 #define MACH_TYPE_FLEXIBITY            2965
 #define MACH_TYPE_WLAN_COMPUTER        2966
+#define MACH_TYPE_DOCKSTAR             2998
 
 #ifdef CONFIG_ARCH_EBSA110
 # ifdef machine_arch_type
@@ -38155,6 +38156,18 @@ extern unsigned int __machine_arch_type;
 # define machine_is_wlan_computer()	(0)
 #endif
 
+#ifdef CONFIG_MACH_DOCKSTAR
+# ifdef machine_arch_type
+#  undef machine_arch_type
+#  define machine_arch_type	__machine_arch_type
+# else
+#  define machine_arch_type	MACH_TYPE_DOCKSTAR
+# endif
+# define machine_is_dockstar()	(machine_arch_type == MACH_TYPE_DOCKSTAR)
+#else
+# define machine_is_dockstar()	(0)
+#endif
+
 /*
  * These have not yet been registered
  */
-- 
1.7.1



More information about the U-Boot mailing list