From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Cooper Date: Tue, 7 Sep 2010 10:28:12 -0400 Subject: [U-Boot] [PATCH 1/5] add DOCKSTAR machine type In-Reply-To: <1283869696-10077-1-git-send-email-ecc@cmu.edu> References: <1283869696-10077-1-git-send-email-ecc@cmu.edu> Message-ID: <1283869696-10077-2-git-send-email-ecc@cmu.edu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Eric Cooper --- 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