/*
 * Automagically generated, don't touch.
 */
#ifndef __ASM_SH_MACHTYPES_H
#define __ASM_SH_MACHTYPES_H

#include <linux/config.h>

/*
 * We'll use the following MACH_xxx defs for placeholders for the time
 * being .. these will all go away once sh_machtype is assigned per-board.
 *
 * For now we leave things the way they are for backwards compatibility.
 */

/* Mach types */
#ifdef CONFIG_SH_SOLUTION_ENGINE
  #define MACH_SE		1
#else
  #define MACH_SE		0
#endif
#ifdef CONFIG_SH_7751_SOLUTION_ENGINE
  #define MACH_7751SE		1
#else
  #define MACH_7751SE		0
#endif
#ifdef CONFIG_SH_7300_SOLUTION_ENGINE
  #define MACH_7300SE		1
#else
  #define MACH_7300SE		0
#endif
#ifdef CONFIG_SH_73180_SOLUTION_ENGINE
  #define MACH_73180SE		1
#else
  #define MACH_73180SE		0
#endif
#ifdef CONFIG_SH_7751_SYSTEMH
  #define MACH_7751SYSTEMH		1
#else
  #define MACH_7751SYSTEMH		0
#endif
#ifdef CONFIG_SH_HP600
  #define MACH_HP600		1
#else
  #define MACH_HP600		0
#endif
#ifdef CONFIG_SH_HP620
  #define MACH_HP620		1
#else
  #define MACH_HP620		0
#endif
#ifdef CONFIG_SH_HP680
  #define MACH_HP680		1
#else
  #define MACH_HP680		0
#endif
#ifdef CONFIG_SH_HP690
  #define MACH_HP690		1
#else
  #define MACH_HP690		0
#endif
#ifdef CONFIG_HD64461
  #define MACH_HD64461		1
#else
  #define MACH_HD64461		0
#endif
#ifdef CONFIG_HD64465
  #define MACH_HD64465		1
#else
  #define MACH_HD64465		0
#endif
#ifdef CONFIG_SH_SH2000
  #define MACH_SH2000		1
#else
  #define MACH_SH2000		0
#endif
#ifdef CONFIG_SH_SATURN
  #define MACH_SATURN		1
#else
  #define MACH_SATURN		0
#endif
#ifdef CONFIG_SH_DREAMCAST
  #define MACH_DREAMCAST		1
#else
  #define MACH_DREAMCAST		0
#endif
#ifdef CONFIG_SH_BIGSUR
  #define MACH_BIGSUR		1
#else
  #define MACH_BIGSUR		0
#endif
#ifdef CONFIG_SH_ADX
  #define MACH_ADX		1
#else
  #define MACH_ADX		0
#endif
#ifdef CONFIG_SH_MPC1211
  #define MACH_MPC1211		1
#else
  #define MACH_MPC1211		0
#endif
#ifdef CONFIG_SH_SECUREEDGE5410
  #define MACH_SNAPGEAR		1
#else
  #define MACH_SNAPGEAR		0
#endif
#ifdef CONFIG_SH_HS7751RVOIP
  #define MACH_HS7751RVOIP		1
#else
  #define MACH_HS7751RVOIP		0
#endif
#ifdef CONFIG_SH_RTS7751R2D
  #define MACH_RTS7751R2D		1
#else
  #define MACH_RTS7751R2D		0
#endif
#ifdef CONFIG_SH_EDOSK7705
  #define MACH_EDOSK7705		1
#else
  #define MACH_EDOSK7705		0
#endif
#ifdef CONFIG_SH_SH4202_MICRODEV
  #define MACH_SH4202_MICRODEV		1
#else
  #define MACH_SH4202_MICRODEV		0
#endif
#ifdef CONFIG_SH_SH03
  #define MACH_SH03		1
#else
  #define MACH_SH03		0
#endif

/* Machtype checks */
#define mach_is_se()			(MACH_SE)
#define mach_is_7751se()			(MACH_7751SE)
#define mach_is_7300se()			(MACH_7300SE)
#define mach_is_73180se()			(MACH_73180SE)
#define mach_is_7751systemh()			(MACH_7751SYSTEMH)
#define mach_is_hp600()			(MACH_HP600)
#define mach_is_hp620()			(MACH_HP620)
#define mach_is_hp680()			(MACH_HP680)
#define mach_is_hp690()			(MACH_HP690)
#define mach_is_hd64461()			(MACH_HD64461)
#define mach_is_hd64465()			(MACH_HD64465)
#define mach_is_sh2000()			(MACH_SH2000)
#define mach_is_saturn()			(MACH_SATURN)
#define mach_is_dreamcast()			(MACH_DREAMCAST)
#define mach_is_bigsur()			(MACH_BIGSUR)
#define mach_is_adx()			(MACH_ADX)
#define mach_is_mpc1211()			(MACH_MPC1211)
#define mach_is_snapgear()			(MACH_SNAPGEAR)
#define mach_is_hs7751rvoip()			(MACH_HS7751RVOIP)
#define mach_is_rts7751r2d()			(MACH_RTS7751R2D)
#define mach_is_edosk7705()			(MACH_EDOSK7705)
#define mach_is_sh4202_microdev()			(MACH_SH4202_MICRODEV)
#define mach_is_sh03()			(MACH_SH03)

#endif /* __ASM_SH_MACHTYPES_H */
