| Revision | c7977858dcf1f656cbe91ea0dc3cb9139c6a8cc8 (tree) |
|---|---|
| Time | 2011-02-21 16:30:55 |
| Author | Sandeep Paulraj <s-paulraj@ti.c...> |
| Commiter | Albert Aribaud |
ARM: Update mach-types
This commit updates the mach-types based on the latest
in linus's head
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| @@ -2236,7 +2236,7 @@ extern unsigned int __machine_arch_type; | ||
| 2236 | 2236 | #define MACH_TYPE_VS_V210 2252 |
| 2237 | 2237 | #define MACH_TYPE_VS_V212 2253 |
| 2238 | 2238 | #define MACH_TYPE_HMT 2254 |
| 2239 | -#define MACH_TYPE_SUEN3 2255 | |
| 2239 | +#define MACH_TYPE_KM_KIRKWOOD 2255 | |
| 2240 | 2240 | #define MACH_TYPE_VESPER 2256 |
| 2241 | 2241 | #define MACH_TYPE_STR9 2257 |
| 2242 | 2242 | #define MACH_TYPE_OMAP3_WL_FF 2258 |
| @@ -2983,7 +2983,7 @@ extern unsigned int __machine_arch_type; | ||
| 2983 | 2983 | #define MACH_TYPE_EA20 3002 |
| 2984 | 2984 | #define MACH_TYPE_AWM2 3003 |
| 2985 | 2985 | #define MACH_TYPE_TI8148EVM 3004 |
| 2986 | -#define MACH_TYPE_TEGRA_SEABOARD 3005 | |
| 2986 | +#define MACH_TYPE_SEABOARD 3005 | |
| 2987 | 2987 | #define MACH_TYPE_LINKSTATION_CHLV2 3006 |
| 2988 | 2988 | #define MACH_TYPE_TERA_PRO2_RACK 3007 |
| 2989 | 2989 | #define MACH_TYPE_RUBYS 3008 |
| @@ -3186,7 +3186,7 @@ extern unsigned int __machine_arch_type; | ||
| 3186 | 3186 | #define MACH_TYPE_ICS_IF_VOIP 3206 |
| 3187 | 3187 | #define MACH_TYPE_WLF_CRAGG_6410 3207 |
| 3188 | 3188 | #define MACH_TYPE_PUNICA 3208 |
| 3189 | -#define MACH_TYPE_SBC_NT250 3209 | |
| 3189 | +#define MACH_TYPE_TRIMSLICE 3209 | |
| 3190 | 3190 | #define MACH_TYPE_MX27_WMULTRA 3210 |
| 3191 | 3191 | #define MACH_TYPE_MACKEREL 3211 |
| 3192 | 3192 | #define MACH_TYPE_FA9X27 3213 |
| @@ -3215,6 +3215,103 @@ extern unsigned int __machine_arch_type; | ||
| 3215 | 3215 | #define MACH_TYPE_PCM048 3236 |
| 3216 | 3216 | #define MACH_TYPE_DDS 3237 |
| 3217 | 3217 | #define MACH_TYPE_CHALTEN_XA1 3238 |
| 3218 | +#define MACH_TYPE_TS48XX 3239 | |
| 3219 | +#define MACH_TYPE_TONGA2_TFTTIMER 3240 | |
| 3220 | +#define MACH_TYPE_WHISTLER 3241 | |
| 3221 | +#define MACH_TYPE_ASL_PHOENIX 3242 | |
| 3222 | +#define MACH_TYPE_AT91SAM9263OTLITE 3243 | |
| 3223 | +#define MACH_TYPE_DDPLUG 3244 | |
| 3224 | +#define MACH_TYPE_D2PLUG 3245 | |
| 3225 | +#define MACH_TYPE_KZM9D 3246 | |
| 3226 | +#define MACH_TYPE_VERDI_LTE 3247 | |
| 3227 | +#define MACH_TYPE_NANOZOOM 3248 | |
| 3228 | +#define MACH_TYPE_DM3730_SOM_LV 3249 | |
| 3229 | +#define MACH_TYPE_DM3730_TORPEDO 3250 | |
| 3230 | +#define MACH_TYPE_ANCHOVY 3251 | |
| 3231 | +#define MACH_TYPE_RE2REV20 3253 | |
| 3232 | +#define MACH_TYPE_RE2REV21 3254 | |
| 3233 | +#define MACH_TYPE_CNS21XX 3255 | |
| 3234 | +#define MACH_TYPE_RIDER 3257 | |
| 3235 | +#define MACH_TYPE_NSK330 3258 | |
| 3236 | +#define MACH_TYPE_CNS2133EVB 3259 | |
| 3237 | +#define MACH_TYPE_Z3_816X_MOD 3260 | |
| 3238 | +#define MACH_TYPE_Z3_814X_MOD 3261 | |
| 3239 | +#define MACH_TYPE_BEECT 3262 | |
| 3240 | +#define MACH_TYPE_DMA_THUNDERBUG 3263 | |
| 3241 | +#define MACH_TYPE_OMN_AT91SAM9G20 3264 | |
| 3242 | +#define MACH_TYPE_MX25_E2S_UC 3265 | |
| 3243 | +#define MACH_TYPE_MIONE 3266 | |
| 3244 | +#define MACH_TYPE_TOP9000_TCU 3267 | |
| 3245 | +#define MACH_TYPE_TOP9000_BSL 3268 | |
| 3246 | +#define MACH_TYPE_KINGDOM 3269 | |
| 3247 | +#define MACH_TYPE_ARMADILLO460 3270 | |
| 3248 | +#define MACH_TYPE_LQ2 3271 | |
| 3249 | +#define MACH_TYPE_SWEDA_TMS2 3272 | |
| 3250 | +#define MACH_TYPE_MX53_LOCO 3273 | |
| 3251 | +#define MACH_TYPE_ACER_A8 3275 | |
| 3252 | +#define MACH_TYPE_ACER_GAUGUIN 3276 | |
| 3253 | +#define MACH_TYPE_GUPPY 3277 | |
| 3254 | +#define MACH_TYPE_MX61_ARD 3278 | |
| 3255 | +#define MACH_TYPE_TX53 3279 | |
| 3256 | +#define MACH_TYPE_OMAPL138_CASE_A3 3280 | |
| 3257 | +#define MACH_TYPE_UEMD 3281 | |
| 3258 | +#define MACH_TYPE_CCWMX51MUT 3282 | |
| 3259 | +#define MACH_TYPE_ROCKHOPPER 3283 | |
| 3260 | +#define MACH_TYPE_NOOKCOLOR 3284 | |
| 3261 | +#define MACH_TYPE_HKDKC100 3285 | |
| 3262 | +#define MACH_TYPE_TS42XX 3286 | |
| 3263 | +#define MACH_TYPE_AEBL 3287 | |
| 3264 | +#define MACH_TYPE_WARIO 3288 | |
| 3265 | +#define MACH_TYPE_GFS_SPM 3289 | |
| 3266 | +#define MACH_TYPE_CM_T3730 3290 | |
| 3267 | +#define MACH_TYPE_ISC3 3291 | |
| 3268 | +#define MACH_TYPE_RASCAL 3292 | |
| 3269 | +#define MACH_TYPE_HREFV60 3293 | |
| 3270 | +#define MACH_TYPE_TPT_2_0 3294 | |
| 3271 | +#define MACH_TYPE_PYRAMID_TD 3295 | |
| 3272 | +#define MACH_TYPE_SPLENDOR 3296 | |
| 3273 | +#define MACH_TYPE_GUF_PLANET 3297 | |
| 3274 | +#define MACH_TYPE_MSM8X60_QT 3298 | |
| 3275 | +#define MACH_TYPE_HTC_HD_MINI 3299 | |
| 3276 | +#define MACH_TYPE_ATHENE 3300 | |
| 3277 | +#define MACH_TYPE_DEEP_R_EK_1 3301 | |
| 3278 | +#define MACH_TYPE_VIVOW_CT 3302 | |
| 3279 | +#define MACH_TYPE_NERY_1000 3303 | |
| 3280 | +#define MACH_TYPE_RFL109145_SSRV 3304 | |
| 3281 | +#define MACH_TYPE_NMH 3305 | |
| 3282 | +#define MACH_TYPE_WN802T 3306 | |
| 3283 | +#define MACH_TYPE_DRAGONET 3307 | |
| 3284 | +#define MACH_TYPE_GENEVA_B 3308 | |
| 3285 | +#define MACH_TYPE_AT91SAM9263DESK16L 3309 | |
| 3286 | +#define MACH_TYPE_BCMHANA_SV 3310 | |
| 3287 | +#define MACH_TYPE_BCMHANA_TABLET 3311 | |
| 3288 | +#define MACH_TYPE_KOI 3312 | |
| 3289 | +#define MACH_TYPE_TS4800 3313 | |
| 3290 | +#define MACH_TYPE_TQMA9263 3314 | |
| 3291 | +#define MACH_TYPE_HOLIDAY 3315 | |
| 3292 | +#define MACH_TYPE_DMA6410 3316 | |
| 3293 | +#define MACH_TYPE_PCATS_OVERLAY 3317 | |
| 3294 | +#define MACH_TYPE_HWGW6410 3318 | |
| 3295 | +#define MACH_TYPE_SHENZHOU 3319 | |
| 3296 | +#define MACH_TYPE_CWME9210 3320 | |
| 3297 | +#define MACH_TYPE_CWME9210JS 3321 | |
| 3298 | +#define MACH_TYPE_PGS_SITARA 3322 | |
| 3299 | +#define MACH_TYPE_COLIBRI_TEGRA2 3323 | |
| 3300 | +#define MACH_TYPE_W21 3324 | |
| 3301 | +#define MACH_TYPE_POLYSAT1 3325 | |
| 3302 | +#define MACH_TYPE_DATAWAY 3326 | |
| 3303 | +#define MACH_TYPE_COBRAL138 3327 | |
| 3304 | +#define MACH_TYPE_ROVERPCS8 3328 | |
| 3305 | +#define MACH_TYPE_MARVELC 3329 | |
| 3306 | +#define MACH_TYPE_NAVEFIHID 3330 | |
| 3307 | +#define MACH_TYPE_DM365_CV100 3331 | |
| 3308 | +#define MACH_TYPE_ABLE 3332 | |
| 3309 | +#define MACH_TYPE_LEGACY 3333 | |
| 3310 | +#define MACH_TYPE_ICONG 3334 | |
| 3311 | +#define MACH_TYPE_ROVER_G8 3335 | |
| 3312 | +#define MACH_TYPE_T5388P 3336 | |
| 3313 | +#define MACH_TYPE_DINGO 3337 | |
| 3314 | +#define MACH_TYPE_GOFLEXHOME 3338 | |
| 3218 | 3315 | |
| 3219 | 3316 | #ifdef CONFIG_ARCH_EBSA110 |
| 3220 | 3317 | # ifdef machine_arch_type |
| @@ -29904,16 +30001,16 @@ extern unsigned int __machine_arch_type; | ||
| 29904 | 30001 | # define machine_is_hmt() (0) |
| 29905 | 30002 | #endif |
| 29906 | 30003 | |
| 29907 | -#ifdef CONFIG_MACH_SUEN3 | |
| 30004 | +#ifdef CONFIG_MACH_KM_KIRKWOOD | |
| 29908 | 30005 | # ifdef machine_arch_type |
| 29909 | 30006 | # undef machine_arch_type |
| 29910 | 30007 | # define machine_arch_type __machine_arch_type |
| 29911 | 30008 | # else |
| 29912 | -# define machine_arch_type MACH_TYPE_SUEN3 | |
| 30009 | +# define machine_arch_type MACH_TYPE_KM_KIRKWOOD | |
| 29913 | 30010 | # endif |
| 29914 | -# define machine_is_suen3() (machine_arch_type == MACH_TYPE_SUEN3) | |
| 30011 | +# define machine_is_km_kirkwood() (machine_arch_type == MACH_TYPE_KM_KIRKWOOD) | |
| 29915 | 30012 | #else |
| 29916 | -# define machine_is_suen3() (0) | |
| 30013 | +# define machine_is_km_kirkwood() (0) | |
| 29917 | 30014 | #endif |
| 29918 | 30015 | |
| 29919 | 30016 | #ifdef CONFIG_MACH_VESPER |
| @@ -38868,16 +38965,16 @@ extern unsigned int __machine_arch_type; | ||
| 38868 | 38965 | # define machine_is_ti8148evm() (0) |
| 38869 | 38966 | #endif |
| 38870 | 38967 | |
| 38871 | -#ifdef CONFIG_MACH_TEGRA_SEABOARD | |
| 38968 | +#ifdef CONFIG_MACH_SEABOARD | |
| 38872 | 38969 | # ifdef machine_arch_type |
| 38873 | 38970 | # undef machine_arch_type |
| 38874 | 38971 | # define machine_arch_type __machine_arch_type |
| 38875 | 38972 | # else |
| 38876 | -# define machine_arch_type MACH_TYPE_TEGRA_SEABOARD | |
| 38973 | +# define machine_arch_type MACH_TYPE_SEABOARD | |
| 38877 | 38974 | # endif |
| 38878 | -# define machine_is_tegra_seaboard() (machine_arch_type == MACH_TYPE_TEGRA_SEABOARD) | |
| 38975 | +# define machine_is_seaboard() (machine_arch_type == MACH_TYPE_SEABOARD) | |
| 38879 | 38976 | #else |
| 38880 | -# define machine_is_tegra_seaboard() (0) | |
| 38977 | +# define machine_is_seaboard() (0) | |
| 38881 | 38978 | #endif |
| 38882 | 38979 | |
| 38883 | 38980 | #ifdef CONFIG_MACH_LINKSTATION_CHLV2 |
| @@ -41304,16 +41401,16 @@ extern unsigned int __machine_arch_type; | ||
| 41304 | 41401 | # define machine_is_punica() (0) |
| 41305 | 41402 | #endif |
| 41306 | 41403 | |
| 41307 | -#ifdef CONFIG_MACH_SBC_NT250 | |
| 41404 | +#ifdef CONFIG_MACH_TRIMSLICE | |
| 41308 | 41405 | # ifdef machine_arch_type |
| 41309 | 41406 | # undef machine_arch_type |
| 41310 | 41407 | # define machine_arch_type __machine_arch_type |
| 41311 | 41408 | # else |
| 41312 | -# define machine_arch_type MACH_TYPE_SBC_NT250 | |
| 41409 | +# define machine_arch_type MACH_TYPE_TRIMSLICE | |
| 41313 | 41410 | # endif |
| 41314 | -# define machine_is_sbc_nt250() (machine_arch_type == MACH_TYPE_SBC_NT250) | |
| 41411 | +# define machine_is_trimslice() (machine_arch_type == MACH_TYPE_TRIMSLICE) | |
| 41315 | 41412 | #else |
| 41316 | -# define machine_is_sbc_nt250() (0) | |
| 41413 | +# define machine_is_trimslice() (0) | |
| 41317 | 41414 | #endif |
| 41318 | 41415 | |
| 41319 | 41416 | #ifdef CONFIG_MACH_MX27_WMULTRA |
| @@ -41652,6 +41749,1170 @@ extern unsigned int __machine_arch_type; | ||
| 41652 | 41749 | # define machine_is_chalten_xa1() (0) |
| 41653 | 41750 | #endif |
| 41654 | 41751 | |
| 41752 | +#ifdef CONFIG_MACH_TS48XX | |
| 41753 | +# ifdef machine_arch_type | |
| 41754 | +# undef machine_arch_type | |
| 41755 | +# define machine_arch_type __machine_arch_type | |
| 41756 | +# else | |
| 41757 | +# define machine_arch_type MACH_TYPE_TS48XX | |
| 41758 | +# endif | |
| 41759 | +# define machine_is_ts48xx() (machine_arch_type == MACH_TYPE_TS48XX) | |
| 41760 | +#else | |
| 41761 | +# define machine_is_ts48xx() (0) | |
| 41762 | +#endif | |
| 41763 | + | |
| 41764 | +#ifdef CONFIG_MACH_TONGA2_TFTTIMER | |
| 41765 | +# ifdef machine_arch_type | |
| 41766 | +# undef machine_arch_type | |
| 41767 | +# define machine_arch_type __machine_arch_type | |
| 41768 | +# else | |
| 41769 | +# define machine_arch_type MACH_TYPE_TONGA2_TFTTIMER | |
| 41770 | +# endif | |
| 41771 | +# define machine_is_tonga2_tfttimer() (machine_arch_type == MACH_TYPE_TONGA2_TFTTIMER) | |
| 41772 | +#else | |
| 41773 | +# define machine_is_tonga2_tfttimer() (0) | |
| 41774 | +#endif | |
| 41775 | + | |
| 41776 | +#ifdef CONFIG_MACH_WHISTLER | |
| 41777 | +# ifdef machine_arch_type | |
| 41778 | +# undef machine_arch_type | |
| 41779 | +# define machine_arch_type __machine_arch_type | |
| 41780 | +# else | |
| 41781 | +# define machine_arch_type MACH_TYPE_WHISTLER | |
| 41782 | +# endif | |
| 41783 | +# define machine_is_whistler() (machine_arch_type == MACH_TYPE_WHISTLER) | |
| 41784 | +#else | |
| 41785 | +# define machine_is_whistler() (0) | |
| 41786 | +#endif | |
| 41787 | + | |
| 41788 | +#ifdef CONFIG_MACH_ASL_PHOENIX | |
| 41789 | +# ifdef machine_arch_type | |
| 41790 | +# undef machine_arch_type | |
| 41791 | +# define machine_arch_type __machine_arch_type | |
| 41792 | +# else | |
| 41793 | +# define machine_arch_type MACH_TYPE_ASL_PHOENIX | |
| 41794 | +# endif | |
| 41795 | +# define machine_is_asl_phoenix() (machine_arch_type == MACH_TYPE_ASL_PHOENIX) | |
| 41796 | +#else | |
| 41797 | +# define machine_is_asl_phoenix() (0) | |
| 41798 | +#endif | |
| 41799 | + | |
| 41800 | +#ifdef CONFIG_MACH_AT91SAM9263OTLITE | |
| 41801 | +# ifdef machine_arch_type | |
| 41802 | +# undef machine_arch_type | |
| 41803 | +# define machine_arch_type __machine_arch_type | |
| 41804 | +# else | |
| 41805 | +# define machine_arch_type MACH_TYPE_AT91SAM9263OTLITE | |
| 41806 | +# endif | |
| 41807 | +# define machine_is_at91sam9263otlite() (machine_arch_type == MACH_TYPE_AT91SAM9263OTLITE) | |
| 41808 | +#else | |
| 41809 | +# define machine_is_at91sam9263otlite() (0) | |
| 41810 | +#endif | |
| 41811 | + | |
| 41812 | +#ifdef CONFIG_MACH_DDPLUG | |
| 41813 | +# ifdef machine_arch_type | |
| 41814 | +# undef machine_arch_type | |
| 41815 | +# define machine_arch_type __machine_arch_type | |
| 41816 | +# else | |
| 41817 | +# define machine_arch_type MACH_TYPE_DDPLUG | |
| 41818 | +# endif | |
| 41819 | +# define machine_is_ddplug() (machine_arch_type == MACH_TYPE_DDPLUG) | |
| 41820 | +#else | |
| 41821 | +# define machine_is_ddplug() (0) | |
| 41822 | +#endif | |
| 41823 | + | |
| 41824 | +#ifdef CONFIG_MACH_D2PLUG | |
| 41825 | +# ifdef machine_arch_type | |
| 41826 | +# undef machine_arch_type | |
| 41827 | +# define machine_arch_type __machine_arch_type | |
| 41828 | +# else | |
| 41829 | +# define machine_arch_type MACH_TYPE_D2PLUG | |
| 41830 | +# endif | |
| 41831 | +# define machine_is_d2plug() (machine_arch_type == MACH_TYPE_D2PLUG) | |
| 41832 | +#else | |
| 41833 | +# define machine_is_d2plug() (0) | |
| 41834 | +#endif | |
| 41835 | + | |
| 41836 | +#ifdef CONFIG_MACH_KZM9D | |
| 41837 | +# ifdef machine_arch_type | |
| 41838 | +# undef machine_arch_type | |
| 41839 | +# define machine_arch_type __machine_arch_type | |
| 41840 | +# else | |
| 41841 | +# define machine_arch_type MACH_TYPE_KZM9D | |
| 41842 | +# endif | |
| 41843 | +# define machine_is_kzm9d() (machine_arch_type == MACH_TYPE_KZM9D) | |
| 41844 | +#else | |
| 41845 | +# define machine_is_kzm9d() (0) | |
| 41846 | +#endif | |
| 41847 | + | |
| 41848 | +#ifdef CONFIG_MACH_VERDI_LTE | |
| 41849 | +# ifdef machine_arch_type | |
| 41850 | +# undef machine_arch_type | |
| 41851 | +# define machine_arch_type __machine_arch_type | |
| 41852 | +# else | |
| 41853 | +# define machine_arch_type MACH_TYPE_VERDI_LTE | |
| 41854 | +# endif | |
| 41855 | +# define machine_is_verdi_lte() (machine_arch_type == MACH_TYPE_VERDI_LTE) | |
| 41856 | +#else | |
| 41857 | +# define machine_is_verdi_lte() (0) | |
| 41858 | +#endif | |
| 41859 | + | |
| 41860 | +#ifdef CONFIG_MACH_NANOZOOM | |
| 41861 | +# ifdef machine_arch_type | |
| 41862 | +# undef machine_arch_type | |
| 41863 | +# define machine_arch_type __machine_arch_type | |
| 41864 | +# else | |
| 41865 | +# define machine_arch_type MACH_TYPE_NANOZOOM | |
| 41866 | +# endif | |
| 41867 | +# define machine_is_nanozoom() (machine_arch_type == MACH_TYPE_NANOZOOM) | |
| 41868 | +#else | |
| 41869 | +# define machine_is_nanozoom() (0) | |
| 41870 | +#endif | |
| 41871 | + | |
| 41872 | +#ifdef CONFIG_MACH_DM3730_SOM_LV | |
| 41873 | +# ifdef machine_arch_type | |
| 41874 | +# undef machine_arch_type | |
| 41875 | +# define machine_arch_type __machine_arch_type | |
| 41876 | +# else | |
| 41877 | +# define machine_arch_type MACH_TYPE_DM3730_SOM_LV | |
| 41878 | +# endif | |
| 41879 | +# define machine_is_dm3730_som_lv() (machine_arch_type == MACH_TYPE_DM3730_SOM_LV) | |
| 41880 | +#else | |
| 41881 | +# define machine_is_dm3730_som_lv() (0) | |
| 41882 | +#endif | |
| 41883 | + | |
| 41884 | +#ifdef CONFIG_MACH_DM3730_TORPEDO | |
| 41885 | +# ifdef machine_arch_type | |
| 41886 | +# undef machine_arch_type | |
| 41887 | +# define machine_arch_type __machine_arch_type | |
| 41888 | +# else | |
| 41889 | +# define machine_arch_type MACH_TYPE_DM3730_TORPEDO | |
| 41890 | +# endif | |
| 41891 | +# define machine_is_dm3730_torpedo() (machine_arch_type == MACH_TYPE_DM3730_TORPEDO) | |
| 41892 | +#else | |
| 41893 | +# define machine_is_dm3730_torpedo() (0) | |
| 41894 | +#endif | |
| 41895 | + | |
| 41896 | +#ifdef CONFIG_MACH_ANCHOVY | |
| 41897 | +# ifdef machine_arch_type | |
| 41898 | +# undef machine_arch_type | |
| 41899 | +# define machine_arch_type __machine_arch_type | |
| 41900 | +# else | |
| 41901 | +# define machine_arch_type MACH_TYPE_ANCHOVY | |
| 41902 | +# endif | |
| 41903 | +# define machine_is_anchovy() (machine_arch_type == MACH_TYPE_ANCHOVY) | |
| 41904 | +#else | |
| 41905 | +# define machine_is_anchovy() (0) | |
| 41906 | +#endif | |
| 41907 | + | |
| 41908 | +#ifdef CONFIG_MACH_RE2REV20 | |
| 41909 | +# ifdef machine_arch_type | |
| 41910 | +# undef machine_arch_type | |
| 41911 | +# define machine_arch_type __machine_arch_type | |
| 41912 | +# else | |
| 41913 | +# define machine_arch_type MACH_TYPE_RE2REV20 | |
| 41914 | +# endif | |
| 41915 | +# define machine_is_re2rev20() (machine_arch_type == MACH_TYPE_RE2REV20) | |
| 41916 | +#else | |
| 41917 | +# define machine_is_re2rev20() (0) | |
| 41918 | +#endif | |
| 41919 | + | |
| 41920 | +#ifdef CONFIG_MACH_RE2REV21 | |
| 41921 | +# ifdef machine_arch_type | |
| 41922 | +# undef machine_arch_type | |
| 41923 | +# define machine_arch_type __machine_arch_type | |
| 41924 | +# else | |
| 41925 | +# define machine_arch_type MACH_TYPE_RE2REV21 | |
| 41926 | +# endif | |
| 41927 | +# define machine_is_re2rev21() (machine_arch_type == MACH_TYPE_RE2REV21) | |
| 41928 | +#else | |
| 41929 | +# define machine_is_re2rev21() (0) | |
| 41930 | +#endif | |
| 41931 | + | |
| 41932 | +#ifdef CONFIG_MACH_CNS21XX | |
| 41933 | +# ifdef machine_arch_type | |
| 41934 | +# undef machine_arch_type | |
| 41935 | +# define machine_arch_type __machine_arch_type | |
| 41936 | +# else | |
| 41937 | +# define machine_arch_type MACH_TYPE_CNS21XX | |
| 41938 | +# endif | |
| 41939 | +# define machine_is_cns21xx() (machine_arch_type == MACH_TYPE_CNS21XX) | |
| 41940 | +#else | |
| 41941 | +# define machine_is_cns21xx() (0) | |
| 41942 | +#endif | |
| 41943 | + | |
| 41944 | +#ifdef CONFIG_MACH_RIDER | |
| 41945 | +# ifdef machine_arch_type | |
| 41946 | +# undef machine_arch_type | |
| 41947 | +# define machine_arch_type __machine_arch_type | |
| 41948 | +# else | |
| 41949 | +# define machine_arch_type MACH_TYPE_RIDER | |
| 41950 | +# endif | |
| 41951 | +# define machine_is_rider() (machine_arch_type == MACH_TYPE_RIDER) | |
| 41952 | +#else | |
| 41953 | +# define machine_is_rider() (0) | |
| 41954 | +#endif | |
| 41955 | + | |
| 41956 | +#ifdef CONFIG_MACH_NSK330 | |
| 41957 | +# ifdef machine_arch_type | |
| 41958 | +# undef machine_arch_type | |
| 41959 | +# define machine_arch_type __machine_arch_type | |
| 41960 | +# else | |
| 41961 | +# define machine_arch_type MACH_TYPE_NSK330 | |
| 41962 | +# endif | |
| 41963 | +# define machine_is_nsk330() (machine_arch_type == MACH_TYPE_NSK330) | |
| 41964 | +#else | |
| 41965 | +# define machine_is_nsk330() (0) | |
| 41966 | +#endif | |
| 41967 | + | |
| 41968 | +#ifdef CONFIG_MACH_CNS2133EVB | |
| 41969 | +# ifdef machine_arch_type | |
| 41970 | +# undef machine_arch_type | |
| 41971 | +# define machine_arch_type __machine_arch_type | |
| 41972 | +# else | |
| 41973 | +# define machine_arch_type MACH_TYPE_CNS2133EVB | |
| 41974 | +# endif | |
| 41975 | +# define machine_is_cns2133evb() (machine_arch_type == MACH_TYPE_CNS2133EVB) | |
| 41976 | +#else | |
| 41977 | +# define machine_is_cns2133evb() (0) | |
| 41978 | +#endif | |
| 41979 | + | |
| 41980 | +#ifdef CONFIG_MACH_Z3_816X_MOD | |
| 41981 | +# ifdef machine_arch_type | |
| 41982 | +# undef machine_arch_type | |
| 41983 | +# define machine_arch_type __machine_arch_type | |
| 41984 | +# else | |
| 41985 | +# define machine_arch_type MACH_TYPE_Z3_816X_MOD | |
| 41986 | +# endif | |
| 41987 | +# define machine_is_z3_816x_mod() (machine_arch_type == MACH_TYPE_Z3_816X_MOD) | |
| 41988 | +#else | |
| 41989 | +# define machine_is_z3_816x_mod() (0) | |
| 41990 | +#endif | |
| 41991 | + | |
| 41992 | +#ifdef CONFIG_MACH_Z3_814X_MOD | |
| 41993 | +# ifdef machine_arch_type | |
| 41994 | +# undef machine_arch_type | |
| 41995 | +# define machine_arch_type __machine_arch_type | |
| 41996 | +# else | |
| 41997 | +# define machine_arch_type MACH_TYPE_Z3_814X_MOD | |
| 41998 | +# endif | |
| 41999 | +# define machine_is_z3_814x_mod() (machine_arch_type == MACH_TYPE_Z3_814X_MOD) | |
| 42000 | +#else | |
| 42001 | +# define machine_is_z3_814x_mod() (0) | |
| 42002 | +#endif | |
| 42003 | + | |
| 42004 | +#ifdef CONFIG_MACH_BEECT | |
| 42005 | +# ifdef machine_arch_type | |
| 42006 | +# undef machine_arch_type | |
| 42007 | +# define machine_arch_type __machine_arch_type | |
| 42008 | +# else | |
| 42009 | +# define machine_arch_type MACH_TYPE_BEECT | |
| 42010 | +# endif | |
| 42011 | +# define machine_is_beect() (machine_arch_type == MACH_TYPE_BEECT) | |
| 42012 | +#else | |
| 42013 | +# define machine_is_beect() (0) | |
| 42014 | +#endif | |
| 42015 | + | |
| 42016 | +#ifdef CONFIG_MACH_DMA_THUNDERBUG | |
| 42017 | +# ifdef machine_arch_type | |
| 42018 | +# undef machine_arch_type | |
| 42019 | +# define machine_arch_type __machine_arch_type | |
| 42020 | +# else | |
| 42021 | +# define machine_arch_type MACH_TYPE_DMA_THUNDERBUG | |
| 42022 | +# endif | |
| 42023 | +# define machine_is_dma_thunderbug() (machine_arch_type == MACH_TYPE_DMA_THUNDERBUG) | |
| 42024 | +#else | |
| 42025 | +# define machine_is_dma_thunderbug() (0) | |
| 42026 | +#endif | |
| 42027 | + | |
| 42028 | +#ifdef CONFIG_MACH_OMN_AT91SAM9G20 | |
| 42029 | +# ifdef machine_arch_type | |
| 42030 | +# undef machine_arch_type | |
| 42031 | +# define machine_arch_type __machine_arch_type | |
| 42032 | +# else | |
| 42033 | +# define machine_arch_type MACH_TYPE_OMN_AT91SAM9G20 | |
| 42034 | +# endif | |
| 42035 | +# define machine_is_omn_at91sam9g20() (machine_arch_type == MACH_TYPE_OMN_AT91SAM9G20) | |
| 42036 | +#else | |
| 42037 | +# define machine_is_omn_at91sam9g20() (0) | |
| 42038 | +#endif | |
| 42039 | + | |
| 42040 | +#ifdef CONFIG_MACH_MX25_E2S_UC | |
| 42041 | +# ifdef machine_arch_type | |
| 42042 | +# undef machine_arch_type | |
| 42043 | +# define machine_arch_type __machine_arch_type | |
| 42044 | +# else | |
| 42045 | +# define machine_arch_type MACH_TYPE_MX25_E2S_UC | |
| 42046 | +# endif | |
| 42047 | +# define machine_is_mx25_e2s_uc() (machine_arch_type == MACH_TYPE_MX25_E2S_UC) | |
| 42048 | +#else | |
| 42049 | +# define machine_is_mx25_e2s_uc() (0) | |
| 42050 | +#endif | |
| 42051 | + | |
| 42052 | +#ifdef CONFIG_MACH_MIONE | |
| 42053 | +# ifdef machine_arch_type | |
| 42054 | +# undef machine_arch_type | |
| 42055 | +# define machine_arch_type __machine_arch_type | |
| 42056 | +# else | |
| 42057 | +# define machine_arch_type MACH_TYPE_MIONE | |
| 42058 | +# endif | |
| 42059 | +# define machine_is_mione() (machine_arch_type == MACH_TYPE_MIONE) | |
| 42060 | +#else | |
| 42061 | +# define machine_is_mione() (0) | |
| 42062 | +#endif | |
| 42063 | + | |
| 42064 | +#ifdef CONFIG_MACH_TOP9000_TCU | |
| 42065 | +# ifdef machine_arch_type | |
| 42066 | +# undef machine_arch_type | |
| 42067 | +# define machine_arch_type __machine_arch_type | |
| 42068 | +# else | |
| 42069 | +# define machine_arch_type MACH_TYPE_TOP9000_TCU | |
| 42070 | +# endif | |
| 42071 | +# define machine_is_top9000_tcu() (machine_arch_type == MACH_TYPE_TOP9000_TCU) | |
| 42072 | +#else | |
| 42073 | +# define machine_is_top9000_tcu() (0) | |
| 42074 | +#endif | |
| 42075 | + | |
| 42076 | +#ifdef CONFIG_MACH_TOP9000_BSL | |
| 42077 | +# ifdef machine_arch_type | |
| 42078 | +# undef machine_arch_type | |
| 42079 | +# define machine_arch_type __machine_arch_type | |
| 42080 | +# else | |
| 42081 | +# define machine_arch_type MACH_TYPE_TOP9000_BSL | |
| 42082 | +# endif | |
| 42083 | +# define machine_is_top9000_bsl() (machine_arch_type == MACH_TYPE_TOP9000_BSL) | |
| 42084 | +#else | |
| 42085 | +# define machine_is_top9000_bsl() (0) | |
| 42086 | +#endif | |
| 42087 | + | |
| 42088 | +#ifdef CONFIG_MACH_KINGDOM | |
| 42089 | +# ifdef machine_arch_type | |
| 42090 | +# undef machine_arch_type | |
| 42091 | +# define machine_arch_type __machine_arch_type | |
| 42092 | +# else | |
| 42093 | +# define machine_arch_type MACH_TYPE_KINGDOM | |
| 42094 | +# endif | |
| 42095 | +# define machine_is_kingdom() (machine_arch_type == MACH_TYPE_KINGDOM) | |
| 42096 | +#else | |
| 42097 | +# define machine_is_kingdom() (0) | |
| 42098 | +#endif | |
| 42099 | + | |
| 42100 | +#ifdef CONFIG_MACH_ARMADILLO460 | |
| 42101 | +# ifdef machine_arch_type | |
| 42102 | +# undef machine_arch_type | |
| 42103 | +# define machine_arch_type __machine_arch_type | |
| 42104 | +# else | |
| 42105 | +# define machine_arch_type MACH_TYPE_ARMADILLO460 | |
| 42106 | +# endif | |
| 42107 | +# define machine_is_armadillo460() (machine_arch_type == MACH_TYPE_ARMADILLO460) | |
| 42108 | +#else | |
| 42109 | +# define machine_is_armadillo460() (0) | |
| 42110 | +#endif | |
| 42111 | + | |
| 42112 | +#ifdef CONFIG_MACH_LQ2 | |
| 42113 | +# ifdef machine_arch_type | |
| 42114 | +# undef machine_arch_type | |
| 42115 | +# define machine_arch_type __machine_arch_type | |
| 42116 | +# else | |
| 42117 | +# define machine_arch_type MACH_TYPE_LQ2 | |
| 42118 | +# endif | |
| 42119 | +# define machine_is_lq2() (machine_arch_type == MACH_TYPE_LQ2) | |
| 42120 | +#else | |
| 42121 | +# define machine_is_lq2() (0) | |
| 42122 | +#endif | |
| 42123 | + | |
| 42124 | +#ifdef CONFIG_MACH_SWEDA_TMS2 | |
| 42125 | +# ifdef machine_arch_type | |
| 42126 | +# undef machine_arch_type | |
| 42127 | +# define machine_arch_type __machine_arch_type | |
| 42128 | +# else | |
| 42129 | +# define machine_arch_type MACH_TYPE_SWEDA_TMS2 | |
| 42130 | +# endif | |
| 42131 | +# define machine_is_sweda_tms2() (machine_arch_type == MACH_TYPE_SWEDA_TMS2) | |
| 42132 | +#else | |
| 42133 | +# define machine_is_sweda_tms2() (0) | |
| 42134 | +#endif | |
| 42135 | + | |
| 42136 | +#ifdef CONFIG_MACH_MX53_LOCO | |
| 42137 | +# ifdef machine_arch_type | |
| 42138 | +# undef machine_arch_type | |
| 42139 | +# define machine_arch_type __machine_arch_type | |
| 42140 | +# else | |
| 42141 | +# define machine_arch_type MACH_TYPE_MX53_LOCO | |
| 42142 | +# endif | |
| 42143 | +# define machine_is_mx53_loco() (machine_arch_type == MACH_TYPE_MX53_LOCO) | |
| 42144 | +#else | |
| 42145 | +# define machine_is_mx53_loco() (0) | |
| 42146 | +#endif | |
| 42147 | + | |
| 42148 | +#ifdef CONFIG_MACH_ACER_A8 | |
| 42149 | +# ifdef machine_arch_type | |
| 42150 | +# undef machine_arch_type | |
| 42151 | +# define machine_arch_type __machine_arch_type | |
| 42152 | +# else | |
| 42153 | +# define machine_arch_type MACH_TYPE_ACER_A8 | |
| 42154 | +# endif | |
| 42155 | +# define machine_is_acer_a8() (machine_arch_type == MACH_TYPE_ACER_A8) | |
| 42156 | +#else | |
| 42157 | +# define machine_is_acer_a8() (0) | |
| 42158 | +#endif | |
| 42159 | + | |
| 42160 | +#ifdef CONFIG_MACH_ACER_GAUGUIN | |
| 42161 | +# ifdef machine_arch_type | |
| 42162 | +# undef machine_arch_type | |
| 42163 | +# define machine_arch_type __machine_arch_type | |
| 42164 | +# else | |
| 42165 | +# define machine_arch_type MACH_TYPE_ACER_GAUGUIN | |
| 42166 | +# endif | |
| 42167 | +# define machine_is_acer_gauguin() (machine_arch_type == MACH_TYPE_ACER_GAUGUIN) | |
| 42168 | +#else | |
| 42169 | +# define machine_is_acer_gauguin() (0) | |
| 42170 | +#endif | |
| 42171 | + | |
| 42172 | +#ifdef CONFIG_MACH_GUPPY | |
| 42173 | +# ifdef machine_arch_type | |
| 42174 | +# undef machine_arch_type | |
| 42175 | +# define machine_arch_type __machine_arch_type | |
| 42176 | +# else | |
| 42177 | +# define machine_arch_type MACH_TYPE_GUPPY | |
| 42178 | +# endif | |
| 42179 | +# define machine_is_guppy() (machine_arch_type == MACH_TYPE_GUPPY) | |
| 42180 | +#else | |
| 42181 | +# define machine_is_guppy() (0) | |
| 42182 | +#endif | |
| 42183 | + | |
| 42184 | +#ifdef CONFIG_MACH_MX61_ARD | |
| 42185 | +# ifdef machine_arch_type | |
| 42186 | +# undef machine_arch_type | |
| 42187 | +# define machine_arch_type __machine_arch_type | |
| 42188 | +# else | |
| 42189 | +# define machine_arch_type MACH_TYPE_MX61_ARD | |
| 42190 | +# endif | |
| 42191 | +# define machine_is_mx61_ard() (machine_arch_type == MACH_TYPE_MX61_ARD) | |
| 42192 | +#else | |
| 42193 | +# define machine_is_mx61_ard() (0) | |
| 42194 | +#endif | |
| 42195 | + | |
| 42196 | +#ifdef CONFIG_MACH_TX53 | |
| 42197 | +# ifdef machine_arch_type | |
| 42198 | +# undef machine_arch_type | |
| 42199 | +# define machine_arch_type __machine_arch_type | |
| 42200 | +# else | |
| 42201 | +# define machine_arch_type MACH_TYPE_TX53 | |
| 42202 | +# endif | |
| 42203 | +# define machine_is_tx53() (machine_arch_type == MACH_TYPE_TX53) | |
| 42204 | +#else | |
| 42205 | +# define machine_is_tx53() (0) | |
| 42206 | +#endif | |
| 42207 | + | |
| 42208 | +#ifdef CONFIG_MACH_OMAPL138_CASE_A3 | |
| 42209 | +# ifdef machine_arch_type | |
| 42210 | +# undef machine_arch_type | |
| 42211 | +# define machine_arch_type __machine_arch_type | |
| 42212 | +# else | |
| 42213 | +# define machine_arch_type MACH_TYPE_OMAPL138_CASE_A3 | |
| 42214 | +# endif | |
| 42215 | +# define machine_is_omapl138_case_a3() (machine_arch_type == MACH_TYPE_OMAPL138_CASE_A3) | |
| 42216 | +#else | |
| 42217 | +# define machine_is_omapl138_case_a3() (0) | |
| 42218 | +#endif | |
| 42219 | + | |
| 42220 | +#ifdef CONFIG_MACH_UEMD | |
| 42221 | +# ifdef machine_arch_type | |
| 42222 | +# undef machine_arch_type | |
| 42223 | +# define machine_arch_type __machine_arch_type | |
| 42224 | +# else | |
| 42225 | +# define machine_arch_type MACH_TYPE_UEMD | |
| 42226 | +# endif | |
| 42227 | +# define machine_is_uemd() (machine_arch_type == MACH_TYPE_UEMD) | |
| 42228 | +#else | |
| 42229 | +# define machine_is_uemd() (0) | |
| 42230 | +#endif | |
| 42231 | + | |
| 42232 | +#ifdef CONFIG_MACH_CCWMX51MUT | |
| 42233 | +# ifdef machine_arch_type | |
| 42234 | +# undef machine_arch_type | |
| 42235 | +# define machine_arch_type __machine_arch_type | |
| 42236 | +# else | |
| 42237 | +# define machine_arch_type MACH_TYPE_CCWMX51MUT | |
| 42238 | +# endif | |
| 42239 | +# define machine_is_ccwmx51mut() (machine_arch_type == MACH_TYPE_CCWMX51MUT) | |
| 42240 | +#else | |
| 42241 | +# define machine_is_ccwmx51mut() (0) | |
| 42242 | +#endif | |
| 42243 | + | |
| 42244 | +#ifdef CONFIG_MACH_ROCKHOPPER | |
| 42245 | +# ifdef machine_arch_type | |
| 42246 | +# undef machine_arch_type | |
| 42247 | +# define machine_arch_type __machine_arch_type | |
| 42248 | +# else | |
| 42249 | +# define machine_arch_type MACH_TYPE_ROCKHOPPER | |
| 42250 | +# endif | |
| 42251 | +# define machine_is_rockhopper() (machine_arch_type == MACH_TYPE_ROCKHOPPER) | |
| 42252 | +#else | |
| 42253 | +# define machine_is_rockhopper() (0) | |
| 42254 | +#endif | |
| 42255 | + | |
| 42256 | +#ifdef CONFIG_MACH_NOOKCOLOR | |
| 42257 | +# ifdef machine_arch_type | |
| 42258 | +# undef machine_arch_type | |
| 42259 | +# define machine_arch_type __machine_arch_type | |
| 42260 | +# else | |
| 42261 | +# define machine_arch_type MACH_TYPE_NOOKCOLOR | |
| 42262 | +# endif | |
| 42263 | +# define machine_is_nookcolor() (machine_arch_type == MACH_TYPE_NOOKCOLOR) | |
| 42264 | +#else | |
| 42265 | +# define machine_is_nookcolor() (0) | |
| 42266 | +#endif | |
| 42267 | + | |
| 42268 | +#ifdef CONFIG_MACH_HKDKC100 | |
| 42269 | +# ifdef machine_arch_type | |
| 42270 | +# undef machine_arch_type | |
| 42271 | +# define machine_arch_type __machine_arch_type | |
| 42272 | +# else | |
| 42273 | +# define machine_arch_type MACH_TYPE_HKDKC100 | |
| 42274 | +# endif | |
| 42275 | +# define machine_is_hkdkc100() (machine_arch_type == MACH_TYPE_HKDKC100) | |
| 42276 | +#else | |
| 42277 | +# define machine_is_hkdkc100() (0) | |
| 42278 | +#endif | |
| 42279 | + | |
| 42280 | +#ifdef CONFIG_MACH_TS42XX | |
| 42281 | +# ifdef machine_arch_type | |
| 42282 | +# undef machine_arch_type | |
| 42283 | +# define machine_arch_type __machine_arch_type | |
| 42284 | +# else | |
| 42285 | +# define machine_arch_type MACH_TYPE_TS42XX | |
| 42286 | +# endif | |
| 42287 | +# define machine_is_ts42xx() (machine_arch_type == MACH_TYPE_TS42XX) | |
| 42288 | +#else | |
| 42289 | +# define machine_is_ts42xx() (0) | |
| 42290 | +#endif | |
| 42291 | + | |
| 42292 | +#ifdef CONFIG_MACH_AEBL | |
| 42293 | +# ifdef machine_arch_type | |
| 42294 | +# undef machine_arch_type | |
| 42295 | +# define machine_arch_type __machine_arch_type | |
| 42296 | +# else | |
| 42297 | +# define machine_arch_type MACH_TYPE_AEBL | |
| 42298 | +# endif | |
| 42299 | +# define machine_is_aebl() (machine_arch_type == MACH_TYPE_AEBL) | |
| 42300 | +#else | |
| 42301 | +# define machine_is_aebl() (0) | |
| 42302 | +#endif | |
| 42303 | + | |
| 42304 | +#ifdef CONFIG_MACH_WARIO | |
| 42305 | +# ifdef machine_arch_type | |
| 42306 | +# undef machine_arch_type | |
| 42307 | +# define machine_arch_type __machine_arch_type | |
| 42308 | +# else | |
| 42309 | +# define machine_arch_type MACH_TYPE_WARIO | |
| 42310 | +# endif | |
| 42311 | +# define machine_is_wario() (machine_arch_type == MACH_TYPE_WARIO) | |
| 42312 | +#else | |
| 42313 | +# define machine_is_wario() (0) | |
| 42314 | +#endif | |
| 42315 | + | |
| 42316 | +#ifdef CONFIG_MACH_GFS_SPM | |
| 42317 | +# ifdef machine_arch_type | |
| 42318 | +# undef machine_arch_type | |
| 42319 | +# define machine_arch_type __machine_arch_type | |
| 42320 | +# else | |
| 42321 | +# define machine_arch_type MACH_TYPE_GFS_SPM | |
| 42322 | +# endif | |
| 42323 | +# define machine_is_gfs_spm() (machine_arch_type == MACH_TYPE_GFS_SPM) | |
| 42324 | +#else | |
| 42325 | +# define machine_is_gfs_spm() (0) | |
| 42326 | +#endif | |
| 42327 | + | |
| 42328 | +#ifdef CONFIG_MACH_CM_T3730 | |
| 42329 | +# ifdef machine_arch_type | |
| 42330 | +# undef machine_arch_type | |
| 42331 | +# define machine_arch_type __machine_arch_type | |
| 42332 | +# else | |
| 42333 | +# define machine_arch_type MACH_TYPE_CM_T3730 | |
| 42334 | +# endif | |
| 42335 | +# define machine_is_cm_t3730() (machine_arch_type == MACH_TYPE_CM_T3730) | |
| 42336 | +#else | |
| 42337 | +# define machine_is_cm_t3730() (0) | |
| 42338 | +#endif | |
| 42339 | + | |
| 42340 | +#ifdef CONFIG_MACH_ISC3 | |
| 42341 | +# ifdef machine_arch_type | |
| 42342 | +# undef machine_arch_type | |
| 42343 | +# define machine_arch_type __machine_arch_type | |
| 42344 | +# else | |
| 42345 | +# define machine_arch_type MACH_TYPE_ISC3 | |
| 42346 | +# endif | |
| 42347 | +# define machine_is_isc3() (machine_arch_type == MACH_TYPE_ISC3) | |
| 42348 | +#else | |
| 42349 | +# define machine_is_isc3() (0) | |
| 42350 | +#endif | |
| 42351 | + | |
| 42352 | +#ifdef CONFIG_MACH_RASCAL | |
| 42353 | +# ifdef machine_arch_type | |
| 42354 | +# undef machine_arch_type | |
| 42355 | +# define machine_arch_type __machine_arch_type | |
| 42356 | +# else | |
| 42357 | +# define machine_arch_type MACH_TYPE_RASCAL | |
| 42358 | +# endif | |
| 42359 | +# define machine_is_rascal() (machine_arch_type == MACH_TYPE_RASCAL) | |
| 42360 | +#else | |
| 42361 | +# define machine_is_rascal() (0) | |
| 42362 | +#endif | |
| 42363 | + | |
| 42364 | +#ifdef CONFIG_MACH_HREFV60 | |
| 42365 | +# ifdef machine_arch_type | |
| 42366 | +# undef machine_arch_type | |
| 42367 | +# define machine_arch_type __machine_arch_type | |
| 42368 | +# else | |
| 42369 | +# define machine_arch_type MACH_TYPE_HREFV60 | |
| 42370 | +# endif | |
| 42371 | +# define machine_is_hrefv60() (machine_arch_type == MACH_TYPE_HREFV60) | |
| 42372 | +#else | |
| 42373 | +# define machine_is_hrefv60() (0) | |
| 42374 | +#endif | |
| 42375 | + | |
| 42376 | +#ifdef CONFIG_MACH_TPT_2_0 | |
| 42377 | +# ifdef machine_arch_type | |
| 42378 | +# undef machine_arch_type | |
| 42379 | +# define machine_arch_type __machine_arch_type | |
| 42380 | +# else | |
| 42381 | +# define machine_arch_type MACH_TYPE_TPT_2_0 | |
| 42382 | +# endif | |
| 42383 | +# define machine_is_tpt_2_0() (machine_arch_type == MACH_TYPE_TPT_2_0) | |
| 42384 | +#else | |
| 42385 | +# define machine_is_tpt_2_0() (0) | |
| 42386 | +#endif | |
| 42387 | + | |
| 42388 | +#ifdef CONFIG_MACH_PYRAMID_TD | |
| 42389 | +# ifdef machine_arch_type | |
| 42390 | +# undef machine_arch_type | |
| 42391 | +# define machine_arch_type __machine_arch_type | |
| 42392 | +# else | |
| 42393 | +# define machine_arch_type MACH_TYPE_PYRAMID_TD | |
| 42394 | +# endif | |
| 42395 | +# define machine_is_pyramid_td() (machine_arch_type == MACH_TYPE_PYRAMID_TD) | |
| 42396 | +#else | |
| 42397 | +# define machine_is_pyramid_td() (0) | |
| 42398 | +#endif | |
| 42399 | + | |
| 42400 | +#ifdef CONFIG_MACH_SPLENDOR | |
| 42401 | +# ifdef machine_arch_type | |
| 42402 | +# undef machine_arch_type | |
| 42403 | +# define machine_arch_type __machine_arch_type | |
| 42404 | +# else | |
| 42405 | +# define machine_arch_type MACH_TYPE_SPLENDOR | |
| 42406 | +# endif | |
| 42407 | +# define machine_is_splendor() (machine_arch_type == MACH_TYPE_SPLENDOR) | |
| 42408 | +#else | |
| 42409 | +# define machine_is_splendor() (0) | |
| 42410 | +#endif | |
| 42411 | + | |
| 42412 | +#ifdef CONFIG_MACH_GUF_PLANET | |
| 42413 | +# ifdef machine_arch_type | |
| 42414 | +# undef machine_arch_type | |
| 42415 | +# define machine_arch_type __machine_arch_type | |
| 42416 | +# else | |
| 42417 | +# define machine_arch_type MACH_TYPE_GUF_PLANET | |
| 42418 | +# endif | |
| 42419 | +# define machine_is_guf_planet() (machine_arch_type == MACH_TYPE_GUF_PLANET) | |
| 42420 | +#else | |
| 42421 | +# define machine_is_guf_planet() (0) | |
| 42422 | +#endif | |
| 42423 | + | |
| 42424 | +#ifdef CONFIG_MACH_MSM8X60_QT | |
| 42425 | +# ifdef machine_arch_type | |
| 42426 | +# undef machine_arch_type | |
| 42427 | +# define machine_arch_type __machine_arch_type | |
| 42428 | +# else | |
| 42429 | +# define machine_arch_type MACH_TYPE_MSM8X60_QT | |
| 42430 | +# endif | |
| 42431 | +# define machine_is_msm8x60_qt() (machine_arch_type == MACH_TYPE_MSM8X60_QT) | |
| 42432 | +#else | |
| 42433 | +# define machine_is_msm8x60_qt() (0) | |
| 42434 | +#endif | |
| 42435 | + | |
| 42436 | +#ifdef CONFIG_MACH_HTC_HD_MINI | |
| 42437 | +# ifdef machine_arch_type | |
| 42438 | +# undef machine_arch_type | |
| 42439 | +# define machine_arch_type __machine_arch_type | |
| 42440 | +# else | |
| 42441 | +# define machine_arch_type MACH_TYPE_HTC_HD_MINI | |
| 42442 | +# endif | |
| 42443 | +# define machine_is_htc_hd_mini() (machine_arch_type == MACH_TYPE_HTC_HD_MINI) | |
| 42444 | +#else | |
| 42445 | +# define machine_is_htc_hd_mini() (0) | |
| 42446 | +#endif | |
| 42447 | + | |
| 42448 | +#ifdef CONFIG_MACH_ATHENE | |
| 42449 | +# ifdef machine_arch_type | |
| 42450 | +# undef machine_arch_type | |
| 42451 | +# define machine_arch_type __machine_arch_type | |
| 42452 | +# else | |
| 42453 | +# define machine_arch_type MACH_TYPE_ATHENE | |
| 42454 | +# endif | |
| 42455 | +# define machine_is_athene() (machine_arch_type == MACH_TYPE_ATHENE) | |
| 42456 | +#else | |
| 42457 | +# define machine_is_athene() (0) | |
| 42458 | +#endif | |
| 42459 | + | |
| 42460 | +#ifdef CONFIG_MACH_DEEP_R_EK_1 | |
| 42461 | +# ifdef machine_arch_type | |
| 42462 | +# undef machine_arch_type | |
| 42463 | +# define machine_arch_type __machine_arch_type | |
| 42464 | +# else | |
| 42465 | +# define machine_arch_type MACH_TYPE_DEEP_R_EK_1 | |
| 42466 | +# endif | |
| 42467 | +# define machine_is_deep_r_ek_1() (machine_arch_type == MACH_TYPE_DEEP_R_EK_1) | |
| 42468 | +#else | |
| 42469 | +# define machine_is_deep_r_ek_1() (0) | |
| 42470 | +#endif | |
| 42471 | + | |
| 42472 | +#ifdef CONFIG_MACH_VIVOW_CT | |
| 42473 | +# ifdef machine_arch_type | |
| 42474 | +# undef machine_arch_type | |
| 42475 | +# define machine_arch_type __machine_arch_type | |
| 42476 | +# else | |
| 42477 | +# define machine_arch_type MACH_TYPE_VIVOW_CT | |
| 42478 | +# endif | |
| 42479 | +# define machine_is_vivow_ct() (machine_arch_type == MACH_TYPE_VIVOW_CT) | |
| 42480 | +#else | |
| 42481 | +# define machine_is_vivow_ct() (0) | |
| 42482 | +#endif | |
| 42483 | + | |
| 42484 | +#ifdef CONFIG_MACH_NERY_1000 | |
| 42485 | +# ifdef machine_arch_type | |
| 42486 | +# undef machine_arch_type | |
| 42487 | +# define machine_arch_type __machine_arch_type | |
| 42488 | +# else | |
| 42489 | +# define machine_arch_type MACH_TYPE_NERY_1000 | |
| 42490 | +# endif | |
| 42491 | +# define machine_is_nery_1000() (machine_arch_type == MACH_TYPE_NERY_1000) | |
| 42492 | +#else | |
| 42493 | +# define machine_is_nery_1000() (0) | |
| 42494 | +#endif | |
| 42495 | + | |
| 42496 | +#ifdef CONFIG_MACH_RFL109145_SSRV | |
| 42497 | +# ifdef machine_arch_type | |
| 42498 | +# undef machine_arch_type | |
| 42499 | +# define machine_arch_type __machine_arch_type | |
| 42500 | +# else | |
| 42501 | +# define machine_arch_type MACH_TYPE_RFL109145_SSRV | |
| 42502 | +# endif | |
| 42503 | +# define machine_is_rfl109145_ssrv() (machine_arch_type == MACH_TYPE_RFL109145_SSRV) | |
| 42504 | +#else | |
| 42505 | +# define machine_is_rfl109145_ssrv() (0) | |
| 42506 | +#endif | |
| 42507 | + | |
| 42508 | +#ifdef CONFIG_MACH_NMH | |
| 42509 | +# ifdef machine_arch_type | |
| 42510 | +# undef machine_arch_type | |
| 42511 | +# define machine_arch_type __machine_arch_type | |
| 42512 | +# else | |
| 42513 | +# define machine_arch_type MACH_TYPE_NMH | |
| 42514 | +# endif | |
| 42515 | +# define machine_is_nmh() (machine_arch_type == MACH_TYPE_NMH) | |
| 42516 | +#else | |
| 42517 | +# define machine_is_nmh() (0) | |
| 42518 | +#endif | |
| 42519 | + | |
| 42520 | +#ifdef CONFIG_MACH_WN802T | |
| 42521 | +# ifdef machine_arch_type | |
| 42522 | +# undef machine_arch_type | |
| 42523 | +# define machine_arch_type __machine_arch_type | |
| 42524 | +# else | |
| 42525 | +# define machine_arch_type MACH_TYPE_WN802T | |
| 42526 | +# endif | |
| 42527 | +# define machine_is_wn802t() (machine_arch_type == MACH_TYPE_WN802T) | |
| 42528 | +#else | |
| 42529 | +# define machine_is_wn802t() (0) | |
| 42530 | +#endif | |
| 42531 | + | |
| 42532 | +#ifdef CONFIG_MACH_DRAGONET | |
| 42533 | +# ifdef machine_arch_type | |
| 42534 | +# undef machine_arch_type | |
| 42535 | +# define machine_arch_type __machine_arch_type | |
| 42536 | +# else | |
| 42537 | +# define machine_arch_type MACH_TYPE_DRAGONET | |
| 42538 | +# endif | |
| 42539 | +# define machine_is_dragonet() (machine_arch_type == MACH_TYPE_DRAGONET) | |
| 42540 | +#else | |
| 42541 | +# define machine_is_dragonet() (0) | |
| 42542 | +#endif | |
| 42543 | + | |
| 42544 | +#ifdef CONFIG_MACH_GENEVA_B | |
| 42545 | +# ifdef machine_arch_type | |
| 42546 | +# undef machine_arch_type | |
| 42547 | +# define machine_arch_type __machine_arch_type | |
| 42548 | +# else | |
| 42549 | +# define machine_arch_type MACH_TYPE_GENEVA_B | |
| 42550 | +# endif | |
| 42551 | +# define machine_is_geneva_b() (machine_arch_type == MACH_TYPE_GENEVA_B) | |
| 42552 | +#else | |
| 42553 | +# define machine_is_geneva_b() (0) | |
| 42554 | +#endif | |
| 42555 | + | |
| 42556 | +#ifdef CONFIG_MACH_AT91SAM9263DESK16L | |
| 42557 | +# ifdef machine_arch_type | |
| 42558 | +# undef machine_arch_type | |
| 42559 | +# define machine_arch_type __machine_arch_type | |
| 42560 | +# else | |
| 42561 | +# define machine_arch_type MACH_TYPE_AT91SAM9263DESK16L | |
| 42562 | +# endif | |
| 42563 | +# define machine_is_at91sam9263desk16l() (machine_arch_type == MACH_TYPE_AT91SAM9263DESK16L) | |
| 42564 | +#else | |
| 42565 | +# define machine_is_at91sam9263desk16l() (0) | |
| 42566 | +#endif | |
| 42567 | + | |
| 42568 | +#ifdef CONFIG_MACH_BCMHANA_SV | |
| 42569 | +# ifdef machine_arch_type | |
| 42570 | +# undef machine_arch_type | |
| 42571 | +# define machine_arch_type __machine_arch_type | |
| 42572 | +# else | |
| 42573 | +# define machine_arch_type MACH_TYPE_BCMHANA_SV | |
| 42574 | +# endif | |
| 42575 | +# define machine_is_bcmhana_sv() (machine_arch_type == MACH_TYPE_BCMHANA_SV) | |
| 42576 | +#else | |
| 42577 | +# define machine_is_bcmhana_sv() (0) | |
| 42578 | +#endif | |
| 42579 | + | |
| 42580 | +#ifdef CONFIG_MACH_BCMHANA_TABLET | |
| 42581 | +# ifdef machine_arch_type | |
| 42582 | +# undef machine_arch_type | |
| 42583 | +# define machine_arch_type __machine_arch_type | |
| 42584 | +# else | |
| 42585 | +# define machine_arch_type MACH_TYPE_BCMHANA_TABLET | |
| 42586 | +# endif | |
| 42587 | +# define machine_is_bcmhana_tablet() (machine_arch_type == MACH_TYPE_BCMHANA_TABLET) | |
| 42588 | +#else | |
| 42589 | +# define machine_is_bcmhana_tablet() (0) | |
| 42590 | +#endif | |
| 42591 | + | |
| 42592 | +#ifdef CONFIG_MACH_KOI | |
| 42593 | +# ifdef machine_arch_type | |
| 42594 | +# undef machine_arch_type | |
| 42595 | +# define machine_arch_type __machine_arch_type | |
| 42596 | +# else | |
| 42597 | +# define machine_arch_type MACH_TYPE_KOI | |
| 42598 | +# endif | |
| 42599 | +# define machine_is_koi() (machine_arch_type == MACH_TYPE_KOI) | |
| 42600 | +#else | |
| 42601 | +# define machine_is_koi() (0) | |
| 42602 | +#endif | |
| 42603 | + | |
| 42604 | +#ifdef CONFIG_MACH_TS4800 | |
| 42605 | +# ifdef machine_arch_type | |
| 42606 | +# undef machine_arch_type | |
| 42607 | +# define machine_arch_type __machine_arch_type | |
| 42608 | +# else | |
| 42609 | +# define machine_arch_type MACH_TYPE_TS4800 | |
| 42610 | +# endif | |
| 42611 | +# define machine_is_ts4800() (machine_arch_type == MACH_TYPE_TS4800) | |
| 42612 | +#else | |
| 42613 | +# define machine_is_ts4800() (0) | |
| 42614 | +#endif | |
| 42615 | + | |
| 42616 | +#ifdef CONFIG_MACH_TQMA9263 | |
| 42617 | +# ifdef machine_arch_type | |
| 42618 | +# undef machine_arch_type | |
| 42619 | +# define machine_arch_type __machine_arch_type | |
| 42620 | +# else | |
| 42621 | +# define machine_arch_type MACH_TYPE_TQMA9263 | |
| 42622 | +# endif | |
| 42623 | +# define machine_is_tqma9263() (machine_arch_type == MACH_TYPE_TQMA9263) | |
| 42624 | +#else | |
| 42625 | +# define machine_is_tqma9263() (0) | |
| 42626 | +#endif | |
| 42627 | + | |
| 42628 | +#ifdef CONFIG_MACH_HOLIDAY | |
| 42629 | +# ifdef machine_arch_type | |
| 42630 | +# undef machine_arch_type | |
| 42631 | +# define machine_arch_type __machine_arch_type | |
| 42632 | +# else | |
| 42633 | +# define machine_arch_type MACH_TYPE_HOLIDAY | |
| 42634 | +# endif | |
| 42635 | +# define machine_is_holiday() (machine_arch_type == MACH_TYPE_HOLIDAY) | |
| 42636 | +#else | |
| 42637 | +# define machine_is_holiday() (0) | |
| 42638 | +#endif | |
| 42639 | + | |
| 42640 | +#ifdef CONFIG_MACH_DMA6410 | |
| 42641 | +# ifdef machine_arch_type | |
| 42642 | +# undef machine_arch_type | |
| 42643 | +# define machine_arch_type __machine_arch_type | |
| 42644 | +# else | |
| 42645 | +# define machine_arch_type MACH_TYPE_DMA6410 | |
| 42646 | +# endif | |
| 42647 | +# define machine_is_dma_6410() (machine_arch_type == MACH_TYPE_DMA6410) | |
| 42648 | +#else | |
| 42649 | +# define machine_is_dma_6410() (0) | |
| 42650 | +#endif | |
| 42651 | + | |
| 42652 | +#ifdef CONFIG_MACH_PCATS_OVERLAY | |
| 42653 | +# ifdef machine_arch_type | |
| 42654 | +# undef machine_arch_type | |
| 42655 | +# define machine_arch_type __machine_arch_type | |
| 42656 | +# else | |
| 42657 | +# define machine_arch_type MACH_TYPE_PCATS_OVERLAY | |
| 42658 | +# endif | |
| 42659 | +# define machine_is_pcats_overlay() (machine_arch_type == MACH_TYPE_PCATS_OVERLAY) | |
| 42660 | +#else | |
| 42661 | +# define machine_is_pcats_overlay() (0) | |
| 42662 | +#endif | |
| 42663 | + | |
| 42664 | +#ifdef CONFIG_MACH_HWGW6410 | |
| 42665 | +# ifdef machine_arch_type | |
| 42666 | +# undef machine_arch_type | |
| 42667 | +# define machine_arch_type __machine_arch_type | |
| 42668 | +# else | |
| 42669 | +# define machine_arch_type MACH_TYPE_HWGW6410 | |
| 42670 | +# endif | |
| 42671 | +# define machine_is_hwgw6410() (machine_arch_type == MACH_TYPE_HWGW6410) | |
| 42672 | +#else | |
| 42673 | +# define machine_is_hwgw6410() (0) | |
| 42674 | +#endif | |
| 42675 | + | |
| 42676 | +#ifdef CONFIG_MACH_SHENZHOU | |
| 42677 | +# ifdef machine_arch_type | |
| 42678 | +# undef machine_arch_type | |
| 42679 | +# define machine_arch_type __machine_arch_type | |
| 42680 | +# else | |
| 42681 | +# define machine_arch_type MACH_TYPE_SHENZHOU | |
| 42682 | +# endif | |
| 42683 | +# define machine_is_shenzhou() (machine_arch_type == MACH_TYPE_SHENZHOU) | |
| 42684 | +#else | |
| 42685 | +# define machine_is_shenzhou() (0) | |
| 42686 | +#endif | |
| 42687 | + | |
| 42688 | +#ifdef CONFIG_MACH_CWME9210 | |
| 42689 | +# ifdef machine_arch_type | |
| 42690 | +# undef machine_arch_type | |
| 42691 | +# define machine_arch_type __machine_arch_type | |
| 42692 | +# else | |
| 42693 | +# define machine_arch_type MACH_TYPE_CWME9210 | |
| 42694 | +# endif | |
| 42695 | +# define machine_is_cwme9210() (machine_arch_type == MACH_TYPE_CWME9210) | |
| 42696 | +#else | |
| 42697 | +# define machine_is_cwme9210() (0) | |
| 42698 | +#endif | |
| 42699 | + | |
| 42700 | +#ifdef CONFIG_MACH_CWME9210JS | |
| 42701 | +# ifdef machine_arch_type | |
| 42702 | +# undef machine_arch_type | |
| 42703 | +# define machine_arch_type __machine_arch_type | |
| 42704 | +# else | |
| 42705 | +# define machine_arch_type MACH_TYPE_CWME9210JS | |
| 42706 | +# endif | |
| 42707 | +# define machine_is_cwme9210js() (machine_arch_type == MACH_TYPE_CWME9210JS) | |
| 42708 | +#else | |
| 42709 | +# define machine_is_cwme9210js() (0) | |
| 42710 | +#endif | |
| 42711 | + | |
| 42712 | +#ifdef CONFIG_MACH_PGS_SITARA | |
| 42713 | +# ifdef machine_arch_type | |
| 42714 | +# undef machine_arch_type | |
| 42715 | +# define machine_arch_type __machine_arch_type | |
| 42716 | +# else | |
| 42717 | +# define machine_arch_type MACH_TYPE_PGS_SITARA | |
| 42718 | +# endif | |
| 42719 | +# define machine_is_pgs_v1() (machine_arch_type == MACH_TYPE_PGS_SITARA) | |
| 42720 | +#else | |
| 42721 | +# define machine_is_pgs_v1() (0) | |
| 42722 | +#endif | |
| 42723 | + | |
| 42724 | +#ifdef CONFIG_MACH_COLIBRI_TEGRA2 | |
| 42725 | +# ifdef machine_arch_type | |
| 42726 | +# undef machine_arch_type | |
| 42727 | +# define machine_arch_type __machine_arch_type | |
| 42728 | +# else | |
| 42729 | +# define machine_arch_type MACH_TYPE_COLIBRI_TEGRA2 | |
| 42730 | +# endif | |
| 42731 | +# define machine_is_colibri_tegra2() (machine_arch_type == MACH_TYPE_COLIBRI_TEGRA2) | |
| 42732 | +#else | |
| 42733 | +# define machine_is_colibri_tegra2() (0) | |
| 42734 | +#endif | |
| 42735 | + | |
| 42736 | +#ifdef CONFIG_MACH_W21 | |
| 42737 | +# ifdef machine_arch_type | |
| 42738 | +# undef machine_arch_type | |
| 42739 | +# define machine_arch_type __machine_arch_type | |
| 42740 | +# else | |
| 42741 | +# define machine_arch_type MACH_TYPE_W21 | |
| 42742 | +# endif | |
| 42743 | +# define machine_is_w21() (machine_arch_type == MACH_TYPE_W21) | |
| 42744 | +#else | |
| 42745 | +# define machine_is_w21() (0) | |
| 42746 | +#endif | |
| 42747 | + | |
| 42748 | +#ifdef CONFIG_MACH_POLYSAT1 | |
| 42749 | +# ifdef machine_arch_type | |
| 42750 | +# undef machine_arch_type | |
| 42751 | +# define machine_arch_type __machine_arch_type | |
| 42752 | +# else | |
| 42753 | +# define machine_arch_type MACH_TYPE_POLYSAT1 | |
| 42754 | +# endif | |
| 42755 | +# define machine_is_polysat1() (machine_arch_type == MACH_TYPE_POLYSAT1) | |
| 42756 | +#else | |
| 42757 | +# define machine_is_polysat1() (0) | |
| 42758 | +#endif | |
| 42759 | + | |
| 42760 | +#ifdef CONFIG_MACH_DATAWAY | |
| 42761 | +# ifdef machine_arch_type | |
| 42762 | +# undef machine_arch_type | |
| 42763 | +# define machine_arch_type __machine_arch_type | |
| 42764 | +# else | |
| 42765 | +# define machine_arch_type MACH_TYPE_DATAWAY | |
| 42766 | +# endif | |
| 42767 | +# define machine_is_dataway() (machine_arch_type == MACH_TYPE_DATAWAY) | |
| 42768 | +#else | |
| 42769 | +# define machine_is_dataway() (0) | |
| 42770 | +#endif | |
| 42771 | + | |
| 42772 | +#ifdef CONFIG_MACH_COBRAL138 | |
| 42773 | +# ifdef machine_arch_type | |
| 42774 | +# undef machine_arch_type | |
| 42775 | +# define machine_arch_type __machine_arch_type | |
| 42776 | +# else | |
| 42777 | +# define machine_arch_type MACH_TYPE_COBRAL138 | |
| 42778 | +# endif | |
| 42779 | +# define machine_is_cobral138() (machine_arch_type == MACH_TYPE_COBRAL138) | |
| 42780 | +#else | |
| 42781 | +# define machine_is_cobral138() (0) | |
| 42782 | +#endif | |
| 42783 | + | |
| 42784 | +#ifdef CONFIG_MACH_ROVERPCS8 | |
| 42785 | +# ifdef machine_arch_type | |
| 42786 | +# undef machine_arch_type | |
| 42787 | +# define machine_arch_type __machine_arch_type | |
| 42788 | +# else | |
| 42789 | +# define machine_arch_type MACH_TYPE_ROVERPCS8 | |
| 42790 | +# endif | |
| 42791 | +# define machine_is_roverpcs8() (machine_arch_type == MACH_TYPE_ROVERPCS8) | |
| 42792 | +#else | |
| 42793 | +# define machine_is_roverpcs8() (0) | |
| 42794 | +#endif | |
| 42795 | + | |
| 42796 | +#ifdef CONFIG_MACH_MARVELC | |
| 42797 | +# ifdef machine_arch_type | |
| 42798 | +# undef machine_arch_type | |
| 42799 | +# define machine_arch_type __machine_arch_type | |
| 42800 | +# else | |
| 42801 | +# define machine_arch_type MACH_TYPE_MARVELC | |
| 42802 | +# endif | |
| 42803 | +# define machine_is_marvelc() (machine_arch_type == MACH_TYPE_MARVELC) | |
| 42804 | +#else | |
| 42805 | +# define machine_is_marvelc() (0) | |
| 42806 | +#endif | |
| 42807 | + | |
| 42808 | +#ifdef CONFIG_MACH_NAVEFIHID | |
| 42809 | +# ifdef machine_arch_type | |
| 42810 | +# undef machine_arch_type | |
| 42811 | +# define machine_arch_type __machine_arch_type | |
| 42812 | +# else | |
| 42813 | +# define machine_arch_type MACH_TYPE_NAVEFIHID | |
| 42814 | +# endif | |
| 42815 | +# define machine_is_navefihid() (machine_arch_type == MACH_TYPE_NAVEFIHID) | |
| 42816 | +#else | |
| 42817 | +# define machine_is_navefihid() (0) | |
| 42818 | +#endif | |
| 42819 | + | |
| 42820 | +#ifdef CONFIG_MACH_DM365_CV100 | |
| 42821 | +# ifdef machine_arch_type | |
| 42822 | +# undef machine_arch_type | |
| 42823 | +# define machine_arch_type __machine_arch_type | |
| 42824 | +# else | |
| 42825 | +# define machine_arch_type MACH_TYPE_DM365_CV100 | |
| 42826 | +# endif | |
| 42827 | +# define machine_is_dm365_cv100() (machine_arch_type == MACH_TYPE_DM365_CV100) | |
| 42828 | +#else | |
| 42829 | +# define machine_is_dm365_cv100() (0) | |
| 42830 | +#endif | |
| 42831 | + | |
| 42832 | +#ifdef CONFIG_MACH_ABLE | |
| 42833 | +# ifdef machine_arch_type | |
| 42834 | +# undef machine_arch_type | |
| 42835 | +# define machine_arch_type __machine_arch_type | |
| 42836 | +# else | |
| 42837 | +# define machine_arch_type MACH_TYPE_ABLE | |
| 42838 | +# endif | |
| 42839 | +# define machine_is_able() (machine_arch_type == MACH_TYPE_ABLE) | |
| 42840 | +#else | |
| 42841 | +# define machine_is_able() (0) | |
| 42842 | +#endif | |
| 42843 | + | |
| 42844 | +#ifdef CONFIG_MACH_LEGACY | |
| 42845 | +# ifdef machine_arch_type | |
| 42846 | +# undef machine_arch_type | |
| 42847 | +# define machine_arch_type __machine_arch_type | |
| 42848 | +# else | |
| 42849 | +# define machine_arch_type MACH_TYPE_LEGACY | |
| 42850 | +# endif | |
| 42851 | +# define machine_is_legacy() (machine_arch_type == MACH_TYPE_LEGACY) | |
| 42852 | +#else | |
| 42853 | +# define machine_is_legacy() (0) | |
| 42854 | +#endif | |
| 42855 | + | |
| 42856 | +#ifdef CONFIG_MACH_ICONG | |
| 42857 | +# ifdef machine_arch_type | |
| 42858 | +# undef machine_arch_type | |
| 42859 | +# define machine_arch_type __machine_arch_type | |
| 42860 | +# else | |
| 42861 | +# define machine_arch_type MACH_TYPE_ICONG | |
| 42862 | +# endif | |
| 42863 | +# define machine_is_icong() (machine_arch_type == MACH_TYPE_ICONG) | |
| 42864 | +#else | |
| 42865 | +# define machine_is_icong() (0) | |
| 42866 | +#endif | |
| 42867 | + | |
| 42868 | +#ifdef CONFIG_MACH_ROVER_G8 | |
| 42869 | +# ifdef machine_arch_type | |
| 42870 | +# undef machine_arch_type | |
| 42871 | +# define machine_arch_type __machine_arch_type | |
| 42872 | +# else | |
| 42873 | +# define machine_arch_type MACH_TYPE_ROVER_G8 | |
| 42874 | +# endif | |
| 42875 | +# define machine_is_rover_g8() (machine_arch_type == MACH_TYPE_ROVER_G8) | |
| 42876 | +#else | |
| 42877 | +# define machine_is_rover_g8() (0) | |
| 42878 | +#endif | |
| 42879 | + | |
| 42880 | +#ifdef CONFIG_MACH_T5388P | |
| 42881 | +# ifdef machine_arch_type | |
| 42882 | +# undef machine_arch_type | |
| 42883 | +# define machine_arch_type __machine_arch_type | |
| 42884 | +# else | |
| 42885 | +# define machine_arch_type MACH_TYPE_T5388P | |
| 42886 | +# endif | |
| 42887 | +# define machine_is_t5388p() (machine_arch_type == MACH_TYPE_T5388P) | |
| 42888 | +#else | |
| 42889 | +# define machine_is_t5388p() (0) | |
| 42890 | +#endif | |
| 42891 | + | |
| 42892 | +#ifdef CONFIG_MACH_DINGO | |
| 42893 | +# ifdef machine_arch_type | |
| 42894 | +# undef machine_arch_type | |
| 42895 | +# define machine_arch_type __machine_arch_type | |
| 42896 | +# else | |
| 42897 | +# define machine_arch_type MACH_TYPE_DINGO | |
| 42898 | +# endif | |
| 42899 | +# define machine_is_dingo() (machine_arch_type == MACH_TYPE_DINGO) | |
| 42900 | +#else | |
| 42901 | +# define machine_is_dingo() (0) | |
| 42902 | +#endif | |
| 42903 | + | |
| 42904 | +#ifdef CONFIG_MACH_GOFLEXHOME | |
| 42905 | +# ifdef machine_arch_type | |
| 42906 | +# undef machine_arch_type | |
| 42907 | +# define machine_arch_type __machine_arch_type | |
| 42908 | +# else | |
| 42909 | +# define machine_arch_type MACH_TYPE_GOFLEXHOME | |
| 42910 | +# endif | |
| 42911 | +# define machine_is_goflexhome() (machine_arch_type == MACH_TYPE_GOFLEXHOME) | |
| 42912 | +#else | |
| 42913 | +# define machine_is_goflexhome() (0) | |
| 42914 | +#endif | |
| 42915 | + | |
| 41655 | 42916 | /* |
| 41656 | 42917 | * These have not yet been registered |
| 41657 | 42918 | */ |