mach-types.h 384.7 KB
Newer Older
W
wdenk 已提交
1
/*
T
Tom Rix 已提交
2
 * This was automagically generated from arch/arm/tools/mach-types!
W
wdenk 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
 * Do NOT edit
 */

#ifndef __ASM_ARM_MACH_TYPE_H
#define __ASM_ARM_MACH_TYPE_H

#ifndef __ASSEMBLY__
/* The type of machine we're running on */
extern unsigned int __machine_arch_type;
#endif

/* see arch/arm/kernel/arch.c for a description of these */
#define MACH_TYPE_EBSA110              0
#define MACH_TYPE_RISCPC               1
#define MACH_TYPE_EBSA285              4
#define MACH_TYPE_NETWINDER            5
#define MACH_TYPE_CATS                 6
#define MACH_TYPE_SHARK                15
#define MACH_TYPE_BRUTUS               16
#define MACH_TYPE_PERSONAL_SERVER      17
#define MACH_TYPE_L7200                19
#define MACH_TYPE_PLEB                 20
#define MACH_TYPE_INTEGRATOR           21
#define MACH_TYPE_H3600                22
#define MACH_TYPE_P720T                24
#define MACH_TYPE_ASSABET              25
#define MACH_TYPE_LART                 27
#define MACH_TYPE_GRAPHICSCLIENT       29
#define MACH_TYPE_XP860                30
#define MACH_TYPE_CERF                 31
#define MACH_TYPE_NANOENGINE           32
#define MACH_TYPE_JORNADA720           48
#define MACH_TYPE_EDB7211              50
#define MACH_TYPE_PFS168               52
#define MACH_TYPE_FLEXANET             54
#define MACH_TYPE_SIMPAD               87
#define MACH_TYPE_LUBBOCK              89
#define MACH_TYPE_CLEP7212             91
#define MACH_TYPE_SHANNON              97
#define MACH_TYPE_CONSUS               105
#define MACH_TYPE_AAED2000             106
#define MACH_TYPE_CDB89712             107
#define MACH_TYPE_GRAPHICSMASTER       108
#define MACH_TYPE_ADSBITSY             109
#define MACH_TYPE_PXA_IDP              110
#define MACH_TYPE_PT_SYSTEM3           112
#define MACH_TYPE_AUTCPU12             118
#define MACH_TYPE_H3100                136
#define MACH_TYPE_COLLIE               146
#define MACH_TYPE_BADGE4               148
#define MACH_TYPE_FORTUNET             152
#define MACH_TYPE_MX1ADS               160
#define MACH_TYPE_H7201                161
#define MACH_TYPE_H7202                162
#define MACH_TYPE_IQ80321              169
#define MACH_TYPE_KS8695               180
#define MACH_TYPE_SMDK2410             193
#define MACH_TYPE_CEIVA                200
W
Wolfgang Denk 已提交
61
#define MACH_TYPE_VOICEBLUE            218
W
wdenk 已提交
62 63
#define MACH_TYPE_H5400                220
#define MACH_TYPE_OMAP_INNOVATOR       234
W
Wolfgang Denk 已提交
64 65
#define MACH_TYPE_IXDP2400             242
#define MACH_TYPE_IXDP2800             243
W
wdenk 已提交
66 67
#define MACH_TYPE_IXDP425              245
#define MACH_TYPE_HACKKIT              254
W
wdenk 已提交
68 69 70 71 72 73 74 75 76
#define MACH_TYPE_IXCDP1100            260
#define MACH_TYPE_AT91RM9200DK         262
#define MACH_TYPE_CINTEGRATOR          275
#define MACH_TYPE_VIPER                283
#define MACH_TYPE_ADI_COYOTE           290
#define MACH_TYPE_IXDP2401             299
#define MACH_TYPE_IXDP2801             300
#define MACH_TYPE_IQ31244              327
#define MACH_TYPE_BAST                 331
W
wdenk 已提交
77 78 79
#define MACH_TYPE_H1940                347
#define MACH_TYPE_ENP2611              356
#define MACH_TYPE_S3C2440              362
80
#define MACH_TYPE_GUMSTIX              373
W
wdenk 已提交
81 82 83 84 85
#define MACH_TYPE_OMAP_H2              382
#define MACH_TYPE_E740                 384
#define MACH_TYPE_IQ80331              385
#define MACH_TYPE_VERSATILE_PB         387
#define MACH_TYPE_KEV7A400             388
W
wdenk 已提交
86 87
#define MACH_TYPE_LPD7A400             389
#define MACH_TYPE_LPD7A404             390
W
wdenk 已提交
88 89 90
#define MACH_TYPE_CSB337               399
#define MACH_TYPE_MAINSTONE            406
#define MACH_TYPE_XCEP                 413
91
#define MACH_TYPE_ARCOM_VULCAN         414
W
wdenk 已提交
92 93 94 95
#define MACH_TYPE_NOMADIK              420
#define MACH_TYPE_CORGI                423
#define MACH_TYPE_POODLE               424
#define MACH_TYPE_ARMCORE              438
96
#define MACH_TYPE_MX31ADS              447
W
wdenk 已提交
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
#define MACH_TYPE_HIMALAYA             448
#define MACH_TYPE_EDB9312              451
#define MACH_TYPE_OMAP_GENERIC         452
#define MACH_TYPE_EDB9301              462
#define MACH_TYPE_EDB9315              463
#define MACH_TYPE_VR1000               475
#define MACH_TYPE_OMAP_PERSEUS2        491
#define MACH_TYPE_E800                 496
#define MACH_TYPE_E750                 497
#define MACH_TYPE_SCB9328              508
#define MACH_TYPE_OMAP_H3              509
#define MACH_TYPE_OMAP_H4              510
#define MACH_TYPE_OMAP_OSK             515
#define MACH_TYPE_TOSA                 520
#define MACH_TYPE_AVILA                526
#define MACH_TYPE_EDB9302              538
#define MACH_TYPE_HUSKY                543
#define MACH_TYPE_SHEPHERD             545
W
wdenk 已提交
115 116 117 118 119 120 121 122 123
#define MACH_TYPE_H4700                562
#define MACH_TYPE_RX3715               592
#define MACH_TYPE_NSLU2                597
#define MACH_TYPE_E400                 598
#define MACH_TYPE_IXDPG425             604
#define MACH_TYPE_VERSATILE_AB         606
#define MACH_TYPE_EDB9307              607
#define MACH_TYPE_KB9200               612
#define MACH_TYPE_SX1                  613
W
Wolfgang Denk 已提交
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
#define MACH_TYPE_IXDP465              618
#define MACH_TYPE_IXDP2351             619
#define MACH_TYPE_IQ80332              629
#define MACH_TYPE_GTWX5715             641
#define MACH_TYPE_CSB637               648
#define MACH_TYPE_N30                  656
#define MACH_TYPE_NEC_MP900            659
#define MACH_TYPE_KAFA                 662
#define MACH_TYPE_TS72XX               673
#define MACH_TYPE_OTOM                 680
#define MACH_TYPE_NEXCODER_2440        681
#define MACH_TYPE_ECO920               702
#define MACH_TYPE_ROADRUNNER           704
#define MACH_TYPE_AT91RM9200EK         705
#define MACH_TYPE_SPITZ                713
#define MACH_TYPE_ADSSPHERE            723
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
#define MACH_TYPE_COLIBRI              729
#define MACH_TYPE_GATEWAY7001          731
#define MACH_TYPE_PCM027               732
#define MACH_TYPE_ANUBIS               734
#define MACH_TYPE_AKITA                744
#define MACH_TYPE_E330                 753
#define MACH_TYPE_NOKIA770             755
#define MACH_TYPE_CARMEVA              769
#define MACH_TYPE_EDB9315A             772
#define MACH_TYPE_STARGATE2            774
#define MACH_TYPE_INTELMOTE2           775
#define MACH_TYPE_TRIZEPS4             776
#define MACH_TYPE_PNX4008              782
#define MACH_TYPE_CPUAT91              787
#define MACH_TYPE_IQ81340SC            799
#define MACH_TYPE_IQ81340MC            801
#define MACH_TYPE_MICRO9               811
#define MACH_TYPE_MICRO9L              812
#define MACH_TYPE_OMAP_PALMTE          817
#define MACH_TYPE_REALVIEW_EB          827
#define MACH_TYPE_BORZOI               831
161
#define MACH_TYPE_PALMLD               835
162 163 164 165
#define MACH_TYPE_IXDP28X5             838
#define MACH_TYPE_OMAP_PALMTT          839
#define MACH_TYPE_ARCOM_ZEUS           841
#define MACH_TYPE_OSIRIS               842
166
#define MACH_TYPE_PALMTE2              844
167
#define MACH_TYPE_MX27ADS              846
168
#define MACH_TYPE_AT91SAM9261EK        848
169 170 171 172 173 174
#define MACH_TYPE_LOFT                 849
#define MACH_TYPE_MX21ADS              851
#define MACH_TYPE_AMS_DELTA            862
#define MACH_TYPE_NAS100D              865
#define MACH_TYPE_MAGICIAN             875
#define MACH_TYPE_NXDKN                880
175
#define MACH_TYPE_PALMTX               885
176 177 178 179 180 181
#define MACH_TYPE_S3C2413              887
#define MACH_TYPE_WG302V2              890
#define MACH_TYPE_OMAP_2430SDP         900
#define MACH_TYPE_DAVINCI_EVM          901
#define MACH_TYPE_PALMZ72              904
#define MACH_TYPE_NXDB500              905
182 183
#define MACH_TYPE_PALMT5               917
#define MACH_TYPE_PALMTC               918
P
Peter Pearse 已提交
184
#define MACH_TYPE_OMAP_APOLLON         919
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
#define MACH_TYPE_ATEB9200             923
#define MACH_TYPE_N35                  927
#define MACH_TYPE_LOGICPD_PXA270       930
#define MACH_TYPE_NXEB500HMI           941
#define MACH_TYPE_ESPRESSO             949
#define MACH_TYPE_RX1950               952
#define MACH_TYPE_GESBC9312            958
#define MACH_TYPE_PICOTUX2XX           963
#define MACH_TYPE_DSMG600              964
#define MACH_TYPE_OMAP_FSAMPLE         970
#define MACH_TYPE_SNAPPER_CL15         986
#define MACH_TYPE_OMAP_PALMZ71         993
#define MACH_TYPE_SMDK2412             1009
#define MACH_TYPE_SMDK2413             1022
#define MACH_TYPE_AML_M5900            1024
#define MACH_TYPE_BALLOON3             1029
#define MACH_TYPE_ECBAT91              1072
#define MACH_TYPE_ONEARM               1075
#define MACH_TYPE_SMDK2443             1084
#define MACH_TYPE_FSG                  1091
#define MACH_TYPE_AT91SAM9260EK        1099
#define MACH_TYPE_GLANTANK             1100
#define MACH_TYPE_N2100                1101
#define MACH_TYPE_QT2410               1108
#define MACH_TYPE_KIXRP435             1109
#define MACH_TYPE_CC9P9360DEV          1114
#define MACH_TYPE_EDB9302A             1127
#define MACH_TYPE_EDB9307A             1128
M
Michael Schwingen 已提交
213
#define MACH_TYPE_OMAP_3430SDP         1138
214 215 216 217 218 219
#define MACH_TYPE_VSTMS                1140
#define MACH_TYPE_MICRO9M              1169
#define MACH_TYPE_BUG                  1179
#define MACH_TYPE_AT91SAM9263EK        1202
#define MACH_TYPE_EM7210               1212
#define MACH_TYPE_VPAC270              1227
220
#define MACH_TYPE_TREO680              1230
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
#define MACH_TYPE_ZYLONITE             1233
#define MACH_TYPE_MX31LITE             1236
#define MACH_TYPE_MIOA701              1257
#define MACH_TYPE_ARMADILLO5X0         1260
#define MACH_TYPE_CC9P9360JS           1264
#define MACH_TYPE_NOKIA_N800           1271
#define MACH_TYPE_EP80219              1281
#define MACH_TYPE_GORAMO_MLR           1292
#define MACH_TYPE_EM_X270              1297
#define MACH_TYPE_NEO1973_GTA02        1304
#define MACH_TYPE_AT91SAM9RLEK         1326
#define MACH_TYPE_COLIBRI320           1340
#define MACH_TYPE_CAM60                1351
#define MACH_TYPE_AT91EB01             1354
#define MACH_TYPE_DB88F5281            1358
#define MACH_TYPE_CSB726               1359
M
Michael Schwingen 已提交
237
#define MACH_TYPE_DAVINCI_DM6467_EVM   1380
238
#define MACH_TYPE_DAVINCI_DM355_EVM    1381
M
Michael Schwingen 已提交
239 240 241 242 243 244
#define MACH_TYPE_LITTLETON            1388
#define MACH_TYPE_REALVIEW_PB11MP      1407
#define MACH_TYPE_MX27_3DS             1430
#define MACH_TYPE_HALIBUT              1439
#define MACH_TYPE_TROUT                1440
#define MACH_TYPE_TCT_HAMMER           1460
W
Wolfgang Denk 已提交
245
#define MACH_TYPE_HERALD               1461
M
Michael Schwingen 已提交
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267
#define MACH_TYPE_SIM_ONE              1476
#define MACH_TYPE_JIVE                 1490
#define MACH_TYPE_SAM9_L9260           1501
#define MACH_TYPE_REALVIEW_PB1176      1504
#define MACH_TYPE_YL9200               1507
#define MACH_TYPE_RD88F5182            1508
#define MACH_TYPE_KUROBOX_PRO          1509
#define MACH_TYPE_MX31_3DS             1511
#define MACH_TYPE_QONG                 1524
#define MACH_TYPE_OMAP2EVM             1534
#define MACH_TYPE_OMAP3EVM             1535
#define MACH_TYPE_DNS323               1542
#define MACH_TYPE_OMAP3_BEAGLE         1546
#define MACH_TYPE_NOKIA_N810           1548
#define MACH_TYPE_PCM038               1551
#define MACH_TYPE_TS209                1565
#define MACH_TYPE_AT91CAP9ADK          1566
#define MACH_TYPE_MX31MOBOARD          1574
#define MACH_TYPE_TERASTATION_PRO2     1584
#define MACH_TYPE_LINKSTATION_PRO      1585
#define MACH_TYPE_E350                 1596
#define MACH_TYPE_TS409                1601
268 269 270 271 272 273 274
#define MACH_TYPE_CM_X300              1616
#define MACH_TYPE_AT91SAM9G20EK        1624
#define MACH_TYPE_SMDK6410             1626
#define MACH_TYPE_U300                 1627
#define MACH_TYPE_WRT350N_V2           1633
#define MACH_TYPE_OMAP_LDP             1639
#define MACH_TYPE_MX35_3DS             1645
T
Tom Rix 已提交
275
#define MACH_TYPE_NEUROS_OSD2          1647
276 277
#define MACH_TYPE_TRIZEPS4WL           1649
#define MACH_TYPE_TS78XX               1652
278
#define MACH_TYPE_SFFSDR               1657
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
#define MACH_TYPE_PCM037               1673
#define MACH_TYPE_DB88F6281_BP         1680
#define MACH_TYPE_RD88F6192_NAS        1681
#define MACH_TYPE_RD88F6281            1682
#define MACH_TYPE_DB78X00_BP           1683
#define MACH_TYPE_SMDK2416             1685
#define MACH_TYPE_WBD111               1690
#define MACH_TYPE_MV2120               1693
#define MACH_TYPE_MX51_3DS             1696
#define MACH_TYPE_IMX27LITE            1701
#define MACH_TYPE_USB_A9260            1709
#define MACH_TYPE_USB_A9263            1710
#define MACH_TYPE_QIL_A9260            1711
#define MACH_TYPE_KZM_ARM11_01         1722
#define MACH_TYPE_NOKIA_N810_WIMAX     1727
#define MACH_TYPE_SAPPHIRE             1729
#define MACH_TYPE_STMP37XX             1732
296
#define MACH_TYPE_STMP378X             1733
297 298 299 300 301 302 303 304 305 306 307 308 309
#define MACH_TYPE_EZX_A780             1740
#define MACH_TYPE_EZX_E680             1741
#define MACH_TYPE_EZX_A1200            1742
#define MACH_TYPE_EZX_E6               1743
#define MACH_TYPE_EZX_E2               1744
#define MACH_TYPE_EZX_A910             1745
#define MACH_TYPE_EDMINI_V2            1756
#define MACH_TYPE_ZIPIT2               1757
#define MACH_TYPE_OMAP3_PANDORA        1761
#define MACH_TYPE_MSS2                 1766
#define MACH_TYPE_LB88RC8480           1769
#define MACH_TYPE_MX25_3DS             1771
#define MACH_TYPE_OMAP3530_LV_SOM      1773
W
Wolfgang Denk 已提交
310
#define MACH_TYPE_DAVINCI_DA830_EVM    1781
311
#define MACH_TYPE_AT572D940HFEB        1783
T
Tom Rix 已提交
312
#define MACH_TYPE_DOVE_DB              1788
313 314 315 316 317 318
#define MACH_TYPE_OVERO                1798
#define MACH_TYPE_AT2440EVB            1799
#define MACH_TYPE_NEOCORE926           1800
#define MACH_TYPE_WNR854T              1801
#define MACH_TYPE_RD88F5181L_GE        1812
#define MACH_TYPE_RD88F5181L_FXO       1818
319
#define MACH_TYPE_STAMP9G20            1824
320 321 322
#define MACH_TYPE_SMDKC100             1826
#define MACH_TYPE_TAVOREVB             1827
#define MACH_TYPE_SAAR                 1828
323
#define MACH_TYPE_AT91SAM9M10G45EK     1830
324 325 326 327
#define MACH_TYPE_MXLADS               1851
#define MACH_TYPE_LINKSTATION_MINI     1858
#define MACH_TYPE_AFEB9260             1859
#define MACH_TYPE_IMX27IPCAM           1871
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343
#define MACH_TYPE_RD88F6183AP_GE       1894
#define MACH_TYPE_REALVIEW_PBA8        1897
#define MACH_TYPE_REALVIEW_PBX         1901
#define MACH_TYPE_MICRO9S              1902
#define MACH_TYPE_RUT100               1908
#define MACH_TYPE_G3EVM                1919
#define MACH_TYPE_W90P910EVB           1921
#define MACH_TYPE_W90P950EVB           1923
#define MACH_TYPE_W90N960EVB           1924
#define MACH_TYPE_MV88F6281GTW_GE      1932
#define MACH_TYPE_NCP                  1933
#define MACH_TYPE_DAVINCI_DM365_EVM    1939
#define MACH_TYPE_CENTRO               1944
#define MACH_TYPE_NOKIA_RX51           1955
#define MACH_TYPE_OMAP_ZOOM2           1967
#define MACH_TYPE_CPUAT9260            1973
M
Marek Vasut 已提交
344
#define MACH_TYPE_EUKREA_CPUIMX27      1975
345 346 347 348 349 350 351
#define MACH_TYPE_ACS5K                1982
#define MACH_TYPE_SNAPPER_9260         1987
#define MACH_TYPE_DSM320               1988
#define MACH_TYPE_EXEDA                1994
#define MACH_TYPE_MINI2440             1999
#define MACH_TYPE_COLIBRI300           2000
#define MACH_TYPE_LINKSTATION_LS_HGL   2005
352 353 354 355 356 357 358 359 360 361 362
#define MACH_TYPE_CPUAT9G20            2031
#define MACH_TYPE_SMDK6440             2032
#define MACH_TYPE_NAS4220B             2038
#define MACH_TYPE_ZYLONITE2            2042
#define MACH_TYPE_ASPENITE             2043
#define MACH_TYPE_TTC_DKB              2045
#define MACH_TYPE_PCM043               2072
#define MACH_TYPE_SHEEVAPLUG           2097
#define MACH_TYPE_AVENGERS_LITE        2104
#define MACH_TYPE_MX51_BABBAGE         2125
#define MACH_TYPE_RD78X00_MASA         2135
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
#define MACH_TYPE_DM355_LEOPARD        2138
#define MACH_TYPE_TS219                2139
#define MACH_TYPE_PCA100               2149
#define MACH_TYPE_DAVINCI_DA850_EVM    2157
#define MACH_TYPE_AT91SAM9G10EK        2159
#define MACH_TYPE_OMAP_4430SDP         2160
#define MACH_TYPE_MAGX_ZN5             2162
#define MACH_TYPE_BTMAVB101            2172
#define MACH_TYPE_BTMAWB101            2173
#define MACH_TYPE_OMAP3_TORPEDO        2178
#define MACH_TYPE_ANW6410              2183
#define MACH_TYPE_IMX27_VISSTRIM_M10   2187
#define MACH_TYPE_PORTUXG20            2191
#define MACH_TYPE_SMDKC110             2193
#define MACH_TYPE_OMAP3517EVM          2200
#define MACH_TYPE_NETSPACE_V2          2201
#define MACH_TYPE_NETSPACE_MAX_V2      2202
#define MACH_TYPE_D2NET_V2             2203
#define MACH_TYPE_NET2BIG_V2           2204
#define MACH_TYPE_NET5BIG_V2           2206
#define MACH_TYPE_INETSPACE_V2         2208
#define MACH_TYPE_AT91SAM9G45EKES      2212
#define MACH_TYPE_PC7302               2220
#define MACH_TYPE_SPEAR600             2236
#define MACH_TYPE_SPEAR300             2237
#define MACH_TYPE_LILLY1131            2239
#define MACH_TYPE_HMT                  2254
T
Tom Rix 已提交
390
#define MACH_TYPE_VEXPRESS             2272
W
Wolfgang Denk 已提交
391 392 393 394 395 396 397 398 399
#define MACH_TYPE_D2NET                2282
#define MACH_TYPE_BIGDISK              2283
#define MACH_TYPE_AT91SAM9G20EK_2MMC   2288
#define MACH_TYPE_BCMRING              2289
#define MACH_TYPE_DP6XX                2302
#define MACH_TYPE_MAHIMAHI             2304
#define MACH_TYPE_SMDK6442             2324
#define MACH_TYPE_OPENRD_BASE          2325
#define MACH_TYPE_DEVKIT8000           2330
S
Sandeep Paulraj 已提交
400
#define MACH_TYPE_MX51_EFIKAMX         2336
W
Wolfgang Denk 已提交
401 402 403 404 405 406
#define MACH_TYPE_CM_T35               2341
#define MACH_TYPE_NET2BIG              2342
#define MACH_TYPE_IGEP0020             2344
#define MACH_TYPE_NUC932EVB            2356
#define MACH_TYPE_OPENRD_CLIENT        2361
#define MACH_TYPE_U8500                2368
S
Sandeep Paulraj 已提交
407
#define MACH_TYPE_MX51_EFIKASB         2370
W
Wolfgang Denk 已提交
408 409 410 411 412 413 414 415
#define MACH_TYPE_MARVELL_JASPER       2382
#define MACH_TYPE_FLINT                2383
#define MACH_TYPE_TAVOREVB3            2384
#define MACH_TYPE_TOUCHBOOK            2393
#define MACH_TYPE_RAUMFELD_RC          2413
#define MACH_TYPE_RAUMFELD_CONNECTOR   2414
#define MACH_TYPE_RAUMFELD_SPEAKER     2415
#define MACH_TYPE_TNETV107X            2418
T
Tom Rix 已提交
416 417 418 419 420 421 422 423 424 425
#define MACH_TYPE_SMDKV210             2456
#define MACH_TYPE_OMAP_ZOOM3           2464
#define MACH_TYPE_OMAP_3630SDP         2465
#define MACH_TYPE_SMARTQ7              2479
#define MACH_TYPE_WATSON_EFM_PLUGIN    2491
#define MACH_TYPE_G4EVM                2493
#define MACH_TYPE_OMAPL138_HAWKBOARD   2495
#define MACH_TYPE_TS41X                2502
#define MACH_TYPE_PHY3250              2511
#define MACH_TYPE_MINI6410             2520
T
Tom Rix 已提交
426 427 428 429
#define MACH_TYPE_MX28EVK              2531
#define MACH_TYPE_SMARTQ5              2534
#define MACH_TYPE_DAVINCI_DM6467TEVM   2548
#define MACH_TYPE_MXT_TD60             2550
T
Tom Rix 已提交
430 431 432
#define MACH_TYPE_RIOT_BEI2            2576
#define MACH_TYPE_RIOT_X37             2578
#define MACH_TYPE_CAPC7117             2612
T
Tom Rix 已提交
433 434 435 436
#define MACH_TYPE_ICONTROL             2624
#define MACH_TYPE_QSD8X50A_ST1_5       2627
#define MACH_TYPE_MX23EVK              2629
#define MACH_TYPE_AP4EVB               2630
T
Tom Rix 已提交
437 438 439 440 441 442
#define MACH_TYPE_MITYOMAPL138         2650
#define MACH_TYPE_GURUPLUG             2659
#define MACH_TYPE_SPEAR310             2660
#define MACH_TYPE_SPEAR320             2661
#define MACH_TYPE_AQUILA               2676
#define MACH_TYPE_ESATA_SHEEVAPLUG     2678
T
trix 已提交
443
#define MACH_TYPE_MSM7X30_SURF         2679
M
Marek Vasut 已提交
444
#define MACH_TYPE_EA2478DEVKIT         2683
T
Tom Rix 已提交
445 446 447 448 449 450 451 452 453
#define MACH_TYPE_TERASTATION_WXL      2697
#define MACH_TYPE_MSM7X25_SURF         2703
#define MACH_TYPE_MSM7X25_FFA          2704
#define MACH_TYPE_MSM7X27_SURF         2705
#define MACH_TYPE_MSM7X27_FFA          2706
#define MACH_TYPE_MSM7X30_FFA          2707
#define MACH_TYPE_QSD8X50_SURF         2708
#define MACH_TYPE_MX53_EVK             2716
#define MACH_TYPE_IGEP0030             2717
T
trix 已提交
454 455 456 457 458 459 460 461 462 463 464 465 466
#define MACH_TYPE_SBC3530              2722
#define MACH_TYPE_SAARB                2727
#define MACH_TYPE_HARMONY              2731
#define MACH_TYPE_MSM7X30_FLUID        2741
#define MACH_TYPE_CM_T3517             2750
#define MACH_TYPE_WBD222               2753
#define MACH_TYPE_MSM8X60_SURF         2755
#define MACH_TYPE_MSM8X60_SIM          2756
#define MACH_TYPE_TCC8000_SDK          2758
#define MACH_TYPE_NANOS                2759
#define MACH_TYPE_STAMP9G45            2761
#define MACH_TYPE_CNS3420VB            2776
#define MACH_TYPE_OMAP4_PANDA          2791
T
Tom 已提交
467 468
#define MACH_TYPE_TI8168EVM            2800
#define MACH_TYPE_TETON_BGA            2816
M
Marek Vasut 已提交
469 470
#define MACH_TYPE_EUKREA_CPUIMX25SD    2820
#define MACH_TYPE_EUKREA_CPUIMX35SD    2821
T
Tom 已提交
471 472 473 474 475 476 477 478
#define MACH_TYPE_EUKREA_CPUIMX51SD    2822
#define MACH_TYPE_EUKREA_CPUIMX51      2823
#define MACH_TYPE_SMDKC210             2838
#define MACH_TYPE_OMAP3_BRAILLO        2839
#define MACH_TYPE_SPYPLUG              2840
#define MACH_TYPE_GINGER               2841
#define MACH_TYPE_TNY_T3530            2842
#define MACH_TYPE_PCA102               2843
T
Tom 已提交
479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516
#define MACH_TYPE_SPADE                2844
#define MACH_TYPE_MXC25_TOPAZ          2845
#define MACH_TYPE_T5325                2846
#define MACH_TYPE_GW2361               2847
#define MACH_TYPE_ELOG                 2848
#define MACH_TYPE_INCOME               2849
#define MACH_TYPE_BCM589X              2850
#define MACH_TYPE_ETNA                 2851
#define MACH_TYPE_HAWKS                2852
#define MACH_TYPE_MESON                2853
#define MACH_TYPE_XSBASE255            2854
#define MACH_TYPE_PVM2030              2855
#define MACH_TYPE_MIOA502              2856
#define MACH_TYPE_VVBOX_SDORIG2        2857
#define MACH_TYPE_VVBOX_SDLITE2        2858
#define MACH_TYPE_VVBOX_SDPRO4         2859
#define MACH_TYPE_HTC_SPV_M700         2860
#define MACH_TYPE_MX257SX              2861
#define MACH_TYPE_GONI                 2862
#define MACH_TYPE_MSM8X55_SVLTE_FFA    2863
#define MACH_TYPE_MSM8X55_SVLTE_SURF   2864
#define MACH_TYPE_QUICKSTEP            2865
#define MACH_TYPE_DMW96                2866
#define MACH_TYPE_HAMMERHEAD           2867
#define MACH_TYPE_TRIDENT              2868
#define MACH_TYPE_LIGHTNING            2869
#define MACH_TYPE_ICONNECT             2870
#define MACH_TYPE_AUTOBOT              2871
#define MACH_TYPE_COCONUT              2872
#define MACH_TYPE_DURIAN               2873
#define MACH_TYPE_CAYENNE              2874
#define MACH_TYPE_FUJI                 2875
#define MACH_TYPE_SYNOLOGY_6282        2876
#define MACH_TYPE_EM1SY                2877
#define MACH_TYPE_M502                 2878
#define MACH_TYPE_MATRIX518            2879
#define MACH_TYPE_TINY_GURNARD         2880
#define MACH_TYPE_SPEAR1310            2881
S
Sandeep Paulraj 已提交
517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599
#define MACH_TYPE_BV07                 2882
#define MACH_TYPE_MXT_TD61             2883
#define MACH_TYPE_OPENRD_ULTIMATE      2884
#define MACH_TYPE_DEVIXP               2885
#define MACH_TYPE_MICCPT               2886
#define MACH_TYPE_MIC256               2887
#define MACH_TYPE_AS1167               2888
#define MACH_TYPE_OMAP3_IBIZA          2889
#define MACH_TYPE_U5500                2890
#define MACH_TYPE_DAVINCI_PICTO        2891
#define MACH_TYPE_MECHA                2892
#define MACH_TYPE_BUBBA3               2893
#define MACH_TYPE_PUPITRE              2894
#define MACH_TYPE_TEGRA_VOGUE          2896
#define MACH_TYPE_TEGRA_E1165          2897
#define MACH_TYPE_SIMPLENET            2898
#define MACH_TYPE_EC4350TBM            2899
#define MACH_TYPE_PEC_TC               2900
#define MACH_TYPE_PEC_HC2              2901
#define MACH_TYPE_ESL_MOBILIS_A        2902
#define MACH_TYPE_ESL_MOBILIS_B        2903
#define MACH_TYPE_ESL_WAVE_A           2904
#define MACH_TYPE_ESL_WAVE_B           2905
#define MACH_TYPE_UNISENSE_MMM         2906
#define MACH_TYPE_BLUESHARK            2907
#define MACH_TYPE_E10                  2908
#define MACH_TYPE_APP3K_ROBIN          2909
#define MACH_TYPE_POV15HD              2910
#define MACH_TYPE_STELLA               2911
#define MACH_TYPE_LINKSTATION_LSCHL    2913
#define MACH_TYPE_NETWALKER            2914
#define MACH_TYPE_ACSX106              2915
#define MACH_TYPE_ATLAS5_C1            2916
#define MACH_TYPE_NSB3AST              2917
#define MACH_TYPE_GNET_SLC             2918
#define MACH_TYPE_AF4000               2919
#define MACH_TYPE_ARK9431              2920
#define MACH_TYPE_FS_S5PC100           2921
#define MACH_TYPE_OMAP3505NOVA8        2922
#define MACH_TYPE_OMAP3621_EDP1        2923
#define MACH_TYPE_ORATISAES            2924
#define MACH_TYPE_SMDKV310             2925
#define MACH_TYPE_SIEMENS_L0           2926
#define MACH_TYPE_VENTANA              2927
#define MACH_TYPE_WM8505_7IN_NETBOOK   2928
#define MACH_TYPE_EC4350SDB            2929
#define MACH_TYPE_MIMAS                2930
#define MACH_TYPE_TITAN                2931
#define MACH_TYPE_CRANEBOARD           2932
#define MACH_TYPE_ES2440               2933
#define MACH_TYPE_NAJAY_A9263          2934
#define MACH_TYPE_HTCTORNADO           2935
#define MACH_TYPE_DIMM_MX257           2936
#define MACH_TYPE_JIGEN                2937
#define MACH_TYPE_SMDK6450             2938
#define MACH_TYPE_MENO_QNG             2939
#define MACH_TYPE_NS2416               2940
#define MACH_TYPE_RPC353               2941
#define MACH_TYPE_TQ6410               2942
#define MACH_TYPE_SKY6410              2943
#define MACH_TYPE_DYNASTY              2944
#define MACH_TYPE_VIVO                 2945
#define MACH_TYPE_BURY_BL7582          2946
#define MACH_TYPE_BURY_BPS5270         2947
#define MACH_TYPE_BASI                 2948
#define MACH_TYPE_TN200                2949
#define MACH_TYPE_C2MMI                2950
#define MACH_TYPE_MESON_6236M          2951
#define MACH_TYPE_MESON_8626M          2952
#define MACH_TYPE_TUBE                 2953
#define MACH_TYPE_MESSINA              2954
#define MACH_TYPE_MX50_ARM2            2955
#define MACH_TYPE_CETUS9263            2956
#define MACH_TYPE_BROWNSTONE           2957
#define MACH_TYPE_VMX25                2958
#define MACH_TYPE_VMX51                2959
#define MACH_TYPE_ABACUS               2960
#define MACH_TYPE_CM4745               2961
#define MACH_TYPE_ORATISLINK           2962
#define MACH_TYPE_DAVINCI_DM365_DVR    2963
#define MACH_TYPE_NETVIZ               2964
#define MACH_TYPE_FLEXIBITY            2965
#define MACH_TYPE_WLAN_COMPUTER        2966
T
Thomas Weber 已提交
600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619
#define MACH_TYPE_LPC24XX              2967
#define MACH_TYPE_SPICA                2968
#define MACH_TYPE_GPSDISPLAY           2969
#define MACH_TYPE_BIPNET               2970
#define MACH_TYPE_OVERO_CTU_INERTIAL   2971
#define MACH_TYPE_DAVINCI_DM355_MMM    2972
#define MACH_TYPE_PC9260_V2            2973
#define MACH_TYPE_PTX7545              2974
#define MACH_TYPE_TM_EFDC              2975
#define MACH_TYPE_OMAP3_WALDO1         2977
#define MACH_TYPE_FLYER                2978
#define MACH_TYPE_TORNADO3240          2979
#define MACH_TYPE_SOLI_01              2980
#define MACH_TYPE_OMAPL138_EUROPALC    2981
#define MACH_TYPE_HELIOS_V1            2982
#define MACH_TYPE_NETSPACE_LITE_V2     2983
#define MACH_TYPE_SSC                  2984
#define MACH_TYPE_PREMIERWAVE_EN       2985
#define MACH_TYPE_WASABI               2986
#define MACH_TYPE_MX50_RDP             2988
S
Sandeep Paulraj 已提交
620
#define MACH_TYPE_UNIVERSAL_C210       2989
T
Thomas Weber 已提交
621 622 623 624 625 626 627 628 629 630 631 632 633 634 635
#define MACH_TYPE_REAL6410             2990
#define MACH_TYPE_SPX_SAKURA           2991
#define MACH_TYPE_IJ3K_2440            2992
#define MACH_TYPE_OMAP3_BC10           2993
#define MACH_TYPE_THEBE                2994
#define MACH_TYPE_RV082                2995
#define MACH_TYPE_ARMLGUEST            2996
#define MACH_TYPE_TJINC1000            2997
#define MACH_TYPE_DOCKSTAR             2998
#define MACH_TYPE_AX8008               2999
#define MACH_TYPE_GNET_SGCE            3000
#define MACH_TYPE_PXWNAS_500_1000      3001
#define MACH_TYPE_EA20                 3002
#define MACH_TYPE_AWM2                 3003
#define MACH_TYPE_TI8148EVM            3004
S
Sandeep Paulraj 已提交
636
#define MACH_TYPE_SEABOARD             3005
T
Thomas Weber 已提交
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690
#define MACH_TYPE_LINKSTATION_CHLV2    3006
#define MACH_TYPE_TERA_PRO2_RACK       3007
#define MACH_TYPE_RUBYS                3008
#define MACH_TYPE_AQUARIUS             3009
#define MACH_TYPE_MX53_ARD             3010
#define MACH_TYPE_MX53_SMD             3011
#define MACH_TYPE_LSWXL                3012
#define MACH_TYPE_DOVE_AVNG_V3         3013
#define MACH_TYPE_SDI_ESS_9263         3014
#define MACH_TYPE_JOCPU550             3015
#define MACH_TYPE_MSM8X60_RUMI3        3016
#define MACH_TYPE_MSM8X60_FFA          3017
#define MACH_TYPE_YANOMAMI             3018
#define MACH_TYPE_GTA04                3019
#define MACH_TYPE_CM_A510              3020
#define MACH_TYPE_OMAP3_RFS200         3021
#define MACH_TYPE_KX33XX               3022
#define MACH_TYPE_PTX7510              3023
#define MACH_TYPE_TOP9000              3024
#define MACH_TYPE_TEENOTE              3025
#define MACH_TYPE_TS3                  3026
#define MACH_TYPE_A0                   3027
#define MACH_TYPE_FSM9XXX_SURF         3028
#define MACH_TYPE_FSM9XXX_FFA          3029
#define MACH_TYPE_FRRHWCDMA60W         3030
#define MACH_TYPE_REMUS                3031
#define MACH_TYPE_AT91CAP7XDK          3032
#define MACH_TYPE_AT91CAP7STK          3033
#define MACH_TYPE_KT_SBC_SAM9_1        3034
#define MACH_TYPE_ARMADA_XP_DB         3036
#define MACH_TYPE_SPDM                 3037
#define MACH_TYPE_GTIB                 3038
#define MACH_TYPE_DGM3240              3039
#define MACH_TYPE_HTCMEGA              3041
#define MACH_TYPE_TRICORDER            3042
#define MACH_TYPE_TX28                 3043
#define MACH_TYPE_BSTBRD               3044
#define MACH_TYPE_PWB3090              3045
#define MACH_TYPE_IDEA6410             3046
#define MACH_TYPE_QBC9263              3047
#define MACH_TYPE_BORABORA             3048
#define MACH_TYPE_VALDEZ               3049
#define MACH_TYPE_LS9G20               3050
#define MACH_TYPE_MIOS_V1              3051
#define MACH_TYPE_S5PC110_CRESPO       3052
#define MACH_TYPE_CONTROLTEK9G20       3053
#define MACH_TYPE_TIN307               3054
#define MACH_TYPE_TIN510               3055
#define MACH_TYPE_BLUECHEESE           3057
#define MACH_TYPE_TEM3X30              3058
#define MACH_TYPE_HARVEST_DESOTO       3059
#define MACH_TYPE_MSM8X60_QRDC         3060
#define MACH_TYPE_SPEAR900             3061
#define MACH_TYPE_PCONTROL_G20         3062
S
Sandeep Paulraj 已提交
691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831
#define MACH_TYPE_RDSTOR               3063
#define MACH_TYPE_USDLOADER            3064
#define MACH_TYPE_TSOPLOADER           3065
#define MACH_TYPE_KRONOS               3066
#define MACH_TYPE_FFCORE               3067
#define MACH_TYPE_MONE                 3068
#define MACH_TYPE_UNIT2S               3069
#define MACH_TYPE_ACER_A5              3070
#define MACH_TYPE_ETHERPRO_ISP         3071
#define MACH_TYPE_STRETCHS7000         3072
#define MACH_TYPE_P87_SMARTSIM         3073
#define MACH_TYPE_TULIP                3074
#define MACH_TYPE_SUNFLOWER            3075
#define MACH_TYPE_RIB                  3076
#define MACH_TYPE_CLOD                 3077
#define MACH_TYPE_RUMP                 3078
#define MACH_TYPE_TENDERLOIN           3079
#define MACH_TYPE_SHORTLOIN            3080
#define MACH_TYPE_ANTARES              3082
#define MACH_TYPE_WB40N                3083
#define MACH_TYPE_HERRING              3084
#define MACH_TYPE_NAXY400              3085
#define MACH_TYPE_NAXY1200             3086
#define MACH_TYPE_VPR200               3087
#define MACH_TYPE_BUG20                3088
#define MACH_TYPE_GOFLEXNET            3089
#define MACH_TYPE_TORBRECK             3090
#define MACH_TYPE_SAARB_MG1            3091
#define MACH_TYPE_CALLISTO             3092
#define MACH_TYPE_MULTHSU              3093
#define MACH_TYPE_SALUDA               3094
#define MACH_TYPE_PEMP_OMAP3_APOLLO    3095
#define MACH_TYPE_VC0718               3096
#define MACH_TYPE_MVBLX                3097
#define MACH_TYPE_INHAND_APEIRON       3098
#define MACH_TYPE_INHAND_FURY          3099
#define MACH_TYPE_INHAND_SIREN         3100
#define MACH_TYPE_HDNVP                3101
#define MACH_TYPE_SOFTWINNER           3102
#define MACH_TYPE_PRIMA2_EVB           3103
#define MACH_TYPE_NAS6210              3104
#define MACH_TYPE_UNISDEV              3105
#define MACH_TYPE_SBCA11               3106
#define MACH_TYPE_SAGA                 3107
#define MACH_TYPE_NS_K330              3108
#define MACH_TYPE_TANNA                3109
#define MACH_TYPE_IMATE8502            3110
#define MACH_TYPE_ASPEN                3111
#define MACH_TYPE_DAINTREE_CWAC        3112
#define MACH_TYPE_ZMX25                3113
#define MACH_TYPE_MAPLE1               3114
#define MACH_TYPE_QSD8X72_SURF         3115
#define MACH_TYPE_QSD8X72_FFA          3116
#define MACH_TYPE_ABILENE              3117
#define MACH_TYPE_EIGEN_TTR            3118
#define MACH_TYPE_IOMEGA_IX2_200       3119
#define MACH_TYPE_CORETEC_VCX7400      3120
#define MACH_TYPE_SANTIAGO             3121
#define MACH_TYPE_MX257SOL             3122
#define MACH_TYPE_STRASBOURG           3123
#define MACH_TYPE_MSM8X60_FLUID        3124
#define MACH_TYPE_SMARTQV5             3125
#define MACH_TYPE_SMARTQV3             3126
#define MACH_TYPE_SMARTQV7             3127
#define MACH_TYPE_PAZ00                3128
#define MACH_TYPE_ACMENETUSFOXG20      3129
#define MACH_TYPE_FWBD_0404            3131
#define MACH_TYPE_HDGU                 3132
#define MACH_TYPE_PYRAMID              3133
#define MACH_TYPE_EPIPHAN              3134
#define MACH_TYPE_OMAP_BENDER          3135
#define MACH_TYPE_GURNARD              3136
#define MACH_TYPE_GTL_IT5100           3137
#define MACH_TYPE_BCM2708              3138
#define MACH_TYPE_MX51_GGC             3139
#define MACH_TYPE_SHARESPACE           3140
#define MACH_TYPE_HABA_KNX_EXPLORER    3141
#define MACH_TYPE_SIMTEC_KIRKMOD       3142
#define MACH_TYPE_CRUX                 3143
#define MACH_TYPE_MX51_BRAVO           3144
#define MACH_TYPE_CHARON               3145
#define MACH_TYPE_PICOCOM3             3146
#define MACH_TYPE_PICOCOM4             3147
#define MACH_TYPE_SERRANO              3148
#define MACH_TYPE_DOUBLESHOT           3149
#define MACH_TYPE_EVSY                 3150
#define MACH_TYPE_HUASHAN              3151
#define MACH_TYPE_LAUSANNE             3152
#define MACH_TYPE_EMERALD              3153
#define MACH_TYPE_TQMA35               3154
#define MACH_TYPE_MARVEL               3155
#define MACH_TYPE_MANUAE               3156
#define MACH_TYPE_CHACHA               3157
#define MACH_TYPE_LEMON                3158
#define MACH_TYPE_CSC                  3159
#define MACH_TYPE_GIRA_KNXIP_ROUTER    3160
#define MACH_TYPE_T20                  3161
#define MACH_TYPE_HDMINI               3162
#define MACH_TYPE_SCIPHONE_G2          3163
#define MACH_TYPE_EXPRESS              3164
#define MACH_TYPE_EXPRESS_KT           3165
#define MACH_TYPE_MAXIMASP             3166
#define MACH_TYPE_NITROGEN_IMX51       3167
#define MACH_TYPE_NITROGEN_IMX53       3168
#define MACH_TYPE_SUNFIRE              3169
#define MACH_TYPE_AROWANA              3170
#define MACH_TYPE_TEGRA_DAYTONA        3171
#define MACH_TYPE_TEGRA_SWORDFISH      3172
#define MACH_TYPE_EDISON               3173
#define MACH_TYPE_SVP8500V1            3174
#define MACH_TYPE_SVP8500V2            3175
#define MACH_TYPE_SVP5500              3176
#define MACH_TYPE_B5500                3177
#define MACH_TYPE_S5500                3178
#define MACH_TYPE_ICON                 3179
#define MACH_TYPE_ELEPHANT             3180
#define MACH_TYPE_SHOOTER              3182
#define MACH_TYPE_SPADE_LTE            3183
#define MACH_TYPE_PHILHWANI            3184
#define MACH_TYPE_GSNCOMM              3185
#define MACH_TYPE_STRASBOURG_A2        3186
#define MACH_TYPE_MMM                  3187
#define MACH_TYPE_DAVINCI_DM365_BV     3188
#define MACH_TYPE_AG5EVM               3189
#define MACH_TYPE_SC575PLC             3190
#define MACH_TYPE_SC575IPC             3191
#define MACH_TYPE_OMAP3_TDM3730        3192
#define MACH_TYPE_TOP9000_EVAL         3194
#define MACH_TYPE_TOP9000_SU           3195
#define MACH_TYPE_UTM300               3196
#define MACH_TYPE_TSUNAGI              3197
#define MACH_TYPE_TS75XX               3198
#define MACH_TYPE_TS47XX               3200
#define MACH_TYPE_DA850_K5             3201
#define MACH_TYPE_AX502                3202
#define MACH_TYPE_IGEP0032             3203
#define MACH_TYPE_ANTERO               3204
#define MACH_TYPE_SYNERGY              3205
#define MACH_TYPE_ICS_IF_VOIP          3206
#define MACH_TYPE_WLF_CRAGG_6410       3207
#define MACH_TYPE_PUNICA               3208
S
Sandeep Paulraj 已提交
832
#define MACH_TYPE_TRIMSLICE            3209
S
Sandeep Paulraj 已提交
833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860
#define MACH_TYPE_MX27_WMULTRA         3210
#define MACH_TYPE_MACKEREL             3211
#define MACH_TYPE_FA9X27               3213
#define MACH_TYPE_NS2816TB             3214
#define MACH_TYPE_NS2816_NTPAD         3215
#define MACH_TYPE_NS2816_NTNB          3216
#define MACH_TYPE_KAEN                 3217
#define MACH_TYPE_NV1000               3218
#define MACH_TYPE_NUC950TS             3219
#define MACH_TYPE_NOKIA_RM680          3220
#define MACH_TYPE_AST2200              3221
#define MACH_TYPE_LEAD                 3222
#define MACH_TYPE_UNINO1               3223
#define MACH_TYPE_GREECO               3224
#define MACH_TYPE_VERDI                3225
#define MACH_TYPE_DM6446_ADBOX         3226
#define MACH_TYPE_QUAD_SALSA           3227
#define MACH_TYPE_ABB_GMA_1_1          3228
#define MACH_TYPE_SVCID                3229
#define MACH_TYPE_MSM8960_SIM          3230
#define MACH_TYPE_MSM8960_RUMI3        3231
#define MACH_TYPE_ICON_G               3232
#define MACH_TYPE_MB3                  3233
#define MACH_TYPE_GSIA18S              3234
#define MACH_TYPE_PIVICC               3235
#define MACH_TYPE_PCM048               3236
#define MACH_TYPE_DDS                  3237
#define MACH_TYPE_CHALTEN_XA1          3238
S
Sandeep Paulraj 已提交
861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902
#define MACH_TYPE_TS48XX               3239
#define MACH_TYPE_TONGA2_TFTTIMER      3240
#define MACH_TYPE_WHISTLER             3241
#define MACH_TYPE_ASL_PHOENIX          3242
#define MACH_TYPE_AT91SAM9263OTLITE    3243
#define MACH_TYPE_DDPLUG               3244
#define MACH_TYPE_D2PLUG               3245
#define MACH_TYPE_KZM9D                3246
#define MACH_TYPE_VERDI_LTE            3247
#define MACH_TYPE_NANOZOOM             3248
#define MACH_TYPE_DM3730_SOM_LV        3249
#define MACH_TYPE_DM3730_TORPEDO       3250
#define MACH_TYPE_ANCHOVY              3251
#define MACH_TYPE_RE2REV20             3253
#define MACH_TYPE_RE2REV21             3254
#define MACH_TYPE_CNS21XX              3255
#define MACH_TYPE_RIDER                3257
#define MACH_TYPE_NSK330               3258
#define MACH_TYPE_CNS2133EVB           3259
#define MACH_TYPE_Z3_816X_MOD          3260
#define MACH_TYPE_Z3_814X_MOD          3261
#define MACH_TYPE_BEECT                3262
#define MACH_TYPE_DMA_THUNDERBUG       3263
#define MACH_TYPE_OMN_AT91SAM9G20      3264
#define MACH_TYPE_MX25_E2S_UC          3265
#define MACH_TYPE_MIONE                3266
#define MACH_TYPE_TOP9000_TCU          3267
#define MACH_TYPE_TOP9000_BSL          3268
#define MACH_TYPE_KINGDOM              3269
#define MACH_TYPE_ARMADILLO460         3270
#define MACH_TYPE_LQ2                  3271
#define MACH_TYPE_SWEDA_TMS2           3272
#define MACH_TYPE_MX53_LOCO            3273
#define MACH_TYPE_ACER_A8              3275
#define MACH_TYPE_ACER_GAUGUIN         3276
#define MACH_TYPE_GUPPY                3277
#define MACH_TYPE_MX61_ARD             3278
#define MACH_TYPE_TX53                 3279
#define MACH_TYPE_OMAPL138_CASE_A3     3280
#define MACH_TYPE_UEMD                 3281
#define MACH_TYPE_CCWMX51MUT           3282
#define MACH_TYPE_ROCKHOPPER           3283
M
Marek Vasut 已提交
903
#define MACH_TYPE_ENCORE               3284
S
Sandeep Paulraj 已提交
904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954
#define MACH_TYPE_HKDKC100             3285
#define MACH_TYPE_TS42XX               3286
#define MACH_TYPE_AEBL                 3287
#define MACH_TYPE_WARIO                3288
#define MACH_TYPE_GFS_SPM              3289
#define MACH_TYPE_CM_T3730             3290
#define MACH_TYPE_ISC3                 3291
#define MACH_TYPE_RASCAL               3292
#define MACH_TYPE_HREFV60              3293
#define MACH_TYPE_TPT_2_0              3294
#define MACH_TYPE_SPLENDOR             3296
#define MACH_TYPE_MSM8X60_QT           3298
#define MACH_TYPE_HTC_HD_MINI          3299
#define MACH_TYPE_ATHENE               3300
#define MACH_TYPE_DEEP_R_EK_1          3301
#define MACH_TYPE_VIVOW_CT             3302
#define MACH_TYPE_NERY_1000            3303
#define MACH_TYPE_RFL109145_SSRV       3304
#define MACH_TYPE_NMH                  3305
#define MACH_TYPE_WN802T               3306
#define MACH_TYPE_DRAGONET             3307
#define MACH_TYPE_AT91SAM9263DESK16L   3309
#define MACH_TYPE_BCMHANA_SV           3310
#define MACH_TYPE_BCMHANA_TABLET       3311
#define MACH_TYPE_KOI                  3312
#define MACH_TYPE_TS4800               3313
#define MACH_TYPE_TQMA9263             3314
#define MACH_TYPE_HOLIDAY              3315
#define MACH_TYPE_DMA6410              3316
#define MACH_TYPE_PCATS_OVERLAY        3317
#define MACH_TYPE_HWGW6410             3318
#define MACH_TYPE_SHENZHOU             3319
#define MACH_TYPE_CWME9210             3320
#define MACH_TYPE_CWME9210JS           3321
#define MACH_TYPE_PGS_SITARA           3322
#define MACH_TYPE_COLIBRI_TEGRA2       3323
#define MACH_TYPE_W21                  3324
#define MACH_TYPE_POLYSAT1             3325
#define MACH_TYPE_DATAWAY              3326
#define MACH_TYPE_COBRAL138            3327
#define MACH_TYPE_ROVERPCS8            3328
#define MACH_TYPE_MARVELC              3329
#define MACH_TYPE_NAVEFIHID            3330
#define MACH_TYPE_DM365_CV100          3331
#define MACH_TYPE_ABLE                 3332
#define MACH_TYPE_LEGACY               3333
#define MACH_TYPE_ICONG                3334
#define MACH_TYPE_ROVER_G8             3335
#define MACH_TYPE_T5388P               3336
#define MACH_TYPE_DINGO                3337
#define MACH_TYPE_GOFLEXHOME           3338
M
Marek Vasut 已提交
955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105
#define MACH_TYPE_LANREADYFN511        3340
#define MACH_TYPE_OMAP3_BAIA           3341
#define MACH_TYPE_OMAP3SMARTDISPLAY    3342
#define MACH_TYPE_XILINX               3343
#define MACH_TYPE_A2F                  3344
#define MACH_TYPE_SKY25                3345
#define MACH_TYPE_CCMX53               3346
#define MACH_TYPE_CCMX53JS             3347
#define MACH_TYPE_CCWMX53              3348
#define MACH_TYPE_CCWMX53JS            3349
#define MACH_TYPE_FRISMS               3350
#define MACH_TYPE_MSM7X27A_FFA         3351
#define MACH_TYPE_MSM7X27A_SURF        3352
#define MACH_TYPE_MSM7X27A_RUMI3       3353
#define MACH_TYPE_DIMMSAM9G20          3354
#define MACH_TYPE_DIMM_IMX28           3355
#define MACH_TYPE_AMK_A4               3356
#define MACH_TYPE_GNET_SGME            3357
#define MACH_TYPE_SHOOTER_U            3358
#define MACH_TYPE_VMX53                3359
#define MACH_TYPE_RHINO                3360
#define MACH_TYPE_ARMLEX4210           3361
#define MACH_TYPE_SWARCOEXTMODEM       3362
#define MACH_TYPE_SNOWBALL             3363
#define MACH_TYPE_PCM049               3364
#define MACH_TYPE_VIGOR                3365
#define MACH_TYPE_OSLO_AMUNDSEN        3366
#define MACH_TYPE_GSL_DIAMOND          3367
#define MACH_TYPE_CV2201               3368
#define MACH_TYPE_CV2202               3369
#define MACH_TYPE_CV2203               3370
#define MACH_TYPE_VIT_IBOX             3371
#define MACH_TYPE_DM6441_ESP           3372
#define MACH_TYPE_AT91SAM9X5EK         3373
#define MACH_TYPE_LIBRA                3374
#define MACH_TYPE_EASYCRRH             3375
#define MACH_TYPE_TRIPEL               3376
#define MACH_TYPE_ENDIAN_MINI          3377
#define MACH_TYPE_XILINX_EP107         3378
#define MACH_TYPE_NURI                 3379
#define MACH_TYPE_JANUS                3380
#define MACH_TYPE_DDNAS                3381
#define MACH_TYPE_TAG                  3382
#define MACH_TYPE_TAGW                 3383
#define MACH_TYPE_NITROGEN_VM_IMX51    3384
#define MACH_TYPE_VIPRINET             3385
#define MACH_TYPE_BOCKW                3386
#define MACH_TYPE_EVA2000              3387
#define MACH_TYPE_STEELYARD            3388
#define MACH_TYPE_MACH_SDH001          3390
#define MACH_TYPE_NSSLSBOARD           3392
#define MACH_TYPE_GENEVA_B5            3393
#define MACH_TYPE_SPEAR1340            3394
#define MACH_TYPE_REXMAS               3395
#define MACH_TYPE_MSM8960_CDP          3396
#define MACH_TYPE_MSM8960_MDP          3397
#define MACH_TYPE_MSM8960_FLUID        3398
#define MACH_TYPE_MSM8960_APQ          3399
#define MACH_TYPE_HELIOS_V2            3400
#define MACH_TYPE_MIF10P               3401
#define MACH_TYPE_IAM28                3402
#define MACH_TYPE_PICASSO              3403
#define MACH_TYPE_MR301A               3404
#define MACH_TYPE_NOTLE                3405
#define MACH_TYPE_EELX2                3406
#define MACH_TYPE_MOON                 3407
#define MACH_TYPE_RUBY                 3408
#define MACH_TYPE_GOLDENGATE           3409
#define MACH_TYPE_CTBU_GEN2            3410
#define MACH_TYPE_KMP_AM17_01          3411
#define MACH_TYPE_WTPLUG               3412
#define MACH_TYPE_MX27SU2              3413
#define MACH_TYPE_NB31                 3414
#define MACH_TYPE_HJSDU                3415
#define MACH_TYPE_TD3_REV1             3416
#define MACH_TYPE_EAG_CI4000           3417
#define MACH_TYPE_NET5BIG_NAND_V2      3418
#define MACH_TYPE_CPX2                 3419
#define MACH_TYPE_NET2BIG_NAND_V2      3420
#define MACH_TYPE_ECUV5                3421
#define MACH_TYPE_HSGX6D               3422
#define MACH_TYPE_DAWAD7               3423
#define MACH_TYPE_SAM9REPEATER         3424
#define MACH_TYPE_GT_I5700             3425
#define MACH_TYPE_CTERA_PLUG_C2        3426
#define MACH_TYPE_MARVELCT             3427
#define MACH_TYPE_AG11005              3428
#define MACH_TYPE_VANGOGH              3430
#define MACH_TYPE_MATRIX505            3431
#define MACH_TYPE_OCE_NIGMA            3432
#define MACH_TYPE_T55                  3433
#define MACH_TYPE_BIO3K                3434
#define MACH_TYPE_EXPRESSCT            3435
#define MACH_TYPE_CARDHU               3436
#define MACH_TYPE_ARUBA                3437
#define MACH_TYPE_BONAIRE              3438
#define MACH_TYPE_NUC700EVB            3439
#define MACH_TYPE_NUC710EVB            3440
#define MACH_TYPE_NUC740EVB            3441
#define MACH_TYPE_NUC745EVB            3442
#define MACH_TYPE_TRANSCEDE            3443
#define MACH_TYPE_MORA                 3444
#define MACH_TYPE_NDA_EVM              3445
#define MACH_TYPE_TIMU                 3446
#define MACH_TYPE_EXPRESSH             3447
#define MACH_TYPE_VERIDIS_A300         3448
#define MACH_TYPE_DM368_LEOPARD        3449
#define MACH_TYPE_OMAP_MCOP            3450
#define MACH_TYPE_TRITIP               3451
#define MACH_TYPE_SM1K                 3452
#define MACH_TYPE_MONCH                3453
#define MACH_TYPE_CURACAO              3454
#define MACH_TYPE_ORIGEN               3455
#define MACH_TYPE_EPC10                3456
#define MACH_TYPE_SGH_I740             3457
#define MACH_TYPE_TUNA                 3458
#define MACH_TYPE_MX51_TULIP           3459
#define MACH_TYPE_MX51_ASTER7          3460
#define MACH_TYPE_ACRO37XBRD           3461
#define MACH_TYPE_ELKE                 3462
#define MACH_TYPE_SBC6000X             3463
#define MACH_TYPE_R1801E               3464
#define MACH_TYPE_H1600                3465
#define MACH_TYPE_MINI210              3466
#define MACH_TYPE_MINI8168             3467
#define MACH_TYPE_PC7308               3468
#define MACH_TYPE_KMM2M01              3470
#define MACH_TYPE_MX51EREBUS           3471
#define MACH_TYPE_WM8650REFBOARD       3472
#define MACH_TYPE_TUXRAIL              3473
#define MACH_TYPE_ARTHUR               3474
#define MACH_TYPE_DOORBOY              3475
#define MACH_TYPE_XARINA               3476
#define MACH_TYPE_ROVERX7              3477
#define MACH_TYPE_SDVR                 3478
#define MACH_TYPE_ACER_MAYA            3479
#define MACH_TYPE_PICO                 3480
#define MACH_TYPE_CWMX233              3481
#define MACH_TYPE_CWAM1808             3482
#define MACH_TYPE_CWDM365              3483
#define MACH_TYPE_MX51_MORAY           3484
#define MACH_TYPE_THALES_CBC           3485
#define MACH_TYPE_BLUEPOINT            3486
#define MACH_TYPE_DIR665               3487
#define MACH_TYPE_ACMEROVER1           3488
#define MACH_TYPE_SHOOTER_CT           3489
#define MACH_TYPE_BLISS                3490
#define MACH_TYPE_BLISSC               3491
#define MACH_TYPE_THALES_ADC           3492
#define MACH_TYPE_UBISYS_P9D_EVP       3493
#define MACH_TYPE_ATDGP318             3494
1106
#define MACH_TYPE_OMAP5_SEVM           3777
1107
#define MACH_TYPE_ARMADILLO_800EVA     3863
1108
#define MACH_TYPE_KZM9G                4140
1109
#define MACH_TYPE_COLIBRI_T30          4493
1110
#define MACH_TYPE_APALIS_T30           4513
W
wdenk 已提交
1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339

#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EBSA110
# endif
# define machine_is_ebsa110()	(machine_arch_type == MACH_TYPE_EBSA110)
#else
# define machine_is_ebsa110()	(0)
#endif

#ifdef CONFIG_ARCH_RPC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RISCPC
# endif
# define machine_is_riscpc()	(machine_arch_type == MACH_TYPE_RISCPC)
#else
# define machine_is_riscpc()	(0)
#endif

#ifdef CONFIG_ARCH_EBSA285
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EBSA285
# endif
# define machine_is_ebsa285()	(machine_arch_type == MACH_TYPE_EBSA285)
#else
# define machine_is_ebsa285()	(0)
#endif

#ifdef CONFIG_ARCH_NETWINDER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NETWINDER
# endif
# define machine_is_netwinder()	(machine_arch_type == MACH_TYPE_NETWINDER)
#else
# define machine_is_netwinder()	(0)
#endif

#ifdef CONFIG_ARCH_CATS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CATS
# endif
# define machine_is_cats()	(machine_arch_type == MACH_TYPE_CATS)
#else
# define machine_is_cats()	(0)
#endif

#ifdef CONFIG_ARCH_SHARK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SHARK
# endif
# define machine_is_shark()	(machine_arch_type == MACH_TYPE_SHARK)
#else
# define machine_is_shark()	(0)
#endif

#ifdef CONFIG_SA1100_BRUTUS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BRUTUS
# endif
# define machine_is_brutus()	(machine_arch_type == MACH_TYPE_BRUTUS)
#else
# define machine_is_brutus()	(0)
#endif

#ifdef CONFIG_ARCH_PERSONAL_SERVER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PERSONAL_SERVER
# endif
# define machine_is_personal_server()	(machine_arch_type == MACH_TYPE_PERSONAL_SERVER)
#else
# define machine_is_personal_server()	(0)
#endif

#ifdef CONFIG_ARCH_L7200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_L7200
# endif
# define machine_is_l7200()	(machine_arch_type == MACH_TYPE_L7200)
#else
# define machine_is_l7200()	(0)
#endif

#ifdef CONFIG_SA1100_PLEB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PLEB
# endif
# define machine_is_pleb()	(machine_arch_type == MACH_TYPE_PLEB)
#else
# define machine_is_pleb()	(0)
#endif

#ifdef CONFIG_ARCH_INTEGRATOR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_INTEGRATOR
# endif
# define machine_is_integrator()	(machine_arch_type == MACH_TYPE_INTEGRATOR)
#else
# define machine_is_integrator()	(0)
#endif

#ifdef CONFIG_SA1100_H3600
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_H3600
# endif
# define machine_is_h3600()	(machine_arch_type == MACH_TYPE_H3600)
#else
# define machine_is_h3600()	(0)
#endif

#ifdef CONFIG_ARCH_P720T
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_P720T
# endif
# define machine_is_p720t()	(machine_arch_type == MACH_TYPE_P720T)
#else
# define machine_is_p720t()	(0)
#endif

#ifdef CONFIG_SA1100_ASSABET
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ASSABET
# endif
# define machine_is_assabet()	(machine_arch_type == MACH_TYPE_ASSABET)
#else
# define machine_is_assabet()	(0)
#endif

#ifdef CONFIG_SA1100_LART
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LART
# endif
# define machine_is_lart()	(machine_arch_type == MACH_TYPE_LART)
#else
# define machine_is_lart()	(0)
#endif

#ifdef CONFIG_SA1100_GRAPHICSCLIENT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GRAPHICSCLIENT
# endif
# define machine_is_graphicsclient()	(machine_arch_type == MACH_TYPE_GRAPHICSCLIENT)
#else
# define machine_is_graphicsclient()	(0)
#endif

#ifdef CONFIG_SA1100_XP860
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_XP860
# endif
# define machine_is_xp860()	(machine_arch_type == MACH_TYPE_XP860)
#else
# define machine_is_xp860()	(0)
#endif

#ifdef CONFIG_SA1100_CERF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CERF
# endif
# define machine_is_cerf()	(machine_arch_type == MACH_TYPE_CERF)
#else
# define machine_is_cerf()	(0)
#endif

#ifdef CONFIG_SA1100_NANOENGINE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NANOENGINE
# endif
# define machine_is_nanoengine()	(machine_arch_type == MACH_TYPE_NANOENGINE)
#else
# define machine_is_nanoengine()	(0)
#endif

M
Marek Vasut 已提交
1340
#ifdef CONFIG_SA1100_JORNADA720
W
wdenk 已提交
1341 1342 1343 1344
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1345
#  define machine_arch_type	MACH_TYPE_JORNADA720
W
wdenk 已提交
1346
# endif
M
Marek Vasut 已提交
1347
# define machine_is_jornada720()	(machine_arch_type == MACH_TYPE_JORNADA720)
W
wdenk 已提交
1348
#else
M
Marek Vasut 已提交
1349
# define machine_is_jornada720()	(0)
W
wdenk 已提交
1350 1351
#endif

M
Marek Vasut 已提交
1352
#ifdef CONFIG_ARCH_EDB7211
W
wdenk 已提交
1353 1354 1355 1356
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1357
#  define machine_arch_type	MACH_TYPE_EDB7211
W
wdenk 已提交
1358
# endif
M
Marek Vasut 已提交
1359
# define machine_is_edb7211()	(machine_arch_type == MACH_TYPE_EDB7211)
W
wdenk 已提交
1360
#else
M
Marek Vasut 已提交
1361
# define machine_is_edb7211()	(0)
W
wdenk 已提交
1362 1363
#endif

M
Marek Vasut 已提交
1364
#ifdef CONFIG_SA1100_PFS168
W
wdenk 已提交
1365 1366 1367 1368
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1369
#  define machine_arch_type	MACH_TYPE_PFS168
W
wdenk 已提交
1370
# endif
M
Marek Vasut 已提交
1371
# define machine_is_pfs168()	(machine_arch_type == MACH_TYPE_PFS168)
W
wdenk 已提交
1372
#else
M
Marek Vasut 已提交
1373
# define machine_is_pfs168()	(0)
W
wdenk 已提交
1374 1375
#endif

M
Marek Vasut 已提交
1376
#ifdef CONFIG_SA1100_FLEXANET
W
wdenk 已提交
1377 1378 1379 1380
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1381
#  define machine_arch_type	MACH_TYPE_FLEXANET
W
wdenk 已提交
1382
# endif
M
Marek Vasut 已提交
1383
# define machine_is_flexanet()	(machine_arch_type == MACH_TYPE_FLEXANET)
W
wdenk 已提交
1384
#else
M
Marek Vasut 已提交
1385
# define machine_is_flexanet()	(0)
W
wdenk 已提交
1386 1387
#endif

M
Marek Vasut 已提交
1388
#ifdef CONFIG_SA1100_SIMPAD
W
wdenk 已提交
1389 1390 1391 1392
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1393
#  define machine_arch_type	MACH_TYPE_SIMPAD
W
wdenk 已提交
1394
# endif
M
Marek Vasut 已提交
1395
# define machine_is_simpad()	(machine_arch_type == MACH_TYPE_SIMPAD)
W
wdenk 已提交
1396
#else
M
Marek Vasut 已提交
1397
# define machine_is_simpad()	(0)
W
wdenk 已提交
1398 1399
#endif

M
Marek Vasut 已提交
1400
#ifdef CONFIG_ARCH_LUBBOCK
W
wdenk 已提交
1401 1402 1403 1404
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1405
#  define machine_arch_type	MACH_TYPE_LUBBOCK
W
wdenk 已提交
1406
# endif
M
Marek Vasut 已提交
1407
# define machine_is_lubbock()	(machine_arch_type == MACH_TYPE_LUBBOCK)
W
wdenk 已提交
1408
#else
M
Marek Vasut 已提交
1409
# define machine_is_lubbock()	(0)
W
wdenk 已提交
1410 1411
#endif

M
Marek Vasut 已提交
1412
#ifdef CONFIG_ARCH_CLEP7212
W
wdenk 已提交
1413 1414 1415 1416
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1417
#  define machine_arch_type	MACH_TYPE_CLEP7212
W
wdenk 已提交
1418
# endif
M
Marek Vasut 已提交
1419
# define machine_is_clep7212()	(machine_arch_type == MACH_TYPE_CLEP7212)
W
wdenk 已提交
1420
#else
M
Marek Vasut 已提交
1421
# define machine_is_clep7212()	(0)
W
wdenk 已提交
1422 1423
#endif

M
Marek Vasut 已提交
1424
#ifdef CONFIG_SA1100_SHANNON
W
wdenk 已提交
1425 1426 1427 1428
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1429
#  define machine_arch_type	MACH_TYPE_SHANNON
W
wdenk 已提交
1430
# endif
M
Marek Vasut 已提交
1431
# define machine_is_shannon()	(machine_arch_type == MACH_TYPE_SHANNON)
W
wdenk 已提交
1432
#else
M
Marek Vasut 已提交
1433
# define machine_is_shannon()	(0)
W
wdenk 已提交
1434 1435
#endif

M
Marek Vasut 已提交
1436
#ifdef CONFIG_SA1100_CONSUS
W
wdenk 已提交
1437 1438 1439 1440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1441
#  define machine_arch_type	MACH_TYPE_CONSUS
W
wdenk 已提交
1442
# endif
M
Marek Vasut 已提交
1443
# define machine_is_consus()	(machine_arch_type == MACH_TYPE_CONSUS)
W
wdenk 已提交
1444
#else
M
Marek Vasut 已提交
1445
# define machine_is_consus()	(0)
W
wdenk 已提交
1446 1447
#endif

M
Marek Vasut 已提交
1448
#ifdef CONFIG_ARCH_AAED2000
W
wdenk 已提交
1449 1450 1451 1452
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1453
#  define machine_arch_type	MACH_TYPE_AAED2000
W
wdenk 已提交
1454
# endif
M
Marek Vasut 已提交
1455
# define machine_is_aaed2000()	(machine_arch_type == MACH_TYPE_AAED2000)
W
wdenk 已提交
1456
#else
M
Marek Vasut 已提交
1457
# define machine_is_aaed2000()	(0)
W
wdenk 已提交
1458 1459
#endif

M
Marek Vasut 已提交
1460
#ifdef CONFIG_ARCH_CDB89712
W
wdenk 已提交
1461 1462 1463 1464
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1465
#  define machine_arch_type	MACH_TYPE_CDB89712
W
wdenk 已提交
1466
# endif
M
Marek Vasut 已提交
1467
# define machine_is_cdb89712()	(machine_arch_type == MACH_TYPE_CDB89712)
W
wdenk 已提交
1468
#else
M
Marek Vasut 已提交
1469
# define machine_is_cdb89712()	(0)
W
wdenk 已提交
1470 1471
#endif

M
Marek Vasut 已提交
1472
#ifdef CONFIG_SA1100_GRAPHICSMASTER
W
wdenk 已提交
1473 1474 1475 1476
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1477
#  define machine_arch_type	MACH_TYPE_GRAPHICSMASTER
W
wdenk 已提交
1478
# endif
M
Marek Vasut 已提交
1479
# define machine_is_graphicsmaster()	(machine_arch_type == MACH_TYPE_GRAPHICSMASTER)
W
wdenk 已提交
1480
#else
M
Marek Vasut 已提交
1481
# define machine_is_graphicsmaster()	(0)
W
wdenk 已提交
1482 1483
#endif

M
Marek Vasut 已提交
1484
#ifdef CONFIG_SA1100_ADSBITSY
W
wdenk 已提交
1485 1486 1487 1488
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1489
#  define machine_arch_type	MACH_TYPE_ADSBITSY
W
wdenk 已提交
1490
# endif
M
Marek Vasut 已提交
1491
# define machine_is_adsbitsy()	(machine_arch_type == MACH_TYPE_ADSBITSY)
W
wdenk 已提交
1492
#else
M
Marek Vasut 已提交
1493
# define machine_is_adsbitsy()	(0)
W
wdenk 已提交
1494 1495
#endif

M
Marek Vasut 已提交
1496
#ifdef CONFIG_ARCH_PXA_IDP
W
wdenk 已提交
1497 1498 1499 1500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1501
#  define machine_arch_type	MACH_TYPE_PXA_IDP
W
wdenk 已提交
1502
# endif
M
Marek Vasut 已提交
1503
# define machine_is_pxa_idp()	(machine_arch_type == MACH_TYPE_PXA_IDP)
W
wdenk 已提交
1504
#else
M
Marek Vasut 已提交
1505
# define machine_is_pxa_idp()	(0)
W
wdenk 已提交
1506 1507
#endif

M
Marek Vasut 已提交
1508
#ifdef CONFIG_SA1100_PT_SYSTEM3
W
wdenk 已提交
1509 1510 1511 1512
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1513
#  define machine_arch_type	MACH_TYPE_PT_SYSTEM3
W
wdenk 已提交
1514
# endif
M
Marek Vasut 已提交
1515
# define machine_is_pt_system3()	(machine_arch_type == MACH_TYPE_PT_SYSTEM3)
W
wdenk 已提交
1516
#else
M
Marek Vasut 已提交
1517
# define machine_is_pt_system3()	(0)
W
wdenk 已提交
1518 1519
#endif

M
Marek Vasut 已提交
1520
#ifdef CONFIG_ARCH_AUTCPU12
W
wdenk 已提交
1521 1522 1523 1524
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1525
#  define machine_arch_type	MACH_TYPE_AUTCPU12
W
wdenk 已提交
1526
# endif
M
Marek Vasut 已提交
1527
# define machine_is_autcpu12()	(machine_arch_type == MACH_TYPE_AUTCPU12)
W
wdenk 已提交
1528
#else
M
Marek Vasut 已提交
1529
# define machine_is_autcpu12()	(0)
W
wdenk 已提交
1530 1531
#endif

M
Marek Vasut 已提交
1532
#ifdef CONFIG_SA1100_H3100
W
wdenk 已提交
1533 1534 1535 1536
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1537
#  define machine_arch_type	MACH_TYPE_H3100
W
wdenk 已提交
1538
# endif
M
Marek Vasut 已提交
1539
# define machine_is_h3100()	(machine_arch_type == MACH_TYPE_H3100)
W
wdenk 已提交
1540
#else
M
Marek Vasut 已提交
1541
# define machine_is_h3100()	(0)
W
wdenk 已提交
1542 1543
#endif

M
Marek Vasut 已提交
1544
#ifdef CONFIG_SA1100_COLLIE
W
wdenk 已提交
1545 1546 1547 1548
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1549
#  define machine_arch_type	MACH_TYPE_COLLIE
W
wdenk 已提交
1550
# endif
M
Marek Vasut 已提交
1551
# define machine_is_collie()	(machine_arch_type == MACH_TYPE_COLLIE)
W
wdenk 已提交
1552
#else
M
Marek Vasut 已提交
1553
# define machine_is_collie()	(0)
W
wdenk 已提交
1554 1555
#endif

M
Marek Vasut 已提交
1556
#ifdef CONFIG_SA1100_BADGE4
W
wdenk 已提交
1557 1558 1559 1560
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1561
#  define machine_arch_type	MACH_TYPE_BADGE4
W
wdenk 已提交
1562
# endif
M
Marek Vasut 已提交
1563
# define machine_is_badge4()	(machine_arch_type == MACH_TYPE_BADGE4)
W
wdenk 已提交
1564
#else
M
Marek Vasut 已提交
1565
# define machine_is_badge4()	(0)
W
wdenk 已提交
1566 1567
#endif

M
Marek Vasut 已提交
1568
#ifdef CONFIG_ARCH_FORTUNET
W
wdenk 已提交
1569 1570 1571 1572
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1573
#  define machine_arch_type	MACH_TYPE_FORTUNET
W
wdenk 已提交
1574
# endif
M
Marek Vasut 已提交
1575
# define machine_is_fortunet()	(machine_arch_type == MACH_TYPE_FORTUNET)
W
wdenk 已提交
1576
#else
M
Marek Vasut 已提交
1577
# define machine_is_fortunet()	(0)
W
wdenk 已提交
1578 1579
#endif

M
Marek Vasut 已提交
1580
#ifdef CONFIG_ARCH_MX1ADS
W
wdenk 已提交
1581 1582 1583 1584
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1585
#  define machine_arch_type	MACH_TYPE_MX1ADS
W
wdenk 已提交
1586
# endif
M
Marek Vasut 已提交
1587
# define machine_is_mx1ads()	(machine_arch_type == MACH_TYPE_MX1ADS)
W
wdenk 已提交
1588
#else
M
Marek Vasut 已提交
1589
# define machine_is_mx1ads()	(0)
W
wdenk 已提交
1590 1591
#endif

M
Marek Vasut 已提交
1592
#ifdef CONFIG_ARCH_H7201
W
wdenk 已提交
1593 1594 1595 1596
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1597
#  define machine_arch_type	MACH_TYPE_H7201
W
wdenk 已提交
1598
# endif
M
Marek Vasut 已提交
1599
# define machine_is_h7201()	(machine_arch_type == MACH_TYPE_H7201)
W
wdenk 已提交
1600
#else
M
Marek Vasut 已提交
1601
# define machine_is_h7201()	(0)
W
wdenk 已提交
1602 1603
#endif

M
Marek Vasut 已提交
1604
#ifdef CONFIG_ARCH_H7202
W
wdenk 已提交
1605 1606 1607 1608
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1609
#  define machine_arch_type	MACH_TYPE_H7202
W
wdenk 已提交
1610
# endif
M
Marek Vasut 已提交
1611
# define machine_is_h7202()	(machine_arch_type == MACH_TYPE_H7202)
W
wdenk 已提交
1612
#else
M
Marek Vasut 已提交
1613
# define machine_is_h7202()	(0)
W
wdenk 已提交
1614 1615
#endif

M
Marek Vasut 已提交
1616
#ifdef CONFIG_ARCH_IQ80321
W
wdenk 已提交
1617 1618 1619 1620
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1621
#  define machine_arch_type	MACH_TYPE_IQ80321
W
wdenk 已提交
1622
# endif
M
Marek Vasut 已提交
1623
# define machine_is_iq80321()	(machine_arch_type == MACH_TYPE_IQ80321)
W
wdenk 已提交
1624
#else
M
Marek Vasut 已提交
1625
# define machine_is_iq80321()	(0)
W
wdenk 已提交
1626 1627
#endif

M
Marek Vasut 已提交
1628
#ifdef CONFIG_ARCH_KS8695
W
wdenk 已提交
1629 1630 1631 1632
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1633
#  define machine_arch_type	MACH_TYPE_KS8695
W
wdenk 已提交
1634
# endif
M
Marek Vasut 已提交
1635
# define machine_is_ks8695()	(machine_arch_type == MACH_TYPE_KS8695)
W
wdenk 已提交
1636
#else
M
Marek Vasut 已提交
1637
# define machine_is_ks8695()	(0)
W
wdenk 已提交
1638 1639
#endif

M
Marek Vasut 已提交
1640
#ifdef CONFIG_ARCH_SMDK2410
W
wdenk 已提交
1641 1642 1643 1644
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1645
#  define machine_arch_type	MACH_TYPE_SMDK2410
W
wdenk 已提交
1646
# endif
M
Marek Vasut 已提交
1647
# define machine_is_smdk2410()	(machine_arch_type == MACH_TYPE_SMDK2410)
W
wdenk 已提交
1648
#else
M
Marek Vasut 已提交
1649
# define machine_is_smdk2410()	(0)
W
wdenk 已提交
1650 1651
#endif

M
Marek Vasut 已提交
1652
#ifdef CONFIG_ARCH_CEIVA
W
wdenk 已提交
1653 1654 1655 1656
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1657
#  define machine_arch_type	MACH_TYPE_CEIVA
W
wdenk 已提交
1658
# endif
M
Marek Vasut 已提交
1659
# define machine_is_ceiva()	(machine_arch_type == MACH_TYPE_CEIVA)
W
wdenk 已提交
1660
#else
M
Marek Vasut 已提交
1661
# define machine_is_ceiva()	(0)
W
wdenk 已提交
1662 1663
#endif

M
Marek Vasut 已提交
1664
#ifdef CONFIG_MACH_VOICEBLUE
W
wdenk 已提交
1665 1666 1667 1668
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1669
#  define machine_arch_type	MACH_TYPE_VOICEBLUE
W
wdenk 已提交
1670
# endif
M
Marek Vasut 已提交
1671
# define machine_is_voiceblue()	(machine_arch_type == MACH_TYPE_VOICEBLUE)
W
wdenk 已提交
1672
#else
M
Marek Vasut 已提交
1673
# define machine_is_voiceblue()	(0)
W
wdenk 已提交
1674 1675
#endif

M
Marek Vasut 已提交
1676
#ifdef CONFIG_ARCH_H5400
W
wdenk 已提交
1677 1678 1679 1680
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1681
#  define machine_arch_type	MACH_TYPE_H5400
W
wdenk 已提交
1682
# endif
M
Marek Vasut 已提交
1683
# define machine_is_h5400()	(machine_arch_type == MACH_TYPE_H5400)
W
wdenk 已提交
1684
#else
M
Marek Vasut 已提交
1685
# define machine_is_h5400()	(0)
W
wdenk 已提交
1686 1687
#endif

M
Marek Vasut 已提交
1688
#ifdef CONFIG_MACH_OMAP_INNOVATOR
W
wdenk 已提交
1689 1690 1691 1692
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1693
#  define machine_arch_type	MACH_TYPE_OMAP_INNOVATOR
W
wdenk 已提交
1694
# endif
M
Marek Vasut 已提交
1695
# define machine_is_omap_innovator()	(machine_arch_type == MACH_TYPE_OMAP_INNOVATOR)
W
wdenk 已提交
1696
#else
M
Marek Vasut 已提交
1697
# define machine_is_omap_innovator()	(0)
W
wdenk 已提交
1698 1699
#endif

M
Marek Vasut 已提交
1700
#ifdef CONFIG_ARCH_IXDP2400
W
wdenk 已提交
1701 1702 1703 1704
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1705
#  define machine_arch_type	MACH_TYPE_IXDP2400
W
wdenk 已提交
1706
# endif
M
Marek Vasut 已提交
1707
# define machine_is_ixdp2400()	(machine_arch_type == MACH_TYPE_IXDP2400)
W
wdenk 已提交
1708
#else
M
Marek Vasut 已提交
1709
# define machine_is_ixdp2400()	(0)
W
wdenk 已提交
1710 1711
#endif

M
Marek Vasut 已提交
1712
#ifdef CONFIG_ARCH_IXDP2800
W
wdenk 已提交
1713 1714 1715 1716
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1717
#  define machine_arch_type	MACH_TYPE_IXDP2800
W
wdenk 已提交
1718
# endif
M
Marek Vasut 已提交
1719
# define machine_is_ixdp2800()	(machine_arch_type == MACH_TYPE_IXDP2800)
W
wdenk 已提交
1720
#else
M
Marek Vasut 已提交
1721
# define machine_is_ixdp2800()	(0)
W
wdenk 已提交
1722 1723
#endif

M
Marek Vasut 已提交
1724
#ifdef CONFIG_ARCH_IXDP425
W
wdenk 已提交
1725 1726 1727 1728
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1729
#  define machine_arch_type	MACH_TYPE_IXDP425
W
wdenk 已提交
1730
# endif
M
Marek Vasut 已提交
1731
# define machine_is_ixdp425()	(machine_arch_type == MACH_TYPE_IXDP425)
W
wdenk 已提交
1732
#else
M
Marek Vasut 已提交
1733
# define machine_is_ixdp425()	(0)
W
wdenk 已提交
1734 1735
#endif

M
Marek Vasut 已提交
1736
#ifdef CONFIG_SA1100_HACKKIT
W
wdenk 已提交
1737 1738 1739 1740
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1741
#  define machine_arch_type	MACH_TYPE_HACKKIT
W
wdenk 已提交
1742
# endif
M
Marek Vasut 已提交
1743
# define machine_is_hackkit()	(machine_arch_type == MACH_TYPE_HACKKIT)
W
wdenk 已提交
1744
#else
M
Marek Vasut 已提交
1745
# define machine_is_hackkit()	(0)
W
wdenk 已提交
1746 1747
#endif

M
Marek Vasut 已提交
1748
#ifdef CONFIG_ARCH_IXCDP1100
W
wdenk 已提交
1749 1750 1751 1752
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1753
#  define machine_arch_type	MACH_TYPE_IXCDP1100
W
wdenk 已提交
1754
# endif
M
Marek Vasut 已提交
1755
# define machine_is_ixcdp1100()	(machine_arch_type == MACH_TYPE_IXCDP1100)
W
wdenk 已提交
1756
#else
M
Marek Vasut 已提交
1757
# define machine_is_ixcdp1100()	(0)
W
wdenk 已提交
1758 1759
#endif

M
Marek Vasut 已提交
1760
#ifdef CONFIG_ARCH_AT91RM9200DK
W
wdenk 已提交
1761 1762 1763 1764
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1765
#  define machine_arch_type	MACH_TYPE_AT91RM9200DK
W
wdenk 已提交
1766
# endif
M
Marek Vasut 已提交
1767
# define machine_is_at91rm9200dk()	(machine_arch_type == MACH_TYPE_AT91RM9200DK)
W
wdenk 已提交
1768
#else
M
Marek Vasut 已提交
1769
# define machine_is_at91rm9200dk()	(0)
W
wdenk 已提交
1770 1771
#endif

M
Marek Vasut 已提交
1772
#ifdef CONFIG_ARCH_CINTEGRATOR
W
wdenk 已提交
1773 1774 1775 1776
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1777
#  define machine_arch_type	MACH_TYPE_CINTEGRATOR
W
wdenk 已提交
1778
# endif
M
Marek Vasut 已提交
1779
# define machine_is_cintegrator()	(machine_arch_type == MACH_TYPE_CINTEGRATOR)
W
wdenk 已提交
1780
#else
M
Marek Vasut 已提交
1781
# define machine_is_cintegrator()	(0)
W
wdenk 已提交
1782 1783
#endif

M
Marek Vasut 已提交
1784
#ifdef CONFIG_ARCH_VIPER
W
wdenk 已提交
1785 1786 1787 1788
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1789
#  define machine_arch_type	MACH_TYPE_VIPER
W
wdenk 已提交
1790
# endif
M
Marek Vasut 已提交
1791
# define machine_is_viper()	(machine_arch_type == MACH_TYPE_VIPER)
W
wdenk 已提交
1792
#else
M
Marek Vasut 已提交
1793
# define machine_is_viper()	(0)
W
wdenk 已提交
1794 1795
#endif

M
Marek Vasut 已提交
1796
#ifdef CONFIG_ARCH_ADI_COYOTE
W
wdenk 已提交
1797 1798 1799 1800
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1801
#  define machine_arch_type	MACH_TYPE_ADI_COYOTE
W
wdenk 已提交
1802
# endif
M
Marek Vasut 已提交
1803
# define machine_is_adi_coyote()	(machine_arch_type == MACH_TYPE_ADI_COYOTE)
W
wdenk 已提交
1804
#else
M
Marek Vasut 已提交
1805
# define machine_is_adi_coyote()	(0)
W
wdenk 已提交
1806 1807
#endif

M
Marek Vasut 已提交
1808
#ifdef CONFIG_ARCH_IXDP2401
W
wdenk 已提交
1809 1810 1811 1812
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1813
#  define machine_arch_type	MACH_TYPE_IXDP2401
W
wdenk 已提交
1814
# endif
M
Marek Vasut 已提交
1815
# define machine_is_ixdp2401()	(machine_arch_type == MACH_TYPE_IXDP2401)
W
wdenk 已提交
1816
#else
M
Marek Vasut 已提交
1817
# define machine_is_ixdp2401()	(0)
W
wdenk 已提交
1818 1819
#endif

M
Marek Vasut 已提交
1820
#ifdef CONFIG_ARCH_IXDP2801
W
wdenk 已提交
1821 1822 1823 1824
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1825
#  define machine_arch_type	MACH_TYPE_IXDP2801
W
wdenk 已提交
1826
# endif
M
Marek Vasut 已提交
1827
# define machine_is_ixdp2801()	(machine_arch_type == MACH_TYPE_IXDP2801)
W
wdenk 已提交
1828
#else
M
Marek Vasut 已提交
1829
# define machine_is_ixdp2801()	(0)
W
wdenk 已提交
1830 1831
#endif

M
Marek Vasut 已提交
1832
#ifdef CONFIG_ARCH_IQ31244
W
wdenk 已提交
1833 1834 1835 1836
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1837
#  define machine_arch_type	MACH_TYPE_IQ31244
W
wdenk 已提交
1838
# endif
M
Marek Vasut 已提交
1839
# define machine_is_iq31244()	(machine_arch_type == MACH_TYPE_IQ31244)
W
wdenk 已提交
1840
#else
M
Marek Vasut 已提交
1841
# define machine_is_iq31244()	(0)
W
wdenk 已提交
1842 1843
#endif

M
Marek Vasut 已提交
1844
#ifdef CONFIG_ARCH_BAST
W
wdenk 已提交
1845 1846 1847 1848
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1849
#  define machine_arch_type	MACH_TYPE_BAST
W
wdenk 已提交
1850
# endif
M
Marek Vasut 已提交
1851
# define machine_is_bast()	(machine_arch_type == MACH_TYPE_BAST)
W
wdenk 已提交
1852
#else
M
Marek Vasut 已提交
1853
# define machine_is_bast()	(0)
W
wdenk 已提交
1854 1855
#endif

M
Marek Vasut 已提交
1856
#ifdef CONFIG_ARCH_H1940
W
wdenk 已提交
1857 1858 1859 1860
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1861
#  define machine_arch_type	MACH_TYPE_H1940
W
wdenk 已提交
1862
# endif
M
Marek Vasut 已提交
1863
# define machine_is_h1940()	(machine_arch_type == MACH_TYPE_H1940)
W
wdenk 已提交
1864
#else
M
Marek Vasut 已提交
1865
# define machine_is_h1940()	(0)
W
wdenk 已提交
1866 1867
#endif

M
Marek Vasut 已提交
1868
#ifdef CONFIG_ARCH_ENP2611
W
wdenk 已提交
1869 1870 1871 1872
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1873
#  define machine_arch_type	MACH_TYPE_ENP2611
W
wdenk 已提交
1874
# endif
M
Marek Vasut 已提交
1875
# define machine_is_enp2611()	(machine_arch_type == MACH_TYPE_ENP2611)
W
wdenk 已提交
1876
#else
M
Marek Vasut 已提交
1877
# define machine_is_enp2611()	(0)
W
wdenk 已提交
1878 1879
#endif

M
Marek Vasut 已提交
1880
#ifdef CONFIG_ARCH_S3C2440
W
wdenk 已提交
1881 1882 1883 1884
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1885
#  define machine_arch_type	MACH_TYPE_S3C2440
W
wdenk 已提交
1886
# endif
M
Marek Vasut 已提交
1887
# define machine_is_s3c2440()	(machine_arch_type == MACH_TYPE_S3C2440)
W
wdenk 已提交
1888
#else
M
Marek Vasut 已提交
1889
# define machine_is_s3c2440()	(0)
W
wdenk 已提交
1890 1891
#endif

M
Marek Vasut 已提交
1892
#ifdef CONFIG_ARCH_GUMSTIX
W
wdenk 已提交
1893 1894 1895 1896
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1897
#  define machine_arch_type	MACH_TYPE_GUMSTIX
W
wdenk 已提交
1898
# endif
M
Marek Vasut 已提交
1899
# define machine_is_gumstix()	(machine_arch_type == MACH_TYPE_GUMSTIX)
W
wdenk 已提交
1900
#else
M
Marek Vasut 已提交
1901
# define machine_is_gumstix()	(0)
W
wdenk 已提交
1902 1903
#endif

M
Marek Vasut 已提交
1904
#ifdef CONFIG_MACH_OMAP_H2
W
wdenk 已提交
1905 1906 1907 1908
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1909
#  define machine_arch_type	MACH_TYPE_OMAP_H2
W
wdenk 已提交
1910
# endif
M
Marek Vasut 已提交
1911
# define machine_is_omap_h2()	(machine_arch_type == MACH_TYPE_OMAP_H2)
W
wdenk 已提交
1912
#else
M
Marek Vasut 已提交
1913
# define machine_is_omap_h2()	(0)
W
wdenk 已提交
1914 1915
#endif

M
Marek Vasut 已提交
1916
#ifdef CONFIG_MACH_E740
W
wdenk 已提交
1917 1918 1919 1920
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1921
#  define machine_arch_type	MACH_TYPE_E740
W
wdenk 已提交
1922
# endif
M
Marek Vasut 已提交
1923
# define machine_is_e740()	(machine_arch_type == MACH_TYPE_E740)
W
wdenk 已提交
1924
#else
M
Marek Vasut 已提交
1925
# define machine_is_e740()	(0)
W
wdenk 已提交
1926 1927
#endif

M
Marek Vasut 已提交
1928
#ifdef CONFIG_ARCH_IQ80331
W
wdenk 已提交
1929 1930 1931 1932
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1933
#  define machine_arch_type	MACH_TYPE_IQ80331
W
wdenk 已提交
1934
# endif
M
Marek Vasut 已提交
1935
# define machine_is_iq80331()	(machine_arch_type == MACH_TYPE_IQ80331)
W
wdenk 已提交
1936
#else
M
Marek Vasut 已提交
1937
# define machine_is_iq80331()	(0)
W
wdenk 已提交
1938 1939
#endif

M
Marek Vasut 已提交
1940
#ifdef CONFIG_ARCH_VERSATILE_PB
W
wdenk 已提交
1941 1942 1943 1944
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1945
#  define machine_arch_type	MACH_TYPE_VERSATILE_PB
W
wdenk 已提交
1946
# endif
M
Marek Vasut 已提交
1947
# define machine_is_versatile_pb()	(machine_arch_type == MACH_TYPE_VERSATILE_PB)
W
wdenk 已提交
1948
#else
M
Marek Vasut 已提交
1949
# define machine_is_versatile_pb()	(0)
W
wdenk 已提交
1950 1951
#endif

M
Marek Vasut 已提交
1952
#ifdef CONFIG_MACH_KEV7A400
W
wdenk 已提交
1953 1954 1955 1956
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1957
#  define machine_arch_type	MACH_TYPE_KEV7A400
W
wdenk 已提交
1958
# endif
M
Marek Vasut 已提交
1959
# define machine_is_kev7a400()	(machine_arch_type == MACH_TYPE_KEV7A400)
W
wdenk 已提交
1960
#else
M
Marek Vasut 已提交
1961
# define machine_is_kev7a400()	(0)
W
wdenk 已提交
1962 1963
#endif

M
Marek Vasut 已提交
1964
#ifdef CONFIG_MACH_LPD7A400
W
wdenk 已提交
1965 1966 1967 1968
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1969
#  define machine_arch_type	MACH_TYPE_LPD7A400
W
wdenk 已提交
1970
# endif
M
Marek Vasut 已提交
1971
# define machine_is_lpd7a400()	(machine_arch_type == MACH_TYPE_LPD7A400)
W
wdenk 已提交
1972
#else
M
Marek Vasut 已提交
1973
# define machine_is_lpd7a400()	(0)
W
wdenk 已提交
1974 1975
#endif

M
Marek Vasut 已提交
1976
#ifdef CONFIG_MACH_LPD7A404
W
wdenk 已提交
1977 1978 1979 1980
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1981
#  define machine_arch_type	MACH_TYPE_LPD7A404
W
wdenk 已提交
1982
# endif
M
Marek Vasut 已提交
1983
# define machine_is_lpd7a404()	(machine_arch_type == MACH_TYPE_LPD7A404)
W
wdenk 已提交
1984
#else
M
Marek Vasut 已提交
1985
# define machine_is_lpd7a404()	(0)
W
wdenk 已提交
1986 1987
#endif

M
Marek Vasut 已提交
1988
#ifdef CONFIG_MACH_CSB337
W
wdenk 已提交
1989 1990 1991 1992
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
1993
#  define machine_arch_type	MACH_TYPE_CSB337
W
wdenk 已提交
1994
# endif
M
Marek Vasut 已提交
1995
# define machine_is_csb337()	(machine_arch_type == MACH_TYPE_CSB337)
W
wdenk 已提交
1996
#else
M
Marek Vasut 已提交
1997
# define machine_is_csb337()	(0)
W
wdenk 已提交
1998 1999
#endif

M
Marek Vasut 已提交
2000
#ifdef CONFIG_MACH_MAINSTONE
W
wdenk 已提交
2001 2002 2003 2004
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2005
#  define machine_arch_type	MACH_TYPE_MAINSTONE
W
wdenk 已提交
2006
# endif
M
Marek Vasut 已提交
2007
# define machine_is_mainstone()	(machine_arch_type == MACH_TYPE_MAINSTONE)
W
wdenk 已提交
2008
#else
M
Marek Vasut 已提交
2009
# define machine_is_mainstone()	(0)
W
wdenk 已提交
2010 2011
#endif

M
Marek Vasut 已提交
2012
#ifdef CONFIG_MACH_XCEP
W
wdenk 已提交
2013 2014 2015 2016
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2017
#  define machine_arch_type	MACH_TYPE_XCEP
W
wdenk 已提交
2018
# endif
M
Marek Vasut 已提交
2019
# define machine_is_xcep()	(machine_arch_type == MACH_TYPE_XCEP)
W
wdenk 已提交
2020
#else
M
Marek Vasut 已提交
2021
# define machine_is_xcep()	(0)
W
wdenk 已提交
2022 2023
#endif

M
Marek Vasut 已提交
2024
#ifdef CONFIG_MACH_ARCOM_VULCAN
W
wdenk 已提交
2025 2026 2027 2028
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2029
#  define machine_arch_type	MACH_TYPE_ARCOM_VULCAN
W
wdenk 已提交
2030
# endif
M
Marek Vasut 已提交
2031
# define machine_is_arcom_vulcan()	(machine_arch_type == MACH_TYPE_ARCOM_VULCAN)
W
wdenk 已提交
2032
#else
M
Marek Vasut 已提交
2033
# define machine_is_arcom_vulcan()	(0)
W
wdenk 已提交
2034 2035
#endif

M
Marek Vasut 已提交
2036
#ifdef CONFIG_MACH_NOMADIK
W
wdenk 已提交
2037 2038 2039 2040
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2041
#  define machine_arch_type	MACH_TYPE_NOMADIK
W
wdenk 已提交
2042
# endif
M
Marek Vasut 已提交
2043
# define machine_is_nomadik()	(machine_arch_type == MACH_TYPE_NOMADIK)
W
wdenk 已提交
2044
#else
M
Marek Vasut 已提交
2045
# define machine_is_nomadik()	(0)
W
wdenk 已提交
2046 2047
#endif

M
Marek Vasut 已提交
2048
#ifdef CONFIG_MACH_CORGI
W
wdenk 已提交
2049 2050 2051 2052
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2053
#  define machine_arch_type	MACH_TYPE_CORGI
W
wdenk 已提交
2054
# endif
M
Marek Vasut 已提交
2055
# define machine_is_corgi()	(machine_arch_type == MACH_TYPE_CORGI)
W
wdenk 已提交
2056
#else
M
Marek Vasut 已提交
2057
# define machine_is_corgi()	(0)
W
wdenk 已提交
2058 2059
#endif

M
Marek Vasut 已提交
2060
#ifdef CONFIG_MACH_POODLE
W
wdenk 已提交
2061 2062 2063 2064
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2065
#  define machine_arch_type	MACH_TYPE_POODLE
W
wdenk 已提交
2066
# endif
M
Marek Vasut 已提交
2067
# define machine_is_poodle()	(machine_arch_type == MACH_TYPE_POODLE)
W
wdenk 已提交
2068
#else
M
Marek Vasut 已提交
2069
# define machine_is_poodle()	(0)
W
wdenk 已提交
2070 2071
#endif

M
Marek Vasut 已提交
2072
#ifdef CONFIG_MACH_ARMCORE
W
wdenk 已提交
2073 2074 2075 2076
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2077
#  define machine_arch_type	MACH_TYPE_ARMCORE
W
wdenk 已提交
2078
# endif
M
Marek Vasut 已提交
2079
# define machine_is_armcore()	(machine_arch_type == MACH_TYPE_ARMCORE)
W
wdenk 已提交
2080
#else
M
Marek Vasut 已提交
2081
# define machine_is_armcore()	(0)
W
wdenk 已提交
2082 2083
#endif

M
Marek Vasut 已提交
2084
#ifdef CONFIG_MACH_MX31ADS
W
wdenk 已提交
2085 2086 2087 2088
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2089
#  define machine_arch_type	MACH_TYPE_MX31ADS
W
wdenk 已提交
2090
# endif
M
Marek Vasut 已提交
2091
# define machine_is_mx31ads()	(machine_arch_type == MACH_TYPE_MX31ADS)
W
wdenk 已提交
2092
#else
M
Marek Vasut 已提交
2093
# define machine_is_mx31ads()	(0)
W
wdenk 已提交
2094 2095
#endif

M
Marek Vasut 已提交
2096
#ifdef CONFIG_MACH_HIMALAYA
W
wdenk 已提交
2097 2098 2099 2100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2101
#  define machine_arch_type	MACH_TYPE_HIMALAYA
W
wdenk 已提交
2102
# endif
M
Marek Vasut 已提交
2103
# define machine_is_himalaya()	(machine_arch_type == MACH_TYPE_HIMALAYA)
W
wdenk 已提交
2104
#else
M
Marek Vasut 已提交
2105
# define machine_is_himalaya()	(0)
W
wdenk 已提交
2106 2107
#endif

M
Marek Vasut 已提交
2108
#ifdef CONFIG_MACH_EDB9312
W
wdenk 已提交
2109 2110 2111 2112
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2113
#  define machine_arch_type	MACH_TYPE_EDB9312
W
wdenk 已提交
2114
# endif
M
Marek Vasut 已提交
2115
# define machine_is_edb9312()	(machine_arch_type == MACH_TYPE_EDB9312)
W
wdenk 已提交
2116
#else
M
Marek Vasut 已提交
2117
# define machine_is_edb9312()	(0)
W
wdenk 已提交
2118 2119
#endif

M
Marek Vasut 已提交
2120
#ifdef CONFIG_MACH_OMAP_GENERIC
W
wdenk 已提交
2121 2122 2123 2124
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2125
#  define machine_arch_type	MACH_TYPE_OMAP_GENERIC
W
wdenk 已提交
2126
# endif
M
Marek Vasut 已提交
2127
# define machine_is_omap_generic()	(machine_arch_type == MACH_TYPE_OMAP_GENERIC)
W
wdenk 已提交
2128
#else
M
Marek Vasut 已提交
2129
# define machine_is_omap_generic()	(0)
W
wdenk 已提交
2130 2131
#endif

M
Marek Vasut 已提交
2132
#ifdef CONFIG_MACH_EDB9301
W
wdenk 已提交
2133 2134 2135 2136
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2137
#  define machine_arch_type	MACH_TYPE_EDB9301
W
wdenk 已提交
2138
# endif
M
Marek Vasut 已提交
2139
# define machine_is_edb9301()	(machine_arch_type == MACH_TYPE_EDB9301)
W
wdenk 已提交
2140
#else
M
Marek Vasut 已提交
2141
# define machine_is_edb9301()	(0)
W
wdenk 已提交
2142 2143
#endif

M
Marek Vasut 已提交
2144
#ifdef CONFIG_MACH_EDB9315
W
wdenk 已提交
2145 2146 2147 2148
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2149
#  define machine_arch_type	MACH_TYPE_EDB9315
W
wdenk 已提交
2150
# endif
M
Marek Vasut 已提交
2151
# define machine_is_edb9315()	(machine_arch_type == MACH_TYPE_EDB9315)
W
wdenk 已提交
2152
#else
M
Marek Vasut 已提交
2153
# define machine_is_edb9315()	(0)
W
wdenk 已提交
2154 2155
#endif

M
Marek Vasut 已提交
2156
#ifdef CONFIG_MACH_VR1000
W
wdenk 已提交
2157 2158 2159 2160
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2161
#  define machine_arch_type	MACH_TYPE_VR1000
W
wdenk 已提交
2162
# endif
M
Marek Vasut 已提交
2163
# define machine_is_vr1000()	(machine_arch_type == MACH_TYPE_VR1000)
W
wdenk 已提交
2164
#else
M
Marek Vasut 已提交
2165
# define machine_is_vr1000()	(0)
W
wdenk 已提交
2166 2167
#endif

M
Marek Vasut 已提交
2168
#ifdef CONFIG_MACH_OMAP_PERSEUS2
W
wdenk 已提交
2169 2170 2171 2172
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2173
#  define machine_arch_type	MACH_TYPE_OMAP_PERSEUS2
W
wdenk 已提交
2174
# endif
M
Marek Vasut 已提交
2175
# define machine_is_omap_perseus2()	(machine_arch_type == MACH_TYPE_OMAP_PERSEUS2)
W
wdenk 已提交
2176
#else
M
Marek Vasut 已提交
2177
# define machine_is_omap_perseus2()	(0)
W
wdenk 已提交
2178 2179
#endif

M
Marek Vasut 已提交
2180
#ifdef CONFIG_MACH_E800
W
wdenk 已提交
2181 2182 2183 2184
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2185
#  define machine_arch_type	MACH_TYPE_E800
W
wdenk 已提交
2186
# endif
M
Marek Vasut 已提交
2187
# define machine_is_e800()	(machine_arch_type == MACH_TYPE_E800)
W
wdenk 已提交
2188
#else
M
Marek Vasut 已提交
2189
# define machine_is_e800()	(0)
W
wdenk 已提交
2190 2191
#endif

M
Marek Vasut 已提交
2192
#ifdef CONFIG_MACH_E750
W
wdenk 已提交
2193 2194 2195 2196
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2197
#  define machine_arch_type	MACH_TYPE_E750
W
wdenk 已提交
2198
# endif
M
Marek Vasut 已提交
2199
# define machine_is_e750()	(machine_arch_type == MACH_TYPE_E750)
W
wdenk 已提交
2200
#else
M
Marek Vasut 已提交
2201
# define machine_is_e750()	(0)
W
wdenk 已提交
2202 2203
#endif

M
Marek Vasut 已提交
2204
#ifdef CONFIG_MACH_SCB9328
W
wdenk 已提交
2205 2206 2207 2208
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2209
#  define machine_arch_type	MACH_TYPE_SCB9328
W
wdenk 已提交
2210
# endif
M
Marek Vasut 已提交
2211
# define machine_is_scb9328()	(machine_arch_type == MACH_TYPE_SCB9328)
W
wdenk 已提交
2212
#else
M
Marek Vasut 已提交
2213
# define machine_is_scb9328()	(0)
W
wdenk 已提交
2214 2215
#endif

M
Marek Vasut 已提交
2216
#ifdef CONFIG_MACH_OMAP_H3
W
wdenk 已提交
2217 2218 2219 2220
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2221
#  define machine_arch_type	MACH_TYPE_OMAP_H3
W
wdenk 已提交
2222
# endif
M
Marek Vasut 已提交
2223
# define machine_is_omap_h3()	(machine_arch_type == MACH_TYPE_OMAP_H3)
W
wdenk 已提交
2224
#else
M
Marek Vasut 已提交
2225
# define machine_is_omap_h3()	(0)
W
wdenk 已提交
2226 2227
#endif

M
Marek Vasut 已提交
2228
#ifdef CONFIG_MACH_OMAP_H4
W
wdenk 已提交
2229 2230 2231 2232
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2233
#  define machine_arch_type	MACH_TYPE_OMAP_H4
W
wdenk 已提交
2234
# endif
M
Marek Vasut 已提交
2235
# define machine_is_omap_h4()	(machine_arch_type == MACH_TYPE_OMAP_H4)
W
wdenk 已提交
2236
#else
M
Marek Vasut 已提交
2237
# define machine_is_omap_h4()	(0)
W
wdenk 已提交
2238 2239
#endif

M
Marek Vasut 已提交
2240
#ifdef CONFIG_MACH_OMAP_OSK
W
wdenk 已提交
2241 2242 2243 2244
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2245
#  define machine_arch_type	MACH_TYPE_OMAP_OSK
W
wdenk 已提交
2246
# endif
M
Marek Vasut 已提交
2247
# define machine_is_omap_osk()	(machine_arch_type == MACH_TYPE_OMAP_OSK)
W
wdenk 已提交
2248
#else
M
Marek Vasut 已提交
2249
# define machine_is_omap_osk()	(0)
W
wdenk 已提交
2250 2251
#endif

M
Marek Vasut 已提交
2252
#ifdef CONFIG_MACH_TOSA
W
wdenk 已提交
2253 2254 2255 2256
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2257
#  define machine_arch_type	MACH_TYPE_TOSA
W
wdenk 已提交
2258
# endif
M
Marek Vasut 已提交
2259
# define machine_is_tosa()	(machine_arch_type == MACH_TYPE_TOSA)
W
wdenk 已提交
2260
#else
M
Marek Vasut 已提交
2261
# define machine_is_tosa()	(0)
W
wdenk 已提交
2262 2263
#endif

M
Marek Vasut 已提交
2264
#ifdef CONFIG_MACH_AVILA
W
wdenk 已提交
2265 2266 2267 2268
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2269
#  define machine_arch_type	MACH_TYPE_AVILA
W
wdenk 已提交
2270
# endif
M
Marek Vasut 已提交
2271
# define machine_is_avila()	(machine_arch_type == MACH_TYPE_AVILA)
W
wdenk 已提交
2272
#else
M
Marek Vasut 已提交
2273
# define machine_is_avila()	(0)
W
wdenk 已提交
2274 2275
#endif

M
Marek Vasut 已提交
2276
#ifdef CONFIG_MACH_EDB9302
W
wdenk 已提交
2277 2278 2279 2280
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2281
#  define machine_arch_type	MACH_TYPE_EDB9302
W
wdenk 已提交
2282
# endif
M
Marek Vasut 已提交
2283
# define machine_is_edb9302()	(machine_arch_type == MACH_TYPE_EDB9302)
W
wdenk 已提交
2284
#else
M
Marek Vasut 已提交
2285
# define machine_is_edb9302()	(0)
W
wdenk 已提交
2286 2287
#endif

M
Marek Vasut 已提交
2288
#ifdef CONFIG_MACH_HUSKY
W
wdenk 已提交
2289 2290 2291 2292
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2293
#  define machine_arch_type	MACH_TYPE_HUSKY
W
wdenk 已提交
2294
# endif
M
Marek Vasut 已提交
2295
# define machine_is_husky()	(machine_arch_type == MACH_TYPE_HUSKY)
W
wdenk 已提交
2296
#else
M
Marek Vasut 已提交
2297
# define machine_is_husky()	(0)
W
wdenk 已提交
2298 2299
#endif

M
Marek Vasut 已提交
2300
#ifdef CONFIG_MACH_SHEPHERD
W
wdenk 已提交
2301 2302 2303 2304
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2305
#  define machine_arch_type	MACH_TYPE_SHEPHERD
W
wdenk 已提交
2306
# endif
M
Marek Vasut 已提交
2307
# define machine_is_shepherd()	(machine_arch_type == MACH_TYPE_SHEPHERD)
W
wdenk 已提交
2308
#else
M
Marek Vasut 已提交
2309
# define machine_is_shepherd()	(0)
W
wdenk 已提交
2310 2311
#endif

M
Marek Vasut 已提交
2312
#ifdef CONFIG_MACH_H4700
W
wdenk 已提交
2313 2314 2315 2316
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2317
#  define machine_arch_type	MACH_TYPE_H4700
W
wdenk 已提交
2318
# endif
M
Marek Vasut 已提交
2319
# define machine_is_h4700()	(machine_arch_type == MACH_TYPE_H4700)
W
wdenk 已提交
2320
#else
M
Marek Vasut 已提交
2321
# define machine_is_h4700()	(0)
W
wdenk 已提交
2322 2323
#endif

M
Marek Vasut 已提交
2324
#ifdef CONFIG_MACH_RX3715
W
wdenk 已提交
2325 2326 2327 2328
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2329
#  define machine_arch_type	MACH_TYPE_RX3715
W
wdenk 已提交
2330
# endif
M
Marek Vasut 已提交
2331
# define machine_is_rx3715()	(machine_arch_type == MACH_TYPE_RX3715)
W
wdenk 已提交
2332
#else
M
Marek Vasut 已提交
2333
# define machine_is_rx3715()	(0)
W
wdenk 已提交
2334 2335
#endif

M
Marek Vasut 已提交
2336
#ifdef CONFIG_MACH_NSLU2
W
wdenk 已提交
2337 2338 2339 2340
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2341
#  define machine_arch_type	MACH_TYPE_NSLU2
W
wdenk 已提交
2342
# endif
M
Marek Vasut 已提交
2343
# define machine_is_nslu2()	(machine_arch_type == MACH_TYPE_NSLU2)
W
wdenk 已提交
2344
#else
M
Marek Vasut 已提交
2345
# define machine_is_nslu2()	(0)
W
wdenk 已提交
2346 2347
#endif

M
Marek Vasut 已提交
2348
#ifdef CONFIG_MACH_E400
W
wdenk 已提交
2349 2350 2351 2352
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2353
#  define machine_arch_type	MACH_TYPE_E400
W
wdenk 已提交
2354
# endif
M
Marek Vasut 已提交
2355
# define machine_is_e400()	(machine_arch_type == MACH_TYPE_E400)
W
wdenk 已提交
2356
#else
M
Marek Vasut 已提交
2357
# define machine_is_e400()	(0)
W
wdenk 已提交
2358 2359
#endif

M
Marek Vasut 已提交
2360
#ifdef CONFIG_MACH_IXDPG425
W
wdenk 已提交
2361 2362 2363 2364
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2365
#  define machine_arch_type	MACH_TYPE_IXDPG425
W
wdenk 已提交
2366
# endif
M
Marek Vasut 已提交
2367
# define machine_is_ixdpg425()	(machine_arch_type == MACH_TYPE_IXDPG425)
W
wdenk 已提交
2368
#else
M
Marek Vasut 已提交
2369
# define machine_is_ixdpg425()	(0)
W
wdenk 已提交
2370 2371
#endif

M
Marek Vasut 已提交
2372
#ifdef CONFIG_MACH_VERSATILE_AB
W
wdenk 已提交
2373 2374 2375 2376
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2377
#  define machine_arch_type	MACH_TYPE_VERSATILE_AB
W
wdenk 已提交
2378
# endif
M
Marek Vasut 已提交
2379
# define machine_is_versatile_ab()	(machine_arch_type == MACH_TYPE_VERSATILE_AB)
W
wdenk 已提交
2380
#else
M
Marek Vasut 已提交
2381
# define machine_is_versatile_ab()	(0)
W
wdenk 已提交
2382 2383
#endif

M
Marek Vasut 已提交
2384
#ifdef CONFIG_MACH_EDB9307
W
wdenk 已提交
2385 2386 2387 2388
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2389
#  define machine_arch_type	MACH_TYPE_EDB9307
W
wdenk 已提交
2390
# endif
M
Marek Vasut 已提交
2391
# define machine_is_edb9307()	(machine_arch_type == MACH_TYPE_EDB9307)
W
wdenk 已提交
2392
#else
M
Marek Vasut 已提交
2393
# define machine_is_edb9307()	(0)
W
wdenk 已提交
2394 2395
#endif

M
Marek Vasut 已提交
2396
#ifdef CONFIG_MACH_KB9200
W
wdenk 已提交
2397 2398 2399 2400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2401
#  define machine_arch_type	MACH_TYPE_KB9200
W
wdenk 已提交
2402
# endif
M
Marek Vasut 已提交
2403
# define machine_is_kb9200()	(machine_arch_type == MACH_TYPE_KB9200)
W
wdenk 已提交
2404
#else
M
Marek Vasut 已提交
2405
# define machine_is_kb9200()	(0)
W
wdenk 已提交
2406 2407
#endif

M
Marek Vasut 已提交
2408
#ifdef CONFIG_MACH_SX1
W
wdenk 已提交
2409 2410 2411 2412
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2413
#  define machine_arch_type	MACH_TYPE_SX1
W
wdenk 已提交
2414
# endif
M
Marek Vasut 已提交
2415
# define machine_is_sx1()	(machine_arch_type == MACH_TYPE_SX1)
W
wdenk 已提交
2416
#else
M
Marek Vasut 已提交
2417
# define machine_is_sx1()	(0)
W
wdenk 已提交
2418 2419
#endif

M
Marek Vasut 已提交
2420
#ifdef CONFIG_MACH_IXDP465
W
wdenk 已提交
2421 2422 2423 2424
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2425
#  define machine_arch_type	MACH_TYPE_IXDP465
W
wdenk 已提交
2426
# endif
M
Marek Vasut 已提交
2427
# define machine_is_ixdp465()	(machine_arch_type == MACH_TYPE_IXDP465)
W
wdenk 已提交
2428
#else
M
Marek Vasut 已提交
2429
# define machine_is_ixdp465()	(0)
W
wdenk 已提交
2430 2431
#endif

M
Marek Vasut 已提交
2432
#ifdef CONFIG_MACH_IXDP2351
W
wdenk 已提交
2433 2434 2435 2436
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2437
#  define machine_arch_type	MACH_TYPE_IXDP2351
W
wdenk 已提交
2438
# endif
M
Marek Vasut 已提交
2439
# define machine_is_ixdp2351()	(machine_arch_type == MACH_TYPE_IXDP2351)
W
wdenk 已提交
2440
#else
M
Marek Vasut 已提交
2441
# define machine_is_ixdp2351()	(0)
W
wdenk 已提交
2442 2443
#endif

M
Marek Vasut 已提交
2444
#ifdef CONFIG_MACH_IQ80332
W
wdenk 已提交
2445 2446 2447 2448
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2449
#  define machine_arch_type	MACH_TYPE_IQ80332
W
wdenk 已提交
2450
# endif
M
Marek Vasut 已提交
2451
# define machine_is_iq80332()	(machine_arch_type == MACH_TYPE_IQ80332)
W
wdenk 已提交
2452
#else
M
Marek Vasut 已提交
2453
# define machine_is_iq80332()	(0)
W
wdenk 已提交
2454 2455
#endif

M
Marek Vasut 已提交
2456
#ifdef CONFIG_MACH_GTWX5715
W
wdenk 已提交
2457 2458 2459 2460
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2461
#  define machine_arch_type	MACH_TYPE_GTWX5715
W
wdenk 已提交
2462
# endif
M
Marek Vasut 已提交
2463
# define machine_is_gtwx5715()	(machine_arch_type == MACH_TYPE_GTWX5715)
W
wdenk 已提交
2464
#else
M
Marek Vasut 已提交
2465
# define machine_is_gtwx5715()	(0)
W
wdenk 已提交
2466 2467
#endif

M
Marek Vasut 已提交
2468
#ifdef CONFIG_MACH_CSB637
W
wdenk 已提交
2469 2470 2471 2472
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2473
#  define machine_arch_type	MACH_TYPE_CSB637
W
wdenk 已提交
2474
# endif
M
Marek Vasut 已提交
2475
# define machine_is_csb637()	(machine_arch_type == MACH_TYPE_CSB637)
W
wdenk 已提交
2476
#else
M
Marek Vasut 已提交
2477
# define machine_is_csb637()	(0)
W
wdenk 已提交
2478 2479
#endif

M
Marek Vasut 已提交
2480
#ifdef CONFIG_MACH_N30
W
wdenk 已提交
2481 2482 2483 2484
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2485
#  define machine_arch_type	MACH_TYPE_N30
W
wdenk 已提交
2486
# endif
M
Marek Vasut 已提交
2487
# define machine_is_n30()	(machine_arch_type == MACH_TYPE_N30)
W
wdenk 已提交
2488
#else
M
Marek Vasut 已提交
2489
# define machine_is_n30()	(0)
W
wdenk 已提交
2490 2491
#endif

M
Marek Vasut 已提交
2492
#ifdef CONFIG_MACH_NEC_MP900
W
wdenk 已提交
2493 2494 2495 2496
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2497
#  define machine_arch_type	MACH_TYPE_NEC_MP900
W
wdenk 已提交
2498
# endif
M
Marek Vasut 已提交
2499
# define machine_is_nec_mp900()	(machine_arch_type == MACH_TYPE_NEC_MP900)
W
wdenk 已提交
2500
#else
M
Marek Vasut 已提交
2501
# define machine_is_nec_mp900()	(0)
W
wdenk 已提交
2502 2503
#endif

M
Marek Vasut 已提交
2504
#ifdef CONFIG_MACH_KAFA
W
wdenk 已提交
2505 2506 2507 2508
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2509
#  define machine_arch_type	MACH_TYPE_KAFA
W
wdenk 已提交
2510
# endif
M
Marek Vasut 已提交
2511
# define machine_is_kafa()	(machine_arch_type == MACH_TYPE_KAFA)
W
wdenk 已提交
2512
#else
M
Marek Vasut 已提交
2513
# define machine_is_kafa()	(0)
W
wdenk 已提交
2514 2515
#endif

M
Marek Vasut 已提交
2516
#ifdef CONFIG_MACH_TS72XX
W
wdenk 已提交
2517 2518 2519 2520
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2521
#  define machine_arch_type	MACH_TYPE_TS72XX
W
wdenk 已提交
2522
# endif
M
Marek Vasut 已提交
2523
# define machine_is_ts72xx()	(machine_arch_type == MACH_TYPE_TS72XX)
W
wdenk 已提交
2524
#else
M
Marek Vasut 已提交
2525
# define machine_is_ts72xx()	(0)
W
wdenk 已提交
2526 2527
#endif

M
Marek Vasut 已提交
2528
#ifdef CONFIG_MACH_OTOM
W
wdenk 已提交
2529 2530 2531 2532
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2533
#  define machine_arch_type	MACH_TYPE_OTOM
W
wdenk 已提交
2534
# endif
M
Marek Vasut 已提交
2535
# define machine_is_otom()	(machine_arch_type == MACH_TYPE_OTOM)
W
wdenk 已提交
2536
#else
M
Marek Vasut 已提交
2537
# define machine_is_otom()	(0)
W
wdenk 已提交
2538 2539
#endif

M
Marek Vasut 已提交
2540
#ifdef CONFIG_MACH_NEXCODER_2440
W
wdenk 已提交
2541 2542 2543 2544
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2545
#  define machine_arch_type	MACH_TYPE_NEXCODER_2440
W
wdenk 已提交
2546
# endif
M
Marek Vasut 已提交
2547
# define machine_is_nexcoder_2440()	(machine_arch_type == MACH_TYPE_NEXCODER_2440)
W
wdenk 已提交
2548
#else
M
Marek Vasut 已提交
2549
# define machine_is_nexcoder_2440()	(0)
W
wdenk 已提交
2550 2551
#endif

M
Marek Vasut 已提交
2552
#ifdef CONFIG_MACH_ECO920
W
wdenk 已提交
2553 2554 2555 2556
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2557
#  define machine_arch_type	MACH_TYPE_ECO920
W
wdenk 已提交
2558
# endif
M
Marek Vasut 已提交
2559
# define machine_is_eco920()	(machine_arch_type == MACH_TYPE_ECO920)
W
wdenk 已提交
2560
#else
M
Marek Vasut 已提交
2561
# define machine_is_eco920()	(0)
W
wdenk 已提交
2562 2563
#endif

M
Marek Vasut 已提交
2564
#ifdef CONFIG_MACH_ROADRUNNER
W
wdenk 已提交
2565 2566 2567 2568
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2569
#  define machine_arch_type	MACH_TYPE_ROADRUNNER
W
wdenk 已提交
2570
# endif
M
Marek Vasut 已提交
2571
# define machine_is_roadrunner()	(machine_arch_type == MACH_TYPE_ROADRUNNER)
W
wdenk 已提交
2572
#else
M
Marek Vasut 已提交
2573
# define machine_is_roadrunner()	(0)
W
wdenk 已提交
2574 2575
#endif

M
Marek Vasut 已提交
2576
#ifdef CONFIG_MACH_AT91RM9200EK
W
wdenk 已提交
2577 2578 2579 2580
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2581
#  define machine_arch_type	MACH_TYPE_AT91RM9200EK
W
wdenk 已提交
2582
# endif
M
Marek Vasut 已提交
2583
# define machine_is_at91rm9200ek()	(machine_arch_type == MACH_TYPE_AT91RM9200EK)
W
wdenk 已提交
2584
#else
M
Marek Vasut 已提交
2585
# define machine_is_at91rm9200ek()	(0)
W
wdenk 已提交
2586 2587
#endif

M
Marek Vasut 已提交
2588
#ifdef CONFIG_MACH_SPITZ
W
wdenk 已提交
2589 2590 2591 2592
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2593
#  define machine_arch_type	MACH_TYPE_SPITZ
W
wdenk 已提交
2594
# endif
M
Marek Vasut 已提交
2595
# define machine_is_spitz()	(machine_arch_type == MACH_TYPE_SPITZ)
W
wdenk 已提交
2596
#else
M
Marek Vasut 已提交
2597
# define machine_is_spitz()	(0)
W
wdenk 已提交
2598 2599
#endif

M
Marek Vasut 已提交
2600
#ifdef CONFIG_MACH_ADSSPHERE
W
wdenk 已提交
2601 2602 2603 2604
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2605
#  define machine_arch_type	MACH_TYPE_ADSSPHERE
W
wdenk 已提交
2606
# endif
M
Marek Vasut 已提交
2607
# define machine_is_adssphere()	(machine_arch_type == MACH_TYPE_ADSSPHERE)
W
wdenk 已提交
2608
#else
M
Marek Vasut 已提交
2609
# define machine_is_adssphere()	(0)
W
wdenk 已提交
2610 2611
#endif

M
Marek Vasut 已提交
2612
#ifdef CONFIG_MACH_COLIBRI
W
wdenk 已提交
2613 2614 2615 2616
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2617
#  define machine_arch_type	MACH_TYPE_COLIBRI
W
wdenk 已提交
2618
# endif
M
Marek Vasut 已提交
2619
# define machine_is_colibri()	(machine_arch_type == MACH_TYPE_COLIBRI)
W
wdenk 已提交
2620
#else
M
Marek Vasut 已提交
2621
# define machine_is_colibri()	(0)
W
wdenk 已提交
2622 2623
#endif

M
Marek Vasut 已提交
2624
#ifdef CONFIG_MACH_GATEWAY7001
W
wdenk 已提交
2625 2626 2627 2628
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2629
#  define machine_arch_type	MACH_TYPE_GATEWAY7001
W
wdenk 已提交
2630
# endif
M
Marek Vasut 已提交
2631
# define machine_is_gateway7001()	(machine_arch_type == MACH_TYPE_GATEWAY7001)
W
wdenk 已提交
2632
#else
M
Marek Vasut 已提交
2633
# define machine_is_gateway7001()	(0)
W
wdenk 已提交
2634 2635
#endif

M
Marek Vasut 已提交
2636
#ifdef CONFIG_MACH_PCM027
W
wdenk 已提交
2637 2638 2639 2640
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2641
#  define machine_arch_type	MACH_TYPE_PCM027
W
wdenk 已提交
2642
# endif
M
Marek Vasut 已提交
2643
# define machine_is_pcm027()	(machine_arch_type == MACH_TYPE_PCM027)
W
wdenk 已提交
2644
#else
M
Marek Vasut 已提交
2645
# define machine_is_pcm027()	(0)
W
wdenk 已提交
2646 2647
#endif

M
Marek Vasut 已提交
2648
#ifdef CONFIG_MACH_ANUBIS
W
wdenk 已提交
2649 2650 2651 2652
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2653
#  define machine_arch_type	MACH_TYPE_ANUBIS
W
wdenk 已提交
2654
# endif
M
Marek Vasut 已提交
2655
# define machine_is_anubis()	(machine_arch_type == MACH_TYPE_ANUBIS)
W
wdenk 已提交
2656
#else
M
Marek Vasut 已提交
2657
# define machine_is_anubis()	(0)
W
wdenk 已提交
2658 2659
#endif

M
Marek Vasut 已提交
2660
#ifdef CONFIG_MACH_AKITA
W
wdenk 已提交
2661 2662 2663 2664
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2665
#  define machine_arch_type	MACH_TYPE_AKITA
W
wdenk 已提交
2666
# endif
M
Marek Vasut 已提交
2667
# define machine_is_akita()	(machine_arch_type == MACH_TYPE_AKITA)
W
wdenk 已提交
2668
#else
M
Marek Vasut 已提交
2669
# define machine_is_akita()	(0)
W
wdenk 已提交
2670 2671
#endif

M
Marek Vasut 已提交
2672
#ifdef CONFIG_MACH_E330
W
wdenk 已提交
2673 2674 2675 2676
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2677
#  define machine_arch_type	MACH_TYPE_E330
W
wdenk 已提交
2678
# endif
M
Marek Vasut 已提交
2679
# define machine_is_e330()	(machine_arch_type == MACH_TYPE_E330)
W
wdenk 已提交
2680
#else
M
Marek Vasut 已提交
2681
# define machine_is_e330()	(0)
W
wdenk 已提交
2682 2683
#endif

M
Marek Vasut 已提交
2684
#ifdef CONFIG_MACH_NOKIA770
W
wdenk 已提交
2685 2686 2687 2688
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2689
#  define machine_arch_type	MACH_TYPE_NOKIA770
W
wdenk 已提交
2690
# endif
M
Marek Vasut 已提交
2691
# define machine_is_nokia770()	(machine_arch_type == MACH_TYPE_NOKIA770)
W
wdenk 已提交
2692
#else
M
Marek Vasut 已提交
2693
# define machine_is_nokia770()	(0)
W
wdenk 已提交
2694 2695
#endif

M
Marek Vasut 已提交
2696
#ifdef CONFIG_MACH_CARMEVA
W
wdenk 已提交
2697 2698 2699 2700
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2701
#  define machine_arch_type	MACH_TYPE_CARMEVA
W
wdenk 已提交
2702
# endif
M
Marek Vasut 已提交
2703
# define machine_is_carmeva()	(machine_arch_type == MACH_TYPE_CARMEVA)
W
wdenk 已提交
2704
#else
M
Marek Vasut 已提交
2705
# define machine_is_carmeva()	(0)
W
wdenk 已提交
2706 2707
#endif

M
Marek Vasut 已提交
2708
#ifdef CONFIG_MACH_EDB9315A
W
wdenk 已提交
2709 2710 2711 2712
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2713
#  define machine_arch_type	MACH_TYPE_EDB9315A
W
wdenk 已提交
2714
# endif
M
Marek Vasut 已提交
2715
# define machine_is_edb9315a()	(machine_arch_type == MACH_TYPE_EDB9315A)
W
wdenk 已提交
2716
#else
M
Marek Vasut 已提交
2717
# define machine_is_edb9315a()	(0)
W
wdenk 已提交
2718 2719
#endif

M
Marek Vasut 已提交
2720
#ifdef CONFIG_MACH_STARGATE2
W
wdenk 已提交
2721 2722 2723 2724
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2725
#  define machine_arch_type	MACH_TYPE_STARGATE2
W
wdenk 已提交
2726
# endif
M
Marek Vasut 已提交
2727
# define machine_is_stargate2()	(machine_arch_type == MACH_TYPE_STARGATE2)
W
wdenk 已提交
2728
#else
M
Marek Vasut 已提交
2729
# define machine_is_stargate2()	(0)
W
wdenk 已提交
2730 2731
#endif

M
Marek Vasut 已提交
2732
#ifdef CONFIG_MACH_INTELMOTE2
W
wdenk 已提交
2733 2734 2735 2736
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2737
#  define machine_arch_type	MACH_TYPE_INTELMOTE2
W
wdenk 已提交
2738
# endif
M
Marek Vasut 已提交
2739
# define machine_is_intelmote2()	(machine_arch_type == MACH_TYPE_INTELMOTE2)
W
wdenk 已提交
2740
#else
M
Marek Vasut 已提交
2741
# define machine_is_intelmote2()	(0)
W
wdenk 已提交
2742 2743
#endif

M
Marek Vasut 已提交
2744
#ifdef CONFIG_MACH_TRIZEPS4
W
wdenk 已提交
2745 2746 2747 2748
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2749
#  define machine_arch_type	MACH_TYPE_TRIZEPS4
W
wdenk 已提交
2750
# endif
M
Marek Vasut 已提交
2751
# define machine_is_trizeps4()	(machine_arch_type == MACH_TYPE_TRIZEPS4)
W
wdenk 已提交
2752
#else
M
Marek Vasut 已提交
2753
# define machine_is_trizeps4()	(0)
W
wdenk 已提交
2754 2755
#endif

M
Marek Vasut 已提交
2756
#ifdef CONFIG_MACH_PNX4008
W
wdenk 已提交
2757 2758 2759 2760
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2761
#  define machine_arch_type	MACH_TYPE_PNX4008
W
wdenk 已提交
2762
# endif
M
Marek Vasut 已提交
2763
# define machine_is_pnx4008()	(machine_arch_type == MACH_TYPE_PNX4008)
W
wdenk 已提交
2764
#else
M
Marek Vasut 已提交
2765
# define machine_is_pnx4008()	(0)
W
wdenk 已提交
2766 2767
#endif

M
Marek Vasut 已提交
2768
#ifdef CONFIG_MACH_CPUAT91
W
wdenk 已提交
2769 2770 2771 2772
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2773
#  define machine_arch_type	MACH_TYPE_CPUAT91
W
wdenk 已提交
2774
# endif
M
Marek Vasut 已提交
2775
# define machine_is_cpuat91()	(machine_arch_type == MACH_TYPE_CPUAT91)
W
wdenk 已提交
2776
#else
M
Marek Vasut 已提交
2777
# define machine_is_cpuat91()	(0)
W
wdenk 已提交
2778 2779
#endif

M
Marek Vasut 已提交
2780
#ifdef CONFIG_MACH_IQ81340SC
W
wdenk 已提交
2781 2782 2783 2784
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2785
#  define machine_arch_type	MACH_TYPE_IQ81340SC
W
wdenk 已提交
2786
# endif
M
Marek Vasut 已提交
2787
# define machine_is_iq81340sc()	(machine_arch_type == MACH_TYPE_IQ81340SC)
W
wdenk 已提交
2788
#else
M
Marek Vasut 已提交
2789
# define machine_is_iq81340sc()	(0)
W
wdenk 已提交
2790 2791
#endif

M
Marek Vasut 已提交
2792
#ifdef CONFIG_MACH_IQ81340MC
W
wdenk 已提交
2793 2794 2795 2796
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2797
#  define machine_arch_type	MACH_TYPE_IQ81340MC
W
wdenk 已提交
2798
# endif
M
Marek Vasut 已提交
2799
# define machine_is_iq81340mc()	(machine_arch_type == MACH_TYPE_IQ81340MC)
W
wdenk 已提交
2800
#else
M
Marek Vasut 已提交
2801
# define machine_is_iq81340mc()	(0)
W
wdenk 已提交
2802 2803
#endif

M
Marek Vasut 已提交
2804
#ifdef CONFIG_MACH_MICRO9
W
wdenk 已提交
2805 2806 2807 2808
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2809
#  define machine_arch_type	MACH_TYPE_MICRO9
W
wdenk 已提交
2810
# endif
M
Marek Vasut 已提交
2811
# define machine_is_micro9()	(machine_arch_type == MACH_TYPE_MICRO9)
W
wdenk 已提交
2812
#else
M
Marek Vasut 已提交
2813
# define machine_is_micro9()	(0)
W
wdenk 已提交
2814 2815
#endif

M
Marek Vasut 已提交
2816
#ifdef CONFIG_MACH_MICRO9L
W
wdenk 已提交
2817 2818 2819 2820
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2821
#  define machine_arch_type	MACH_TYPE_MICRO9L
W
wdenk 已提交
2822
# endif
M
Marek Vasut 已提交
2823
# define machine_is_micro9l()	(machine_arch_type == MACH_TYPE_MICRO9L)
W
wdenk 已提交
2824
#else
M
Marek Vasut 已提交
2825
# define machine_is_micro9l()	(0)
W
wdenk 已提交
2826 2827
#endif

M
Marek Vasut 已提交
2828
#ifdef CONFIG_MACH_OMAP_PALMTE
W
wdenk 已提交
2829 2830 2831 2832
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2833
#  define machine_arch_type	MACH_TYPE_OMAP_PALMTE
W
wdenk 已提交
2834
# endif
M
Marek Vasut 已提交
2835
# define machine_is_omap_palmte()	(machine_arch_type == MACH_TYPE_OMAP_PALMTE)
W
wdenk 已提交
2836
#else
M
Marek Vasut 已提交
2837
# define machine_is_omap_palmte()	(0)
W
wdenk 已提交
2838 2839
#endif

M
Marek Vasut 已提交
2840
#ifdef CONFIG_MACH_REALVIEW_EB
W
wdenk 已提交
2841 2842 2843 2844
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2845
#  define machine_arch_type	MACH_TYPE_REALVIEW_EB
W
wdenk 已提交
2846
# endif
M
Marek Vasut 已提交
2847
# define machine_is_realview_eb()	(machine_arch_type == MACH_TYPE_REALVIEW_EB)
W
wdenk 已提交
2848
#else
M
Marek Vasut 已提交
2849
# define machine_is_realview_eb()	(0)
W
wdenk 已提交
2850 2851
#endif

M
Marek Vasut 已提交
2852
#ifdef CONFIG_MACH_BORZOI
W
wdenk 已提交
2853 2854 2855 2856
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2857
#  define machine_arch_type	MACH_TYPE_BORZOI
W
wdenk 已提交
2858
# endif
M
Marek Vasut 已提交
2859
# define machine_is_borzoi()	(machine_arch_type == MACH_TYPE_BORZOI)
W
wdenk 已提交
2860
#else
M
Marek Vasut 已提交
2861
# define machine_is_borzoi()	(0)
W
wdenk 已提交
2862 2863
#endif

M
Marek Vasut 已提交
2864
#ifdef CONFIG_MACH_PALMLD
W
wdenk 已提交
2865 2866 2867 2868
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2869
#  define machine_arch_type	MACH_TYPE_PALMLD
W
wdenk 已提交
2870
# endif
M
Marek Vasut 已提交
2871
# define machine_is_palmld()	(machine_arch_type == MACH_TYPE_PALMLD)
W
wdenk 已提交
2872
#else
M
Marek Vasut 已提交
2873
# define machine_is_palmld()	(0)
W
wdenk 已提交
2874 2875
#endif

M
Marek Vasut 已提交
2876
#ifdef CONFIG_MACH_IXDP28X5
W
wdenk 已提交
2877 2878 2879 2880
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2881
#  define machine_arch_type	MACH_TYPE_IXDP28X5
W
wdenk 已提交
2882
# endif
M
Marek Vasut 已提交
2883
# define machine_is_ixdp28x5()	(machine_arch_type == MACH_TYPE_IXDP28X5)
W
wdenk 已提交
2884
#else
M
Marek Vasut 已提交
2885
# define machine_is_ixdp28x5()	(0)
W
wdenk 已提交
2886 2887
#endif

M
Marek Vasut 已提交
2888
#ifdef CONFIG_MACH_OMAP_PALMTT
W
wdenk 已提交
2889 2890 2891 2892
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2893
#  define machine_arch_type	MACH_TYPE_OMAP_PALMTT
W
wdenk 已提交
2894
# endif
M
Marek Vasut 已提交
2895
# define machine_is_omap_palmtt()	(machine_arch_type == MACH_TYPE_OMAP_PALMTT)
W
wdenk 已提交
2896
#else
M
Marek Vasut 已提交
2897
# define machine_is_omap_palmtt()	(0)
W
wdenk 已提交
2898 2899
#endif

M
Marek Vasut 已提交
2900
#ifdef CONFIG_MACH_ARCOM_ZEUS
W
wdenk 已提交
2901 2902 2903 2904
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2905
#  define machine_arch_type	MACH_TYPE_ARCOM_ZEUS
W
wdenk 已提交
2906
# endif
M
Marek Vasut 已提交
2907
# define machine_is_arcom_zeus()	(machine_arch_type == MACH_TYPE_ARCOM_ZEUS)
W
wdenk 已提交
2908
#else
M
Marek Vasut 已提交
2909
# define machine_is_arcom_zeus()	(0)
W
wdenk 已提交
2910 2911
#endif

M
Marek Vasut 已提交
2912
#ifdef CONFIG_MACH_OSIRIS
W
wdenk 已提交
2913 2914 2915 2916
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2917
#  define machine_arch_type	MACH_TYPE_OSIRIS
W
wdenk 已提交
2918
# endif
M
Marek Vasut 已提交
2919
# define machine_is_osiris()	(machine_arch_type == MACH_TYPE_OSIRIS)
W
wdenk 已提交
2920
#else
M
Marek Vasut 已提交
2921
# define machine_is_osiris()	(0)
W
wdenk 已提交
2922 2923
#endif

M
Marek Vasut 已提交
2924
#ifdef CONFIG_MACH_PALMTE2
W
wdenk 已提交
2925 2926 2927 2928
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2929
#  define machine_arch_type	MACH_TYPE_PALMTE2
W
wdenk 已提交
2930
# endif
M
Marek Vasut 已提交
2931
# define machine_is_palmte2()	(machine_arch_type == MACH_TYPE_PALMTE2)
W
wdenk 已提交
2932
#else
M
Marek Vasut 已提交
2933
# define machine_is_palmte2()	(0)
W
wdenk 已提交
2934 2935
#endif

M
Marek Vasut 已提交
2936
#ifdef CONFIG_MACH_MX27ADS
W
wdenk 已提交
2937 2938 2939 2940
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2941
#  define machine_arch_type	MACH_TYPE_MX27ADS
W
wdenk 已提交
2942
# endif
M
Marek Vasut 已提交
2943
# define machine_is_mx27ads()	(machine_arch_type == MACH_TYPE_MX27ADS)
W
wdenk 已提交
2944
#else
M
Marek Vasut 已提交
2945
# define machine_is_mx27ads()	(0)
W
wdenk 已提交
2946 2947
#endif

M
Marek Vasut 已提交
2948
#ifdef CONFIG_MACH_AT91SAM9261EK
W
wdenk 已提交
2949 2950 2951 2952
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2953
#  define machine_arch_type	MACH_TYPE_AT91SAM9261EK
W
wdenk 已提交
2954
# endif
M
Marek Vasut 已提交
2955
# define machine_is_at91sam9261ek()	(machine_arch_type == MACH_TYPE_AT91SAM9261EK)
W
wdenk 已提交
2956
#else
M
Marek Vasut 已提交
2957
# define machine_is_at91sam9261ek()	(0)
W
wdenk 已提交
2958 2959
#endif

M
Marek Vasut 已提交
2960
#ifdef CONFIG_MACH_LOFT
W
wdenk 已提交
2961 2962 2963 2964
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2965
#  define machine_arch_type	MACH_TYPE_LOFT
W
wdenk 已提交
2966
# endif
M
Marek Vasut 已提交
2967
# define machine_is_loft()	(machine_arch_type == MACH_TYPE_LOFT)
W
wdenk 已提交
2968
#else
M
Marek Vasut 已提交
2969
# define machine_is_loft()	(0)
W
wdenk 已提交
2970 2971
#endif

M
Marek Vasut 已提交
2972
#ifdef CONFIG_MACH_MX21ADS
W
wdenk 已提交
2973 2974 2975 2976
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2977
#  define machine_arch_type	MACH_TYPE_MX21ADS
W
wdenk 已提交
2978
# endif
M
Marek Vasut 已提交
2979
# define machine_is_mx21ads()	(machine_arch_type == MACH_TYPE_MX21ADS)
W
wdenk 已提交
2980
#else
M
Marek Vasut 已提交
2981
# define machine_is_mx21ads()	(0)
W
wdenk 已提交
2982 2983
#endif

M
Marek Vasut 已提交
2984
#ifdef CONFIG_MACH_AMS_DELTA
W
wdenk 已提交
2985 2986 2987 2988
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
2989
#  define machine_arch_type	MACH_TYPE_AMS_DELTA
W
wdenk 已提交
2990
# endif
M
Marek Vasut 已提交
2991
# define machine_is_ams_delta()	(machine_arch_type == MACH_TYPE_AMS_DELTA)
W
wdenk 已提交
2992
#else
M
Marek Vasut 已提交
2993
# define machine_is_ams_delta()	(0)
W
wdenk 已提交
2994 2995
#endif

M
Marek Vasut 已提交
2996
#ifdef CONFIG_MACH_NAS100D
W
wdenk 已提交
2997 2998 2999 3000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3001
#  define machine_arch_type	MACH_TYPE_NAS100D
W
wdenk 已提交
3002
# endif
M
Marek Vasut 已提交
3003
# define machine_is_nas100d()	(machine_arch_type == MACH_TYPE_NAS100D)
W
wdenk 已提交
3004
#else
M
Marek Vasut 已提交
3005
# define machine_is_nas100d()	(0)
W
wdenk 已提交
3006 3007
#endif

M
Marek Vasut 已提交
3008
#ifdef CONFIG_MACH_MAGICIAN
W
wdenk 已提交
3009 3010 3011 3012
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3013
#  define machine_arch_type	MACH_TYPE_MAGICIAN
W
wdenk 已提交
3014
# endif
M
Marek Vasut 已提交
3015
# define machine_is_magician()	(machine_arch_type == MACH_TYPE_MAGICIAN)
W
wdenk 已提交
3016
#else
M
Marek Vasut 已提交
3017
# define machine_is_magician()	(0)
W
wdenk 已提交
3018 3019
#endif

M
Marek Vasut 已提交
3020
#ifdef CONFIG_MACH_NXDKN
W
wdenk 已提交
3021 3022 3023 3024
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3025
#  define machine_arch_type	MACH_TYPE_NXDKN
W
wdenk 已提交
3026
# endif
M
Marek Vasut 已提交
3027
# define machine_is_nxdkn()	(machine_arch_type == MACH_TYPE_NXDKN)
W
wdenk 已提交
3028
#else
M
Marek Vasut 已提交
3029
# define machine_is_nxdkn()	(0)
W
wdenk 已提交
3030 3031
#endif

M
Marek Vasut 已提交
3032
#ifdef CONFIG_MACH_PALMTX
W
wdenk 已提交
3033 3034 3035 3036
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3037
#  define machine_arch_type	MACH_TYPE_PALMTX
W
wdenk 已提交
3038
# endif
M
Marek Vasut 已提交
3039
# define machine_is_palmtx()	(machine_arch_type == MACH_TYPE_PALMTX)
W
wdenk 已提交
3040
#else
M
Marek Vasut 已提交
3041
# define machine_is_palmtx()	(0)
W
wdenk 已提交
3042 3043
#endif

M
Marek Vasut 已提交
3044
#ifdef CONFIG_MACH_S3C2413
W
wdenk 已提交
3045 3046 3047 3048
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3049
#  define machine_arch_type	MACH_TYPE_S3C2413
W
wdenk 已提交
3050
# endif
M
Marek Vasut 已提交
3051
# define machine_is_s3c2413()	(machine_arch_type == MACH_TYPE_S3C2413)
W
wdenk 已提交
3052
#else
M
Marek Vasut 已提交
3053
# define machine_is_s3c2413()	(0)
W
wdenk 已提交
3054 3055
#endif

M
Marek Vasut 已提交
3056
#ifdef CONFIG_MACH_WG302V2
W
wdenk 已提交
3057 3058 3059 3060
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3061
#  define machine_arch_type	MACH_TYPE_WG302V2
W
wdenk 已提交
3062
# endif
M
Marek Vasut 已提交
3063
# define machine_is_wg302v2()	(machine_arch_type == MACH_TYPE_WG302V2)
W
wdenk 已提交
3064
#else
M
Marek Vasut 已提交
3065
# define machine_is_wg302v2()	(0)
W
wdenk 已提交
3066 3067
#endif

M
Marek Vasut 已提交
3068
#ifdef CONFIG_MACH_OMAP_2430SDP
W
wdenk 已提交
3069 3070 3071 3072
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3073
#  define machine_arch_type	MACH_TYPE_OMAP_2430SDP
W
wdenk 已提交
3074
# endif
M
Marek Vasut 已提交
3075
# define machine_is_omap_2430sdp()	(machine_arch_type == MACH_TYPE_OMAP_2430SDP)
W
wdenk 已提交
3076
#else
M
Marek Vasut 已提交
3077
# define machine_is_omap_2430sdp()	(0)
W
wdenk 已提交
3078 3079
#endif

M
Marek Vasut 已提交
3080
#ifdef CONFIG_MACH_DAVINCI_EVM
W
wdenk 已提交
3081 3082 3083 3084
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3085
#  define machine_arch_type	MACH_TYPE_DAVINCI_EVM
W
wdenk 已提交
3086
# endif
M
Marek Vasut 已提交
3087
# define machine_is_davinci_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_EVM)
W
wdenk 已提交
3088
#else
M
Marek Vasut 已提交
3089
# define machine_is_davinci_evm()	(0)
W
wdenk 已提交
3090 3091
#endif

M
Marek Vasut 已提交
3092
#ifdef CONFIG_MACH_PALMZ72
W
wdenk 已提交
3093 3094 3095 3096
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3097
#  define machine_arch_type	MACH_TYPE_PALMZ72
W
wdenk 已提交
3098
# endif
M
Marek Vasut 已提交
3099
# define machine_is_palmz72()	(machine_arch_type == MACH_TYPE_PALMZ72)
W
wdenk 已提交
3100
#else
M
Marek Vasut 已提交
3101
# define machine_is_palmz72()	(0)
W
wdenk 已提交
3102 3103
#endif

M
Marek Vasut 已提交
3104
#ifdef CONFIG_MACH_NXDB500
W
wdenk 已提交
3105 3106 3107 3108
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3109
#  define machine_arch_type	MACH_TYPE_NXDB500
W
wdenk 已提交
3110
# endif
M
Marek Vasut 已提交
3111
# define machine_is_nxdb500()	(machine_arch_type == MACH_TYPE_NXDB500)
W
wdenk 已提交
3112
#else
M
Marek Vasut 已提交
3113
# define machine_is_nxdb500()	(0)
W
wdenk 已提交
3114 3115
#endif

M
Marek Vasut 已提交
3116
#ifdef CONFIG_MACH_PALMT5
W
wdenk 已提交
3117 3118 3119 3120
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3121
#  define machine_arch_type	MACH_TYPE_PALMT5
W
wdenk 已提交
3122
# endif
M
Marek Vasut 已提交
3123
# define machine_is_palmt5()	(machine_arch_type == MACH_TYPE_PALMT5)
W
wdenk 已提交
3124
#else
M
Marek Vasut 已提交
3125
# define machine_is_palmt5()	(0)
W
wdenk 已提交
3126 3127
#endif

M
Marek Vasut 已提交
3128
#ifdef CONFIG_MACH_PALMTC
W
wdenk 已提交
3129 3130 3131 3132
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3133
#  define machine_arch_type	MACH_TYPE_PALMTC
W
wdenk 已提交
3134
# endif
M
Marek Vasut 已提交
3135
# define machine_is_palmtc()	(machine_arch_type == MACH_TYPE_PALMTC)
W
wdenk 已提交
3136
#else
M
Marek Vasut 已提交
3137
# define machine_is_palmtc()	(0)
W
wdenk 已提交
3138 3139
#endif

M
Marek Vasut 已提交
3140
#ifdef CONFIG_MACH_OMAP_APOLLON
W
wdenk 已提交
3141 3142 3143 3144
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3145
#  define machine_arch_type	MACH_TYPE_OMAP_APOLLON
W
wdenk 已提交
3146
# endif
M
Marek Vasut 已提交
3147
# define machine_is_omap_apollon()	(machine_arch_type == MACH_TYPE_OMAP_APOLLON)
W
wdenk 已提交
3148
#else
M
Marek Vasut 已提交
3149
# define machine_is_omap_apollon()	(0)
W
wdenk 已提交
3150 3151
#endif

M
Marek Vasut 已提交
3152
#ifdef CONFIG_MACH_ATEB9200
W
wdenk 已提交
3153 3154 3155 3156
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3157
#  define machine_arch_type	MACH_TYPE_ATEB9200
W
wdenk 已提交
3158
# endif
M
Marek Vasut 已提交
3159
# define machine_is_ateb9200()	(machine_arch_type == MACH_TYPE_ATEB9200)
W
wdenk 已提交
3160
#else
M
Marek Vasut 已提交
3161
# define machine_is_ateb9200()	(0)
W
wdenk 已提交
3162 3163
#endif

M
Marek Vasut 已提交
3164
#ifdef CONFIG_MACH_N35
W
wdenk 已提交
3165 3166 3167 3168
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3169
#  define machine_arch_type	MACH_TYPE_N35
W
wdenk 已提交
3170
# endif
M
Marek Vasut 已提交
3171
# define machine_is_n35()	(machine_arch_type == MACH_TYPE_N35)
W
wdenk 已提交
3172
#else
M
Marek Vasut 已提交
3173
# define machine_is_n35()	(0)
W
wdenk 已提交
3174 3175
#endif

M
Marek Vasut 已提交
3176
#ifdef CONFIG_MACH_LOGICPD_PXA270
W
wdenk 已提交
3177 3178 3179 3180
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3181
#  define machine_arch_type	MACH_TYPE_LOGICPD_PXA270
W
wdenk 已提交
3182
# endif
M
Marek Vasut 已提交
3183
# define machine_is_logicpd_pxa270()	(machine_arch_type == MACH_TYPE_LOGICPD_PXA270)
W
wdenk 已提交
3184
#else
M
Marek Vasut 已提交
3185
# define machine_is_logicpd_pxa270()	(0)
W
wdenk 已提交
3186 3187
#endif

M
Marek Vasut 已提交
3188
#ifdef CONFIG_MACH_NXEB500HMI
W
wdenk 已提交
3189 3190 3191 3192
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3193
#  define machine_arch_type	MACH_TYPE_NXEB500HMI
W
wdenk 已提交
3194
# endif
M
Marek Vasut 已提交
3195
# define machine_is_nxeb500hmi()	(machine_arch_type == MACH_TYPE_NXEB500HMI)
W
wdenk 已提交
3196
#else
M
Marek Vasut 已提交
3197
# define machine_is_nxeb500hmi()	(0)
W
wdenk 已提交
3198 3199
#endif

M
Marek Vasut 已提交
3200
#ifdef CONFIG_MACH_ESPRESSO
W
wdenk 已提交
3201 3202 3203 3204
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3205
#  define machine_arch_type	MACH_TYPE_ESPRESSO
W
wdenk 已提交
3206
# endif
M
Marek Vasut 已提交
3207
# define machine_is_espresso()	(machine_arch_type == MACH_TYPE_ESPRESSO)
W
wdenk 已提交
3208
#else
M
Marek Vasut 已提交
3209
# define machine_is_espresso()	(0)
W
wdenk 已提交
3210 3211
#endif

M
Marek Vasut 已提交
3212
#ifdef CONFIG_MACH_RX1950
W
wdenk 已提交
3213 3214 3215 3216
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3217
#  define machine_arch_type	MACH_TYPE_RX1950
W
wdenk 已提交
3218
# endif
M
Marek Vasut 已提交
3219
# define machine_is_rx1950()	(machine_arch_type == MACH_TYPE_RX1950)
W
wdenk 已提交
3220
#else
M
Marek Vasut 已提交
3221
# define machine_is_rx1950()	(0)
W
wdenk 已提交
3222 3223
#endif

M
Marek Vasut 已提交
3224
#ifdef CONFIG_MACH_GESBC9312
W
wdenk 已提交
3225 3226 3227 3228
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3229
#  define machine_arch_type	MACH_TYPE_GESBC9312
W
wdenk 已提交
3230
# endif
M
Marek Vasut 已提交
3231
# define machine_is_gesbc9312()	(machine_arch_type == MACH_TYPE_GESBC9312)
W
wdenk 已提交
3232
#else
M
Marek Vasut 已提交
3233
# define machine_is_gesbc9312()	(0)
W
wdenk 已提交
3234 3235
#endif

M
Marek Vasut 已提交
3236
#ifdef CONFIG_MACH_PICOTUX2XX
W
wdenk 已提交
3237 3238 3239 3240
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3241
#  define machine_arch_type	MACH_TYPE_PICOTUX2XX
W
wdenk 已提交
3242
# endif
M
Marek Vasut 已提交
3243
# define machine_is_picotux2xx()	(machine_arch_type == MACH_TYPE_PICOTUX2XX)
W
wdenk 已提交
3244
#else
M
Marek Vasut 已提交
3245
# define machine_is_picotux2xx()	(0)
W
wdenk 已提交
3246 3247
#endif

M
Marek Vasut 已提交
3248
#ifdef CONFIG_MACH_DSMG600
W
wdenk 已提交
3249 3250 3251 3252
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3253
#  define machine_arch_type	MACH_TYPE_DSMG600
W
wdenk 已提交
3254
# endif
M
Marek Vasut 已提交
3255
# define machine_is_dsmg600()	(machine_arch_type == MACH_TYPE_DSMG600)
W
wdenk 已提交
3256
#else
M
Marek Vasut 已提交
3257
# define machine_is_dsmg600()	(0)
W
wdenk 已提交
3258 3259
#endif

M
Marek Vasut 已提交
3260
#ifdef CONFIG_MACH_OMAP_FSAMPLE
W
wdenk 已提交
3261 3262 3263 3264
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3265
#  define machine_arch_type	MACH_TYPE_OMAP_FSAMPLE
W
wdenk 已提交
3266
# endif
M
Marek Vasut 已提交
3267
# define machine_is_omap_fsample()	(machine_arch_type == MACH_TYPE_OMAP_FSAMPLE)
W
wdenk 已提交
3268
#else
M
Marek Vasut 已提交
3269
# define machine_is_omap_fsample()	(0)
W
wdenk 已提交
3270 3271
#endif

M
Marek Vasut 已提交
3272
#ifdef CONFIG_MACH_SNAPPER_CL15
W
wdenk 已提交
3273 3274 3275 3276
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3277
#  define machine_arch_type	MACH_TYPE_SNAPPER_CL15
W
wdenk 已提交
3278
# endif
M
Marek Vasut 已提交
3279
# define machine_is_snapper_cl15()	(machine_arch_type == MACH_TYPE_SNAPPER_CL15)
W
wdenk 已提交
3280
#else
M
Marek Vasut 已提交
3281
# define machine_is_snapper_cl15()	(0)
W
wdenk 已提交
3282 3283
#endif

M
Marek Vasut 已提交
3284
#ifdef CONFIG_MACH_OMAP_PALMZ71
W
wdenk 已提交
3285 3286 3287 3288
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3289
#  define machine_arch_type	MACH_TYPE_OMAP_PALMZ71
W
wdenk 已提交
3290
# endif
M
Marek Vasut 已提交
3291
# define machine_is_omap_palmz71()	(machine_arch_type == MACH_TYPE_OMAP_PALMZ71)
W
wdenk 已提交
3292
#else
M
Marek Vasut 已提交
3293
# define machine_is_omap_palmz71()	(0)
W
wdenk 已提交
3294 3295
#endif

M
Marek Vasut 已提交
3296
#ifdef CONFIG_MACH_SMDK2412
W
wdenk 已提交
3297 3298 3299 3300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3301
#  define machine_arch_type	MACH_TYPE_SMDK2412
W
wdenk 已提交
3302
# endif
M
Marek Vasut 已提交
3303
# define machine_is_smdk2412()	(machine_arch_type == MACH_TYPE_SMDK2412)
W
wdenk 已提交
3304
#else
M
Marek Vasut 已提交
3305
# define machine_is_smdk2412()	(0)
W
wdenk 已提交
3306 3307
#endif

M
Marek Vasut 已提交
3308
#ifdef CONFIG_MACH_SMDK2413
W
wdenk 已提交
3309 3310 3311 3312
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3313
#  define machine_arch_type	MACH_TYPE_SMDK2413
W
wdenk 已提交
3314
# endif
M
Marek Vasut 已提交
3315
# define machine_is_smdk2413()	(machine_arch_type == MACH_TYPE_SMDK2413)
W
wdenk 已提交
3316
#else
M
Marek Vasut 已提交
3317
# define machine_is_smdk2413()	(0)
W
wdenk 已提交
3318 3319
#endif

M
Marek Vasut 已提交
3320
#ifdef CONFIG_MACH_AML_M5900
W
wdenk 已提交
3321 3322 3323 3324
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3325
#  define machine_arch_type	MACH_TYPE_AML_M5900
W
wdenk 已提交
3326
# endif
M
Marek Vasut 已提交
3327
# define machine_is_aml_m5900()	(machine_arch_type == MACH_TYPE_AML_M5900)
W
wdenk 已提交
3328
#else
M
Marek Vasut 已提交
3329
# define machine_is_aml_m5900()	(0)
W
wdenk 已提交
3330 3331
#endif

M
Marek Vasut 已提交
3332
#ifdef CONFIG_MACH_BALLOON3
W
wdenk 已提交
3333 3334 3335 3336
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3337
#  define machine_arch_type	MACH_TYPE_BALLOON3
W
wdenk 已提交
3338
# endif
M
Marek Vasut 已提交
3339
# define machine_is_balloon3()	(machine_arch_type == MACH_TYPE_BALLOON3)
W
wdenk 已提交
3340
#else
M
Marek Vasut 已提交
3341
# define machine_is_balloon3()	(0)
W
wdenk 已提交
3342 3343
#endif

M
Marek Vasut 已提交
3344
#ifdef CONFIG_MACH_ECBAT91
W
wdenk 已提交
3345 3346 3347 3348
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3349
#  define machine_arch_type	MACH_TYPE_ECBAT91
W
wdenk 已提交
3350
# endif
M
Marek Vasut 已提交
3351
# define machine_is_ecbat91()	(machine_arch_type == MACH_TYPE_ECBAT91)
W
wdenk 已提交
3352
#else
M
Marek Vasut 已提交
3353
# define machine_is_ecbat91()	(0)
W
wdenk 已提交
3354 3355
#endif

M
Marek Vasut 已提交
3356
#ifdef CONFIG_MACH_ONEARM
W
wdenk 已提交
3357 3358 3359 3360
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3361
#  define machine_arch_type	MACH_TYPE_ONEARM
W
wdenk 已提交
3362
# endif
M
Marek Vasut 已提交
3363
# define machine_is_onearm()	(machine_arch_type == MACH_TYPE_ONEARM)
W
wdenk 已提交
3364
#else
M
Marek Vasut 已提交
3365
# define machine_is_onearm()	(0)
W
wdenk 已提交
3366 3367
#endif

M
Marek Vasut 已提交
3368
#ifdef CONFIG_MACH_SMDK2443
W
wdenk 已提交
3369 3370 3371 3372
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3373
#  define machine_arch_type	MACH_TYPE_SMDK2443
W
wdenk 已提交
3374
# endif
M
Marek Vasut 已提交
3375
# define machine_is_smdk2443()	(machine_arch_type == MACH_TYPE_SMDK2443)
W
wdenk 已提交
3376
#else
M
Marek Vasut 已提交
3377
# define machine_is_smdk2443()	(0)
W
wdenk 已提交
3378 3379
#endif

M
Marek Vasut 已提交
3380
#ifdef CONFIG_MACH_FSG
W
wdenk 已提交
3381 3382 3383 3384
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3385
#  define machine_arch_type	MACH_TYPE_FSG
W
wdenk 已提交
3386
# endif
M
Marek Vasut 已提交
3387
# define machine_is_fsg()	(machine_arch_type == MACH_TYPE_FSG)
W
wdenk 已提交
3388
#else
M
Marek Vasut 已提交
3389
# define machine_is_fsg()	(0)
W
wdenk 已提交
3390 3391
#endif

M
Marek Vasut 已提交
3392
#ifdef CONFIG_MACH_AT91SAM9260EK
W
wdenk 已提交
3393 3394 3395 3396
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3397
#  define machine_arch_type	MACH_TYPE_AT91SAM9260EK
W
wdenk 已提交
3398
# endif
M
Marek Vasut 已提交
3399
# define machine_is_at91sam9260ek()	(machine_arch_type == MACH_TYPE_AT91SAM9260EK)
W
wdenk 已提交
3400
#else
M
Marek Vasut 已提交
3401
# define machine_is_at91sam9260ek()	(0)
W
wdenk 已提交
3402 3403
#endif

M
Marek Vasut 已提交
3404
#ifdef CONFIG_MACH_GLANTANK
W
wdenk 已提交
3405 3406 3407 3408
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3409
#  define machine_arch_type	MACH_TYPE_GLANTANK
W
wdenk 已提交
3410
# endif
M
Marek Vasut 已提交
3411
# define machine_is_glantank()	(machine_arch_type == MACH_TYPE_GLANTANK)
W
wdenk 已提交
3412
#else
M
Marek Vasut 已提交
3413
# define machine_is_glantank()	(0)
W
wdenk 已提交
3414 3415
#endif

M
Marek Vasut 已提交
3416
#ifdef CONFIG_MACH_N2100
W
wdenk 已提交
3417 3418 3419 3420
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3421
#  define machine_arch_type	MACH_TYPE_N2100
W
wdenk 已提交
3422
# endif
M
Marek Vasut 已提交
3423
# define machine_is_n2100()	(machine_arch_type == MACH_TYPE_N2100)
W
wdenk 已提交
3424
#else
M
Marek Vasut 已提交
3425
# define machine_is_n2100()	(0)
W
wdenk 已提交
3426 3427
#endif

M
Marek Vasut 已提交
3428
#ifdef CONFIG_MACH_QT2410
W
wdenk 已提交
3429 3430 3431 3432
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3433
#  define machine_arch_type	MACH_TYPE_QT2410
W
wdenk 已提交
3434
# endif
M
Marek Vasut 已提交
3435
# define machine_is_qt2410()	(machine_arch_type == MACH_TYPE_QT2410)
W
wdenk 已提交
3436
#else
M
Marek Vasut 已提交
3437
# define machine_is_qt2410()	(0)
W
wdenk 已提交
3438 3439
#endif

M
Marek Vasut 已提交
3440
#ifdef CONFIG_MACH_KIXRP435
W
wdenk 已提交
3441 3442 3443 3444
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3445
#  define machine_arch_type	MACH_TYPE_KIXRP435
W
wdenk 已提交
3446
# endif
M
Marek Vasut 已提交
3447
# define machine_is_kixrp435()	(machine_arch_type == MACH_TYPE_KIXRP435)
W
wdenk 已提交
3448
#else
M
Marek Vasut 已提交
3449
# define machine_is_kixrp435()	(0)
W
wdenk 已提交
3450 3451
#endif

M
Marek Vasut 已提交
3452
#ifdef CONFIG_MACH_CC9P9360DEV
W
wdenk 已提交
3453 3454 3455 3456
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3457
#  define machine_arch_type	MACH_TYPE_CC9P9360DEV
W
wdenk 已提交
3458
# endif
M
Marek Vasut 已提交
3459
# define machine_is_cc9p9360dev()	(machine_arch_type == MACH_TYPE_CC9P9360DEV)
W
wdenk 已提交
3460
#else
M
Marek Vasut 已提交
3461
# define machine_is_cc9p9360dev()	(0)
W
wdenk 已提交
3462 3463
#endif

M
Marek Vasut 已提交
3464
#ifdef CONFIG_MACH_EDB9302A
W
wdenk 已提交
3465 3466 3467 3468
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3469
#  define machine_arch_type	MACH_TYPE_EDB9302A
W
wdenk 已提交
3470
# endif
M
Marek Vasut 已提交
3471
# define machine_is_edb9302a()	(machine_arch_type == MACH_TYPE_EDB9302A)
W
wdenk 已提交
3472
#else
M
Marek Vasut 已提交
3473
# define machine_is_edb9302a()	(0)
W
wdenk 已提交
3474 3475
#endif

M
Marek Vasut 已提交
3476
#ifdef CONFIG_MACH_EDB9307A
W
wdenk 已提交
3477 3478 3479 3480
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3481
#  define machine_arch_type	MACH_TYPE_EDB9307A
W
wdenk 已提交
3482
# endif
M
Marek Vasut 已提交
3483
# define machine_is_edb9307a()	(machine_arch_type == MACH_TYPE_EDB9307A)
W
wdenk 已提交
3484
#else
M
Marek Vasut 已提交
3485
# define machine_is_edb9307a()	(0)
W
wdenk 已提交
3486 3487
#endif

M
Marek Vasut 已提交
3488
#ifdef CONFIG_MACH_OMAP_3430SDP
W
wdenk 已提交
3489 3490 3491 3492
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3493
#  define machine_arch_type	MACH_TYPE_OMAP_3430SDP
W
wdenk 已提交
3494
# endif
M
Marek Vasut 已提交
3495
# define machine_is_omap_3430sdp()	(machine_arch_type == MACH_TYPE_OMAP_3430SDP)
W
wdenk 已提交
3496
#else
M
Marek Vasut 已提交
3497
# define machine_is_omap_3430sdp()	(0)
W
wdenk 已提交
3498 3499
#endif

M
Marek Vasut 已提交
3500
#ifdef CONFIG_MACH_VSTMS
W
wdenk 已提交
3501 3502 3503 3504
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3505
#  define machine_arch_type	MACH_TYPE_VSTMS
W
wdenk 已提交
3506
# endif
M
Marek Vasut 已提交
3507
# define machine_is_vstms()	(machine_arch_type == MACH_TYPE_VSTMS)
W
wdenk 已提交
3508
#else
M
Marek Vasut 已提交
3509
# define machine_is_vstms()	(0)
W
wdenk 已提交
3510 3511
#endif

M
Marek Vasut 已提交
3512
#ifdef CONFIG_MACH_MICRO9M
W
wdenk 已提交
3513 3514 3515 3516
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3517
#  define machine_arch_type	MACH_TYPE_MICRO9M
W
wdenk 已提交
3518
# endif
M
Marek Vasut 已提交
3519
# define machine_is_micro9m()	(machine_arch_type == MACH_TYPE_MICRO9M)
W
wdenk 已提交
3520
#else
M
Marek Vasut 已提交
3521
# define machine_is_micro9m()	(0)
W
wdenk 已提交
3522 3523
#endif

M
Marek Vasut 已提交
3524
#ifdef CONFIG_MACH_BUG
W
wdenk 已提交
3525 3526 3527 3528
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3529
#  define machine_arch_type	MACH_TYPE_BUG
W
wdenk 已提交
3530
# endif
M
Marek Vasut 已提交
3531
# define machine_is_bug()	(machine_arch_type == MACH_TYPE_BUG)
W
wdenk 已提交
3532
#else
M
Marek Vasut 已提交
3533
# define machine_is_bug()	(0)
W
wdenk 已提交
3534 3535
#endif

M
Marek Vasut 已提交
3536
#ifdef CONFIG_MACH_AT91SAM9263EK
W
wdenk 已提交
3537 3538 3539 3540
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3541
#  define machine_arch_type	MACH_TYPE_AT91SAM9263EK
W
wdenk 已提交
3542
# endif
M
Marek Vasut 已提交
3543
# define machine_is_at91sam9263ek()	(machine_arch_type == MACH_TYPE_AT91SAM9263EK)
W
wdenk 已提交
3544
#else
M
Marek Vasut 已提交
3545
# define machine_is_at91sam9263ek()	(0)
W
wdenk 已提交
3546 3547
#endif

M
Marek Vasut 已提交
3548
#ifdef CONFIG_MACH_EM7210
W
wdenk 已提交
3549 3550 3551 3552
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3553
#  define machine_arch_type	MACH_TYPE_EM7210
W
wdenk 已提交
3554
# endif
M
Marek Vasut 已提交
3555
# define machine_is_em7210()	(machine_arch_type == MACH_TYPE_EM7210)
W
wdenk 已提交
3556
#else
M
Marek Vasut 已提交
3557
# define machine_is_em7210()	(0)
W
wdenk 已提交
3558 3559
#endif

M
Marek Vasut 已提交
3560
#ifdef CONFIG_MACH_VPAC270
W
wdenk 已提交
3561 3562 3563 3564
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3565
#  define machine_arch_type	MACH_TYPE_VPAC270
W
wdenk 已提交
3566
# endif
M
Marek Vasut 已提交
3567
# define machine_is_vpac270()	(machine_arch_type == MACH_TYPE_VPAC270)
W
wdenk 已提交
3568
#else
M
Marek Vasut 已提交
3569
# define machine_is_vpac270()	(0)
W
wdenk 已提交
3570 3571
#endif

M
Marek Vasut 已提交
3572
#ifdef CONFIG_MACH_TREO680
W
wdenk 已提交
3573 3574 3575 3576
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3577
#  define machine_arch_type	MACH_TYPE_TREO680
W
wdenk 已提交
3578
# endif
M
Marek Vasut 已提交
3579
# define machine_is_treo680()	(machine_arch_type == MACH_TYPE_TREO680)
W
wdenk 已提交
3580
#else
M
Marek Vasut 已提交
3581
# define machine_is_treo680()	(0)
W
wdenk 已提交
3582 3583
#endif

M
Marek Vasut 已提交
3584
#ifdef CONFIG_MACH_ZYLONITE
W
wdenk 已提交
3585 3586 3587 3588
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3589
#  define machine_arch_type	MACH_TYPE_ZYLONITE
W
wdenk 已提交
3590
# endif
M
Marek Vasut 已提交
3591
# define machine_is_zylonite()	(machine_arch_type == MACH_TYPE_ZYLONITE)
W
wdenk 已提交
3592
#else
M
Marek Vasut 已提交
3593
# define machine_is_zylonite()	(0)
W
wdenk 已提交
3594 3595
#endif

M
Marek Vasut 已提交
3596
#ifdef CONFIG_MACH_MX31LITE
W
wdenk 已提交
3597 3598 3599 3600
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3601
#  define machine_arch_type	MACH_TYPE_MX31LITE
W
wdenk 已提交
3602
# endif
M
Marek Vasut 已提交
3603
# define machine_is_mx31lite()	(machine_arch_type == MACH_TYPE_MX31LITE)
W
wdenk 已提交
3604
#else
M
Marek Vasut 已提交
3605
# define machine_is_mx31lite()	(0)
W
wdenk 已提交
3606 3607
#endif

M
Marek Vasut 已提交
3608
#ifdef CONFIG_MACH_MIOA701
W
wdenk 已提交
3609 3610 3611 3612
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3613
#  define machine_arch_type	MACH_TYPE_MIOA701
W
wdenk 已提交
3614
# endif
M
Marek Vasut 已提交
3615
# define machine_is_mioa701()	(machine_arch_type == MACH_TYPE_MIOA701)
W
wdenk 已提交
3616
#else
M
Marek Vasut 已提交
3617
# define machine_is_mioa701()	(0)
W
wdenk 已提交
3618 3619
#endif

M
Marek Vasut 已提交
3620
#ifdef CONFIG_MACH_ARMADILLO5X0
W
wdenk 已提交
3621 3622 3623 3624
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3625
#  define machine_arch_type	MACH_TYPE_ARMADILLO5X0
W
wdenk 已提交
3626
# endif
M
Marek Vasut 已提交
3627
# define machine_is_armadillo5x0()	(machine_arch_type == MACH_TYPE_ARMADILLO5X0)
W
wdenk 已提交
3628
#else
M
Marek Vasut 已提交
3629
# define machine_is_armadillo5x0()	(0)
W
wdenk 已提交
3630 3631
#endif

M
Marek Vasut 已提交
3632
#ifdef CONFIG_MACH_CC9P9360JS
W
wdenk 已提交
3633 3634 3635 3636
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3637
#  define machine_arch_type	MACH_TYPE_CC9P9360JS
W
wdenk 已提交
3638
# endif
M
Marek Vasut 已提交
3639
# define machine_is_cc9p9360js()	(machine_arch_type == MACH_TYPE_CC9P9360JS)
W
wdenk 已提交
3640
#else
M
Marek Vasut 已提交
3641
# define machine_is_cc9p9360js()	(0)
W
wdenk 已提交
3642 3643
#endif

M
Marek Vasut 已提交
3644
#ifdef CONFIG_MACH_NOKIA_N800
W
wdenk 已提交
3645 3646 3647 3648
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3649
#  define machine_arch_type	MACH_TYPE_NOKIA_N800
W
wdenk 已提交
3650
# endif
M
Marek Vasut 已提交
3651
# define machine_is_nokia_n800()	(machine_arch_type == MACH_TYPE_NOKIA_N800)
W
wdenk 已提交
3652
#else
M
Marek Vasut 已提交
3653
# define machine_is_nokia_n800()	(0)
W
wdenk 已提交
3654 3655
#endif

M
Marek Vasut 已提交
3656
#ifdef CONFIG_MACH_EP80219
W
wdenk 已提交
3657 3658 3659 3660
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3661
#  define machine_arch_type	MACH_TYPE_EP80219
W
wdenk 已提交
3662
# endif
M
Marek Vasut 已提交
3663
# define machine_is_ep80219()	(machine_arch_type == MACH_TYPE_EP80219)
W
wdenk 已提交
3664
#else
M
Marek Vasut 已提交
3665
# define machine_is_ep80219()	(0)
W
wdenk 已提交
3666 3667
#endif

M
Marek Vasut 已提交
3668
#ifdef CONFIG_MACH_GORAMO_MLR
W
wdenk 已提交
3669 3670 3671 3672
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3673
#  define machine_arch_type	MACH_TYPE_GORAMO_MLR
W
wdenk 已提交
3674
# endif
M
Marek Vasut 已提交
3675
# define machine_is_goramo_mlr()	(machine_arch_type == MACH_TYPE_GORAMO_MLR)
W
wdenk 已提交
3676
#else
M
Marek Vasut 已提交
3677
# define machine_is_goramo_mlr()	(0)
W
wdenk 已提交
3678 3679
#endif

M
Marek Vasut 已提交
3680
#ifdef CONFIG_MACH_EM_X270
W
wdenk 已提交
3681 3682 3683 3684
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3685
#  define machine_arch_type	MACH_TYPE_EM_X270
W
wdenk 已提交
3686
# endif
M
Marek Vasut 已提交
3687
# define machine_is_em_x270()	(machine_arch_type == MACH_TYPE_EM_X270)
W
wdenk 已提交
3688
#else
M
Marek Vasut 已提交
3689
# define machine_is_em_x270()	(0)
W
wdenk 已提交
3690 3691
#endif

M
Marek Vasut 已提交
3692
#ifdef CONFIG_MACH_NEO1973_GTA02
W
wdenk 已提交
3693 3694 3695 3696
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3697
#  define machine_arch_type	MACH_TYPE_NEO1973_GTA02
W
wdenk 已提交
3698
# endif
M
Marek Vasut 已提交
3699
# define machine_is_neo1973_gta02()	(machine_arch_type == MACH_TYPE_NEO1973_GTA02)
W
wdenk 已提交
3700
#else
M
Marek Vasut 已提交
3701
# define machine_is_neo1973_gta02()	(0)
W
wdenk 已提交
3702 3703
#endif

M
Marek Vasut 已提交
3704
#ifdef CONFIG_MACH_AT91SAM9RLEK
W
wdenk 已提交
3705 3706 3707 3708
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3709
#  define machine_arch_type	MACH_TYPE_AT91SAM9RLEK
W
wdenk 已提交
3710
# endif
M
Marek Vasut 已提交
3711
# define machine_is_at91sam9rlek()	(machine_arch_type == MACH_TYPE_AT91SAM9RLEK)
W
wdenk 已提交
3712
#else
M
Marek Vasut 已提交
3713
# define machine_is_at91sam9rlek()	(0)
W
wdenk 已提交
3714 3715
#endif

M
Marek Vasut 已提交
3716
#ifdef CONFIG_MACH_COLIBRI320
W
wdenk 已提交
3717 3718 3719 3720
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3721
#  define machine_arch_type	MACH_TYPE_COLIBRI320
W
wdenk 已提交
3722
# endif
M
Marek Vasut 已提交
3723
# define machine_is_colibri320()	(machine_arch_type == MACH_TYPE_COLIBRI320)
W
wdenk 已提交
3724
#else
M
Marek Vasut 已提交
3725
# define machine_is_colibri320()	(0)
W
wdenk 已提交
3726 3727
#endif

M
Marek Vasut 已提交
3728
#ifdef CONFIG_MACH_CAM60
W
wdenk 已提交
3729 3730 3731 3732
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3733
#  define machine_arch_type	MACH_TYPE_CAM60
W
wdenk 已提交
3734
# endif
M
Marek Vasut 已提交
3735
# define machine_is_cam60()	(machine_arch_type == MACH_TYPE_CAM60)
W
wdenk 已提交
3736
#else
M
Marek Vasut 已提交
3737
# define machine_is_cam60()	(0)
W
wdenk 已提交
3738 3739
#endif

M
Marek Vasut 已提交
3740
#ifdef CONFIG_MACH_AT91EB01
W
wdenk 已提交
3741 3742 3743 3744
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3745
#  define machine_arch_type	MACH_TYPE_AT91EB01
W
wdenk 已提交
3746
# endif
M
Marek Vasut 已提交
3747
# define machine_is_at91eb01()	(machine_arch_type == MACH_TYPE_AT91EB01)
W
wdenk 已提交
3748
#else
M
Marek Vasut 已提交
3749
# define machine_is_at91eb01()	(0)
W
wdenk 已提交
3750 3751
#endif

M
Marek Vasut 已提交
3752
#ifdef CONFIG_MACH_DB88F5281
W
wdenk 已提交
3753 3754 3755 3756
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3757
#  define machine_arch_type	MACH_TYPE_DB88F5281
W
wdenk 已提交
3758
# endif
M
Marek Vasut 已提交
3759
# define machine_is_db88f5281()	(machine_arch_type == MACH_TYPE_DB88F5281)
W
wdenk 已提交
3760
#else
M
Marek Vasut 已提交
3761
# define machine_is_db88f5281()	(0)
W
wdenk 已提交
3762 3763
#endif

M
Marek Vasut 已提交
3764
#ifdef CONFIG_MACH_CSB726
W
wdenk 已提交
3765 3766 3767 3768
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3769
#  define machine_arch_type	MACH_TYPE_CSB726
W
wdenk 已提交
3770
# endif
M
Marek Vasut 已提交
3771
# define machine_is_csb726()	(machine_arch_type == MACH_TYPE_CSB726)
W
wdenk 已提交
3772
#else
M
Marek Vasut 已提交
3773
# define machine_is_csb726()	(0)
W
wdenk 已提交
3774 3775
#endif

M
Marek Vasut 已提交
3776
#ifdef CONFIG_MACH_DAVINCI_DM6467_EVM
W
wdenk 已提交
3777 3778 3779 3780
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3781
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM6467_EVM
W
wdenk 已提交
3782
# endif
M
Marek Vasut 已提交
3783
# define machine_is_davinci_dm6467_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_DM6467_EVM)
W
wdenk 已提交
3784
#else
M
Marek Vasut 已提交
3785
# define machine_is_davinci_dm6467_evm()	(0)
W
wdenk 已提交
3786 3787
#endif

M
Marek Vasut 已提交
3788
#ifdef CONFIG_MACH_DAVINCI_DM355_EVM
W
wdenk 已提交
3789 3790 3791 3792
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3793
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM355_EVM
W
wdenk 已提交
3794
# endif
M
Marek Vasut 已提交
3795
# define machine_is_davinci_dm355_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_DM355_EVM)
W
wdenk 已提交
3796
#else
M
Marek Vasut 已提交
3797
# define machine_is_davinci_dm355_evm()	(0)
W
wdenk 已提交
3798 3799
#endif

M
Marek Vasut 已提交
3800
#ifdef CONFIG_MACH_LITTLETON
W
wdenk 已提交
3801 3802 3803 3804
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3805
#  define machine_arch_type	MACH_TYPE_LITTLETON
W
wdenk 已提交
3806
# endif
M
Marek Vasut 已提交
3807
# define machine_is_littleton()	(machine_arch_type == MACH_TYPE_LITTLETON)
W
wdenk 已提交
3808
#else
M
Marek Vasut 已提交
3809
# define machine_is_littleton()	(0)
W
wdenk 已提交
3810 3811
#endif

M
Marek Vasut 已提交
3812
#ifdef CONFIG_MACH_REALVIEW_PB11MP
W
wdenk 已提交
3813 3814 3815 3816
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3817
#  define machine_arch_type	MACH_TYPE_REALVIEW_PB11MP
W
wdenk 已提交
3818
# endif
M
Marek Vasut 已提交
3819
# define machine_is_realview_pb11mp()	(machine_arch_type == MACH_TYPE_REALVIEW_PB11MP)
W
wdenk 已提交
3820
#else
M
Marek Vasut 已提交
3821
# define machine_is_realview_pb11mp()	(0)
W
wdenk 已提交
3822 3823
#endif

M
Marek Vasut 已提交
3824
#ifdef CONFIG_MACH_MX27_3DS
W
wdenk 已提交
3825 3826 3827 3828
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3829
#  define machine_arch_type	MACH_TYPE_MX27_3DS
W
wdenk 已提交
3830
# endif
M
Marek Vasut 已提交
3831
# define machine_is_mx27_3ds()	(machine_arch_type == MACH_TYPE_MX27_3DS)
W
wdenk 已提交
3832
#else
M
Marek Vasut 已提交
3833
# define machine_is_mx27_3ds()	(0)
W
wdenk 已提交
3834 3835
#endif

M
Marek Vasut 已提交
3836
#ifdef CONFIG_MACH_HALIBUT
W
wdenk 已提交
3837 3838 3839 3840
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3841
#  define machine_arch_type	MACH_TYPE_HALIBUT
W
wdenk 已提交
3842
# endif
M
Marek Vasut 已提交
3843
# define machine_is_halibut()	(machine_arch_type == MACH_TYPE_HALIBUT)
W
wdenk 已提交
3844
#else
M
Marek Vasut 已提交
3845
# define machine_is_halibut()	(0)
W
wdenk 已提交
3846 3847
#endif

M
Marek Vasut 已提交
3848
#ifdef CONFIG_MACH_TROUT
W
wdenk 已提交
3849 3850 3851 3852
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3853
#  define machine_arch_type	MACH_TYPE_TROUT
W
wdenk 已提交
3854
# endif
M
Marek Vasut 已提交
3855
# define machine_is_trout()	(machine_arch_type == MACH_TYPE_TROUT)
W
wdenk 已提交
3856
#else
M
Marek Vasut 已提交
3857
# define machine_is_trout()	(0)
W
wdenk 已提交
3858 3859
#endif

M
Marek Vasut 已提交
3860
#ifdef CONFIG_MACH_TCT_HAMMER
W
wdenk 已提交
3861 3862 3863 3864
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3865
#  define machine_arch_type	MACH_TYPE_TCT_HAMMER
W
wdenk 已提交
3866
# endif
M
Marek Vasut 已提交
3867
# define machine_is_tct_hammer()	(machine_arch_type == MACH_TYPE_TCT_HAMMER)
W
wdenk 已提交
3868
#else
M
Marek Vasut 已提交
3869
# define machine_is_tct_hammer()	(0)
W
wdenk 已提交
3870 3871
#endif

M
Marek Vasut 已提交
3872
#ifdef CONFIG_MACH_HERALD
W
wdenk 已提交
3873 3874 3875 3876
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3877
#  define machine_arch_type	MACH_TYPE_HERALD
W
wdenk 已提交
3878
# endif
M
Marek Vasut 已提交
3879
# define machine_is_herald()	(machine_arch_type == MACH_TYPE_HERALD)
W
wdenk 已提交
3880
#else
M
Marek Vasut 已提交
3881
# define machine_is_herald()	(0)
W
wdenk 已提交
3882 3883
#endif

M
Marek Vasut 已提交
3884
#ifdef CONFIG_MACH_SIM_ONE
W
wdenk 已提交
3885 3886 3887 3888
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3889
#  define machine_arch_type	MACH_TYPE_SIM_ONE
W
wdenk 已提交
3890
# endif
M
Marek Vasut 已提交
3891
# define machine_is_sim_one()	(machine_arch_type == MACH_TYPE_SIM_ONE)
W
wdenk 已提交
3892
#else
M
Marek Vasut 已提交
3893
# define machine_is_sim_one()	(0)
W
wdenk 已提交
3894 3895
#endif

M
Marek Vasut 已提交
3896
#ifdef CONFIG_MACH_JIVE
W
wdenk 已提交
3897 3898 3899 3900
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3901
#  define machine_arch_type	MACH_TYPE_JIVE
W
wdenk 已提交
3902
# endif
M
Marek Vasut 已提交
3903
# define machine_is_jive()	(machine_arch_type == MACH_TYPE_JIVE)
W
wdenk 已提交
3904
#else
M
Marek Vasut 已提交
3905
# define machine_is_jive()	(0)
W
wdenk 已提交
3906 3907
#endif

M
Marek Vasut 已提交
3908
#ifdef CONFIG_MACH_SAM9_L9260
W
wdenk 已提交
3909 3910 3911 3912
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3913
#  define machine_arch_type	MACH_TYPE_SAM9_L9260
W
wdenk 已提交
3914
# endif
M
Marek Vasut 已提交
3915
# define machine_is_sam9_l9260()	(machine_arch_type == MACH_TYPE_SAM9_L9260)
W
wdenk 已提交
3916
#else
M
Marek Vasut 已提交
3917
# define machine_is_sam9_l9260()	(0)
W
wdenk 已提交
3918 3919
#endif

M
Marek Vasut 已提交
3920
#ifdef CONFIG_MACH_REALVIEW_PB1176
W
wdenk 已提交
3921 3922 3923 3924
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3925
#  define machine_arch_type	MACH_TYPE_REALVIEW_PB1176
W
wdenk 已提交
3926
# endif
M
Marek Vasut 已提交
3927
# define machine_is_realview_pb1176()	(machine_arch_type == MACH_TYPE_REALVIEW_PB1176)
W
wdenk 已提交
3928
#else
M
Marek Vasut 已提交
3929
# define machine_is_realview_pb1176()	(0)
W
wdenk 已提交
3930 3931
#endif

M
Marek Vasut 已提交
3932
#ifdef CONFIG_MACH_YL9200
W
wdenk 已提交
3933 3934 3935 3936
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3937
#  define machine_arch_type	MACH_TYPE_YL9200
W
wdenk 已提交
3938
# endif
M
Marek Vasut 已提交
3939
# define machine_is_yl9200()	(machine_arch_type == MACH_TYPE_YL9200)
W
wdenk 已提交
3940
#else
M
Marek Vasut 已提交
3941
# define machine_is_yl9200()	(0)
W
wdenk 已提交
3942 3943
#endif

M
Marek Vasut 已提交
3944
#ifdef CONFIG_MACH_RD88F5182
W
wdenk 已提交
3945 3946 3947 3948
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3949
#  define machine_arch_type	MACH_TYPE_RD88F5182
W
wdenk 已提交
3950
# endif
M
Marek Vasut 已提交
3951
# define machine_is_rd88f5182()	(machine_arch_type == MACH_TYPE_RD88F5182)
W
wdenk 已提交
3952
#else
M
Marek Vasut 已提交
3953
# define machine_is_rd88f5182()	(0)
W
wdenk 已提交
3954 3955
#endif

M
Marek Vasut 已提交
3956
#ifdef CONFIG_MACH_KUROBOX_PRO
W
wdenk 已提交
3957 3958 3959 3960
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3961
#  define machine_arch_type	MACH_TYPE_KUROBOX_PRO
W
wdenk 已提交
3962
# endif
M
Marek Vasut 已提交
3963
# define machine_is_kurobox_pro()	(machine_arch_type == MACH_TYPE_KUROBOX_PRO)
W
wdenk 已提交
3964
#else
M
Marek Vasut 已提交
3965
# define machine_is_kurobox_pro()	(0)
W
wdenk 已提交
3966 3967
#endif

M
Marek Vasut 已提交
3968
#ifdef CONFIG_MACH_MX31_3DS
W
wdenk 已提交
3969 3970 3971 3972
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3973
#  define machine_arch_type	MACH_TYPE_MX31_3DS
W
wdenk 已提交
3974
# endif
M
Marek Vasut 已提交
3975
# define machine_is_mx31_3ds()	(machine_arch_type == MACH_TYPE_MX31_3DS)
W
wdenk 已提交
3976
#else
M
Marek Vasut 已提交
3977
# define machine_is_mx31_3ds()	(0)
W
wdenk 已提交
3978 3979
#endif

M
Marek Vasut 已提交
3980
#ifdef CONFIG_MACH_QONG
W
wdenk 已提交
3981 3982 3983 3984
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3985
#  define machine_arch_type	MACH_TYPE_QONG
W
wdenk 已提交
3986
# endif
M
Marek Vasut 已提交
3987
# define machine_is_qong()	(machine_arch_type == MACH_TYPE_QONG)
W
wdenk 已提交
3988
#else
M
Marek Vasut 已提交
3989
# define machine_is_qong()	(0)
W
wdenk 已提交
3990 3991
#endif

M
Marek Vasut 已提交
3992
#ifdef CONFIG_MACH_OMAP2EVM
W
wdenk 已提交
3993 3994 3995 3996
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
3997
#  define machine_arch_type	MACH_TYPE_OMAP2EVM
W
wdenk 已提交
3998
# endif
M
Marek Vasut 已提交
3999
# define machine_is_omap2evm()	(machine_arch_type == MACH_TYPE_OMAP2EVM)
W
wdenk 已提交
4000
#else
M
Marek Vasut 已提交
4001
# define machine_is_omap2evm()	(0)
W
wdenk 已提交
4002 4003
#endif

M
Marek Vasut 已提交
4004
#ifdef CONFIG_MACH_OMAP3EVM
W
wdenk 已提交
4005 4006 4007 4008
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4009
#  define machine_arch_type	MACH_TYPE_OMAP3EVM
W
wdenk 已提交
4010
# endif
M
Marek Vasut 已提交
4011
# define machine_is_omap3evm()	(machine_arch_type == MACH_TYPE_OMAP3EVM)
W
wdenk 已提交
4012
#else
M
Marek Vasut 已提交
4013
# define machine_is_omap3evm()	(0)
W
wdenk 已提交
4014 4015
#endif

M
Marek Vasut 已提交
4016
#ifdef CONFIG_MACH_DNS323
W
wdenk 已提交
4017 4018 4019 4020
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4021
#  define machine_arch_type	MACH_TYPE_DNS323
W
wdenk 已提交
4022
# endif
M
Marek Vasut 已提交
4023
# define machine_is_dns323()	(machine_arch_type == MACH_TYPE_DNS323)
W
wdenk 已提交
4024
#else
M
Marek Vasut 已提交
4025
# define machine_is_dns323()	(0)
W
wdenk 已提交
4026 4027
#endif

M
Marek Vasut 已提交
4028
#ifdef CONFIG_MACH_OMAP3_BEAGLE
W
wdenk 已提交
4029 4030 4031 4032
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4033
#  define machine_arch_type	MACH_TYPE_OMAP3_BEAGLE
W
wdenk 已提交
4034
# endif
M
Marek Vasut 已提交
4035
# define machine_is_omap3_beagle()	(machine_arch_type == MACH_TYPE_OMAP3_BEAGLE)
W
wdenk 已提交
4036
#else
M
Marek Vasut 已提交
4037
# define machine_is_omap3_beagle()	(0)
W
wdenk 已提交
4038 4039
#endif

M
Marek Vasut 已提交
4040
#ifdef CONFIG_MACH_NOKIA_N810
W
wdenk 已提交
4041 4042 4043 4044
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4045
#  define machine_arch_type	MACH_TYPE_NOKIA_N810
W
wdenk 已提交
4046
# endif
M
Marek Vasut 已提交
4047
# define machine_is_nokia_n810()	(machine_arch_type == MACH_TYPE_NOKIA_N810)
W
wdenk 已提交
4048
#else
M
Marek Vasut 已提交
4049
# define machine_is_nokia_n810()	(0)
W
wdenk 已提交
4050 4051
#endif

M
Marek Vasut 已提交
4052
#ifdef CONFIG_MACH_PCM038
W
wdenk 已提交
4053 4054 4055 4056
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4057
#  define machine_arch_type	MACH_TYPE_PCM038
W
wdenk 已提交
4058
# endif
M
Marek Vasut 已提交
4059
# define machine_is_pcm038()	(machine_arch_type == MACH_TYPE_PCM038)
W
wdenk 已提交
4060
#else
M
Marek Vasut 已提交
4061
# define machine_is_pcm038()	(0)
W
wdenk 已提交
4062 4063
#endif

M
Marek Vasut 已提交
4064
#ifdef CONFIG_MACH_TS209
W
wdenk 已提交
4065 4066 4067 4068
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4069
#  define machine_arch_type	MACH_TYPE_TS209
W
wdenk 已提交
4070
# endif
M
Marek Vasut 已提交
4071
# define machine_is_ts_x09()	(machine_arch_type == MACH_TYPE_TS209)
W
wdenk 已提交
4072
#else
M
Marek Vasut 已提交
4073
# define machine_is_ts_x09()	(0)
W
wdenk 已提交
4074 4075
#endif

M
Marek Vasut 已提交
4076
#ifdef CONFIG_MACH_AT91CAP9ADK
W
wdenk 已提交
4077 4078 4079 4080
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4081
#  define machine_arch_type	MACH_TYPE_AT91CAP9ADK
W
wdenk 已提交
4082
# endif
M
Marek Vasut 已提交
4083
# define machine_is_at91cap9adk()	(machine_arch_type == MACH_TYPE_AT91CAP9ADK)
W
wdenk 已提交
4084
#else
M
Marek Vasut 已提交
4085
# define machine_is_at91cap9adk()	(0)
W
wdenk 已提交
4086 4087
#endif

M
Marek Vasut 已提交
4088
#ifdef CONFIG_MACH_MX31MOBOARD
W
wdenk 已提交
4089 4090 4091 4092
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4093
#  define machine_arch_type	MACH_TYPE_MX31MOBOARD
W
wdenk 已提交
4094
# endif
M
Marek Vasut 已提交
4095
# define machine_is_mx31moboard()	(machine_arch_type == MACH_TYPE_MX31MOBOARD)
W
wdenk 已提交
4096
#else
M
Marek Vasut 已提交
4097
# define machine_is_mx31moboard()	(0)
W
wdenk 已提交
4098 4099
#endif

M
Marek Vasut 已提交
4100
#ifdef CONFIG_MACH_TERASTATION_PRO2
W
wdenk 已提交
4101 4102 4103 4104
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4105
#  define machine_arch_type	MACH_TYPE_TERASTATION_PRO2
W
wdenk 已提交
4106
# endif
M
Marek Vasut 已提交
4107
# define machine_is_terastation_pro2()	(machine_arch_type == MACH_TYPE_TERASTATION_PRO2)
W
wdenk 已提交
4108
#else
M
Marek Vasut 已提交
4109
# define machine_is_terastation_pro2()	(0)
W
wdenk 已提交
4110 4111
#endif

M
Marek Vasut 已提交
4112
#ifdef CONFIG_MACH_LINKSTATION_PRO
W
wdenk 已提交
4113 4114 4115 4116
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4117
#  define machine_arch_type	MACH_TYPE_LINKSTATION_PRO
W
wdenk 已提交
4118
# endif
M
Marek Vasut 已提交
4119
# define machine_is_linkstation_pro()	(machine_arch_type == MACH_TYPE_LINKSTATION_PRO)
W
wdenk 已提交
4120
#else
M
Marek Vasut 已提交
4121
# define machine_is_linkstation_pro()	(0)
W
wdenk 已提交
4122 4123
#endif

M
Marek Vasut 已提交
4124
#ifdef CONFIG_MACH_E350
W
wdenk 已提交
4125 4126 4127 4128
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4129
#  define machine_arch_type	MACH_TYPE_E350
W
wdenk 已提交
4130
# endif
M
Marek Vasut 已提交
4131
# define machine_is_e350()	(machine_arch_type == MACH_TYPE_E350)
W
wdenk 已提交
4132
#else
M
Marek Vasut 已提交
4133
# define machine_is_e350()	(0)
W
wdenk 已提交
4134 4135
#endif

M
Marek Vasut 已提交
4136
#ifdef CONFIG_MACH_TS409
W
wdenk 已提交
4137 4138 4139 4140
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4141
#  define machine_arch_type	MACH_TYPE_TS409
W
wdenk 已提交
4142
# endif
M
Marek Vasut 已提交
4143
# define machine_is_ts409()	(machine_arch_type == MACH_TYPE_TS409)
W
wdenk 已提交
4144
#else
M
Marek Vasut 已提交
4145
# define machine_is_ts409()	(0)
W
wdenk 已提交
4146 4147
#endif

M
Marek Vasut 已提交
4148
#ifdef CONFIG_MACH_CM_X300
W
wdenk 已提交
4149 4150 4151 4152
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4153
#  define machine_arch_type	MACH_TYPE_CM_X300
W
wdenk 已提交
4154
# endif
M
Marek Vasut 已提交
4155
# define machine_is_cm_x300()	(machine_arch_type == MACH_TYPE_CM_X300)
W
wdenk 已提交
4156
#else
M
Marek Vasut 已提交
4157
# define machine_is_cm_x300()	(0)
W
wdenk 已提交
4158 4159
#endif

M
Marek Vasut 已提交
4160
#ifdef CONFIG_MACH_AT91SAM9G20EK
W
wdenk 已提交
4161 4162 4163 4164
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4165
#  define machine_arch_type	MACH_TYPE_AT91SAM9G20EK
W
wdenk 已提交
4166
# endif
M
Marek Vasut 已提交
4167
# define machine_is_at91sam9g20ek()	(machine_arch_type == MACH_TYPE_AT91SAM9G20EK)
W
wdenk 已提交
4168
#else
M
Marek Vasut 已提交
4169
# define machine_is_at91sam9g20ek()	(0)
W
wdenk 已提交
4170 4171
#endif

M
Marek Vasut 已提交
4172
#ifdef CONFIG_MACH_SMDK6410
W
wdenk 已提交
4173 4174 4175 4176
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4177
#  define machine_arch_type	MACH_TYPE_SMDK6410
W
wdenk 已提交
4178
# endif
M
Marek Vasut 已提交
4179
# define machine_is_smdk6410()	(machine_arch_type == MACH_TYPE_SMDK6410)
W
wdenk 已提交
4180
#else
M
Marek Vasut 已提交
4181
# define machine_is_smdk6410()	(0)
W
wdenk 已提交
4182 4183
#endif

M
Marek Vasut 已提交
4184
#ifdef CONFIG_MACH_U300
W
wdenk 已提交
4185 4186 4187 4188
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4189
#  define machine_arch_type	MACH_TYPE_U300
W
wdenk 已提交
4190
# endif
M
Marek Vasut 已提交
4191
# define machine_is_u300()	(machine_arch_type == MACH_TYPE_U300)
W
wdenk 已提交
4192
#else
M
Marek Vasut 已提交
4193
# define machine_is_u300()	(0)
W
wdenk 已提交
4194 4195
#endif

M
Marek Vasut 已提交
4196
#ifdef CONFIG_MACH_WRT350N_V2
W
wdenk 已提交
4197 4198 4199 4200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4201
#  define machine_arch_type	MACH_TYPE_WRT350N_V2
W
wdenk 已提交
4202
# endif
M
Marek Vasut 已提交
4203
# define machine_is_wrt350n_v2()	(machine_arch_type == MACH_TYPE_WRT350N_V2)
W
wdenk 已提交
4204
#else
M
Marek Vasut 已提交
4205
# define machine_is_wrt350n_v2()	(0)
W
wdenk 已提交
4206 4207
#endif

M
Marek Vasut 已提交
4208
#ifdef CONFIG_MACH_OMAP_LDP
W
wdenk 已提交
4209 4210 4211 4212
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4213
#  define machine_arch_type	MACH_TYPE_OMAP_LDP
W
wdenk 已提交
4214
# endif
M
Marek Vasut 已提交
4215
# define machine_is_omap_ldp()	(machine_arch_type == MACH_TYPE_OMAP_LDP)
W
wdenk 已提交
4216
#else
M
Marek Vasut 已提交
4217
# define machine_is_omap_ldp()	(0)
W
wdenk 已提交
4218 4219
#endif

M
Marek Vasut 已提交
4220
#ifdef CONFIG_MACH_MX35_3DS
W
wdenk 已提交
4221 4222 4223 4224
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4225
#  define machine_arch_type	MACH_TYPE_MX35_3DS
W
wdenk 已提交
4226
# endif
M
Marek Vasut 已提交
4227
# define machine_is_mx35_3ds()	(machine_arch_type == MACH_TYPE_MX35_3DS)
W
wdenk 已提交
4228
#else
M
Marek Vasut 已提交
4229
# define machine_is_mx35_3ds()	(0)
W
wdenk 已提交
4230 4231
#endif

M
Marek Vasut 已提交
4232
#ifdef CONFIG_MACH_NEUROS_OSD2
W
wdenk 已提交
4233 4234 4235 4236
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4237
#  define machine_arch_type	MACH_TYPE_NEUROS_OSD2
W
wdenk 已提交
4238
# endif
M
Marek Vasut 已提交
4239
# define machine_is_neuros_osd2()	(machine_arch_type == MACH_TYPE_NEUROS_OSD2)
W
wdenk 已提交
4240
#else
M
Marek Vasut 已提交
4241
# define machine_is_neuros_osd2()	(0)
W
wdenk 已提交
4242 4243
#endif

M
Marek Vasut 已提交
4244
#ifdef CONFIG_MACH_TRIZEPS4WL
W
wdenk 已提交
4245 4246 4247 4248
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4249
#  define machine_arch_type	MACH_TYPE_TRIZEPS4WL
W
wdenk 已提交
4250
# endif
M
Marek Vasut 已提交
4251
# define machine_is_trizeps4wl()	(machine_arch_type == MACH_TYPE_TRIZEPS4WL)
W
wdenk 已提交
4252
#else
M
Marek Vasut 已提交
4253
# define machine_is_trizeps4wl()	(0)
W
wdenk 已提交
4254 4255
#endif

M
Marek Vasut 已提交
4256
#ifdef CONFIG_MACH_TS78XX
W
wdenk 已提交
4257 4258 4259 4260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4261
#  define machine_arch_type	MACH_TYPE_TS78XX
W
wdenk 已提交
4262
# endif
M
Marek Vasut 已提交
4263
# define machine_is_ts78xx()	(machine_arch_type == MACH_TYPE_TS78XX)
W
wdenk 已提交
4264
#else
M
Marek Vasut 已提交
4265
# define machine_is_ts78xx()	(0)
W
wdenk 已提交
4266 4267
#endif

M
Marek Vasut 已提交
4268
#ifdef CONFIG_MACH_SFFSDR
W
wdenk 已提交
4269 4270 4271 4272
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4273
#  define machine_arch_type	MACH_TYPE_SFFSDR
W
wdenk 已提交
4274
# endif
M
Marek Vasut 已提交
4275
# define machine_is_sffsdr()	(machine_arch_type == MACH_TYPE_SFFSDR)
W
wdenk 已提交
4276
#else
M
Marek Vasut 已提交
4277
# define machine_is_sffsdr()	(0)
W
wdenk 已提交
4278 4279
#endif

M
Marek Vasut 已提交
4280
#ifdef CONFIG_MACH_PCM037
W
wdenk 已提交
4281 4282 4283 4284
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4285
#  define machine_arch_type	MACH_TYPE_PCM037
W
wdenk 已提交
4286
# endif
M
Marek Vasut 已提交
4287
# define machine_is_pcm037()	(machine_arch_type == MACH_TYPE_PCM037)
W
wdenk 已提交
4288
#else
M
Marek Vasut 已提交
4289
# define machine_is_pcm037()	(0)
W
wdenk 已提交
4290 4291
#endif

M
Marek Vasut 已提交
4292
#ifdef CONFIG_MACH_DB88F6281_BP
W
wdenk 已提交
4293 4294 4295 4296
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4297
#  define machine_arch_type	MACH_TYPE_DB88F6281_BP
W
wdenk 已提交
4298
# endif
M
Marek Vasut 已提交
4299
# define machine_is_db88f6281_bp()	(machine_arch_type == MACH_TYPE_DB88F6281_BP)
W
wdenk 已提交
4300
#else
M
Marek Vasut 已提交
4301
# define machine_is_db88f6281_bp()	(0)
W
wdenk 已提交
4302 4303
#endif

M
Marek Vasut 已提交
4304
#ifdef CONFIG_MACH_RD88F6192_NAS
W
wdenk 已提交
4305 4306 4307 4308
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4309
#  define machine_arch_type	MACH_TYPE_RD88F6192_NAS
W
wdenk 已提交
4310
# endif
M
Marek Vasut 已提交
4311
# define machine_is_rd88f6192_nas()	(machine_arch_type == MACH_TYPE_RD88F6192_NAS)
W
wdenk 已提交
4312
#else
M
Marek Vasut 已提交
4313
# define machine_is_rd88f6192_nas()	(0)
W
wdenk 已提交
4314 4315
#endif

M
Marek Vasut 已提交
4316
#ifdef CONFIG_MACH_RD88F6281
W
wdenk 已提交
4317 4318 4319 4320
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4321
#  define machine_arch_type	MACH_TYPE_RD88F6281
W
wdenk 已提交
4322
# endif
M
Marek Vasut 已提交
4323
# define machine_is_rd88f6281()	(machine_arch_type == MACH_TYPE_RD88F6281)
W
wdenk 已提交
4324
#else
M
Marek Vasut 已提交
4325
# define machine_is_rd88f6281()	(0)
W
wdenk 已提交
4326 4327
#endif

M
Marek Vasut 已提交
4328
#ifdef CONFIG_MACH_DB78X00_BP
W
wdenk 已提交
4329 4330 4331 4332
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4333
#  define machine_arch_type	MACH_TYPE_DB78X00_BP
W
wdenk 已提交
4334
# endif
M
Marek Vasut 已提交
4335
# define machine_is_db78x00_bp()	(machine_arch_type == MACH_TYPE_DB78X00_BP)
W
wdenk 已提交
4336
#else
M
Marek Vasut 已提交
4337
# define machine_is_db78x00_bp()	(0)
W
wdenk 已提交
4338 4339
#endif

M
Marek Vasut 已提交
4340
#ifdef CONFIG_MACH_SMDK2416
W
wdenk 已提交
4341 4342 4343 4344
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4345
#  define machine_arch_type	MACH_TYPE_SMDK2416
W
wdenk 已提交
4346
# endif
M
Marek Vasut 已提交
4347
# define machine_is_smdk2416()	(machine_arch_type == MACH_TYPE_SMDK2416)
W
wdenk 已提交
4348
#else
M
Marek Vasut 已提交
4349
# define machine_is_smdk2416()	(0)
W
wdenk 已提交
4350 4351
#endif

M
Marek Vasut 已提交
4352
#ifdef CONFIG_MACH_WBD111
W
wdenk 已提交
4353 4354 4355 4356
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4357
#  define machine_arch_type	MACH_TYPE_WBD111
W
wdenk 已提交
4358
# endif
M
Marek Vasut 已提交
4359
# define machine_is_wbd111()	(machine_arch_type == MACH_TYPE_WBD111)
W
wdenk 已提交
4360
#else
M
Marek Vasut 已提交
4361
# define machine_is_wbd111()	(0)
W
wdenk 已提交
4362 4363
#endif

M
Marek Vasut 已提交
4364
#ifdef CONFIG_MACH_MV2120
W
wdenk 已提交
4365 4366 4367 4368
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4369
#  define machine_arch_type	MACH_TYPE_MV2120
W
wdenk 已提交
4370
# endif
M
Marek Vasut 已提交
4371
# define machine_is_mv2120()	(machine_arch_type == MACH_TYPE_MV2120)
W
wdenk 已提交
4372
#else
M
Marek Vasut 已提交
4373
# define machine_is_mv2120()	(0)
W
wdenk 已提交
4374 4375
#endif

M
Marek Vasut 已提交
4376
#ifdef CONFIG_MACH_MX51_3DS
W
wdenk 已提交
4377 4378 4379 4380
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4381
#  define machine_arch_type	MACH_TYPE_MX51_3DS
W
wdenk 已提交
4382
# endif
M
Marek Vasut 已提交
4383
# define machine_is_mx51_3ds()	(machine_arch_type == MACH_TYPE_MX51_3DS)
W
wdenk 已提交
4384
#else
M
Marek Vasut 已提交
4385
# define machine_is_mx51_3ds()	(0)
W
wdenk 已提交
4386 4387
#endif

M
Marek Vasut 已提交
4388
#ifdef CONFIG_MACH_IMX27LITE
W
wdenk 已提交
4389 4390 4391 4392
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4393
#  define machine_arch_type	MACH_TYPE_IMX27LITE
W
wdenk 已提交
4394
# endif
M
Marek Vasut 已提交
4395
# define machine_is_imx27lite()	(machine_arch_type == MACH_TYPE_IMX27LITE)
W
wdenk 已提交
4396
#else
M
Marek Vasut 已提交
4397
# define machine_is_imx27lite()	(0)
W
wdenk 已提交
4398 4399
#endif

M
Marek Vasut 已提交
4400
#ifdef CONFIG_MACH_USB_A9260
W
wdenk 已提交
4401 4402 4403 4404
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4405
#  define machine_arch_type	MACH_TYPE_USB_A9260
W
wdenk 已提交
4406
# endif
M
Marek Vasut 已提交
4407
# define machine_is_usb_a9260()	(machine_arch_type == MACH_TYPE_USB_A9260)
W
wdenk 已提交
4408
#else
M
Marek Vasut 已提交
4409
# define machine_is_usb_a9260()	(0)
W
wdenk 已提交
4410 4411
#endif

M
Marek Vasut 已提交
4412
#ifdef CONFIG_MACH_USB_A9263
W
wdenk 已提交
4413 4414 4415 4416
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4417
#  define machine_arch_type	MACH_TYPE_USB_A9263
W
wdenk 已提交
4418
# endif
M
Marek Vasut 已提交
4419
# define machine_is_usb_a9263()	(machine_arch_type == MACH_TYPE_USB_A9263)
W
wdenk 已提交
4420
#else
M
Marek Vasut 已提交
4421
# define machine_is_usb_a9263()	(0)
W
wdenk 已提交
4422 4423
#endif

M
Marek Vasut 已提交
4424
#ifdef CONFIG_MACH_QIL_A9260
W
wdenk 已提交
4425 4426 4427 4428
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4429
#  define machine_arch_type	MACH_TYPE_QIL_A9260
W
wdenk 已提交
4430
# endif
M
Marek Vasut 已提交
4431
# define machine_is_qil_a9260()	(machine_arch_type == MACH_TYPE_QIL_A9260)
W
wdenk 已提交
4432
#else
M
Marek Vasut 已提交
4433
# define machine_is_qil_a9260()	(0)
W
wdenk 已提交
4434 4435
#endif

M
Marek Vasut 已提交
4436
#ifdef CONFIG_MACH_KZM_ARM11_01
W
wdenk 已提交
4437 4438 4439 4440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4441
#  define machine_arch_type	MACH_TYPE_KZM_ARM11_01
W
wdenk 已提交
4442
# endif
M
Marek Vasut 已提交
4443
# define machine_is_kzm_arm11_01()	(machine_arch_type == MACH_TYPE_KZM_ARM11_01)
W
wdenk 已提交
4444
#else
M
Marek Vasut 已提交
4445
# define machine_is_kzm_arm11_01()	(0)
W
wdenk 已提交
4446 4447
#endif

M
Marek Vasut 已提交
4448
#ifdef CONFIG_MACH_NOKIA_N810_WIMAX
W
wdenk 已提交
4449 4450 4451 4452
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4453
#  define machine_arch_type	MACH_TYPE_NOKIA_N810_WIMAX
W
wdenk 已提交
4454
# endif
M
Marek Vasut 已提交
4455
# define machine_is_nokia_n810_wimax()	(machine_arch_type == MACH_TYPE_NOKIA_N810_WIMAX)
W
wdenk 已提交
4456
#else
M
Marek Vasut 已提交
4457
# define machine_is_nokia_n810_wimax()	(0)
W
wdenk 已提交
4458 4459
#endif

M
Marek Vasut 已提交
4460
#ifdef CONFIG_MACH_SAPPHIRE
W
wdenk 已提交
4461 4462 4463 4464
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4465
#  define machine_arch_type	MACH_TYPE_SAPPHIRE
W
wdenk 已提交
4466
# endif
M
Marek Vasut 已提交
4467
# define machine_is_sapphire()	(machine_arch_type == MACH_TYPE_SAPPHIRE)
W
wdenk 已提交
4468
#else
M
Marek Vasut 已提交
4469
# define machine_is_sapphire()	(0)
W
wdenk 已提交
4470 4471
#endif

M
Marek Vasut 已提交
4472
#ifdef CONFIG_MACH_STMP37XX
W
wdenk 已提交
4473 4474 4475 4476
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4477
#  define machine_arch_type	MACH_TYPE_STMP37XX
W
wdenk 已提交
4478
# endif
M
Marek Vasut 已提交
4479
# define machine_is_stmp37xx()	(machine_arch_type == MACH_TYPE_STMP37XX)
W
wdenk 已提交
4480
#else
M
Marek Vasut 已提交
4481
# define machine_is_stmp37xx()	(0)
W
wdenk 已提交
4482 4483
#endif

M
Marek Vasut 已提交
4484
#ifdef CONFIG_MACH_STMP378X
W
wdenk 已提交
4485 4486 4487 4488
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4489
#  define machine_arch_type	MACH_TYPE_STMP378X
W
wdenk 已提交
4490
# endif
M
Marek Vasut 已提交
4491
# define machine_is_stmp378x()	(machine_arch_type == MACH_TYPE_STMP378X)
W
wdenk 已提交
4492
#else
M
Marek Vasut 已提交
4493
# define machine_is_stmp378x()	(0)
W
wdenk 已提交
4494 4495
#endif

M
Marek Vasut 已提交
4496
#ifdef CONFIG_MACH_EZX_A780
W
wdenk 已提交
4497 4498 4499 4500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4501
#  define machine_arch_type	MACH_TYPE_EZX_A780
W
wdenk 已提交
4502
# endif
M
Marek Vasut 已提交
4503
# define machine_is_ezx_a780()	(machine_arch_type == MACH_TYPE_EZX_A780)
W
wdenk 已提交
4504
#else
M
Marek Vasut 已提交
4505
# define machine_is_ezx_a780()	(0)
W
wdenk 已提交
4506 4507
#endif

M
Marek Vasut 已提交
4508
#ifdef CONFIG_MACH_EZX_E680
W
wdenk 已提交
4509 4510 4511 4512
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4513
#  define machine_arch_type	MACH_TYPE_EZX_E680
W
wdenk 已提交
4514
# endif
M
Marek Vasut 已提交
4515
# define machine_is_ezx_e680()	(machine_arch_type == MACH_TYPE_EZX_E680)
W
wdenk 已提交
4516
#else
M
Marek Vasut 已提交
4517
# define machine_is_ezx_e680()	(0)
W
wdenk 已提交
4518 4519
#endif

M
Marek Vasut 已提交
4520
#ifdef CONFIG_MACH_EZX_A1200
W
wdenk 已提交
4521 4522 4523 4524
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4525
#  define machine_arch_type	MACH_TYPE_EZX_A1200
W
wdenk 已提交
4526
# endif
M
Marek Vasut 已提交
4527
# define machine_is_ezx_a1200()	(machine_arch_type == MACH_TYPE_EZX_A1200)
W
wdenk 已提交
4528
#else
M
Marek Vasut 已提交
4529
# define machine_is_ezx_a1200()	(0)
W
wdenk 已提交
4530 4531
#endif

M
Marek Vasut 已提交
4532
#ifdef CONFIG_MACH_EZX_E6
W
wdenk 已提交
4533 4534 4535 4536
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4537
#  define machine_arch_type	MACH_TYPE_EZX_E6
W
wdenk 已提交
4538
# endif
M
Marek Vasut 已提交
4539
# define machine_is_ezx_e6()	(machine_arch_type == MACH_TYPE_EZX_E6)
W
wdenk 已提交
4540
#else
M
Marek Vasut 已提交
4541
# define machine_is_ezx_e6()	(0)
W
wdenk 已提交
4542 4543
#endif

M
Marek Vasut 已提交
4544
#ifdef CONFIG_MACH_EZX_E2
W
wdenk 已提交
4545 4546 4547 4548
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4549
#  define machine_arch_type	MACH_TYPE_EZX_E2
W
wdenk 已提交
4550
# endif
M
Marek Vasut 已提交
4551
# define machine_is_ezx_e2()	(machine_arch_type == MACH_TYPE_EZX_E2)
W
wdenk 已提交
4552
#else
M
Marek Vasut 已提交
4553
# define machine_is_ezx_e2()	(0)
W
wdenk 已提交
4554 4555
#endif

M
Marek Vasut 已提交
4556
#ifdef CONFIG_MACH_EZX_A910
W
wdenk 已提交
4557 4558 4559 4560
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4561
#  define machine_arch_type	MACH_TYPE_EZX_A910
W
wdenk 已提交
4562
# endif
M
Marek Vasut 已提交
4563
# define machine_is_ezx_a910()	(machine_arch_type == MACH_TYPE_EZX_A910)
W
wdenk 已提交
4564
#else
M
Marek Vasut 已提交
4565
# define machine_is_ezx_a910()	(0)
W
wdenk 已提交
4566 4567
#endif

M
Marek Vasut 已提交
4568
#ifdef CONFIG_MACH_EDMINI_V2
W
wdenk 已提交
4569 4570 4571 4572
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4573
#  define machine_arch_type	MACH_TYPE_EDMINI_V2
W
wdenk 已提交
4574
# endif
M
Marek Vasut 已提交
4575
# define machine_is_edmini_v2()	(machine_arch_type == MACH_TYPE_EDMINI_V2)
W
wdenk 已提交
4576
#else
M
Marek Vasut 已提交
4577
# define machine_is_edmini_v2()	(0)
W
wdenk 已提交
4578 4579
#endif

M
Marek Vasut 已提交
4580
#ifdef CONFIG_MACH_ZIPIT2
W
wdenk 已提交
4581 4582 4583 4584
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4585
#  define machine_arch_type	MACH_TYPE_ZIPIT2
W
wdenk 已提交
4586
# endif
M
Marek Vasut 已提交
4587
# define machine_is_zipit2()	(machine_arch_type == MACH_TYPE_ZIPIT2)
W
wdenk 已提交
4588
#else
M
Marek Vasut 已提交
4589
# define machine_is_zipit2()	(0)
W
wdenk 已提交
4590 4591
#endif

M
Marek Vasut 已提交
4592
#ifdef CONFIG_MACH_OMAP3_PANDORA
W
wdenk 已提交
4593 4594 4595 4596
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4597
#  define machine_arch_type	MACH_TYPE_OMAP3_PANDORA
W
wdenk 已提交
4598
# endif
M
Marek Vasut 已提交
4599
# define machine_is_omap3_pandora()	(machine_arch_type == MACH_TYPE_OMAP3_PANDORA)
W
wdenk 已提交
4600
#else
M
Marek Vasut 已提交
4601
# define machine_is_omap3_pandora()	(0)
W
wdenk 已提交
4602 4603
#endif

M
Marek Vasut 已提交
4604
#ifdef CONFIG_MACH_MSS2
W
wdenk 已提交
4605 4606 4607 4608
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4609
#  define machine_arch_type	MACH_TYPE_MSS2
W
wdenk 已提交
4610
# endif
M
Marek Vasut 已提交
4611
# define machine_is_mss2()	(machine_arch_type == MACH_TYPE_MSS2)
W
wdenk 已提交
4612
#else
M
Marek Vasut 已提交
4613
# define machine_is_mss2()	(0)
W
wdenk 已提交
4614 4615
#endif

M
Marek Vasut 已提交
4616
#ifdef CONFIG_MACH_LB88RC8480
W
wdenk 已提交
4617 4618 4619 4620
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4621
#  define machine_arch_type	MACH_TYPE_LB88RC8480
W
wdenk 已提交
4622
# endif
M
Marek Vasut 已提交
4623
# define machine_is_lb88rc8480()	(machine_arch_type == MACH_TYPE_LB88RC8480)
W
wdenk 已提交
4624
#else
M
Marek Vasut 已提交
4625
# define machine_is_lb88rc8480()	(0)
W
wdenk 已提交
4626 4627
#endif

M
Marek Vasut 已提交
4628
#ifdef CONFIG_MACH_MX25_3DS
W
wdenk 已提交
4629 4630 4631 4632
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4633
#  define machine_arch_type	MACH_TYPE_MX25_3DS
W
wdenk 已提交
4634
# endif
M
Marek Vasut 已提交
4635
# define machine_is_mx25_3ds()	(machine_arch_type == MACH_TYPE_MX25_3DS)
W
wdenk 已提交
4636
#else
M
Marek Vasut 已提交
4637
# define machine_is_mx25_3ds()	(0)
W
wdenk 已提交
4638 4639
#endif

M
Marek Vasut 已提交
4640
#ifdef CONFIG_MACH_OMAP3530_LV_SOM
W
wdenk 已提交
4641 4642 4643 4644
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4645
#  define machine_arch_type	MACH_TYPE_OMAP3530_LV_SOM
W
wdenk 已提交
4646
# endif
M
Marek Vasut 已提交
4647
# define machine_is_omap3530_lv_som()	(machine_arch_type == MACH_TYPE_OMAP3530_LV_SOM)
W
wdenk 已提交
4648
#else
M
Marek Vasut 已提交
4649
# define machine_is_omap3530_lv_som()	(0)
W
wdenk 已提交
4650 4651
#endif

M
Marek Vasut 已提交
4652
#ifdef CONFIG_MACH_DAVINCI_DA830_EVM
W
wdenk 已提交
4653 4654 4655 4656
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4657
#  define machine_arch_type	MACH_TYPE_DAVINCI_DA830_EVM
W
wdenk 已提交
4658
# endif
M
Marek Vasut 已提交
4659
# define machine_is_davinci_da830_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_DA830_EVM)
W
wdenk 已提交
4660
#else
M
Marek Vasut 已提交
4661
# define machine_is_davinci_da830_evm()	(0)
W
wdenk 已提交
4662 4663
#endif

M
Marek Vasut 已提交
4664
#ifdef CONFIG_MACH_AT572D940HFEB
W
wdenk 已提交
4665 4666 4667 4668
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4669
#  define machine_arch_type	MACH_TYPE_AT572D940HFEB
W
wdenk 已提交
4670
# endif
M
Marek Vasut 已提交
4671
# define machine_is_at572d940hfek()	(machine_arch_type == MACH_TYPE_AT572D940HFEB)
W
wdenk 已提交
4672
#else
M
Marek Vasut 已提交
4673
# define machine_is_at572d940hfek()	(0)
W
wdenk 已提交
4674 4675
#endif

M
Marek Vasut 已提交
4676
#ifdef CONFIG_MACH_DOVE_DB
W
wdenk 已提交
4677 4678 4679 4680
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4681
#  define machine_arch_type	MACH_TYPE_DOVE_DB
W
wdenk 已提交
4682
# endif
M
Marek Vasut 已提交
4683
# define machine_is_dove_db()	(machine_arch_type == MACH_TYPE_DOVE_DB)
W
wdenk 已提交
4684
#else
M
Marek Vasut 已提交
4685
# define machine_is_dove_db()	(0)
W
wdenk 已提交
4686 4687
#endif

M
Marek Vasut 已提交
4688
#ifdef CONFIG_MACH_OVERO
W
wdenk 已提交
4689 4690 4691 4692
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4693
#  define machine_arch_type	MACH_TYPE_OVERO
W
wdenk 已提交
4694
# endif
M
Marek Vasut 已提交
4695
# define machine_is_overo()	(machine_arch_type == MACH_TYPE_OVERO)
W
wdenk 已提交
4696
#else
M
Marek Vasut 已提交
4697
# define machine_is_overo()	(0)
W
wdenk 已提交
4698 4699
#endif

M
Marek Vasut 已提交
4700
#ifdef CONFIG_MACH_AT2440EVB
W
wdenk 已提交
4701 4702 4703 4704
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4705
#  define machine_arch_type	MACH_TYPE_AT2440EVB
W
wdenk 已提交
4706
# endif
M
Marek Vasut 已提交
4707
# define machine_is_at2440evb()	(machine_arch_type == MACH_TYPE_AT2440EVB)
W
wdenk 已提交
4708
#else
M
Marek Vasut 已提交
4709
# define machine_is_at2440evb()	(0)
W
wdenk 已提交
4710 4711
#endif

M
Marek Vasut 已提交
4712
#ifdef CONFIG_MACH_NEOCORE926
W
wdenk 已提交
4713 4714 4715 4716
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4717
#  define machine_arch_type	MACH_TYPE_NEOCORE926
W
wdenk 已提交
4718
# endif
M
Marek Vasut 已提交
4719
# define machine_is_neocore926()	(machine_arch_type == MACH_TYPE_NEOCORE926)
W
wdenk 已提交
4720
#else
M
Marek Vasut 已提交
4721
# define machine_is_neocore926()	(0)
W
wdenk 已提交
4722 4723
#endif

M
Marek Vasut 已提交
4724
#ifdef CONFIG_MACH_WNR854T
W
wdenk 已提交
4725 4726 4727 4728
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4729
#  define machine_arch_type	MACH_TYPE_WNR854T
W
wdenk 已提交
4730
# endif
M
Marek Vasut 已提交
4731
# define machine_is_wnr854t()	(machine_arch_type == MACH_TYPE_WNR854T)
W
wdenk 已提交
4732
#else
M
Marek Vasut 已提交
4733
# define machine_is_wnr854t()	(0)
W
wdenk 已提交
4734 4735
#endif

M
Marek Vasut 已提交
4736
#ifdef CONFIG_MACH_RD88F5181L_GE
W
wdenk 已提交
4737 4738 4739 4740
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4741
#  define machine_arch_type	MACH_TYPE_RD88F5181L_GE
W
wdenk 已提交
4742
# endif
M
Marek Vasut 已提交
4743
# define machine_is_rd88f5181l_ge()	(machine_arch_type == MACH_TYPE_RD88F5181L_GE)
W
wdenk 已提交
4744
#else
M
Marek Vasut 已提交
4745
# define machine_is_rd88f5181l_ge()	(0)
W
wdenk 已提交
4746 4747
#endif

M
Marek Vasut 已提交
4748
#ifdef CONFIG_MACH_RD88F5181L_FXO
W
wdenk 已提交
4749 4750 4751 4752
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4753
#  define machine_arch_type	MACH_TYPE_RD88F5181L_FXO
W
wdenk 已提交
4754
# endif
M
Marek Vasut 已提交
4755
# define machine_is_rd88f5181l_fxo()	(machine_arch_type == MACH_TYPE_RD88F5181L_FXO)
W
wdenk 已提交
4756
#else
M
Marek Vasut 已提交
4757
# define machine_is_rd88f5181l_fxo()	(0)
W
wdenk 已提交
4758 4759
#endif

M
Marek Vasut 已提交
4760
#ifdef CONFIG_MACH_STAMP9G20
W
wdenk 已提交
4761 4762 4763 4764
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4765
#  define machine_arch_type	MACH_TYPE_STAMP9G20
W
wdenk 已提交
4766
# endif
M
Marek Vasut 已提交
4767
# define machine_is_stamp9g20()	(machine_arch_type == MACH_TYPE_STAMP9G20)
W
wdenk 已提交
4768
#else
M
Marek Vasut 已提交
4769
# define machine_is_stamp9g20()	(0)
W
wdenk 已提交
4770 4771
#endif

M
Marek Vasut 已提交
4772
#ifdef CONFIG_MACH_SMDKC100
W
wdenk 已提交
4773 4774 4775 4776
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4777
#  define machine_arch_type	MACH_TYPE_SMDKC100
W
wdenk 已提交
4778
# endif
M
Marek Vasut 已提交
4779
# define machine_is_smdkc100()	(machine_arch_type == MACH_TYPE_SMDKC100)
W
wdenk 已提交
4780
#else
M
Marek Vasut 已提交
4781
# define machine_is_smdkc100()	(0)
W
wdenk 已提交
4782 4783
#endif

M
Marek Vasut 已提交
4784
#ifdef CONFIG_MACH_TAVOREVB
W
wdenk 已提交
4785 4786 4787 4788
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4789
#  define machine_arch_type	MACH_TYPE_TAVOREVB
W
wdenk 已提交
4790
# endif
M
Marek Vasut 已提交
4791
# define machine_is_tavorevb()	(machine_arch_type == MACH_TYPE_TAVOREVB)
W
wdenk 已提交
4792
#else
M
Marek Vasut 已提交
4793
# define machine_is_tavorevb()	(0)
W
wdenk 已提交
4794 4795
#endif

M
Marek Vasut 已提交
4796
#ifdef CONFIG_MACH_SAAR
W
wdenk 已提交
4797 4798 4799 4800
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4801
#  define machine_arch_type	MACH_TYPE_SAAR
W
wdenk 已提交
4802
# endif
M
Marek Vasut 已提交
4803
# define machine_is_saar()	(machine_arch_type == MACH_TYPE_SAAR)
W
wdenk 已提交
4804
#else
M
Marek Vasut 已提交
4805
# define machine_is_saar()	(0)
W
wdenk 已提交
4806 4807
#endif

M
Marek Vasut 已提交
4808
#ifdef CONFIG_MACH_AT91SAM9M10G45EK
W
wdenk 已提交
4809 4810 4811 4812
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4813
#  define machine_arch_type	MACH_TYPE_AT91SAM9M10G45EK
W
wdenk 已提交
4814
# endif
M
Marek Vasut 已提交
4815
# define machine_is_at91sam9m10g45ek()	(machine_arch_type == MACH_TYPE_AT91SAM9M10G45EK)
W
wdenk 已提交
4816
#else
M
Marek Vasut 已提交
4817
# define machine_is_at91sam9m10g45ek()	(0)
W
wdenk 已提交
4818 4819
#endif

M
Marek Vasut 已提交
4820
#ifdef CONFIG_MACH_MXLADS
W
wdenk 已提交
4821 4822 4823 4824
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4825
#  define machine_arch_type	MACH_TYPE_MXLADS
W
wdenk 已提交
4826
# endif
M
Marek Vasut 已提交
4827
# define machine_is_mxlads()	(machine_arch_type == MACH_TYPE_MXLADS)
W
wdenk 已提交
4828
#else
M
Marek Vasut 已提交
4829
# define machine_is_mxlads()	(0)
W
wdenk 已提交
4830 4831
#endif

M
Marek Vasut 已提交
4832
#ifdef CONFIG_MACH_LINKSTATION_MINI
W
wdenk 已提交
4833 4834 4835 4836
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4837
#  define machine_arch_type	MACH_TYPE_LINKSTATION_MINI
W
wdenk 已提交
4838
# endif
M
Marek Vasut 已提交
4839
# define machine_is_linkstation_mini()	(machine_arch_type == MACH_TYPE_LINKSTATION_MINI)
W
wdenk 已提交
4840
#else
M
Marek Vasut 已提交
4841
# define machine_is_linkstation_mini()	(0)
W
wdenk 已提交
4842 4843
#endif

M
Marek Vasut 已提交
4844
#ifdef CONFIG_MACH_AFEB9260
W
wdenk 已提交
4845 4846 4847 4848
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4849
#  define machine_arch_type	MACH_TYPE_AFEB9260
W
wdenk 已提交
4850
# endif
M
Marek Vasut 已提交
4851
# define machine_is_afeb9260()	(machine_arch_type == MACH_TYPE_AFEB9260)
W
wdenk 已提交
4852
#else
M
Marek Vasut 已提交
4853
# define machine_is_afeb9260()	(0)
W
wdenk 已提交
4854 4855
#endif

M
Marek Vasut 已提交
4856
#ifdef CONFIG_MACH_IMX27IPCAM
W
wdenk 已提交
4857 4858 4859 4860
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4861
#  define machine_arch_type	MACH_TYPE_IMX27IPCAM
W
wdenk 已提交
4862
# endif
M
Marek Vasut 已提交
4863
# define machine_is_imx27ipcam()	(machine_arch_type == MACH_TYPE_IMX27IPCAM)
W
wdenk 已提交
4864
#else
M
Marek Vasut 已提交
4865
# define machine_is_imx27ipcam()	(0)
W
wdenk 已提交
4866 4867
#endif

M
Marek Vasut 已提交
4868
#ifdef CONFIG_MACH_RD88F6183AP_GE
W
wdenk 已提交
4869 4870 4871 4872
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4873
#  define machine_arch_type	MACH_TYPE_RD88F6183AP_GE
W
wdenk 已提交
4874
# endif
M
Marek Vasut 已提交
4875
# define machine_is_rd88f6183ap_ge()	(machine_arch_type == MACH_TYPE_RD88F6183AP_GE)
W
wdenk 已提交
4876
#else
M
Marek Vasut 已提交
4877
# define machine_is_rd88f6183ap_ge()	(0)
W
wdenk 已提交
4878 4879
#endif

M
Marek Vasut 已提交
4880
#ifdef CONFIG_MACH_REALVIEW_PBA8
W
wdenk 已提交
4881 4882 4883 4884
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4885
#  define machine_arch_type	MACH_TYPE_REALVIEW_PBA8
W
wdenk 已提交
4886
# endif
M
Marek Vasut 已提交
4887
# define machine_is_realview_pba8()	(machine_arch_type == MACH_TYPE_REALVIEW_PBA8)
W
wdenk 已提交
4888
#else
M
Marek Vasut 已提交
4889
# define machine_is_realview_pba8()	(0)
W
wdenk 已提交
4890 4891
#endif

M
Marek Vasut 已提交
4892
#ifdef CONFIG_MACH_REALVIEW_PBX
W
wdenk 已提交
4893 4894 4895 4896
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4897
#  define machine_arch_type	MACH_TYPE_REALVIEW_PBX
W
wdenk 已提交
4898
# endif
M
Marek Vasut 已提交
4899
# define machine_is_realview_pbx()	(machine_arch_type == MACH_TYPE_REALVIEW_PBX)
W
wdenk 已提交
4900
#else
M
Marek Vasut 已提交
4901
# define machine_is_realview_pbx()	(0)
W
wdenk 已提交
4902 4903
#endif

M
Marek Vasut 已提交
4904
#ifdef CONFIG_MACH_MICRO9S
W
wdenk 已提交
4905 4906 4907 4908
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4909
#  define machine_arch_type	MACH_TYPE_MICRO9S
W
wdenk 已提交
4910
# endif
M
Marek Vasut 已提交
4911
# define machine_is_micro9s()	(machine_arch_type == MACH_TYPE_MICRO9S)
W
wdenk 已提交
4912
#else
M
Marek Vasut 已提交
4913
# define machine_is_micro9s()	(0)
W
wdenk 已提交
4914 4915
#endif

M
Marek Vasut 已提交
4916
#ifdef CONFIG_MACH_RUT100
W
wdenk 已提交
4917 4918 4919 4920
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4921
#  define machine_arch_type	MACH_TYPE_RUT100
W
wdenk 已提交
4922
# endif
M
Marek Vasut 已提交
4923
# define machine_is_rut100()	(machine_arch_type == MACH_TYPE_RUT100)
W
wdenk 已提交
4924
#else
M
Marek Vasut 已提交
4925
# define machine_is_rut100()	(0)
W
wdenk 已提交
4926 4927
#endif

M
Marek Vasut 已提交
4928
#ifdef CONFIG_MACH_G3EVM
W
wdenk 已提交
4929 4930 4931 4932
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4933
#  define machine_arch_type	MACH_TYPE_G3EVM
W
wdenk 已提交
4934
# endif
M
Marek Vasut 已提交
4935
# define machine_is_g3evm()	(machine_arch_type == MACH_TYPE_G3EVM)
W
wdenk 已提交
4936
#else
M
Marek Vasut 已提交
4937
# define machine_is_g3evm()	(0)
W
wdenk 已提交
4938 4939
#endif

M
Marek Vasut 已提交
4940
#ifdef CONFIG_MACH_W90P910EVB
W
wdenk 已提交
4941 4942 4943 4944
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4945
#  define machine_arch_type	MACH_TYPE_W90P910EVB
W
wdenk 已提交
4946
# endif
M
Marek Vasut 已提交
4947
# define machine_is_w90p910evb()	(machine_arch_type == MACH_TYPE_W90P910EVB)
W
wdenk 已提交
4948
#else
M
Marek Vasut 已提交
4949
# define machine_is_w90p910evb()	(0)
W
wdenk 已提交
4950 4951
#endif

M
Marek Vasut 已提交
4952
#ifdef CONFIG_MACH_W90P950EVB
W
wdenk 已提交
4953 4954 4955 4956
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4957
#  define machine_arch_type	MACH_TYPE_W90P950EVB
W
wdenk 已提交
4958
# endif
M
Marek Vasut 已提交
4959
# define machine_is_w90p950evb()	(machine_arch_type == MACH_TYPE_W90P950EVB)
W
wdenk 已提交
4960
#else
M
Marek Vasut 已提交
4961
# define machine_is_w90p950evb()	(0)
W
wdenk 已提交
4962 4963
#endif

M
Marek Vasut 已提交
4964
#ifdef CONFIG_MACH_W90N960EVB
W
wdenk 已提交
4965 4966 4967 4968
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4969
#  define machine_arch_type	MACH_TYPE_W90N960EVB
W
wdenk 已提交
4970
# endif
M
Marek Vasut 已提交
4971
# define machine_is_w90n960evb()	(machine_arch_type == MACH_TYPE_W90N960EVB)
W
wdenk 已提交
4972
#else
M
Marek Vasut 已提交
4973
# define machine_is_w90n960evb()	(0)
W
wdenk 已提交
4974 4975
#endif

M
Marek Vasut 已提交
4976
#ifdef CONFIG_MACH_MV88F6281GTW_GE
W
wdenk 已提交
4977 4978 4979 4980
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4981
#  define machine_arch_type	MACH_TYPE_MV88F6281GTW_GE
W
wdenk 已提交
4982
# endif
M
Marek Vasut 已提交
4983
# define machine_is_mv88f6281gtw_ge()	(machine_arch_type == MACH_TYPE_MV88F6281GTW_GE)
W
wdenk 已提交
4984
#else
M
Marek Vasut 已提交
4985
# define machine_is_mv88f6281gtw_ge()	(0)
W
wdenk 已提交
4986 4987
#endif

M
Marek Vasut 已提交
4988
#ifdef CONFIG_MACH_NCP
W
wdenk 已提交
4989 4990 4991 4992
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
4993
#  define machine_arch_type	MACH_TYPE_NCP
W
wdenk 已提交
4994
# endif
M
Marek Vasut 已提交
4995
# define machine_is_ncp()	(machine_arch_type == MACH_TYPE_NCP)
W
wdenk 已提交
4996
#else
M
Marek Vasut 已提交
4997
# define machine_is_ncp()	(0)
W
wdenk 已提交
4998 4999
#endif

M
Marek Vasut 已提交
5000
#ifdef CONFIG_MACH_DAVINCI_DM365_EVM
W
wdenk 已提交
5001 5002 5003 5004
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5005
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM365_EVM
W
wdenk 已提交
5006
# endif
M
Marek Vasut 已提交
5007
# define machine_is_davinci_dm365_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_DM365_EVM)
W
wdenk 已提交
5008
#else
M
Marek Vasut 已提交
5009
# define machine_is_davinci_dm365_evm()	(0)
W
wdenk 已提交
5010 5011
#endif

M
Marek Vasut 已提交
5012
#ifdef CONFIG_MACH_CENTRO
W
wdenk 已提交
5013 5014 5015 5016
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5017
#  define machine_arch_type	MACH_TYPE_CENTRO
W
wdenk 已提交
5018
# endif
M
Marek Vasut 已提交
5019
# define machine_is_centro()	(machine_arch_type == MACH_TYPE_CENTRO)
W
wdenk 已提交
5020
#else
M
Marek Vasut 已提交
5021
# define machine_is_centro()	(0)
W
wdenk 已提交
5022 5023
#endif

M
Marek Vasut 已提交
5024
#ifdef CONFIG_MACH_NOKIA_RX51
W
wdenk 已提交
5025 5026 5027 5028
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5029
#  define machine_arch_type	MACH_TYPE_NOKIA_RX51
W
wdenk 已提交
5030
# endif
M
Marek Vasut 已提交
5031
# define machine_is_nokia_rx51()	(machine_arch_type == MACH_TYPE_NOKIA_RX51)
W
wdenk 已提交
5032
#else
M
Marek Vasut 已提交
5033
# define machine_is_nokia_rx51()	(0)
W
wdenk 已提交
5034 5035
#endif

M
Marek Vasut 已提交
5036
#ifdef CONFIG_MACH_OMAP_ZOOM2
W
wdenk 已提交
5037 5038 5039 5040
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5041
#  define machine_arch_type	MACH_TYPE_OMAP_ZOOM2
W
wdenk 已提交
5042
# endif
M
Marek Vasut 已提交
5043
# define machine_is_omap_zoom2()	(machine_arch_type == MACH_TYPE_OMAP_ZOOM2)
W
wdenk 已提交
5044
#else
M
Marek Vasut 已提交
5045
# define machine_is_omap_zoom2()	(0)
W
wdenk 已提交
5046 5047
#endif

M
Marek Vasut 已提交
5048
#ifdef CONFIG_MACH_CPUAT9260
W
wdenk 已提交
5049 5050 5051 5052
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5053
#  define machine_arch_type	MACH_TYPE_CPUAT9260
W
wdenk 已提交
5054
# endif
M
Marek Vasut 已提交
5055
# define machine_is_cpuat9260()	(machine_arch_type == MACH_TYPE_CPUAT9260)
W
wdenk 已提交
5056
#else
M
Marek Vasut 已提交
5057
# define machine_is_cpuat9260()	(0)
W
wdenk 已提交
5058 5059
#endif

M
Marek Vasut 已提交
5060
#ifdef CONFIG_MACH_EUKREA_CPUIMX27
W
wdenk 已提交
5061 5062 5063 5064
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5065
#  define machine_arch_type	MACH_TYPE_EUKREA_CPUIMX27
W
wdenk 已提交
5066
# endif
M
Marek Vasut 已提交
5067
# define machine_is_eukrea_cpuimx27()	(machine_arch_type == MACH_TYPE_EUKREA_CPUIMX27)
W
wdenk 已提交
5068
#else
M
Marek Vasut 已提交
5069
# define machine_is_eukrea_cpuimx27()	(0)
W
wdenk 已提交
5070 5071
#endif

M
Marek Vasut 已提交
5072
#ifdef CONFIG_MACH_ACS5K
W
wdenk 已提交
5073 5074 5075 5076
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5077
#  define machine_arch_type	MACH_TYPE_ACS5K
W
wdenk 已提交
5078
# endif
M
Marek Vasut 已提交
5079
# define machine_is_acs5k()	(machine_arch_type == MACH_TYPE_ACS5K)
W
wdenk 已提交
5080
#else
M
Marek Vasut 已提交
5081
# define machine_is_acs5k()	(0)
W
wdenk 已提交
5082 5083
#endif

M
Marek Vasut 已提交
5084
#ifdef CONFIG_MACH_SNAPPER_9260
W
wdenk 已提交
5085 5086 5087 5088
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5089
#  define machine_arch_type	MACH_TYPE_SNAPPER_9260
W
wdenk 已提交
5090
# endif
M
Marek Vasut 已提交
5091
# define machine_is_snapper_9260()	(machine_arch_type == MACH_TYPE_SNAPPER_9260)
W
wdenk 已提交
5092
#else
M
Marek Vasut 已提交
5093
# define machine_is_snapper_9260()	(0)
W
wdenk 已提交
5094 5095
#endif

M
Marek Vasut 已提交
5096
#ifdef CONFIG_MACH_DSM320
W
wdenk 已提交
5097 5098 5099 5100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5101
#  define machine_arch_type	MACH_TYPE_DSM320
W
wdenk 已提交
5102
# endif
M
Marek Vasut 已提交
5103
# define machine_is_dsm320()	(machine_arch_type == MACH_TYPE_DSM320)
W
wdenk 已提交
5104
#else
M
Marek Vasut 已提交
5105
# define machine_is_dsm320()	(0)
W
wdenk 已提交
5106 5107
#endif

M
Marek Vasut 已提交
5108
#ifdef CONFIG_MACH_EXEDA
W
wdenk 已提交
5109 5110 5111 5112
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5113
#  define machine_arch_type	MACH_TYPE_EXEDA
W
wdenk 已提交
5114
# endif
M
Marek Vasut 已提交
5115
# define machine_is_exeda()	(machine_arch_type == MACH_TYPE_EXEDA)
W
wdenk 已提交
5116
#else
M
Marek Vasut 已提交
5117
# define machine_is_exeda()	(0)
W
wdenk 已提交
5118 5119
#endif

M
Marek Vasut 已提交
5120
#ifdef CONFIG_MACH_MINI2440
W
wdenk 已提交
5121 5122 5123 5124
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5125
#  define machine_arch_type	MACH_TYPE_MINI2440
W
wdenk 已提交
5126
# endif
M
Marek Vasut 已提交
5127
# define machine_is_mini2440()	(machine_arch_type == MACH_TYPE_MINI2440)
W
wdenk 已提交
5128
#else
M
Marek Vasut 已提交
5129
# define machine_is_mini2440()	(0)
W
wdenk 已提交
5130 5131
#endif

M
Marek Vasut 已提交
5132
#ifdef CONFIG_MACH_COLIBRI300
W
wdenk 已提交
5133 5134 5135 5136
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5137
#  define machine_arch_type	MACH_TYPE_COLIBRI300
W
wdenk 已提交
5138
# endif
M
Marek Vasut 已提交
5139
# define machine_is_colibri300()	(machine_arch_type == MACH_TYPE_COLIBRI300)
W
wdenk 已提交
5140
#else
M
Marek Vasut 已提交
5141
# define machine_is_colibri300()	(0)
W
wdenk 已提交
5142 5143
#endif

M
Marek Vasut 已提交
5144
#ifdef CONFIG_MACH_LINKSTATION_LS_HGL
W
wdenk 已提交
5145 5146 5147 5148
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5149
#  define machine_arch_type	MACH_TYPE_LINKSTATION_LS_HGL
W
wdenk 已提交
5150
# endif
M
Marek Vasut 已提交
5151
# define machine_is_linkstation_ls_hgl()	(machine_arch_type == MACH_TYPE_LINKSTATION_LS_HGL)
W
wdenk 已提交
5152
#else
M
Marek Vasut 已提交
5153
# define machine_is_linkstation_ls_hgl()	(0)
W
wdenk 已提交
5154 5155
#endif

M
Marek Vasut 已提交
5156
#ifdef CONFIG_MACH_CPUAT9G20
W
wdenk 已提交
5157 5158 5159 5160
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5161
#  define machine_arch_type	MACH_TYPE_CPUAT9G20
W
wdenk 已提交
5162
# endif
M
Marek Vasut 已提交
5163
# define machine_is_cpuat9g20()	(machine_arch_type == MACH_TYPE_CPUAT9G20)
W
wdenk 已提交
5164
#else
M
Marek Vasut 已提交
5165
# define machine_is_cpuat9g20()	(0)
W
wdenk 已提交
5166 5167
#endif

M
Marek Vasut 已提交
5168
#ifdef CONFIG_MACH_SMDK6440
W
wdenk 已提交
5169 5170 5171 5172
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5173
#  define machine_arch_type	MACH_TYPE_SMDK6440
W
wdenk 已提交
5174
# endif
M
Marek Vasut 已提交
5175
# define machine_is_smdk6440()	(machine_arch_type == MACH_TYPE_SMDK6440)
W
wdenk 已提交
5176
#else
M
Marek Vasut 已提交
5177
# define machine_is_smdk6440()	(0)
W
wdenk 已提交
5178 5179
#endif

M
Marek Vasut 已提交
5180
#ifdef CONFIG_MACH_NAS4220B
W
wdenk 已提交
5181 5182 5183 5184
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5185
#  define machine_arch_type	MACH_TYPE_NAS4220B
W
wdenk 已提交
5186
# endif
M
Marek Vasut 已提交
5187
# define machine_is_nas4220b()	(machine_arch_type == MACH_TYPE_NAS4220B)
W
wdenk 已提交
5188
#else
M
Marek Vasut 已提交
5189
# define machine_is_nas4220b()	(0)
W
wdenk 已提交
5190 5191
#endif

M
Marek Vasut 已提交
5192
#ifdef CONFIG_MACH_ZYLONITE2
W
wdenk 已提交
5193 5194 5195 5196
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5197
#  define machine_arch_type	MACH_TYPE_ZYLONITE2
W
wdenk 已提交
5198
# endif
M
Marek Vasut 已提交
5199
# define machine_is_zylonite2()	(machine_arch_type == MACH_TYPE_ZYLONITE2)
W
wdenk 已提交
5200
#else
M
Marek Vasut 已提交
5201
# define machine_is_zylonite2()	(0)
W
wdenk 已提交
5202 5203
#endif

M
Marek Vasut 已提交
5204
#ifdef CONFIG_MACH_ASPENITE
W
wdenk 已提交
5205 5206 5207 5208
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5209
#  define machine_arch_type	MACH_TYPE_ASPENITE
W
wdenk 已提交
5210
# endif
M
Marek Vasut 已提交
5211
# define machine_is_aspenite()	(machine_arch_type == MACH_TYPE_ASPENITE)
W
wdenk 已提交
5212
#else
M
Marek Vasut 已提交
5213
# define machine_is_aspenite()	(0)
W
wdenk 已提交
5214 5215
#endif

M
Marek Vasut 已提交
5216
#ifdef CONFIG_MACH_TTC_DKB
W
wdenk 已提交
5217 5218 5219 5220
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5221
#  define machine_arch_type	MACH_TYPE_TTC_DKB
W
wdenk 已提交
5222
# endif
M
Marek Vasut 已提交
5223
# define machine_is_ttc_dkb()	(machine_arch_type == MACH_TYPE_TTC_DKB)
W
wdenk 已提交
5224
#else
M
Marek Vasut 已提交
5225
# define machine_is_ttc_dkb()	(0)
W
wdenk 已提交
5226 5227
#endif

M
Marek Vasut 已提交
5228
#ifdef CONFIG_MACH_PCM043
W
wdenk 已提交
5229 5230 5231 5232
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5233
#  define machine_arch_type	MACH_TYPE_PCM043
W
wdenk 已提交
5234
# endif
M
Marek Vasut 已提交
5235
# define machine_is_pcm043()	(machine_arch_type == MACH_TYPE_PCM043)
W
wdenk 已提交
5236
#else
M
Marek Vasut 已提交
5237
# define machine_is_pcm043()	(0)
W
wdenk 已提交
5238 5239
#endif

M
Marek Vasut 已提交
5240
#ifdef CONFIG_MACH_SHEEVAPLUG
W
wdenk 已提交
5241 5242 5243 5244
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5245
#  define machine_arch_type	MACH_TYPE_SHEEVAPLUG
W
wdenk 已提交
5246
# endif
M
Marek Vasut 已提交
5247
# define machine_is_sheevaplug()	(machine_arch_type == MACH_TYPE_SHEEVAPLUG)
W
wdenk 已提交
5248
#else
M
Marek Vasut 已提交
5249
# define machine_is_sheevaplug()	(0)
W
wdenk 已提交
5250 5251
#endif

M
Marek Vasut 已提交
5252
#ifdef CONFIG_MACH_AVENGERS_LITE
W
wdenk 已提交
5253 5254 5255 5256
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5257
#  define machine_arch_type	MACH_TYPE_AVENGERS_LITE
W
wdenk 已提交
5258
# endif
M
Marek Vasut 已提交
5259
# define machine_is_avengers_lite()	(machine_arch_type == MACH_TYPE_AVENGERS_LITE)
W
wdenk 已提交
5260
#else
M
Marek Vasut 已提交
5261
# define machine_is_avengers_lite()	(0)
W
wdenk 已提交
5262 5263
#endif

M
Marek Vasut 已提交
5264
#ifdef CONFIG_MACH_MX51_BABBAGE
W
wdenk 已提交
5265 5266 5267 5268
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5269
#  define machine_arch_type	MACH_TYPE_MX51_BABBAGE
W
wdenk 已提交
5270
# endif
M
Marek Vasut 已提交
5271
# define machine_is_mx51_babbage()	(machine_arch_type == MACH_TYPE_MX51_BABBAGE)
W
wdenk 已提交
5272
#else
M
Marek Vasut 已提交
5273
# define machine_is_mx51_babbage()	(0)
W
wdenk 已提交
5274 5275
#endif

M
Marek Vasut 已提交
5276
#ifdef CONFIG_MACH_RD78X00_MASA
W
wdenk 已提交
5277 5278 5279 5280
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5281
#  define machine_arch_type	MACH_TYPE_RD78X00_MASA
W
wdenk 已提交
5282
# endif
M
Marek Vasut 已提交
5283
# define machine_is_rd78x00_masa()	(machine_arch_type == MACH_TYPE_RD78X00_MASA)
W
wdenk 已提交
5284
#else
M
Marek Vasut 已提交
5285
# define machine_is_rd78x00_masa()	(0)
W
wdenk 已提交
5286 5287
#endif

M
Marek Vasut 已提交
5288
#ifdef CONFIG_MACH_DM355_LEOPARD
W
wdenk 已提交
5289 5290 5291 5292
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5293
#  define machine_arch_type	MACH_TYPE_DM355_LEOPARD
W
wdenk 已提交
5294
# endif
M
Marek Vasut 已提交
5295
# define machine_is_dm355_leopard()	(machine_arch_type == MACH_TYPE_DM355_LEOPARD)
W
wdenk 已提交
5296
#else
M
Marek Vasut 已提交
5297
# define machine_is_dm355_leopard()	(0)
W
wdenk 已提交
5298 5299
#endif

M
Marek Vasut 已提交
5300
#ifdef CONFIG_MACH_TS219
W
wdenk 已提交
5301 5302 5303 5304
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5305
#  define machine_arch_type	MACH_TYPE_TS219
W
wdenk 已提交
5306
# endif
M
Marek Vasut 已提交
5307
# define machine_is_ts219()	(machine_arch_type == MACH_TYPE_TS219)
W
wdenk 已提交
5308
#else
M
Marek Vasut 已提交
5309
# define machine_is_ts219()	(0)
W
wdenk 已提交
5310 5311
#endif

M
Marek Vasut 已提交
5312
#ifdef CONFIG_MACH_PCA100
W
wdenk 已提交
5313 5314 5315 5316
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5317
#  define machine_arch_type	MACH_TYPE_PCA100
W
wdenk 已提交
5318
# endif
M
Marek Vasut 已提交
5319
# define machine_is_pca100()	(machine_arch_type == MACH_TYPE_PCA100)
W
wdenk 已提交
5320
#else
M
Marek Vasut 已提交
5321
# define machine_is_pca100()	(0)
W
wdenk 已提交
5322 5323
#endif

M
Marek Vasut 已提交
5324
#ifdef CONFIG_MACH_DAVINCI_DA850_EVM
5325 5326 5327 5328
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5329
#  define machine_arch_type	MACH_TYPE_DAVINCI_DA850_EVM
5330
# endif
M
Marek Vasut 已提交
5331
# define machine_is_davinci_da850_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_DA850_EVM)
5332
#else
M
Marek Vasut 已提交
5333
# define machine_is_davinci_da850_evm()	(0)
5334 5335
#endif

M
Marek Vasut 已提交
5336
#ifdef CONFIG_MACH_AT91SAM9G10EK
W
wdenk 已提交
5337 5338 5339 5340
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5341
#  define machine_arch_type	MACH_TYPE_AT91SAM9G10EK
W
wdenk 已提交
5342
# endif
M
Marek Vasut 已提交
5343
# define machine_is_at91sam9g10ek()	(machine_arch_type == MACH_TYPE_AT91SAM9G10EK)
W
wdenk 已提交
5344
#else
M
Marek Vasut 已提交
5345
# define machine_is_at91sam9g10ek()	(0)
W
wdenk 已提交
5346 5347
#endif

M
Marek Vasut 已提交
5348
#ifdef CONFIG_MACH_OMAP_4430SDP
W
wdenk 已提交
5349 5350 5351 5352
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5353
#  define machine_arch_type	MACH_TYPE_OMAP_4430SDP
W
wdenk 已提交
5354
# endif
M
Marek Vasut 已提交
5355
# define machine_is_omap_4430sdp()	(machine_arch_type == MACH_TYPE_OMAP_4430SDP)
W
wdenk 已提交
5356
#else
M
Marek Vasut 已提交
5357
# define machine_is_omap_4430sdp()	(0)
W
wdenk 已提交
5358 5359
#endif

M
Marek Vasut 已提交
5360
#ifdef CONFIG_MACH_MAGX_ZN5
W
wdenk 已提交
5361 5362 5363 5364
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5365
#  define machine_arch_type	MACH_TYPE_MAGX_ZN5
W
wdenk 已提交
5366
# endif
M
Marek Vasut 已提交
5367
# define machine_is_magx_zn5()	(machine_arch_type == MACH_TYPE_MAGX_ZN5)
W
wdenk 已提交
5368
#else
M
Marek Vasut 已提交
5369
# define machine_is_magx_zn5()	(0)
W
wdenk 已提交
5370 5371
#endif

M
Marek Vasut 已提交
5372
#ifdef CONFIG_MACH_BTMAVB101
W
wdenk 已提交
5373 5374 5375 5376
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5377
#  define machine_arch_type	MACH_TYPE_BTMAVB101
W
wdenk 已提交
5378
# endif
M
Marek Vasut 已提交
5379
# define machine_is_btmavb101()	(machine_arch_type == MACH_TYPE_BTMAVB101)
W
wdenk 已提交
5380
#else
M
Marek Vasut 已提交
5381
# define machine_is_btmavb101()	(0)
W
wdenk 已提交
5382 5383
#endif

M
Marek Vasut 已提交
5384
#ifdef CONFIG_MACH_BTMAWB101
W
wdenk 已提交
5385 5386 5387 5388
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5389
#  define machine_arch_type	MACH_TYPE_BTMAWB101
W
wdenk 已提交
5390
# endif
M
Marek Vasut 已提交
5391
# define machine_is_btmawb101()	(machine_arch_type == MACH_TYPE_BTMAWB101)
W
wdenk 已提交
5392
#else
M
Marek Vasut 已提交
5393
# define machine_is_btmawb101()	(0)
W
wdenk 已提交
5394 5395
#endif

M
Marek Vasut 已提交
5396
#ifdef CONFIG_MACH_OMAP3_TORPEDO
W
wdenk 已提交
5397 5398 5399 5400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5401
#  define machine_arch_type	MACH_TYPE_OMAP3_TORPEDO
W
wdenk 已提交
5402
# endif
M
Marek Vasut 已提交
5403
# define machine_is_omap3_torpedo()	(machine_arch_type == MACH_TYPE_OMAP3_TORPEDO)
W
wdenk 已提交
5404
#else
M
Marek Vasut 已提交
5405
# define machine_is_omap3_torpedo()	(0)
W
wdenk 已提交
5406 5407
#endif

M
Marek Vasut 已提交
5408
#ifdef CONFIG_MACH_ANW6410
W
wdenk 已提交
5409 5410 5411 5412
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5413
#  define machine_arch_type	MACH_TYPE_ANW6410
W
wdenk 已提交
5414
# endif
M
Marek Vasut 已提交
5415
# define machine_is_anw6410()	(machine_arch_type == MACH_TYPE_ANW6410)
W
wdenk 已提交
5416
#else
M
Marek Vasut 已提交
5417
# define machine_is_anw6410()	(0)
W
wdenk 已提交
5418 5419
#endif

M
Marek Vasut 已提交
5420
#ifdef CONFIG_MACH_IMX27_VISSTRIM_M10
W
wdenk 已提交
5421 5422 5423 5424
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5425
#  define machine_arch_type	MACH_TYPE_IMX27_VISSTRIM_M10
W
wdenk 已提交
5426
# endif
M
Marek Vasut 已提交
5427
# define machine_is_imx27_visstrim_m10()	(machine_arch_type == MACH_TYPE_IMX27_VISSTRIM_M10)
W
wdenk 已提交
5428
#else
M
Marek Vasut 已提交
5429
# define machine_is_imx27_visstrim_m10()	(0)
W
wdenk 已提交
5430 5431
#endif

M
Marek Vasut 已提交
5432
#ifdef CONFIG_MACH_PORTUXG20
W
wdenk 已提交
5433 5434 5435 5436
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5437
#  define machine_arch_type	MACH_TYPE_PORTUXG20
W
wdenk 已提交
5438
# endif
M
Marek Vasut 已提交
5439
# define machine_is_portuxg20()	(machine_arch_type == MACH_TYPE_PORTUXG20)
W
wdenk 已提交
5440
#else
M
Marek Vasut 已提交
5441
# define machine_is_portuxg20()	(0)
W
wdenk 已提交
5442 5443
#endif

M
Marek Vasut 已提交
5444
#ifdef CONFIG_MACH_SMDKC110
W
wdenk 已提交
5445 5446 5447 5448
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5449
#  define machine_arch_type	MACH_TYPE_SMDKC110
W
wdenk 已提交
5450
# endif
M
Marek Vasut 已提交
5451
# define machine_is_smdkc110()	(machine_arch_type == MACH_TYPE_SMDKC110)
W
wdenk 已提交
5452
#else
M
Marek Vasut 已提交
5453
# define machine_is_smdkc110()	(0)
W
wdenk 已提交
5454 5455
#endif

M
Marek Vasut 已提交
5456
#ifdef CONFIG_MACH_OMAP3517EVM
W
wdenk 已提交
5457 5458 5459 5460
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5461
#  define machine_arch_type	MACH_TYPE_OMAP3517EVM
W
wdenk 已提交
5462
# endif
M
Marek Vasut 已提交
5463
# define machine_is_omap3517evm()	(machine_arch_type == MACH_TYPE_OMAP3517EVM)
W
wdenk 已提交
5464
#else
M
Marek Vasut 已提交
5465
# define machine_is_omap3517evm()	(0)
W
wdenk 已提交
5466 5467
#endif

M
Marek Vasut 已提交
5468
#ifdef CONFIG_MACH_NETSPACE_V2
W
wdenk 已提交
5469 5470 5471 5472
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5473
#  define machine_arch_type	MACH_TYPE_NETSPACE_V2
W
wdenk 已提交
5474
# endif
M
Marek Vasut 已提交
5475
# define machine_is_netspace_v2()	(machine_arch_type == MACH_TYPE_NETSPACE_V2)
W
wdenk 已提交
5476
#else
M
Marek Vasut 已提交
5477
# define machine_is_netspace_v2()	(0)
W
wdenk 已提交
5478 5479
#endif

M
Marek Vasut 已提交
5480
#ifdef CONFIG_MACH_NETSPACE_MAX_V2
W
wdenk 已提交
5481 5482 5483 5484
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5485
#  define machine_arch_type	MACH_TYPE_NETSPACE_MAX_V2
W
wdenk 已提交
5486
# endif
M
Marek Vasut 已提交
5487
# define machine_is_netspace_max_v2()	(machine_arch_type == MACH_TYPE_NETSPACE_MAX_V2)
W
wdenk 已提交
5488
#else
M
Marek Vasut 已提交
5489
# define machine_is_netspace_max_v2()	(0)
W
wdenk 已提交
5490 5491
#endif

M
Marek Vasut 已提交
5492
#ifdef CONFIG_MACH_D2NET_V2
W
wdenk 已提交
5493 5494 5495 5496
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5497
#  define machine_arch_type	MACH_TYPE_D2NET_V2
W
wdenk 已提交
5498
# endif
M
Marek Vasut 已提交
5499
# define machine_is_d2net_v2()	(machine_arch_type == MACH_TYPE_D2NET_V2)
W
wdenk 已提交
5500
#else
M
Marek Vasut 已提交
5501
# define machine_is_d2net_v2()	(0)
W
wdenk 已提交
5502 5503
#endif

M
Marek Vasut 已提交
5504
#ifdef CONFIG_MACH_NET2BIG_V2
W
wdenk 已提交
5505 5506 5507 5508
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5509
#  define machine_arch_type	MACH_TYPE_NET2BIG_V2
W
wdenk 已提交
5510
# endif
M
Marek Vasut 已提交
5511
# define machine_is_net2big_v2()	(machine_arch_type == MACH_TYPE_NET2BIG_V2)
W
wdenk 已提交
5512
#else
M
Marek Vasut 已提交
5513
# define machine_is_net2big_v2()	(0)
W
wdenk 已提交
5514 5515
#endif

M
Marek Vasut 已提交
5516
#ifdef CONFIG_MACH_NET5BIG_V2
W
wdenk 已提交
5517 5518 5519 5520
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5521
#  define machine_arch_type	MACH_TYPE_NET5BIG_V2
W
wdenk 已提交
5522
# endif
M
Marek Vasut 已提交
5523
# define machine_is_net5big_v2()	(machine_arch_type == MACH_TYPE_NET5BIG_V2)
W
wdenk 已提交
5524
#else
M
Marek Vasut 已提交
5525
# define machine_is_net5big_v2()	(0)
W
wdenk 已提交
5526 5527
#endif

M
Marek Vasut 已提交
5528
#ifdef CONFIG_MACH_INETSPACE_V2
W
wdenk 已提交
5529 5530 5531 5532
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5533
#  define machine_arch_type	MACH_TYPE_INETSPACE_V2
W
wdenk 已提交
5534
# endif
M
Marek Vasut 已提交
5535
# define machine_is_inetspace_v2()	(machine_arch_type == MACH_TYPE_INETSPACE_V2)
W
wdenk 已提交
5536
#else
M
Marek Vasut 已提交
5537
# define machine_is_inetspace_v2()	(0)
W
wdenk 已提交
5538 5539
#endif

M
Marek Vasut 已提交
5540
#ifdef CONFIG_MACH_AT91SAM9G45EKES
W
wdenk 已提交
5541 5542 5543 5544
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5545
#  define machine_arch_type	MACH_TYPE_AT91SAM9G45EKES
W
wdenk 已提交
5546
# endif
M
Marek Vasut 已提交
5547
# define machine_is_at91sam9g45ekes()	(machine_arch_type == MACH_TYPE_AT91SAM9G45EKES)
W
wdenk 已提交
5548
#else
M
Marek Vasut 已提交
5549
# define machine_is_at91sam9g45ekes()	(0)
W
wdenk 已提交
5550 5551
#endif

M
Marek Vasut 已提交
5552
#ifdef CONFIG_MACH_PC7302
W
wdenk 已提交
5553 5554 5555 5556
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5557
#  define machine_arch_type	MACH_TYPE_PC7302
W
wdenk 已提交
5558
# endif
M
Marek Vasut 已提交
5559
# define machine_is_pc7302()	(machine_arch_type == MACH_TYPE_PC7302)
W
wdenk 已提交
5560
#else
M
Marek Vasut 已提交
5561
# define machine_is_pc7302()	(0)
W
wdenk 已提交
5562 5563
#endif

M
Marek Vasut 已提交
5564
#ifdef CONFIG_MACH_SPEAR600
W
wdenk 已提交
5565 5566 5567 5568
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5569
#  define machine_arch_type	MACH_TYPE_SPEAR600
W
wdenk 已提交
5570
# endif
M
Marek Vasut 已提交
5571
# define machine_is_spear600()	(machine_arch_type == MACH_TYPE_SPEAR600)
W
wdenk 已提交
5572
#else
M
Marek Vasut 已提交
5573
# define machine_is_spear600()	(0)
W
wdenk 已提交
5574 5575
#endif

M
Marek Vasut 已提交
5576
#ifdef CONFIG_MACH_SPEAR300
W
wdenk 已提交
5577 5578 5579 5580
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5581
#  define machine_arch_type	MACH_TYPE_SPEAR300
W
wdenk 已提交
5582
# endif
M
Marek Vasut 已提交
5583
# define machine_is_spear300()	(machine_arch_type == MACH_TYPE_SPEAR300)
W
wdenk 已提交
5584
#else
M
Marek Vasut 已提交
5585
# define machine_is_spear300()	(0)
W
wdenk 已提交
5586 5587
#endif

M
Marek Vasut 已提交
5588
#ifdef CONFIG_MACH_LILLY1131
W
wdenk 已提交
5589 5590 5591 5592
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5593
#  define machine_arch_type	MACH_TYPE_LILLY1131
W
wdenk 已提交
5594
# endif
M
Marek Vasut 已提交
5595
# define machine_is_lilly1131()	(machine_arch_type == MACH_TYPE_LILLY1131)
W
wdenk 已提交
5596
#else
M
Marek Vasut 已提交
5597
# define machine_is_lilly1131()	(0)
W
wdenk 已提交
5598 5599
#endif

M
Marek Vasut 已提交
5600
#ifdef CONFIG_MACH_HMT
W
wdenk 已提交
5601 5602 5603 5604
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5605
#  define machine_arch_type	MACH_TYPE_HMT
W
wdenk 已提交
5606
# endif
M
Marek Vasut 已提交
5607
# define machine_is_hmt()	(machine_arch_type == MACH_TYPE_HMT)
W
wdenk 已提交
5608
#else
M
Marek Vasut 已提交
5609
# define machine_is_hmt()	(0)
W
wdenk 已提交
5610 5611
#endif

M
Marek Vasut 已提交
5612
#ifdef CONFIG_MACH_VEXPRESS
W
wdenk 已提交
5613 5614 5615 5616
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5617
#  define machine_arch_type	MACH_TYPE_VEXPRESS
W
wdenk 已提交
5618
# endif
M
Marek Vasut 已提交
5619
# define machine_is_vexpress()	(machine_arch_type == MACH_TYPE_VEXPRESS)
W
wdenk 已提交
5620
#else
M
Marek Vasut 已提交
5621
# define machine_is_vexpress()	(0)
W
wdenk 已提交
5622 5623
#endif

M
Marek Vasut 已提交
5624
#ifdef CONFIG_MACH_D2NET
W
wdenk 已提交
5625 5626 5627 5628
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5629
#  define machine_arch_type	MACH_TYPE_D2NET
W
wdenk 已提交
5630
# endif
M
Marek Vasut 已提交
5631
# define machine_is_d2net()	(machine_arch_type == MACH_TYPE_D2NET)
W
wdenk 已提交
5632
#else
M
Marek Vasut 已提交
5633
# define machine_is_d2net()	(0)
W
wdenk 已提交
5634 5635
#endif

M
Marek Vasut 已提交
5636
#ifdef CONFIG_MACH_BIGDISK
W
wdenk 已提交
5637 5638 5639 5640
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5641
#  define machine_arch_type	MACH_TYPE_BIGDISK
W
wdenk 已提交
5642
# endif
M
Marek Vasut 已提交
5643
# define machine_is_bigdisk()	(machine_arch_type == MACH_TYPE_BIGDISK)
W
wdenk 已提交
5644
#else
M
Marek Vasut 已提交
5645
# define machine_is_bigdisk()	(0)
W
wdenk 已提交
5646 5647
#endif

M
Marek Vasut 已提交
5648
#ifdef CONFIG_MACH_AT91SAM9G20EK_2MMC
W
wdenk 已提交
5649 5650 5651 5652
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5653
#  define machine_arch_type	MACH_TYPE_AT91SAM9G20EK_2MMC
W
wdenk 已提交
5654
# endif
M
Marek Vasut 已提交
5655
# define machine_is_at91sam9g20ek_2mmc()	(machine_arch_type == MACH_TYPE_AT91SAM9G20EK_2MMC)
W
wdenk 已提交
5656
#else
M
Marek Vasut 已提交
5657
# define machine_is_at91sam9g20ek_2mmc()	(0)
W
wdenk 已提交
5658 5659
#endif

M
Marek Vasut 已提交
5660
#ifdef CONFIG_MACH_BCMRING
W
wdenk 已提交
5661 5662 5663 5664
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5665
#  define machine_arch_type	MACH_TYPE_BCMRING
W
wdenk 已提交
5666
# endif
M
Marek Vasut 已提交
5667
# define machine_is_bcmring()	(machine_arch_type == MACH_TYPE_BCMRING)
W
wdenk 已提交
5668
#else
M
Marek Vasut 已提交
5669
# define machine_is_bcmring()	(0)
W
wdenk 已提交
5670 5671
#endif

M
Marek Vasut 已提交
5672
#ifdef CONFIG_MACH_DP6XX
W
wdenk 已提交
5673 5674 5675 5676
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5677
#  define machine_arch_type	MACH_TYPE_DP6XX
W
wdenk 已提交
5678
# endif
M
Marek Vasut 已提交
5679
# define machine_is_dp6xx()	(machine_arch_type == MACH_TYPE_DP6XX)
W
wdenk 已提交
5680
#else
M
Marek Vasut 已提交
5681
# define machine_is_dp6xx()	(0)
W
wdenk 已提交
5682 5683
#endif

M
Marek Vasut 已提交
5684
#ifdef CONFIG_MACH_MAHIMAHI
W
wdenk 已提交
5685 5686 5687 5688
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5689
#  define machine_arch_type	MACH_TYPE_MAHIMAHI
W
wdenk 已提交
5690
# endif
M
Marek Vasut 已提交
5691
# define machine_is_mahimahi()	(machine_arch_type == MACH_TYPE_MAHIMAHI)
W
wdenk 已提交
5692
#else
M
Marek Vasut 已提交
5693
# define machine_is_mahimahi()	(0)
W
wdenk 已提交
5694 5695
#endif

M
Marek Vasut 已提交
5696
#ifdef CONFIG_MACH_SMDK6442
W
wdenk 已提交
5697 5698 5699 5700
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5701
#  define machine_arch_type	MACH_TYPE_SMDK6442
W
wdenk 已提交
5702
# endif
M
Marek Vasut 已提交
5703
# define machine_is_smdk6442()	(machine_arch_type == MACH_TYPE_SMDK6442)
W
wdenk 已提交
5704
#else
M
Marek Vasut 已提交
5705
# define machine_is_smdk6442()	(0)
W
wdenk 已提交
5706 5707
#endif

M
Marek Vasut 已提交
5708
#ifdef CONFIG_MACH_OPENRD_BASE
W
wdenk 已提交
5709 5710 5711 5712
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5713
#  define machine_arch_type	MACH_TYPE_OPENRD_BASE
W
wdenk 已提交
5714
# endif
M
Marek Vasut 已提交
5715
# define machine_is_openrd_base()	(machine_arch_type == MACH_TYPE_OPENRD_BASE)
W
wdenk 已提交
5716
#else
M
Marek Vasut 已提交
5717
# define machine_is_openrd_base()	(0)
W
wdenk 已提交
5718 5719
#endif

M
Marek Vasut 已提交
5720
#ifdef CONFIG_MACH_DEVKIT8000
W
wdenk 已提交
5721 5722 5723 5724
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5725
#  define machine_arch_type	MACH_TYPE_DEVKIT8000
W
wdenk 已提交
5726
# endif
M
Marek Vasut 已提交
5727
# define machine_is_devkit8000()	(machine_arch_type == MACH_TYPE_DEVKIT8000)
W
wdenk 已提交
5728
#else
M
Marek Vasut 已提交
5729
# define machine_is_devkit8000()	(0)
W
wdenk 已提交
5730 5731
#endif

M
Marek Vasut 已提交
5732
#ifdef CONFIG_MACH_MX51_EFIKAMX
W
wdenk 已提交
5733 5734 5735 5736
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5737
#  define machine_arch_type	MACH_TYPE_MX51_EFIKAMX
W
wdenk 已提交
5738
# endif
M
Marek Vasut 已提交
5739
# define machine_is_mx51_efikamx()	(machine_arch_type == MACH_TYPE_MX51_EFIKAMX)
W
wdenk 已提交
5740
#else
M
Marek Vasut 已提交
5741
# define machine_is_mx51_efikamx()	(0)
W
wdenk 已提交
5742 5743
#endif

M
Marek Vasut 已提交
5744
#ifdef CONFIG_MACH_CM_T35
W
wdenk 已提交
5745 5746 5747 5748
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5749
#  define machine_arch_type	MACH_TYPE_CM_T35
W
wdenk 已提交
5750
# endif
M
Marek Vasut 已提交
5751
# define machine_is_cm_t35()	(machine_arch_type == MACH_TYPE_CM_T35)
W
wdenk 已提交
5752
#else
M
Marek Vasut 已提交
5753
# define machine_is_cm_t35()	(0)
W
wdenk 已提交
5754 5755
#endif

M
Marek Vasut 已提交
5756
#ifdef CONFIG_MACH_NET2BIG
W
wdenk 已提交
5757 5758 5759 5760
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5761
#  define machine_arch_type	MACH_TYPE_NET2BIG
W
wdenk 已提交
5762
# endif
M
Marek Vasut 已提交
5763
# define machine_is_net2big()	(machine_arch_type == MACH_TYPE_NET2BIG)
W
wdenk 已提交
5764
#else
M
Marek Vasut 已提交
5765
# define machine_is_net2big()	(0)
W
wdenk 已提交
5766 5767
#endif

M
Marek Vasut 已提交
5768
#ifdef CONFIG_MACH_IGEP0020
W
wdenk 已提交
5769 5770 5771 5772
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5773
#  define machine_arch_type	MACH_TYPE_IGEP0020
W
wdenk 已提交
5774
# endif
M
Marek Vasut 已提交
5775
# define machine_is_igep0020()	(machine_arch_type == MACH_TYPE_IGEP0020)
W
wdenk 已提交
5776
#else
M
Marek Vasut 已提交
5777
# define machine_is_igep0020()	(0)
W
wdenk 已提交
5778 5779
#endif

M
Marek Vasut 已提交
5780
#ifdef CONFIG_MACH_NUC932EVB
W
wdenk 已提交
5781 5782 5783 5784
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5785
#  define machine_arch_type	MACH_TYPE_NUC932EVB
W
wdenk 已提交
5786
# endif
M
Marek Vasut 已提交
5787
# define machine_is_nuc932evb()	(machine_arch_type == MACH_TYPE_NUC932EVB)
W
wdenk 已提交
5788
#else
M
Marek Vasut 已提交
5789
# define machine_is_nuc932evb()	(0)
W
wdenk 已提交
5790 5791
#endif

M
Marek Vasut 已提交
5792
#ifdef CONFIG_MACH_OPENRD_CLIENT
W
wdenk 已提交
5793 5794 5795 5796
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5797
#  define machine_arch_type	MACH_TYPE_OPENRD_CLIENT
W
wdenk 已提交
5798
# endif
M
Marek Vasut 已提交
5799
# define machine_is_openrd_client()	(machine_arch_type == MACH_TYPE_OPENRD_CLIENT)
W
wdenk 已提交
5800
#else
M
Marek Vasut 已提交
5801
# define machine_is_openrd_client()	(0)
W
wdenk 已提交
5802 5803
#endif

M
Marek Vasut 已提交
5804
#ifdef CONFIG_MACH_U8500
W
wdenk 已提交
5805 5806 5807 5808
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5809
#  define machine_arch_type	MACH_TYPE_U8500
W
wdenk 已提交
5810
# endif
M
Marek Vasut 已提交
5811
# define machine_is_u8500()	(machine_arch_type == MACH_TYPE_U8500)
W
wdenk 已提交
5812
#else
M
Marek Vasut 已提交
5813
# define machine_is_u8500()	(0)
W
wdenk 已提交
5814 5815
#endif

M
Marek Vasut 已提交
5816
#ifdef CONFIG_MACH_MX51_EFIKASB
W
wdenk 已提交
5817 5818 5819 5820
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5821
#  define machine_arch_type	MACH_TYPE_MX51_EFIKASB
W
wdenk 已提交
5822
# endif
M
Marek Vasut 已提交
5823
# define machine_is_mx51_efikasb()	(machine_arch_type == MACH_TYPE_MX51_EFIKASB)
W
wdenk 已提交
5824
#else
M
Marek Vasut 已提交
5825
# define machine_is_mx51_efikasb()	(0)
W
wdenk 已提交
5826 5827
#endif

M
Marek Vasut 已提交
5828
#ifdef CONFIG_MACH_MARVELL_JASPER
W
wdenk 已提交
5829 5830 5831 5832
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5833
#  define machine_arch_type	MACH_TYPE_MARVELL_JASPER
W
wdenk 已提交
5834
# endif
M
Marek Vasut 已提交
5835
# define machine_is_marvell_jasper()	(machine_arch_type == MACH_TYPE_MARVELL_JASPER)
W
wdenk 已提交
5836
#else
M
Marek Vasut 已提交
5837
# define machine_is_marvell_jasper()	(0)
W
wdenk 已提交
5838 5839
#endif

M
Marek Vasut 已提交
5840
#ifdef CONFIG_MACH_FLINT
W
wdenk 已提交
5841 5842 5843 5844
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5845
#  define machine_arch_type	MACH_TYPE_FLINT
W
wdenk 已提交
5846
# endif
M
Marek Vasut 已提交
5847
# define machine_is_flint()	(machine_arch_type == MACH_TYPE_FLINT)
W
wdenk 已提交
5848
#else
M
Marek Vasut 已提交
5849
# define machine_is_flint()	(0)
W
wdenk 已提交
5850 5851
#endif

M
Marek Vasut 已提交
5852
#ifdef CONFIG_MACH_TAVOREVB3
W
wdenk 已提交
5853 5854 5855 5856
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5857
#  define machine_arch_type	MACH_TYPE_TAVOREVB3
W
wdenk 已提交
5858
# endif
M
Marek Vasut 已提交
5859
# define machine_is_tavorevb3()	(machine_arch_type == MACH_TYPE_TAVOREVB3)
W
wdenk 已提交
5860
#else
M
Marek Vasut 已提交
5861
# define machine_is_tavorevb3()	(0)
W
wdenk 已提交
5862 5863
#endif

M
Marek Vasut 已提交
5864
#ifdef CONFIG_MACH_TOUCHBOOK
W
wdenk 已提交
5865 5866 5867 5868
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5869
#  define machine_arch_type	MACH_TYPE_TOUCHBOOK
W
wdenk 已提交
5870
# endif
M
Marek Vasut 已提交
5871
# define machine_is_touchbook()	(machine_arch_type == MACH_TYPE_TOUCHBOOK)
W
wdenk 已提交
5872
#else
M
Marek Vasut 已提交
5873
# define machine_is_touchbook()	(0)
W
wdenk 已提交
5874 5875
#endif

M
Marek Vasut 已提交
5876
#ifdef CONFIG_MACH_RAUMFELD_RC
W
wdenk 已提交
5877 5878 5879 5880
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5881
#  define machine_arch_type	MACH_TYPE_RAUMFELD_RC
W
wdenk 已提交
5882
# endif
M
Marek Vasut 已提交
5883
# define machine_is_raumfeld_rc()	(machine_arch_type == MACH_TYPE_RAUMFELD_RC)
W
wdenk 已提交
5884
#else
M
Marek Vasut 已提交
5885
# define machine_is_raumfeld_rc()	(0)
W
wdenk 已提交
5886 5887
#endif

M
Marek Vasut 已提交
5888
#ifdef CONFIG_MACH_RAUMFELD_CONNECTOR
W
wdenk 已提交
5889 5890 5891 5892
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5893
#  define machine_arch_type	MACH_TYPE_RAUMFELD_CONNECTOR
W
wdenk 已提交
5894
# endif
M
Marek Vasut 已提交
5895
# define machine_is_raumfeld_connector()	(machine_arch_type == MACH_TYPE_RAUMFELD_CONNECTOR)
W
wdenk 已提交
5896
#else
M
Marek Vasut 已提交
5897
# define machine_is_raumfeld_connector()	(0)
W
wdenk 已提交
5898 5899
#endif

M
Marek Vasut 已提交
5900
#ifdef CONFIG_MACH_RAUMFELD_SPEAKER
W
wdenk 已提交
5901 5902 5903 5904
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5905
#  define machine_arch_type	MACH_TYPE_RAUMFELD_SPEAKER
W
wdenk 已提交
5906
# endif
M
Marek Vasut 已提交
5907
# define machine_is_raumfeld_speaker()	(machine_arch_type == MACH_TYPE_RAUMFELD_SPEAKER)
W
wdenk 已提交
5908
#else
M
Marek Vasut 已提交
5909
# define machine_is_raumfeld_speaker()	(0)
W
wdenk 已提交
5910 5911
#endif

M
Marek Vasut 已提交
5912
#ifdef CONFIG_MACH_TNETV107X
W
wdenk 已提交
5913 5914 5915 5916
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5917
#  define machine_arch_type	MACH_TYPE_TNETV107X
W
wdenk 已提交
5918
# endif
M
Marek Vasut 已提交
5919
# define machine_is_tnetv107x()	(machine_arch_type == MACH_TYPE_TNETV107X)
W
wdenk 已提交
5920
#else
M
Marek Vasut 已提交
5921
# define machine_is_tnetv107x()	(0)
W
wdenk 已提交
5922 5923
#endif

M
Marek Vasut 已提交
5924
#ifdef CONFIG_MACH_SMDKV210
W
wdenk 已提交
5925 5926 5927 5928
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5929
#  define machine_arch_type	MACH_TYPE_SMDKV210
W
wdenk 已提交
5930
# endif
M
Marek Vasut 已提交
5931
# define machine_is_smdkv210()	(machine_arch_type == MACH_TYPE_SMDKV210)
W
wdenk 已提交
5932
#else
M
Marek Vasut 已提交
5933
# define machine_is_smdkv210()	(0)
W
wdenk 已提交
5934 5935
#endif

M
Marek Vasut 已提交
5936
#ifdef CONFIG_MACH_OMAP_ZOOM3
W
wdenk 已提交
5937 5938 5939 5940
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5941
#  define machine_arch_type	MACH_TYPE_OMAP_ZOOM3
W
wdenk 已提交
5942
# endif
M
Marek Vasut 已提交
5943
# define machine_is_omap_zoom3()	(machine_arch_type == MACH_TYPE_OMAP_ZOOM3)
W
wdenk 已提交
5944
#else
M
Marek Vasut 已提交
5945
# define machine_is_omap_zoom3()	(0)
W
wdenk 已提交
5946 5947
#endif

M
Marek Vasut 已提交
5948
#ifdef CONFIG_MACH_OMAP_3630SDP
W
wdenk 已提交
5949 5950 5951 5952
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5953
#  define machine_arch_type	MACH_TYPE_OMAP_3630SDP
W
wdenk 已提交
5954
# endif
M
Marek Vasut 已提交
5955
# define machine_is_omap_3630sdp()	(machine_arch_type == MACH_TYPE_OMAP_3630SDP)
W
wdenk 已提交
5956
#else
M
Marek Vasut 已提交
5957
# define machine_is_omap_3630sdp()	(0)
W
wdenk 已提交
5958 5959
#endif

M
Marek Vasut 已提交
5960
#ifdef CONFIG_MACH_SMARTQ7
W
wdenk 已提交
5961 5962 5963 5964
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5965
#  define machine_arch_type	MACH_TYPE_SMARTQ7
W
wdenk 已提交
5966
# endif
M
Marek Vasut 已提交
5967
# define machine_is_smartq7()	(machine_arch_type == MACH_TYPE_SMARTQ7)
W
wdenk 已提交
5968
#else
M
Marek Vasut 已提交
5969
# define machine_is_smartq7()	(0)
W
wdenk 已提交
5970 5971
#endif

M
Marek Vasut 已提交
5972
#ifdef CONFIG_MACH_WATSON_EFM_PLUGIN
W
wdenk 已提交
5973 5974 5975 5976
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5977
#  define machine_arch_type	MACH_TYPE_WATSON_EFM_PLUGIN
W
wdenk 已提交
5978
# endif
M
Marek Vasut 已提交
5979
# define machine_is_watson_efm_plugin()	(machine_arch_type == MACH_TYPE_WATSON_EFM_PLUGIN)
W
wdenk 已提交
5980
#else
M
Marek Vasut 已提交
5981
# define machine_is_watson_efm_plugin()	(0)
W
wdenk 已提交
5982 5983
#endif

M
Marek Vasut 已提交
5984
#ifdef CONFIG_MACH_G4EVM
W
wdenk 已提交
5985 5986 5987 5988
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
5989
#  define machine_arch_type	MACH_TYPE_G4EVM
W
wdenk 已提交
5990
# endif
M
Marek Vasut 已提交
5991
# define machine_is_g4evm()	(machine_arch_type == MACH_TYPE_G4EVM)
W
wdenk 已提交
5992
#else
M
Marek Vasut 已提交
5993
# define machine_is_g4evm()	(0)
W
wdenk 已提交
5994 5995
#endif

M
Marek Vasut 已提交
5996
#ifdef CONFIG_MACH_OMAPL138_HAWKBOARD
W
wdenk 已提交
5997 5998 5999 6000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6001
#  define machine_arch_type	MACH_TYPE_OMAPL138_HAWKBOARD
W
wdenk 已提交
6002
# endif
M
Marek Vasut 已提交
6003
# define machine_is_omapl138_hawkboard()	(machine_arch_type == MACH_TYPE_OMAPL138_HAWKBOARD)
W
wdenk 已提交
6004
#else
M
Marek Vasut 已提交
6005
# define machine_is_omapl138_hawkboard()	(0)
W
wdenk 已提交
6006 6007
#endif

M
Marek Vasut 已提交
6008
#ifdef CONFIG_MACH_TS41X
W
wdenk 已提交
6009 6010 6011 6012
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6013
#  define machine_arch_type	MACH_TYPE_TS41X
W
wdenk 已提交
6014
# endif
M
Marek Vasut 已提交
6015
# define machine_is_ts41x()	(machine_arch_type == MACH_TYPE_TS41X)
W
wdenk 已提交
6016
#else
M
Marek Vasut 已提交
6017
# define machine_is_ts41x()	(0)
W
wdenk 已提交
6018 6019
#endif

M
Marek Vasut 已提交
6020
#ifdef CONFIG_MACH_PHY3250
W
wdenk 已提交
6021 6022 6023 6024
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6025
#  define machine_arch_type	MACH_TYPE_PHY3250
W
wdenk 已提交
6026
# endif
M
Marek Vasut 已提交
6027
# define machine_is_phy3250()	(machine_arch_type == MACH_TYPE_PHY3250)
W
wdenk 已提交
6028
#else
M
Marek Vasut 已提交
6029
# define machine_is_phy3250()	(0)
W
wdenk 已提交
6030 6031
#endif

M
Marek Vasut 已提交
6032
#ifdef CONFIG_MACH_MINI6410
W
wdenk 已提交
6033 6034 6035 6036
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6037
#  define machine_arch_type	MACH_TYPE_MINI6410
W
wdenk 已提交
6038
# endif
M
Marek Vasut 已提交
6039
# define machine_is_mini6410()	(machine_arch_type == MACH_TYPE_MINI6410)
W
wdenk 已提交
6040
#else
M
Marek Vasut 已提交
6041
# define machine_is_mini6410()	(0)
W
wdenk 已提交
6042 6043
#endif

M
Marek Vasut 已提交
6044
#ifdef CONFIG_MACH_MX28EVK
W
wdenk 已提交
6045 6046 6047 6048
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6049
#  define machine_arch_type	MACH_TYPE_MX28EVK
W
wdenk 已提交
6050
# endif
M
Marek Vasut 已提交
6051
# define machine_is_mx28evk()	(machine_arch_type == MACH_TYPE_MX28EVK)
W
wdenk 已提交
6052
#else
M
Marek Vasut 已提交
6053
# define machine_is_mx28evk()	(0)
W
wdenk 已提交
6054 6055
#endif

M
Marek Vasut 已提交
6056
#ifdef CONFIG_MACH_SMARTQ5
W
wdenk 已提交
6057 6058 6059 6060
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6061
#  define machine_arch_type	MACH_TYPE_SMARTQ5
W
wdenk 已提交
6062
# endif
M
Marek Vasut 已提交
6063
# define machine_is_smartq5()	(machine_arch_type == MACH_TYPE_SMARTQ5)
W
wdenk 已提交
6064
#else
M
Marek Vasut 已提交
6065
# define machine_is_smartq5()	(0)
W
wdenk 已提交
6066 6067
#endif

M
Marek Vasut 已提交
6068
#ifdef CONFIG_MACH_DAVINCI_DM6467TEVM
W
wdenk 已提交
6069 6070 6071 6072
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6073
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM6467TEVM
W
wdenk 已提交
6074
# endif
M
Marek Vasut 已提交
6075
# define machine_is_davinci_dm6467tevm()	(machine_arch_type == MACH_TYPE_DAVINCI_DM6467TEVM)
W
wdenk 已提交
6076
#else
M
Marek Vasut 已提交
6077
# define machine_is_davinci_dm6467tevm()	(0)
W
wdenk 已提交
6078 6079
#endif

M
Marek Vasut 已提交
6080
#ifdef CONFIG_MACH_MXT_TD60
W
wdenk 已提交
6081 6082 6083 6084
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6085
#  define machine_arch_type	MACH_TYPE_MXT_TD60
W
wdenk 已提交
6086
# endif
M
Marek Vasut 已提交
6087
# define machine_is_mxt_td60()	(machine_arch_type == MACH_TYPE_MXT_TD60)
W
wdenk 已提交
6088
#else
M
Marek Vasut 已提交
6089
# define machine_is_mxt_td60()	(0)
W
wdenk 已提交
6090 6091
#endif

M
Marek Vasut 已提交
6092
#ifdef CONFIG_MACH_RIOT_BEI2
W
wdenk 已提交
6093 6094 6095 6096
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6097
#  define machine_arch_type	MACH_TYPE_RIOT_BEI2
W
wdenk 已提交
6098
# endif
M
Marek Vasut 已提交
6099
# define machine_is_riot_bei2()	(machine_arch_type == MACH_TYPE_RIOT_BEI2)
W
wdenk 已提交
6100
#else
M
Marek Vasut 已提交
6101
# define machine_is_riot_bei2()	(0)
W
wdenk 已提交
6102 6103
#endif

M
Marek Vasut 已提交
6104
#ifdef CONFIG_MACH_RIOT_X37
W
wdenk 已提交
6105 6106 6107 6108
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6109
#  define machine_arch_type	MACH_TYPE_RIOT_X37
W
wdenk 已提交
6110
# endif
M
Marek Vasut 已提交
6111
# define machine_is_riot_x37()	(machine_arch_type == MACH_TYPE_RIOT_X37)
W
wdenk 已提交
6112
#else
M
Marek Vasut 已提交
6113
# define machine_is_riot_x37()	(0)
W
wdenk 已提交
6114 6115
#endif

M
Marek Vasut 已提交
6116
#ifdef CONFIG_MACH_CAPC7117
W
wdenk 已提交
6117 6118 6119 6120
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6121
#  define machine_arch_type	MACH_TYPE_CAPC7117
W
wdenk 已提交
6122
# endif
M
Marek Vasut 已提交
6123
# define machine_is_capc7117()	(machine_arch_type == MACH_TYPE_CAPC7117)
W
wdenk 已提交
6124
#else
M
Marek Vasut 已提交
6125
# define machine_is_capc7117()	(0)
W
wdenk 已提交
6126 6127
#endif

M
Marek Vasut 已提交
6128
#ifdef CONFIG_MACH_ICONTROL
W
wdenk 已提交
6129 6130 6131 6132
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6133
#  define machine_arch_type	MACH_TYPE_ICONTROL
W
wdenk 已提交
6134
# endif
M
Marek Vasut 已提交
6135
# define machine_is_icontrol()	(machine_arch_type == MACH_TYPE_ICONTROL)
W
wdenk 已提交
6136
#else
M
Marek Vasut 已提交
6137
# define machine_is_icontrol()	(0)
W
wdenk 已提交
6138 6139
#endif

M
Marek Vasut 已提交
6140
#ifdef CONFIG_MACH_QSD8X50A_ST1_5
W
wdenk 已提交
6141 6142 6143 6144
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6145
#  define machine_arch_type	MACH_TYPE_QSD8X50A_ST1_5
W
wdenk 已提交
6146
# endif
M
Marek Vasut 已提交
6147
# define machine_is_qsd8x50a_st1_5()	(machine_arch_type == MACH_TYPE_QSD8X50A_ST1_5)
W
wdenk 已提交
6148
#else
M
Marek Vasut 已提交
6149
# define machine_is_qsd8x50a_st1_5()	(0)
W
wdenk 已提交
6150 6151
#endif

M
Marek Vasut 已提交
6152
#ifdef CONFIG_MACH_MX23EVK
W
wdenk 已提交
6153 6154 6155 6156
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6157
#  define machine_arch_type	MACH_TYPE_MX23EVK
W
wdenk 已提交
6158
# endif
M
Marek Vasut 已提交
6159
# define machine_is_mx23evk()	(machine_arch_type == MACH_TYPE_MX23EVK)
W
wdenk 已提交
6160
#else
M
Marek Vasut 已提交
6161
# define machine_is_mx23evk()	(0)
W
wdenk 已提交
6162 6163
#endif

M
Marek Vasut 已提交
6164
#ifdef CONFIG_MACH_AP4EVB
W
wdenk 已提交
6165 6166 6167 6168
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6169
#  define machine_arch_type	MACH_TYPE_AP4EVB
W
wdenk 已提交
6170
# endif
M
Marek Vasut 已提交
6171
# define machine_is_ap4evb()	(machine_arch_type == MACH_TYPE_AP4EVB)
W
wdenk 已提交
6172
#else
M
Marek Vasut 已提交
6173
# define machine_is_ap4evb()	(0)
W
wdenk 已提交
6174 6175
#endif

M
Marek Vasut 已提交
6176
#ifdef CONFIG_MACH_MITYOMAPL138
W
wdenk 已提交
6177 6178 6179 6180
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6181
#  define machine_arch_type	MACH_TYPE_MITYOMAPL138
W
wdenk 已提交
6182
# endif
M
Marek Vasut 已提交
6183
# define machine_is_mityomapl138()	(machine_arch_type == MACH_TYPE_MITYOMAPL138)
W
wdenk 已提交
6184
#else
M
Marek Vasut 已提交
6185
# define machine_is_mityomapl138()	(0)
W
wdenk 已提交
6186 6187
#endif

M
Marek Vasut 已提交
6188
#ifdef CONFIG_MACH_GURUPLUG
W
wdenk 已提交
6189 6190 6191 6192
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6193
#  define machine_arch_type	MACH_TYPE_GURUPLUG
W
wdenk 已提交
6194
# endif
M
Marek Vasut 已提交
6195
# define machine_is_guruplug()	(machine_arch_type == MACH_TYPE_GURUPLUG)
W
wdenk 已提交
6196
#else
M
Marek Vasut 已提交
6197
# define machine_is_guruplug()	(0)
W
wdenk 已提交
6198 6199
#endif

M
Marek Vasut 已提交
6200
#ifdef CONFIG_MACH_SPEAR310
W
wdenk 已提交
6201 6202 6203 6204
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6205
#  define machine_arch_type	MACH_TYPE_SPEAR310
W
wdenk 已提交
6206
# endif
M
Marek Vasut 已提交
6207
# define machine_is_spear310()	(machine_arch_type == MACH_TYPE_SPEAR310)
W
wdenk 已提交
6208
#else
M
Marek Vasut 已提交
6209
# define machine_is_spear310()	(0)
W
wdenk 已提交
6210 6211
#endif

M
Marek Vasut 已提交
6212
#ifdef CONFIG_MACH_SPEAR320
W
wdenk 已提交
6213 6214 6215 6216
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6217
#  define machine_arch_type	MACH_TYPE_SPEAR320
W
wdenk 已提交
6218
# endif
M
Marek Vasut 已提交
6219
# define machine_is_spear320()	(machine_arch_type == MACH_TYPE_SPEAR320)
W
wdenk 已提交
6220
#else
M
Marek Vasut 已提交
6221
# define machine_is_spear320()	(0)
W
wdenk 已提交
6222 6223
#endif

M
Marek Vasut 已提交
6224
#ifdef CONFIG_MACH_AQUILA
W
wdenk 已提交
6225 6226 6227 6228
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6229
#  define machine_arch_type	MACH_TYPE_AQUILA
W
wdenk 已提交
6230
# endif
M
Marek Vasut 已提交
6231
# define machine_is_aquila()	(machine_arch_type == MACH_TYPE_AQUILA)
W
wdenk 已提交
6232
#else
M
Marek Vasut 已提交
6233
# define machine_is_aquila()	(0)
W
wdenk 已提交
6234 6235
#endif

M
Marek Vasut 已提交
6236
#ifdef CONFIG_MACH_ESATA_SHEEVAPLUG
W
wdenk 已提交
6237 6238 6239 6240
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6241
#  define machine_arch_type	MACH_TYPE_ESATA_SHEEVAPLUG
W
wdenk 已提交
6242
# endif
M
Marek Vasut 已提交
6243
# define machine_is_sheeva_esata()	(machine_arch_type == MACH_TYPE_ESATA_SHEEVAPLUG)
W
wdenk 已提交
6244
#else
M
Marek Vasut 已提交
6245
# define machine_is_sheeva_esata()	(0)
W
wdenk 已提交
6246 6247
#endif

M
Marek Vasut 已提交
6248
#ifdef CONFIG_MACH_MSM7X30_SURF
W
wdenk 已提交
6249 6250 6251 6252
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6253
#  define machine_arch_type	MACH_TYPE_MSM7X30_SURF
W
wdenk 已提交
6254
# endif
M
Marek Vasut 已提交
6255
# define machine_is_msm7x30_surf()	(machine_arch_type == MACH_TYPE_MSM7X30_SURF)
W
wdenk 已提交
6256
#else
M
Marek Vasut 已提交
6257
# define machine_is_msm7x30_surf()	(0)
W
wdenk 已提交
6258 6259
#endif

M
Marek Vasut 已提交
6260
#ifdef CONFIG_MACH_EA2478DEVKIT
W
wdenk 已提交
6261 6262 6263 6264
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6265
#  define machine_arch_type	MACH_TYPE_EA2478DEVKIT
W
wdenk 已提交
6266
# endif
M
Marek Vasut 已提交
6267
# define machine_is_ea2478devkit()	(machine_arch_type == MACH_TYPE_EA2478DEVKIT)
W
wdenk 已提交
6268
#else
M
Marek Vasut 已提交
6269
# define machine_is_ea2478devkit()	(0)
W
wdenk 已提交
6270 6271
#endif

M
Marek Vasut 已提交
6272
#ifdef CONFIG_MACH_TERASTATION_WXL
W
wdenk 已提交
6273 6274 6275 6276
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6277
#  define machine_arch_type	MACH_TYPE_TERASTATION_WXL
W
wdenk 已提交
6278
# endif
M
Marek Vasut 已提交
6279
# define machine_is_terastation_wxl()	(machine_arch_type == MACH_TYPE_TERASTATION_WXL)
W
wdenk 已提交
6280
#else
M
Marek Vasut 已提交
6281
# define machine_is_terastation_wxl()	(0)
W
wdenk 已提交
6282 6283
#endif

M
Marek Vasut 已提交
6284
#ifdef CONFIG_MACH_MSM7X25_SURF
W
wdenk 已提交
6285 6286 6287 6288
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6289
#  define machine_arch_type	MACH_TYPE_MSM7X25_SURF
W
wdenk 已提交
6290
# endif
M
Marek Vasut 已提交
6291
# define machine_is_msm7x25_surf()	(machine_arch_type == MACH_TYPE_MSM7X25_SURF)
W
wdenk 已提交
6292
#else
M
Marek Vasut 已提交
6293
# define machine_is_msm7x25_surf()	(0)
W
wdenk 已提交
6294 6295
#endif

M
Marek Vasut 已提交
6296
#ifdef CONFIG_MACH_MSM7X25_FFA
W
wdenk 已提交
6297 6298 6299 6300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6301
#  define machine_arch_type	MACH_TYPE_MSM7X25_FFA
W
wdenk 已提交
6302
# endif
M
Marek Vasut 已提交
6303
# define machine_is_msm7x25_ffa()	(machine_arch_type == MACH_TYPE_MSM7X25_FFA)
W
wdenk 已提交
6304
#else
M
Marek Vasut 已提交
6305
# define machine_is_msm7x25_ffa()	(0)
W
wdenk 已提交
6306 6307
#endif

M
Marek Vasut 已提交
6308
#ifdef CONFIG_MACH_MSM7X27_SURF
W
wdenk 已提交
6309 6310 6311 6312
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6313
#  define machine_arch_type	MACH_TYPE_MSM7X27_SURF
W
wdenk 已提交
6314
# endif
M
Marek Vasut 已提交
6315
# define machine_is_msm7x27_surf()	(machine_arch_type == MACH_TYPE_MSM7X27_SURF)
W
wdenk 已提交
6316
#else
M
Marek Vasut 已提交
6317
# define machine_is_msm7x27_surf()	(0)
W
wdenk 已提交
6318 6319
#endif

M
Marek Vasut 已提交
6320
#ifdef CONFIG_MACH_MSM7X27_FFA
W
wdenk 已提交
6321 6322 6323 6324
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6325
#  define machine_arch_type	MACH_TYPE_MSM7X27_FFA
W
wdenk 已提交
6326
# endif
M
Marek Vasut 已提交
6327
# define machine_is_msm7x27_ffa()	(machine_arch_type == MACH_TYPE_MSM7X27_FFA)
W
wdenk 已提交
6328
#else
M
Marek Vasut 已提交
6329
# define machine_is_msm7x27_ffa()	(0)
W
wdenk 已提交
6330 6331
#endif

M
Marek Vasut 已提交
6332
#ifdef CONFIG_MACH_MSM7X30_FFA
W
wdenk 已提交
6333 6334 6335 6336
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6337
#  define machine_arch_type	MACH_TYPE_MSM7X30_FFA
W
wdenk 已提交
6338
# endif
M
Marek Vasut 已提交
6339
# define machine_is_msm7x30_ffa()	(machine_arch_type == MACH_TYPE_MSM7X30_FFA)
W
wdenk 已提交
6340
#else
M
Marek Vasut 已提交
6341
# define machine_is_msm7x30_ffa()	(0)
W
wdenk 已提交
6342 6343
#endif

M
Marek Vasut 已提交
6344
#ifdef CONFIG_MACH_QSD8X50_SURF
W
wdenk 已提交
6345 6346 6347 6348
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6349
#  define machine_arch_type	MACH_TYPE_QSD8X50_SURF
W
wdenk 已提交
6350
# endif
M
Marek Vasut 已提交
6351
# define machine_is_qsd8x50_surf()	(machine_arch_type == MACH_TYPE_QSD8X50_SURF)
W
wdenk 已提交
6352
#else
M
Marek Vasut 已提交
6353
# define machine_is_qsd8x50_surf()	(0)
W
wdenk 已提交
6354 6355
#endif

M
Marek Vasut 已提交
6356
#ifdef CONFIG_MACH_MX53_EVK
W
wdenk 已提交
6357 6358 6359 6360
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6361
#  define machine_arch_type	MACH_TYPE_MX53_EVK
W
wdenk 已提交
6362
# endif
M
Marek Vasut 已提交
6363
# define machine_is_mx53_evk()	(machine_arch_type == MACH_TYPE_MX53_EVK)
W
wdenk 已提交
6364
#else
M
Marek Vasut 已提交
6365
# define machine_is_mx53_evk()	(0)
W
wdenk 已提交
6366 6367
#endif

M
Marek Vasut 已提交
6368
#ifdef CONFIG_MACH_IGEP0030
W
wdenk 已提交
6369 6370 6371 6372
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6373
#  define machine_arch_type	MACH_TYPE_IGEP0030
W
wdenk 已提交
6374
# endif
M
Marek Vasut 已提交
6375
# define machine_is_igep0030()	(machine_arch_type == MACH_TYPE_IGEP0030)
W
wdenk 已提交
6376
#else
M
Marek Vasut 已提交
6377
# define machine_is_igep0030()	(0)
W
wdenk 已提交
6378 6379
#endif

M
Marek Vasut 已提交
6380
#ifdef CONFIG_MACH_SBC3530
W
wdenk 已提交
6381 6382 6383 6384
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6385
#  define machine_arch_type	MACH_TYPE_SBC3530
W
wdenk 已提交
6386
# endif
M
Marek Vasut 已提交
6387
# define machine_is_sbc3530()	(machine_arch_type == MACH_TYPE_SBC3530)
W
wdenk 已提交
6388
#else
M
Marek Vasut 已提交
6389
# define machine_is_sbc3530()	(0)
W
wdenk 已提交
6390 6391
#endif

M
Marek Vasut 已提交
6392
#ifdef CONFIG_MACH_SAARB
W
wdenk 已提交
6393 6394 6395 6396
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6397
#  define machine_arch_type	MACH_TYPE_SAARB
W
wdenk 已提交
6398
# endif
M
Marek Vasut 已提交
6399
# define machine_is_saarb()	(machine_arch_type == MACH_TYPE_SAARB)
W
wdenk 已提交
6400
#else
M
Marek Vasut 已提交
6401
# define machine_is_saarb()	(0)
W
wdenk 已提交
6402 6403
#endif

M
Marek Vasut 已提交
6404
#ifdef CONFIG_MACH_HARMONY
W
wdenk 已提交
6405 6406 6407 6408
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6409
#  define machine_arch_type	MACH_TYPE_HARMONY
W
wdenk 已提交
6410
# endif
M
Marek Vasut 已提交
6411
# define machine_is_harmony()	(machine_arch_type == MACH_TYPE_HARMONY)
W
wdenk 已提交
6412
#else
M
Marek Vasut 已提交
6413
# define machine_is_harmony()	(0)
W
wdenk 已提交
6414 6415
#endif

M
Marek Vasut 已提交
6416
#ifdef CONFIG_MACH_MSM7X30_FLUID
W
wdenk 已提交
6417 6418 6419 6420
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6421
#  define machine_arch_type	MACH_TYPE_MSM7X30_FLUID
W
wdenk 已提交
6422
# endif
M
Marek Vasut 已提交
6423
# define machine_is_msm7x30_fluid()	(machine_arch_type == MACH_TYPE_MSM7X30_FLUID)
W
wdenk 已提交
6424
#else
M
Marek Vasut 已提交
6425
# define machine_is_msm7x30_fluid()	(0)
W
wdenk 已提交
6426 6427
#endif

M
Marek Vasut 已提交
6428
#ifdef CONFIG_MACH_CM_T3517
W
wdenk 已提交
6429 6430 6431 6432
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6433
#  define machine_arch_type	MACH_TYPE_CM_T3517
W
wdenk 已提交
6434
# endif
M
Marek Vasut 已提交
6435
# define machine_is_cm_t3517()	(machine_arch_type == MACH_TYPE_CM_T3517)
W
wdenk 已提交
6436
#else
M
Marek Vasut 已提交
6437
# define machine_is_cm_t3517()	(0)
W
wdenk 已提交
6438 6439
#endif

M
Marek Vasut 已提交
6440
#ifdef CONFIG_MACH_WBD222
W
wdenk 已提交
6441 6442 6443 6444
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6445
#  define machine_arch_type	MACH_TYPE_WBD222
W
wdenk 已提交
6446
# endif
M
Marek Vasut 已提交
6447
# define machine_is_wbd222()	(machine_arch_type == MACH_TYPE_WBD222)
W
wdenk 已提交
6448
#else
M
Marek Vasut 已提交
6449
# define machine_is_wbd222()	(0)
W
wdenk 已提交
6450 6451
#endif

M
Marek Vasut 已提交
6452
#ifdef CONFIG_MACH_MSM8X60_SURF
W
wdenk 已提交
6453 6454 6455 6456
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6457
#  define machine_arch_type	MACH_TYPE_MSM8X60_SURF
W
wdenk 已提交
6458
# endif
M
Marek Vasut 已提交
6459
# define machine_is_msm8x60_surf()	(machine_arch_type == MACH_TYPE_MSM8X60_SURF)
W
wdenk 已提交
6460
#else
M
Marek Vasut 已提交
6461
# define machine_is_msm8x60_surf()	(0)
W
wdenk 已提交
6462 6463
#endif

M
Marek Vasut 已提交
6464
#ifdef CONFIG_MACH_MSM8X60_SIM
W
wdenk 已提交
6465 6466 6467 6468
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6469
#  define machine_arch_type	MACH_TYPE_MSM8X60_SIM
W
wdenk 已提交
6470
# endif
M
Marek Vasut 已提交
6471
# define machine_is_msm8x60_sim()	(machine_arch_type == MACH_TYPE_MSM8X60_SIM)
W
wdenk 已提交
6472
#else
M
Marek Vasut 已提交
6473
# define machine_is_msm8x60_sim()	(0)
W
wdenk 已提交
6474 6475
#endif

M
Marek Vasut 已提交
6476
#ifdef CONFIG_MACH_TCC8000_SDK
W
wdenk 已提交
6477 6478 6479 6480
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6481
#  define machine_arch_type	MACH_TYPE_TCC8000_SDK
W
wdenk 已提交
6482
# endif
M
Marek Vasut 已提交
6483
# define machine_is_tcc8000_sdk()	(machine_arch_type == MACH_TYPE_TCC8000_SDK)
W
wdenk 已提交
6484
#else
M
Marek Vasut 已提交
6485
# define machine_is_tcc8000_sdk()	(0)
W
wdenk 已提交
6486 6487
#endif

M
Marek Vasut 已提交
6488
#ifdef CONFIG_MACH_NANOS
W
wdenk 已提交
6489 6490 6491 6492
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6493
#  define machine_arch_type	MACH_TYPE_NANOS
W
wdenk 已提交
6494
# endif
M
Marek Vasut 已提交
6495
# define machine_is_nanos()	(machine_arch_type == MACH_TYPE_NANOS)
W
wdenk 已提交
6496
#else
M
Marek Vasut 已提交
6497
# define machine_is_nanos()	(0)
W
wdenk 已提交
6498 6499
#endif

M
Marek Vasut 已提交
6500
#ifdef CONFIG_MACH_STAMP9G45
W
wdenk 已提交
6501 6502 6503 6504
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6505
#  define machine_arch_type	MACH_TYPE_STAMP9G45
W
wdenk 已提交
6506
# endif
M
Marek Vasut 已提交
6507
# define machine_is_stamp9g45()	(machine_arch_type == MACH_TYPE_STAMP9G45)
W
wdenk 已提交
6508
#else
M
Marek Vasut 已提交
6509
# define machine_is_stamp9g45()	(0)
W
wdenk 已提交
6510 6511
#endif

M
Marek Vasut 已提交
6512
#ifdef CONFIG_MACH_CNS3420VB
W
wdenk 已提交
6513 6514 6515 6516
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6517
#  define machine_arch_type	MACH_TYPE_CNS3420VB
W
wdenk 已提交
6518
# endif
M
Marek Vasut 已提交
6519
# define machine_is_cns3420vb()	(machine_arch_type == MACH_TYPE_CNS3420VB)
W
wdenk 已提交
6520
#else
M
Marek Vasut 已提交
6521
# define machine_is_cns3420vb()	(0)
W
wdenk 已提交
6522 6523
#endif

M
Marek Vasut 已提交
6524
#ifdef CONFIG_MACH_OMAP4_PANDA
W
wdenk 已提交
6525 6526 6527 6528
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6529
#  define machine_arch_type	MACH_TYPE_OMAP4_PANDA
W
wdenk 已提交
6530
# endif
M
Marek Vasut 已提交
6531
# define machine_is_omap4_panda()	(machine_arch_type == MACH_TYPE_OMAP4_PANDA)
W
wdenk 已提交
6532
#else
M
Marek Vasut 已提交
6533
# define machine_is_omap4_panda()	(0)
W
wdenk 已提交
6534 6535
#endif

M
Marek Vasut 已提交
6536
#ifdef CONFIG_MACH_TI8168EVM
W
wdenk 已提交
6537 6538 6539 6540
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6541
#  define machine_arch_type	MACH_TYPE_TI8168EVM
W
wdenk 已提交
6542
# endif
M
Marek Vasut 已提交
6543
# define machine_is_ti8168evm()	(machine_arch_type == MACH_TYPE_TI8168EVM)
W
wdenk 已提交
6544
#else
M
Marek Vasut 已提交
6545
# define machine_is_ti8168evm()	(0)
W
wdenk 已提交
6546 6547
#endif

M
Marek Vasut 已提交
6548
#ifdef CONFIG_MACH_TETON_BGA
W
wdenk 已提交
6549 6550 6551 6552
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6553
#  define machine_arch_type	MACH_TYPE_TETON_BGA
W
wdenk 已提交
6554
# endif
M
Marek Vasut 已提交
6555
# define machine_is_teton_bga()	(machine_arch_type == MACH_TYPE_TETON_BGA)
W
wdenk 已提交
6556
#else
M
Marek Vasut 已提交
6557
# define machine_is_teton_bga()	(0)
W
wdenk 已提交
6558 6559
#endif

M
Marek Vasut 已提交
6560
#ifdef CONFIG_MACH_EUKREA_CPUIMX25SD
W
wdenk 已提交
6561 6562 6563 6564
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6565
#  define machine_arch_type	MACH_TYPE_EUKREA_CPUIMX25SD
W
wdenk 已提交
6566
# endif
M
Marek Vasut 已提交
6567
# define machine_is_eukrea_cpuimx25sd()	(machine_arch_type == MACH_TYPE_EUKREA_CPUIMX25SD)
W
wdenk 已提交
6568
#else
M
Marek Vasut 已提交
6569
# define machine_is_eukrea_cpuimx25sd()	(0)
W
wdenk 已提交
6570 6571
#endif

M
Marek Vasut 已提交
6572
#ifdef CONFIG_MACH_EUKREA_CPUIMX35SD
W
wdenk 已提交
6573 6574 6575 6576
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6577
#  define machine_arch_type	MACH_TYPE_EUKREA_CPUIMX35SD
W
wdenk 已提交
6578
# endif
M
Marek Vasut 已提交
6579
# define machine_is_eukrea_cpuimx35sd()	(machine_arch_type == MACH_TYPE_EUKREA_CPUIMX35SD)
W
wdenk 已提交
6580
#else
M
Marek Vasut 已提交
6581
# define machine_is_eukrea_cpuimx35sd()	(0)
W
wdenk 已提交
6582 6583
#endif

M
Marek Vasut 已提交
6584
#ifdef CONFIG_MACH_EUKREA_CPUIMX51SD
W
wdenk 已提交
6585 6586 6587 6588
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6589
#  define machine_arch_type	MACH_TYPE_EUKREA_CPUIMX51SD
W
wdenk 已提交
6590
# endif
M
Marek Vasut 已提交
6591
# define machine_is_eukrea_cpuimx51sd()	(machine_arch_type == MACH_TYPE_EUKREA_CPUIMX51SD)
W
wdenk 已提交
6592
#else
M
Marek Vasut 已提交
6593
# define machine_is_eukrea_cpuimx51sd()	(0)
W
wdenk 已提交
6594 6595
#endif

M
Marek Vasut 已提交
6596
#ifdef CONFIG_MACH_EUKREA_CPUIMX51
W
wdenk 已提交
6597 6598 6599 6600
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6601
#  define machine_arch_type	MACH_TYPE_EUKREA_CPUIMX51
W
wdenk 已提交
6602
# endif
M
Marek Vasut 已提交
6603
# define machine_is_eukrea_cpuimx51()	(machine_arch_type == MACH_TYPE_EUKREA_CPUIMX51)
W
wdenk 已提交
6604
#else
M
Marek Vasut 已提交
6605
# define machine_is_eukrea_cpuimx51()	(0)
W
wdenk 已提交
6606 6607
#endif

M
Marek Vasut 已提交
6608
#ifdef CONFIG_MACH_SMDKC210
W
wdenk 已提交
6609 6610 6611 6612
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6613
#  define machine_arch_type	MACH_TYPE_SMDKC210
W
wdenk 已提交
6614
# endif
M
Marek Vasut 已提交
6615
# define machine_is_smdkc210()	(machine_arch_type == MACH_TYPE_SMDKC210)
W
wdenk 已提交
6616
#else
M
Marek Vasut 已提交
6617
# define machine_is_smdkc210()	(0)
W
wdenk 已提交
6618 6619
#endif

M
Marek Vasut 已提交
6620
#ifdef CONFIG_MACH_OMAP3_BRAILLO
W
wdenk 已提交
6621 6622 6623 6624
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6625
#  define machine_arch_type	MACH_TYPE_OMAP3_BRAILLO
W
wdenk 已提交
6626
# endif
M
Marek Vasut 已提交
6627
# define machine_is_omap3_braillo()	(machine_arch_type == MACH_TYPE_OMAP3_BRAILLO)
W
wdenk 已提交
6628
#else
M
Marek Vasut 已提交
6629
# define machine_is_omap3_braillo()	(0)
W
wdenk 已提交
6630 6631
#endif

M
Marek Vasut 已提交
6632
#ifdef CONFIG_MACH_SPYPLUG
W
wdenk 已提交
6633 6634 6635 6636
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6637
#  define machine_arch_type	MACH_TYPE_SPYPLUG
W
wdenk 已提交
6638
# endif
M
Marek Vasut 已提交
6639
# define machine_is_spyplug()	(machine_arch_type == MACH_TYPE_SPYPLUG)
W
wdenk 已提交
6640
#else
M
Marek Vasut 已提交
6641
# define machine_is_spyplug()	(0)
W
wdenk 已提交
6642 6643
#endif

M
Marek Vasut 已提交
6644
#ifdef CONFIG_MACH_GINGER
W
wdenk 已提交
6645 6646 6647 6648
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6649
#  define machine_arch_type	MACH_TYPE_GINGER
W
wdenk 已提交
6650
# endif
M
Marek Vasut 已提交
6651
# define machine_is_ginger()	(machine_arch_type == MACH_TYPE_GINGER)
W
wdenk 已提交
6652
#else
M
Marek Vasut 已提交
6653
# define machine_is_ginger()	(0)
W
wdenk 已提交
6654 6655
#endif

M
Marek Vasut 已提交
6656
#ifdef CONFIG_MACH_TNY_T3530
W
wdenk 已提交
6657 6658 6659 6660
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6661
#  define machine_arch_type	MACH_TYPE_TNY_T3530
W
wdenk 已提交
6662
# endif
M
Marek Vasut 已提交
6663
# define machine_is_tny_t3530()	(machine_arch_type == MACH_TYPE_TNY_T3530)
W
wdenk 已提交
6664
#else
M
Marek Vasut 已提交
6665
# define machine_is_tny_t3530()	(0)
W
wdenk 已提交
6666 6667
#endif

M
Marek Vasut 已提交
6668
#ifdef CONFIG_MACH_PCA102
W
wdenk 已提交
6669 6670 6671 6672
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6673
#  define machine_arch_type	MACH_TYPE_PCA102
W
wdenk 已提交
6674
# endif
M
Marek Vasut 已提交
6675
# define machine_is_pca102()	(machine_arch_type == MACH_TYPE_PCA102)
W
wdenk 已提交
6676
#else
M
Marek Vasut 已提交
6677
# define machine_is_pca102()	(0)
W
wdenk 已提交
6678 6679
#endif

M
Marek Vasut 已提交
6680
#ifdef CONFIG_MACH_SPADE
W
wdenk 已提交
6681 6682 6683 6684
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6685
#  define machine_arch_type	MACH_TYPE_SPADE
W
wdenk 已提交
6686
# endif
M
Marek Vasut 已提交
6687
# define machine_is_spade()	(machine_arch_type == MACH_TYPE_SPADE)
W
wdenk 已提交
6688
#else
M
Marek Vasut 已提交
6689
# define machine_is_spade()	(0)
W
wdenk 已提交
6690 6691
#endif

M
Marek Vasut 已提交
6692
#ifdef CONFIG_MACH_MXC25_TOPAZ
W
wdenk 已提交
6693 6694 6695 6696
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6697
#  define machine_arch_type	MACH_TYPE_MXC25_TOPAZ
W
wdenk 已提交
6698
# endif
M
Marek Vasut 已提交
6699
# define machine_is_mxc25_topaz()	(machine_arch_type == MACH_TYPE_MXC25_TOPAZ)
W
wdenk 已提交
6700
#else
M
Marek Vasut 已提交
6701
# define machine_is_mxc25_topaz()	(0)
W
wdenk 已提交
6702 6703
#endif

M
Marek Vasut 已提交
6704
#ifdef CONFIG_MACH_T5325
W
wdenk 已提交
6705 6706 6707 6708
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6709
#  define machine_arch_type	MACH_TYPE_T5325
W
wdenk 已提交
6710
# endif
M
Marek Vasut 已提交
6711
# define machine_is_t5325()	(machine_arch_type == MACH_TYPE_T5325)
W
wdenk 已提交
6712
#else
M
Marek Vasut 已提交
6713
# define machine_is_t5325()	(0)
W
wdenk 已提交
6714 6715
#endif

M
Marek Vasut 已提交
6716
#ifdef CONFIG_MACH_GW2361
W
wdenk 已提交
6717 6718 6719 6720
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6721
#  define machine_arch_type	MACH_TYPE_GW2361
W
wdenk 已提交
6722
# endif
M
Marek Vasut 已提交
6723
# define machine_is_gw2361()	(machine_arch_type == MACH_TYPE_GW2361)
W
wdenk 已提交
6724
#else
M
Marek Vasut 已提交
6725
# define machine_is_gw2361()	(0)
W
wdenk 已提交
6726 6727
#endif

M
Marek Vasut 已提交
6728
#ifdef CONFIG_MACH_ELOG
W
wdenk 已提交
6729 6730 6731 6732
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6733
#  define machine_arch_type	MACH_TYPE_ELOG
W
wdenk 已提交
6734
# endif
M
Marek Vasut 已提交
6735
# define machine_is_elog()	(machine_arch_type == MACH_TYPE_ELOG)
W
wdenk 已提交
6736
#else
M
Marek Vasut 已提交
6737
# define machine_is_elog()	(0)
W
wdenk 已提交
6738 6739
#endif

M
Marek Vasut 已提交
6740
#ifdef CONFIG_MACH_INCOME
W
wdenk 已提交
6741 6742 6743 6744
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6745
#  define machine_arch_type	MACH_TYPE_INCOME
W
wdenk 已提交
6746
# endif
M
Marek Vasut 已提交
6747
# define machine_is_income()	(machine_arch_type == MACH_TYPE_INCOME)
W
wdenk 已提交
6748
#else
M
Marek Vasut 已提交
6749
# define machine_is_income()	(0)
W
wdenk 已提交
6750 6751
#endif

M
Marek Vasut 已提交
6752
#ifdef CONFIG_MACH_BCM589X
W
wdenk 已提交
6753 6754 6755 6756
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6757
#  define machine_arch_type	MACH_TYPE_BCM589X
W
wdenk 已提交
6758
# endif
M
Marek Vasut 已提交
6759
# define machine_is_bcm589x()	(machine_arch_type == MACH_TYPE_BCM589X)
W
wdenk 已提交
6760
#else
M
Marek Vasut 已提交
6761
# define machine_is_bcm589x()	(0)
W
wdenk 已提交
6762 6763
#endif

M
Marek Vasut 已提交
6764
#ifdef CONFIG_MACH_ETNA
W
wdenk 已提交
6765 6766 6767 6768
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6769
#  define machine_arch_type	MACH_TYPE_ETNA
W
wdenk 已提交
6770
# endif
M
Marek Vasut 已提交
6771
# define machine_is_etna()	(machine_arch_type == MACH_TYPE_ETNA)
W
wdenk 已提交
6772
#else
M
Marek Vasut 已提交
6773
# define machine_is_etna()	(0)
W
wdenk 已提交
6774 6775
#endif

M
Marek Vasut 已提交
6776
#ifdef CONFIG_MACH_HAWKS
W
wdenk 已提交
6777 6778 6779 6780
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6781
#  define machine_arch_type	MACH_TYPE_HAWKS
W
wdenk 已提交
6782
# endif
M
Marek Vasut 已提交
6783
# define machine_is_hawks()	(machine_arch_type == MACH_TYPE_HAWKS)
W
wdenk 已提交
6784
#else
M
Marek Vasut 已提交
6785
# define machine_is_hawks()	(0)
W
wdenk 已提交
6786 6787
#endif

M
Marek Vasut 已提交
6788
#ifdef CONFIG_MACH_MESON
W
wdenk 已提交
6789 6790 6791 6792
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6793
#  define machine_arch_type	MACH_TYPE_MESON
W
wdenk 已提交
6794
# endif
M
Marek Vasut 已提交
6795
# define machine_is_meson()	(machine_arch_type == MACH_TYPE_MESON)
W
wdenk 已提交
6796
#else
M
Marek Vasut 已提交
6797
# define machine_is_meson()	(0)
W
wdenk 已提交
6798 6799
#endif

M
Marek Vasut 已提交
6800
#ifdef CONFIG_MACH_XSBASE255
W
wdenk 已提交
6801 6802 6803 6804
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6805
#  define machine_arch_type	MACH_TYPE_XSBASE255
W
wdenk 已提交
6806
# endif
M
Marek Vasut 已提交
6807
# define machine_is_xsbase255()	(machine_arch_type == MACH_TYPE_XSBASE255)
W
wdenk 已提交
6808
#else
M
Marek Vasut 已提交
6809
# define machine_is_xsbase255()	(0)
W
wdenk 已提交
6810 6811
#endif

M
Marek Vasut 已提交
6812
#ifdef CONFIG_MACH_PVM2030
W
wdenk 已提交
6813 6814 6815 6816
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6817
#  define machine_arch_type	MACH_TYPE_PVM2030
W
wdenk 已提交
6818
# endif
M
Marek Vasut 已提交
6819
# define machine_is_pvm2030()	(machine_arch_type == MACH_TYPE_PVM2030)
W
wdenk 已提交
6820
#else
M
Marek Vasut 已提交
6821
# define machine_is_pvm2030()	(0)
W
wdenk 已提交
6822 6823
#endif

M
Marek Vasut 已提交
6824
#ifdef CONFIG_MACH_MIOA502
W
wdenk 已提交
6825 6826 6827 6828
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6829
#  define machine_arch_type	MACH_TYPE_MIOA502
W
wdenk 已提交
6830
# endif
M
Marek Vasut 已提交
6831
# define machine_is_mioa502()	(machine_arch_type == MACH_TYPE_MIOA502)
W
wdenk 已提交
6832
#else
M
Marek Vasut 已提交
6833
# define machine_is_mioa502()	(0)
W
wdenk 已提交
6834 6835
#endif

M
Marek Vasut 已提交
6836
#ifdef CONFIG_MACH_VVBOX_SDORIG2
W
wdenk 已提交
6837 6838 6839 6840
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6841
#  define machine_arch_type	MACH_TYPE_VVBOX_SDORIG2
W
wdenk 已提交
6842
# endif
M
Marek Vasut 已提交
6843
# define machine_is_vvbox_sdorig2()	(machine_arch_type == MACH_TYPE_VVBOX_SDORIG2)
W
wdenk 已提交
6844
#else
M
Marek Vasut 已提交
6845
# define machine_is_vvbox_sdorig2()	(0)
W
wdenk 已提交
6846 6847
#endif

M
Marek Vasut 已提交
6848
#ifdef CONFIG_MACH_VVBOX_SDLITE2
W
wdenk 已提交
6849 6850 6851 6852
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6853
#  define machine_arch_type	MACH_TYPE_VVBOX_SDLITE2
W
wdenk 已提交
6854
# endif
M
Marek Vasut 已提交
6855
# define machine_is_vvbox_sdlite2()	(machine_arch_type == MACH_TYPE_VVBOX_SDLITE2)
W
wdenk 已提交
6856
#else
M
Marek Vasut 已提交
6857
# define machine_is_vvbox_sdlite2()	(0)
W
wdenk 已提交
6858 6859
#endif

M
Marek Vasut 已提交
6860
#ifdef CONFIG_MACH_VVBOX_SDPRO4
W
wdenk 已提交
6861 6862 6863 6864
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6865
#  define machine_arch_type	MACH_TYPE_VVBOX_SDPRO4
W
wdenk 已提交
6866
# endif
M
Marek Vasut 已提交
6867
# define machine_is_vvbox_sdpro4()	(machine_arch_type == MACH_TYPE_VVBOX_SDPRO4)
W
wdenk 已提交
6868
#else
M
Marek Vasut 已提交
6869
# define machine_is_vvbox_sdpro4()	(0)
W
wdenk 已提交
6870 6871
#endif

M
Marek Vasut 已提交
6872
#ifdef CONFIG_MACH_HTC_SPV_M700
W
wdenk 已提交
6873 6874 6875 6876
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6877
#  define machine_arch_type	MACH_TYPE_HTC_SPV_M700
W
wdenk 已提交
6878
# endif
M
Marek Vasut 已提交
6879
# define machine_is_htc_spv_m700()	(machine_arch_type == MACH_TYPE_HTC_SPV_M700)
W
wdenk 已提交
6880
#else
M
Marek Vasut 已提交
6881
# define machine_is_htc_spv_m700()	(0)
W
wdenk 已提交
6882 6883
#endif

M
Marek Vasut 已提交
6884
#ifdef CONFIG_MACH_MX257SX
W
wdenk 已提交
6885 6886 6887 6888
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6889
#  define machine_arch_type	MACH_TYPE_MX257SX
W
wdenk 已提交
6890
# endif
M
Marek Vasut 已提交
6891
# define machine_is_mx257sx()	(machine_arch_type == MACH_TYPE_MX257SX)
W
wdenk 已提交
6892
#else
M
Marek Vasut 已提交
6893
# define machine_is_mx257sx()	(0)
W
wdenk 已提交
6894 6895
#endif

M
Marek Vasut 已提交
6896
#ifdef CONFIG_MACH_GONI
W
wdenk 已提交
6897 6898 6899 6900
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6901
#  define machine_arch_type	MACH_TYPE_GONI
W
wdenk 已提交
6902
# endif
M
Marek Vasut 已提交
6903
# define machine_is_goni()	(machine_arch_type == MACH_TYPE_GONI)
W
wdenk 已提交
6904
#else
M
Marek Vasut 已提交
6905
# define machine_is_goni()	(0)
W
wdenk 已提交
6906 6907
#endif

M
Marek Vasut 已提交
6908
#ifdef CONFIG_MACH_MSM8X55_SVLTE_FFA
W
wdenk 已提交
6909 6910 6911 6912
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6913
#  define machine_arch_type	MACH_TYPE_MSM8X55_SVLTE_FFA
W
wdenk 已提交
6914
# endif
M
Marek Vasut 已提交
6915
# define machine_is_msm8x55_svlte_ffa()	(machine_arch_type == MACH_TYPE_MSM8X55_SVLTE_FFA)
W
wdenk 已提交
6916
#else
M
Marek Vasut 已提交
6917
# define machine_is_msm8x55_svlte_ffa()	(0)
W
wdenk 已提交
6918 6919
#endif

M
Marek Vasut 已提交
6920
#ifdef CONFIG_MACH_MSM8X55_SVLTE_SURF
W
wdenk 已提交
6921 6922 6923 6924
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6925
#  define machine_arch_type	MACH_TYPE_MSM8X55_SVLTE_SURF
W
wdenk 已提交
6926
# endif
M
Marek Vasut 已提交
6927
# define machine_is_msm8x55_svlte_surf()	(machine_arch_type == MACH_TYPE_MSM8X55_SVLTE_SURF)
W
wdenk 已提交
6928
#else
M
Marek Vasut 已提交
6929
# define machine_is_msm8x55_svlte_surf()	(0)
W
wdenk 已提交
6930 6931
#endif

M
Marek Vasut 已提交
6932
#ifdef CONFIG_MACH_QUICKSTEP
W
wdenk 已提交
6933 6934 6935 6936
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6937
#  define machine_arch_type	MACH_TYPE_QUICKSTEP
W
wdenk 已提交
6938
# endif
M
Marek Vasut 已提交
6939
# define machine_is_quickstep()	(machine_arch_type == MACH_TYPE_QUICKSTEP)
W
wdenk 已提交
6940
#else
M
Marek Vasut 已提交
6941
# define machine_is_quickstep()	(0)
W
wdenk 已提交
6942 6943
#endif

M
Marek Vasut 已提交
6944
#ifdef CONFIG_MACH_DMW96
W
wdenk 已提交
6945 6946 6947 6948
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6949
#  define machine_arch_type	MACH_TYPE_DMW96
W
wdenk 已提交
6950
# endif
M
Marek Vasut 已提交
6951
# define machine_is_dmw96()	(machine_arch_type == MACH_TYPE_DMW96)
W
wdenk 已提交
6952
#else
M
Marek Vasut 已提交
6953
# define machine_is_dmw96()	(0)
W
wdenk 已提交
6954 6955
#endif

M
Marek Vasut 已提交
6956
#ifdef CONFIG_MACH_HAMMERHEAD
W
wdenk 已提交
6957 6958 6959 6960
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6961
#  define machine_arch_type	MACH_TYPE_HAMMERHEAD
W
wdenk 已提交
6962
# endif
M
Marek Vasut 已提交
6963
# define machine_is_hammerhead()	(machine_arch_type == MACH_TYPE_HAMMERHEAD)
W
wdenk 已提交
6964
#else
M
Marek Vasut 已提交
6965
# define machine_is_hammerhead()	(0)
W
wdenk 已提交
6966 6967
#endif

M
Marek Vasut 已提交
6968
#ifdef CONFIG_MACH_TRIDENT
W
wdenk 已提交
6969 6970 6971 6972
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6973
#  define machine_arch_type	MACH_TYPE_TRIDENT
W
wdenk 已提交
6974
# endif
M
Marek Vasut 已提交
6975
# define machine_is_trident()	(machine_arch_type == MACH_TYPE_TRIDENT)
W
wdenk 已提交
6976
#else
M
Marek Vasut 已提交
6977
# define machine_is_trident()	(0)
W
wdenk 已提交
6978 6979
#endif

M
Marek Vasut 已提交
6980
#ifdef CONFIG_MACH_LIGHTNING
W
wdenk 已提交
6981 6982 6983 6984
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6985
#  define machine_arch_type	MACH_TYPE_LIGHTNING
W
wdenk 已提交
6986
# endif
M
Marek Vasut 已提交
6987
# define machine_is_lightning()	(machine_arch_type == MACH_TYPE_LIGHTNING)
W
wdenk 已提交
6988
#else
M
Marek Vasut 已提交
6989
# define machine_is_lightning()	(0)
W
wdenk 已提交
6990 6991
#endif

M
Marek Vasut 已提交
6992
#ifdef CONFIG_MACH_ICONNECT
W
wdenk 已提交
6993 6994 6995 6996
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
6997
#  define machine_arch_type	MACH_TYPE_ICONNECT
W
wdenk 已提交
6998
# endif
M
Marek Vasut 已提交
6999
# define machine_is_iconnect()	(machine_arch_type == MACH_TYPE_ICONNECT)
W
wdenk 已提交
7000
#else
M
Marek Vasut 已提交
7001
# define machine_is_iconnect()	(0)
W
wdenk 已提交
7002 7003
#endif

M
Marek Vasut 已提交
7004
#ifdef CONFIG_MACH_AUTOBOT
W
wdenk 已提交
7005 7006 7007 7008
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7009
#  define machine_arch_type	MACH_TYPE_AUTOBOT
W
wdenk 已提交
7010
# endif
M
Marek Vasut 已提交
7011
# define machine_is_autobot()	(machine_arch_type == MACH_TYPE_AUTOBOT)
W
wdenk 已提交
7012
#else
M
Marek Vasut 已提交
7013
# define machine_is_autobot()	(0)
W
wdenk 已提交
7014 7015
#endif

M
Marek Vasut 已提交
7016
#ifdef CONFIG_MACH_COCONUT
W
wdenk 已提交
7017 7018 7019 7020
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7021
#  define machine_arch_type	MACH_TYPE_COCONUT
W
wdenk 已提交
7022
# endif
M
Marek Vasut 已提交
7023
# define machine_is_coconut()	(machine_arch_type == MACH_TYPE_COCONUT)
W
wdenk 已提交
7024
#else
M
Marek Vasut 已提交
7025
# define machine_is_coconut()	(0)
W
wdenk 已提交
7026 7027
#endif

M
Marek Vasut 已提交
7028
#ifdef CONFIG_MACH_DURIAN
W
wdenk 已提交
7029 7030 7031 7032
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7033
#  define machine_arch_type	MACH_TYPE_DURIAN
W
wdenk 已提交
7034
# endif
M
Marek Vasut 已提交
7035
# define machine_is_durian()	(machine_arch_type == MACH_TYPE_DURIAN)
W
wdenk 已提交
7036
#else
M
Marek Vasut 已提交
7037
# define machine_is_durian()	(0)
W
wdenk 已提交
7038 7039
#endif

M
Marek Vasut 已提交
7040
#ifdef CONFIG_MACH_CAYENNE
W
wdenk 已提交
7041 7042 7043 7044
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7045
#  define machine_arch_type	MACH_TYPE_CAYENNE
W
wdenk 已提交
7046
# endif
M
Marek Vasut 已提交
7047
# define machine_is_cayenne()	(machine_arch_type == MACH_TYPE_CAYENNE)
W
wdenk 已提交
7048
#else
M
Marek Vasut 已提交
7049
# define machine_is_cayenne()	(0)
W
wdenk 已提交
7050 7051
#endif

M
Marek Vasut 已提交
7052
#ifdef CONFIG_MACH_FUJI
W
wdenk 已提交
7053 7054 7055 7056
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7057
#  define machine_arch_type	MACH_TYPE_FUJI
W
wdenk 已提交
7058
# endif
M
Marek Vasut 已提交
7059
# define machine_is_fuji()	(machine_arch_type == MACH_TYPE_FUJI)
W
wdenk 已提交
7060
#else
M
Marek Vasut 已提交
7061
# define machine_is_fuji()	(0)
W
wdenk 已提交
7062 7063
#endif

M
Marek Vasut 已提交
7064
#ifdef CONFIG_MACH_SYNOLOGY_6282
W
wdenk 已提交
7065 7066 7067 7068
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7069
#  define machine_arch_type	MACH_TYPE_SYNOLOGY_6282
W
wdenk 已提交
7070
# endif
M
Marek Vasut 已提交
7071
# define machine_is_synology_6282()	(machine_arch_type == MACH_TYPE_SYNOLOGY_6282)
W
wdenk 已提交
7072
#else
M
Marek Vasut 已提交
7073
# define machine_is_synology_6282()	(0)
W
wdenk 已提交
7074 7075
#endif

M
Marek Vasut 已提交
7076
#ifdef CONFIG_MACH_EM1SY
W
wdenk 已提交
7077 7078 7079 7080
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7081
#  define machine_arch_type	MACH_TYPE_EM1SY
W
wdenk 已提交
7082
# endif
M
Marek Vasut 已提交
7083
# define machine_is_em1sy()	(machine_arch_type == MACH_TYPE_EM1SY)
W
wdenk 已提交
7084
#else
M
Marek Vasut 已提交
7085
# define machine_is_em1sy()	(0)
W
wdenk 已提交
7086 7087
#endif

M
Marek Vasut 已提交
7088
#ifdef CONFIG_MACH_M502
W
wdenk 已提交
7089 7090 7091 7092
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7093
#  define machine_arch_type	MACH_TYPE_M502
W
wdenk 已提交
7094
# endif
M
Marek Vasut 已提交
7095
# define machine_is_m502()	(machine_arch_type == MACH_TYPE_M502)
W
wdenk 已提交
7096
#else
M
Marek Vasut 已提交
7097
# define machine_is_m502()	(0)
W
wdenk 已提交
7098 7099
#endif

M
Marek Vasut 已提交
7100
#ifdef CONFIG_MACH_MATRIX518
W
wdenk 已提交
7101 7102 7103 7104
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7105
#  define machine_arch_type	MACH_TYPE_MATRIX518
W
wdenk 已提交
7106
# endif
M
Marek Vasut 已提交
7107
# define machine_is_matrix518()	(machine_arch_type == MACH_TYPE_MATRIX518)
W
wdenk 已提交
7108
#else
M
Marek Vasut 已提交
7109
# define machine_is_matrix518()	(0)
W
wdenk 已提交
7110 7111
#endif

M
Marek Vasut 已提交
7112
#ifdef CONFIG_MACH_TINY_GURNARD
W
wdenk 已提交
7113 7114 7115 7116
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7117
#  define machine_arch_type	MACH_TYPE_TINY_GURNARD
W
wdenk 已提交
7118
# endif
M
Marek Vasut 已提交
7119
# define machine_is_tiny_gurnard()	(machine_arch_type == MACH_TYPE_TINY_GURNARD)
W
wdenk 已提交
7120
#else
M
Marek Vasut 已提交
7121
# define machine_is_tiny_gurnard()	(0)
W
wdenk 已提交
7122 7123
#endif

M
Marek Vasut 已提交
7124
#ifdef CONFIG_MACH_SPEAR1310
W
wdenk 已提交
7125 7126 7127 7128
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7129
#  define machine_arch_type	MACH_TYPE_SPEAR1310
W
wdenk 已提交
7130
# endif
M
Marek Vasut 已提交
7131
# define machine_is_spear1310()	(machine_arch_type == MACH_TYPE_SPEAR1310)
W
wdenk 已提交
7132
#else
M
Marek Vasut 已提交
7133
# define machine_is_spear1310()	(0)
W
wdenk 已提交
7134 7135
#endif

M
Marek Vasut 已提交
7136
#ifdef CONFIG_MACH_BV07
W
wdenk 已提交
7137 7138 7139 7140
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7141
#  define machine_arch_type	MACH_TYPE_BV07
W
wdenk 已提交
7142
# endif
M
Marek Vasut 已提交
7143
# define machine_is_bv07()	(machine_arch_type == MACH_TYPE_BV07)
W
wdenk 已提交
7144
#else
M
Marek Vasut 已提交
7145
# define machine_is_bv07()	(0)
W
wdenk 已提交
7146 7147
#endif

M
Marek Vasut 已提交
7148
#ifdef CONFIG_MACH_MXT_TD61
W
wdenk 已提交
7149 7150 7151 7152
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7153
#  define machine_arch_type	MACH_TYPE_MXT_TD61
W
wdenk 已提交
7154
# endif
M
Marek Vasut 已提交
7155
# define machine_is_mxt_td61()	(machine_arch_type == MACH_TYPE_MXT_TD61)
W
wdenk 已提交
7156
#else
M
Marek Vasut 已提交
7157
# define machine_is_mxt_td61()	(0)
W
wdenk 已提交
7158 7159
#endif

M
Marek Vasut 已提交
7160
#ifdef CONFIG_MACH_OPENRD_ULTIMATE
W
wdenk 已提交
7161 7162 7163 7164
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7165
#  define machine_arch_type	MACH_TYPE_OPENRD_ULTIMATE
W
wdenk 已提交
7166
# endif
M
Marek Vasut 已提交
7167
# define machine_is_openrd_ultimate()	(machine_arch_type == MACH_TYPE_OPENRD_ULTIMATE)
W
wdenk 已提交
7168
#else
M
Marek Vasut 已提交
7169
# define machine_is_openrd_ultimate()	(0)
W
wdenk 已提交
7170 7171
#endif

M
Marek Vasut 已提交
7172
#ifdef CONFIG_MACH_DEVIXP
W
wdenk 已提交
7173 7174 7175 7176
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7177
#  define machine_arch_type	MACH_TYPE_DEVIXP
W
wdenk 已提交
7178
# endif
M
Marek Vasut 已提交
7179
# define machine_is_devixp()	(machine_arch_type == MACH_TYPE_DEVIXP)
W
wdenk 已提交
7180
#else
M
Marek Vasut 已提交
7181
# define machine_is_devixp()	(0)
W
wdenk 已提交
7182 7183
#endif

M
Marek Vasut 已提交
7184
#ifdef CONFIG_MACH_MICCPT
W
wdenk 已提交
7185 7186 7187 7188
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7189
#  define machine_arch_type	MACH_TYPE_MICCPT
W
wdenk 已提交
7190
# endif
M
Marek Vasut 已提交
7191
# define machine_is_miccpt()	(machine_arch_type == MACH_TYPE_MICCPT)
W
wdenk 已提交
7192
#else
M
Marek Vasut 已提交
7193
# define machine_is_miccpt()	(0)
W
wdenk 已提交
7194 7195
#endif

M
Marek Vasut 已提交
7196
#ifdef CONFIG_MACH_MIC256
W
wdenk 已提交
7197 7198 7199 7200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7201
#  define machine_arch_type	MACH_TYPE_MIC256
W
wdenk 已提交
7202
# endif
M
Marek Vasut 已提交
7203
# define machine_is_mic256()	(machine_arch_type == MACH_TYPE_MIC256)
W
wdenk 已提交
7204
#else
M
Marek Vasut 已提交
7205
# define machine_is_mic256()	(0)
W
wdenk 已提交
7206 7207
#endif

M
Marek Vasut 已提交
7208
#ifdef CONFIG_MACH_AS1167
W
wdenk 已提交
7209 7210 7211 7212
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7213
#  define machine_arch_type	MACH_TYPE_AS1167
W
wdenk 已提交
7214
# endif
M
Marek Vasut 已提交
7215
# define machine_is_as1167()	(machine_arch_type == MACH_TYPE_AS1167)
W
wdenk 已提交
7216
#else
M
Marek Vasut 已提交
7217
# define machine_is_as1167()	(0)
W
wdenk 已提交
7218 7219
#endif

M
Marek Vasut 已提交
7220
#ifdef CONFIG_MACH_OMAP3_IBIZA
W
wdenk 已提交
7221 7222 7223 7224
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7225
#  define machine_arch_type	MACH_TYPE_OMAP3_IBIZA
W
wdenk 已提交
7226
# endif
M
Marek Vasut 已提交
7227
# define machine_is_omap3_ibiza()	(machine_arch_type == MACH_TYPE_OMAP3_IBIZA)
W
wdenk 已提交
7228
#else
M
Marek Vasut 已提交
7229
# define machine_is_omap3_ibiza()	(0)
W
wdenk 已提交
7230 7231
#endif

M
Marek Vasut 已提交
7232
#ifdef CONFIG_MACH_U5500
W
wdenk 已提交
7233 7234 7235 7236
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7237
#  define machine_arch_type	MACH_TYPE_U5500
W
wdenk 已提交
7238
# endif
M
Marek Vasut 已提交
7239
# define machine_is_u5500()	(machine_arch_type == MACH_TYPE_U5500)
W
wdenk 已提交
7240
#else
M
Marek Vasut 已提交
7241
# define machine_is_u5500()	(0)
W
wdenk 已提交
7242 7243
#endif

M
Marek Vasut 已提交
7244
#ifdef CONFIG_MACH_DAVINCI_PICTO
W
wdenk 已提交
7245 7246 7247 7248
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7249
#  define machine_arch_type	MACH_TYPE_DAVINCI_PICTO
W
wdenk 已提交
7250
# endif
M
Marek Vasut 已提交
7251
# define machine_is_davinci_picto()	(machine_arch_type == MACH_TYPE_DAVINCI_PICTO)
W
wdenk 已提交
7252
#else
M
Marek Vasut 已提交
7253
# define machine_is_davinci_picto()	(0)
W
wdenk 已提交
7254 7255
#endif

M
Marek Vasut 已提交
7256
#ifdef CONFIG_MACH_MECHA
W
wdenk 已提交
7257 7258 7259 7260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7261
#  define machine_arch_type	MACH_TYPE_MECHA
W
wdenk 已提交
7262
# endif
M
Marek Vasut 已提交
7263
# define machine_is_mecha()	(machine_arch_type == MACH_TYPE_MECHA)
W
wdenk 已提交
7264
#else
M
Marek Vasut 已提交
7265
# define machine_is_mecha()	(0)
W
wdenk 已提交
7266 7267
#endif

M
Marek Vasut 已提交
7268
#ifdef CONFIG_MACH_BUBBA3
W
wdenk 已提交
7269 7270 7271 7272
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7273
#  define machine_arch_type	MACH_TYPE_BUBBA3
W
wdenk 已提交
7274
# endif
M
Marek Vasut 已提交
7275
# define machine_is_bubba3()	(machine_arch_type == MACH_TYPE_BUBBA3)
W
wdenk 已提交
7276
#else
M
Marek Vasut 已提交
7277
# define machine_is_bubba3()	(0)
W
wdenk 已提交
7278 7279
#endif

M
Marek Vasut 已提交
7280
#ifdef CONFIG_MACH_PUPITRE
W
wdenk 已提交
7281 7282 7283 7284
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7285
#  define machine_arch_type	MACH_TYPE_PUPITRE
W
wdenk 已提交
7286
# endif
M
Marek Vasut 已提交
7287
# define machine_is_pupitre()	(machine_arch_type == MACH_TYPE_PUPITRE)
W
wdenk 已提交
7288
#else
M
Marek Vasut 已提交
7289
# define machine_is_pupitre()	(0)
W
wdenk 已提交
7290 7291
#endif

M
Marek Vasut 已提交
7292
#ifdef CONFIG_MACH_TEGRA_VOGUE
W
wdenk 已提交
7293 7294 7295 7296
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7297
#  define machine_arch_type	MACH_TYPE_TEGRA_VOGUE
W
wdenk 已提交
7298
# endif
M
Marek Vasut 已提交
7299
# define machine_is_tegra_vogue()	(machine_arch_type == MACH_TYPE_TEGRA_VOGUE)
W
wdenk 已提交
7300
#else
M
Marek Vasut 已提交
7301
# define machine_is_tegra_vogue()	(0)
W
wdenk 已提交
7302 7303
#endif

M
Marek Vasut 已提交
7304
#ifdef CONFIG_MACH_TEGRA_E1165
W
wdenk 已提交
7305 7306 7307 7308
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7309
#  define machine_arch_type	MACH_TYPE_TEGRA_E1165
W
wdenk 已提交
7310
# endif
M
Marek Vasut 已提交
7311
# define machine_is_tegra_e1165()	(machine_arch_type == MACH_TYPE_TEGRA_E1165)
W
wdenk 已提交
7312
#else
M
Marek Vasut 已提交
7313
# define machine_is_tegra_e1165()	(0)
W
wdenk 已提交
7314 7315
#endif

M
Marek Vasut 已提交
7316
#ifdef CONFIG_MACH_SIMPLENET
W
wdenk 已提交
7317 7318 7319 7320
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7321
#  define machine_arch_type	MACH_TYPE_SIMPLENET
W
wdenk 已提交
7322
# endif
M
Marek Vasut 已提交
7323
# define machine_is_simplenet()	(machine_arch_type == MACH_TYPE_SIMPLENET)
W
wdenk 已提交
7324
#else
M
Marek Vasut 已提交
7325
# define machine_is_simplenet()	(0)
W
wdenk 已提交
7326 7327
#endif

M
Marek Vasut 已提交
7328
#ifdef CONFIG_MACH_EC4350TBM
W
wdenk 已提交
7329 7330 7331 7332
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7333
#  define machine_arch_type	MACH_TYPE_EC4350TBM
W
wdenk 已提交
7334
# endif
M
Marek Vasut 已提交
7335
# define machine_is_ec4350tbm()	(machine_arch_type == MACH_TYPE_EC4350TBM)
W
wdenk 已提交
7336
#else
M
Marek Vasut 已提交
7337
# define machine_is_ec4350tbm()	(0)
W
wdenk 已提交
7338 7339
#endif

M
Marek Vasut 已提交
7340
#ifdef CONFIG_MACH_PEC_TC
W
wdenk 已提交
7341 7342 7343 7344
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7345
#  define machine_arch_type	MACH_TYPE_PEC_TC
W
wdenk 已提交
7346
# endif
M
Marek Vasut 已提交
7347
# define machine_is_pec_tc()	(machine_arch_type == MACH_TYPE_PEC_TC)
W
wdenk 已提交
7348
#else
M
Marek Vasut 已提交
7349
# define machine_is_pec_tc()	(0)
W
wdenk 已提交
7350 7351
#endif

M
Marek Vasut 已提交
7352
#ifdef CONFIG_MACH_PEC_HC2
W
wdenk 已提交
7353 7354 7355 7356
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7357
#  define machine_arch_type	MACH_TYPE_PEC_HC2
W
wdenk 已提交
7358
# endif
M
Marek Vasut 已提交
7359
# define machine_is_pec_hc2()	(machine_arch_type == MACH_TYPE_PEC_HC2)
W
wdenk 已提交
7360
#else
M
Marek Vasut 已提交
7361
# define machine_is_pec_hc2()	(0)
W
wdenk 已提交
7362 7363
#endif

M
Marek Vasut 已提交
7364
#ifdef CONFIG_MACH_ESL_MOBILIS_A
W
wdenk 已提交
7365 7366 7367 7368
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7369
#  define machine_arch_type	MACH_TYPE_ESL_MOBILIS_A
W
wdenk 已提交
7370
# endif
M
Marek Vasut 已提交
7371
# define machine_is_esl_mobilis_a()	(machine_arch_type == MACH_TYPE_ESL_MOBILIS_A)
W
wdenk 已提交
7372
#else
M
Marek Vasut 已提交
7373
# define machine_is_esl_mobilis_a()	(0)
W
wdenk 已提交
7374 7375
#endif

M
Marek Vasut 已提交
7376
#ifdef CONFIG_MACH_ESL_MOBILIS_B
W
wdenk 已提交
7377 7378 7379 7380
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7381
#  define machine_arch_type	MACH_TYPE_ESL_MOBILIS_B
W
wdenk 已提交
7382
# endif
M
Marek Vasut 已提交
7383
# define machine_is_esl_mobilis_b()	(machine_arch_type == MACH_TYPE_ESL_MOBILIS_B)
W
wdenk 已提交
7384
#else
M
Marek Vasut 已提交
7385
# define machine_is_esl_mobilis_b()	(0)
W
wdenk 已提交
7386 7387
#endif

M
Marek Vasut 已提交
7388
#ifdef CONFIG_MACH_ESL_WAVE_A
W
wdenk 已提交
7389 7390 7391 7392
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7393
#  define machine_arch_type	MACH_TYPE_ESL_WAVE_A
W
wdenk 已提交
7394
# endif
M
Marek Vasut 已提交
7395
# define machine_is_esl_wave_a()	(machine_arch_type == MACH_TYPE_ESL_WAVE_A)
W
wdenk 已提交
7396
#else
M
Marek Vasut 已提交
7397
# define machine_is_esl_wave_a()	(0)
W
wdenk 已提交
7398 7399
#endif

M
Marek Vasut 已提交
7400
#ifdef CONFIG_MACH_ESL_WAVE_B
W
wdenk 已提交
7401 7402 7403 7404
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7405
#  define machine_arch_type	MACH_TYPE_ESL_WAVE_B
W
wdenk 已提交
7406
# endif
M
Marek Vasut 已提交
7407
# define machine_is_esl_wave_b()	(machine_arch_type == MACH_TYPE_ESL_WAVE_B)
W
wdenk 已提交
7408
#else
M
Marek Vasut 已提交
7409
# define machine_is_esl_wave_b()	(0)
W
wdenk 已提交
7410 7411
#endif

M
Marek Vasut 已提交
7412
#ifdef CONFIG_MACH_UNISENSE_MMM
W
wdenk 已提交
7413 7414 7415 7416
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7417
#  define machine_arch_type	MACH_TYPE_UNISENSE_MMM
W
wdenk 已提交
7418
# endif
M
Marek Vasut 已提交
7419
# define machine_is_unisense_mmm()	(machine_arch_type == MACH_TYPE_UNISENSE_MMM)
W
wdenk 已提交
7420
#else
M
Marek Vasut 已提交
7421
# define machine_is_unisense_mmm()	(0)
W
wdenk 已提交
7422 7423
#endif

M
Marek Vasut 已提交
7424
#ifdef CONFIG_MACH_BLUESHARK
W
wdenk 已提交
7425 7426 7427 7428
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7429
#  define machine_arch_type	MACH_TYPE_BLUESHARK
W
wdenk 已提交
7430
# endif
M
Marek Vasut 已提交
7431
# define machine_is_blueshark()	(machine_arch_type == MACH_TYPE_BLUESHARK)
W
wdenk 已提交
7432
#else
M
Marek Vasut 已提交
7433
# define machine_is_blueshark()	(0)
W
wdenk 已提交
7434 7435
#endif

M
Marek Vasut 已提交
7436
#ifdef CONFIG_MACH_E10
W
wdenk 已提交
7437 7438 7439 7440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7441
#  define machine_arch_type	MACH_TYPE_E10
W
wdenk 已提交
7442
# endif
M
Marek Vasut 已提交
7443
# define machine_is_e10()	(machine_arch_type == MACH_TYPE_E10)
W
wdenk 已提交
7444
#else
M
Marek Vasut 已提交
7445
# define machine_is_e10()	(0)
W
wdenk 已提交
7446 7447
#endif

M
Marek Vasut 已提交
7448
#ifdef CONFIG_MACH_APP3K_ROBIN
W
wdenk 已提交
7449 7450 7451 7452
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7453
#  define machine_arch_type	MACH_TYPE_APP3K_ROBIN
W
wdenk 已提交
7454
# endif
M
Marek Vasut 已提交
7455
# define machine_is_app3k_robin()	(machine_arch_type == MACH_TYPE_APP3K_ROBIN)
W
wdenk 已提交
7456
#else
M
Marek Vasut 已提交
7457
# define machine_is_app3k_robin()	(0)
W
wdenk 已提交
7458 7459
#endif

M
Marek Vasut 已提交
7460
#ifdef CONFIG_MACH_POV15HD
W
wdenk 已提交
7461 7462 7463 7464
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7465
#  define machine_arch_type	MACH_TYPE_POV15HD
W
wdenk 已提交
7466
# endif
M
Marek Vasut 已提交
7467
# define machine_is_pov15hd()	(machine_arch_type == MACH_TYPE_POV15HD)
W
wdenk 已提交
7468
#else
M
Marek Vasut 已提交
7469
# define machine_is_pov15hd()	(0)
W
wdenk 已提交
7470 7471
#endif

M
Marek Vasut 已提交
7472
#ifdef CONFIG_MACH_STELLA
W
wdenk 已提交
7473 7474 7475 7476
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7477
#  define machine_arch_type	MACH_TYPE_STELLA
W
wdenk 已提交
7478
# endif
M
Marek Vasut 已提交
7479
# define machine_is_stella()	(machine_arch_type == MACH_TYPE_STELLA)
W
wdenk 已提交
7480
#else
M
Marek Vasut 已提交
7481
# define machine_is_stella()	(0)
W
wdenk 已提交
7482 7483
#endif

M
Marek Vasut 已提交
7484
#ifdef CONFIG_MACH_LINKSTATION_LSCHL
W
wdenk 已提交
7485 7486 7487 7488
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7489
#  define machine_arch_type	MACH_TYPE_LINKSTATION_LSCHL
W
wdenk 已提交
7490
# endif
M
Marek Vasut 已提交
7491
# define machine_is_linkstation_lschl()	(machine_arch_type == MACH_TYPE_LINKSTATION_LSCHL)
W
wdenk 已提交
7492
#else
M
Marek Vasut 已提交
7493
# define machine_is_linkstation_lschl()	(0)
W
wdenk 已提交
7494 7495
#endif

M
Marek Vasut 已提交
7496
#ifdef CONFIG_MACH_NETWALKER
W
wdenk 已提交
7497 7498 7499 7500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7501
#  define machine_arch_type	MACH_TYPE_NETWALKER
W
wdenk 已提交
7502
# endif
M
Marek Vasut 已提交
7503
# define machine_is_netwalker()	(machine_arch_type == MACH_TYPE_NETWALKER)
W
wdenk 已提交
7504
#else
M
Marek Vasut 已提交
7505
# define machine_is_netwalker()	(0)
W
wdenk 已提交
7506 7507
#endif

M
Marek Vasut 已提交
7508
#ifdef CONFIG_MACH_ACSX106
W
wdenk 已提交
7509 7510 7511 7512
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7513
#  define machine_arch_type	MACH_TYPE_ACSX106
W
wdenk 已提交
7514
# endif
M
Marek Vasut 已提交
7515
# define machine_is_acsx106()	(machine_arch_type == MACH_TYPE_ACSX106)
W
wdenk 已提交
7516
#else
M
Marek Vasut 已提交
7517
# define machine_is_acsx106()	(0)
W
wdenk 已提交
7518 7519
#endif

M
Marek Vasut 已提交
7520
#ifdef CONFIG_MACH_ATLAS5_C1
W
wdenk 已提交
7521 7522 7523 7524
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7525
#  define machine_arch_type	MACH_TYPE_ATLAS5_C1
W
wdenk 已提交
7526
# endif
M
Marek Vasut 已提交
7527
# define machine_is_atlas5_c1()	(machine_arch_type == MACH_TYPE_ATLAS5_C1)
W
wdenk 已提交
7528
#else
M
Marek Vasut 已提交
7529
# define machine_is_atlas5_c1()	(0)
W
wdenk 已提交
7530 7531
#endif

M
Marek Vasut 已提交
7532
#ifdef CONFIG_MACH_NSB3AST
W
wdenk 已提交
7533 7534 7535 7536
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7537
#  define machine_arch_type	MACH_TYPE_NSB3AST
W
wdenk 已提交
7538
# endif
M
Marek Vasut 已提交
7539
# define machine_is_nsb3ast()	(machine_arch_type == MACH_TYPE_NSB3AST)
W
wdenk 已提交
7540
#else
M
Marek Vasut 已提交
7541
# define machine_is_nsb3ast()	(0)
W
wdenk 已提交
7542 7543
#endif

M
Marek Vasut 已提交
7544
#ifdef CONFIG_MACH_GNET_SLC
W
wdenk 已提交
7545 7546 7547 7548
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7549
#  define machine_arch_type	MACH_TYPE_GNET_SLC
W
wdenk 已提交
7550
# endif
M
Marek Vasut 已提交
7551
# define machine_is_gnet_slc()	(machine_arch_type == MACH_TYPE_GNET_SLC)
W
wdenk 已提交
7552
#else
M
Marek Vasut 已提交
7553
# define machine_is_gnet_slc()	(0)
W
wdenk 已提交
7554 7555
#endif

M
Marek Vasut 已提交
7556
#ifdef CONFIG_MACH_AF4000
W
wdenk 已提交
7557 7558 7559 7560
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7561
#  define machine_arch_type	MACH_TYPE_AF4000
W
wdenk 已提交
7562
# endif
M
Marek Vasut 已提交
7563
# define machine_is_af4000()	(machine_arch_type == MACH_TYPE_AF4000)
W
wdenk 已提交
7564
#else
M
Marek Vasut 已提交
7565
# define machine_is_af4000()	(0)
W
wdenk 已提交
7566 7567
#endif

M
Marek Vasut 已提交
7568
#ifdef CONFIG_MACH_ARK9431
W
wdenk 已提交
7569 7570 7571 7572
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7573
#  define machine_arch_type	MACH_TYPE_ARK9431
W
wdenk 已提交
7574
# endif
M
Marek Vasut 已提交
7575
# define machine_is_ark9431()	(machine_arch_type == MACH_TYPE_ARK9431)
W
wdenk 已提交
7576
#else
M
Marek Vasut 已提交
7577
# define machine_is_ark9431()	(0)
W
wdenk 已提交
7578 7579
#endif

M
Marek Vasut 已提交
7580
#ifdef CONFIG_MACH_FS_S5PC100
W
wdenk 已提交
7581 7582 7583 7584
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7585
#  define machine_arch_type	MACH_TYPE_FS_S5PC100
W
wdenk 已提交
7586
# endif
M
Marek Vasut 已提交
7587
# define machine_is_fs_s5pc100()	(machine_arch_type == MACH_TYPE_FS_S5PC100)
W
wdenk 已提交
7588
#else
M
Marek Vasut 已提交
7589
# define machine_is_fs_s5pc100()	(0)
W
wdenk 已提交
7590 7591
#endif

M
Marek Vasut 已提交
7592
#ifdef CONFIG_MACH_OMAP3505NOVA8
W
wdenk 已提交
7593 7594 7595 7596
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7597
#  define machine_arch_type	MACH_TYPE_OMAP3505NOVA8
W
wdenk 已提交
7598
# endif
M
Marek Vasut 已提交
7599
# define machine_is_omap3505nova8()	(machine_arch_type == MACH_TYPE_OMAP3505NOVA8)
W
wdenk 已提交
7600
#else
M
Marek Vasut 已提交
7601
# define machine_is_omap3505nova8()	(0)
W
wdenk 已提交
7602 7603
#endif

M
Marek Vasut 已提交
7604
#ifdef CONFIG_MACH_OMAP3621_EDP1
W
wdenk 已提交
7605 7606 7607 7608
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7609
#  define machine_arch_type	MACH_TYPE_OMAP3621_EDP1
W
wdenk 已提交
7610
# endif
M
Marek Vasut 已提交
7611
# define machine_is_omap3621_edp1()	(machine_arch_type == MACH_TYPE_OMAP3621_EDP1)
W
wdenk 已提交
7612
#else
M
Marek Vasut 已提交
7613
# define machine_is_omap3621_edp1()	(0)
W
wdenk 已提交
7614 7615
#endif

M
Marek Vasut 已提交
7616
#ifdef CONFIG_MACH_ORATISAES
W
wdenk 已提交
7617 7618 7619 7620
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7621
#  define machine_arch_type	MACH_TYPE_ORATISAES
W
wdenk 已提交
7622
# endif
M
Marek Vasut 已提交
7623
# define machine_is_oratisaes()	(machine_arch_type == MACH_TYPE_ORATISAES)
W
wdenk 已提交
7624
#else
M
Marek Vasut 已提交
7625
# define machine_is_oratisaes()	(0)
W
wdenk 已提交
7626 7627
#endif

M
Marek Vasut 已提交
7628
#ifdef CONFIG_MACH_SMDKV310
W
wdenk 已提交
7629 7630 7631 7632
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7633
#  define machine_arch_type	MACH_TYPE_SMDKV310
W
wdenk 已提交
7634
# endif
M
Marek Vasut 已提交
7635
# define machine_is_smdkv310()	(machine_arch_type == MACH_TYPE_SMDKV310)
W
wdenk 已提交
7636
#else
M
Marek Vasut 已提交
7637
# define machine_is_smdkv310()	(0)
W
wdenk 已提交
7638 7639
#endif

M
Marek Vasut 已提交
7640
#ifdef CONFIG_MACH_SIEMENS_L0
W
wdenk 已提交
7641 7642 7643 7644
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7645
#  define machine_arch_type	MACH_TYPE_SIEMENS_L0
W
wdenk 已提交
7646
# endif
M
Marek Vasut 已提交
7647
# define machine_is_siemens_l0()	(machine_arch_type == MACH_TYPE_SIEMENS_L0)
W
wdenk 已提交
7648
#else
M
Marek Vasut 已提交
7649
# define machine_is_siemens_l0()	(0)
W
wdenk 已提交
7650 7651
#endif

M
Marek Vasut 已提交
7652
#ifdef CONFIG_MACH_VENTANA
W
wdenk 已提交
7653 7654 7655 7656
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7657
#  define machine_arch_type	MACH_TYPE_VENTANA
W
wdenk 已提交
7658
# endif
M
Marek Vasut 已提交
7659
# define machine_is_ventana()	(machine_arch_type == MACH_TYPE_VENTANA)
W
wdenk 已提交
7660
#else
M
Marek Vasut 已提交
7661
# define machine_is_ventana()	(0)
W
wdenk 已提交
7662 7663
#endif

M
Marek Vasut 已提交
7664
#ifdef CONFIG_MACH_WM8505_7IN_NETBOOK
W
wdenk 已提交
7665 7666 7667 7668
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7669
#  define machine_arch_type	MACH_TYPE_WM8505_7IN_NETBOOK
W
wdenk 已提交
7670
# endif
M
Marek Vasut 已提交
7671
# define machine_is_wm8505_7in_netbook()	(machine_arch_type == MACH_TYPE_WM8505_7IN_NETBOOK)
W
wdenk 已提交
7672
#else
M
Marek Vasut 已提交
7673
# define machine_is_wm8505_7in_netbook()	(0)
W
wdenk 已提交
7674 7675
#endif

M
Marek Vasut 已提交
7676
#ifdef CONFIG_MACH_EC4350SDB
W
wdenk 已提交
7677 7678 7679 7680
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7681
#  define machine_arch_type	MACH_TYPE_EC4350SDB
W
wdenk 已提交
7682
# endif
M
Marek Vasut 已提交
7683
# define machine_is_ec4350sdb()	(machine_arch_type == MACH_TYPE_EC4350SDB)
W
wdenk 已提交
7684
#else
M
Marek Vasut 已提交
7685
# define machine_is_ec4350sdb()	(0)
W
wdenk 已提交
7686 7687
#endif

M
Marek Vasut 已提交
7688
#ifdef CONFIG_MACH_MIMAS
W
wdenk 已提交
7689 7690 7691 7692
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7693
#  define machine_arch_type	MACH_TYPE_MIMAS
W
wdenk 已提交
7694
# endif
M
Marek Vasut 已提交
7695
# define machine_is_mimas()	(machine_arch_type == MACH_TYPE_MIMAS)
W
wdenk 已提交
7696
#else
M
Marek Vasut 已提交
7697
# define machine_is_mimas()	(0)
W
wdenk 已提交
7698 7699
#endif

M
Marek Vasut 已提交
7700
#ifdef CONFIG_MACH_TITAN
W
wdenk 已提交
7701 7702 7703 7704
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7705
#  define machine_arch_type	MACH_TYPE_TITAN
W
wdenk 已提交
7706
# endif
M
Marek Vasut 已提交
7707
# define machine_is_titan()	(machine_arch_type == MACH_TYPE_TITAN)
W
wdenk 已提交
7708
#else
M
Marek Vasut 已提交
7709
# define machine_is_titan()	(0)
W
wdenk 已提交
7710 7711
#endif

M
Marek Vasut 已提交
7712
#ifdef CONFIG_MACH_CRANEBOARD
W
wdenk 已提交
7713 7714 7715 7716
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7717
#  define machine_arch_type	MACH_TYPE_CRANEBOARD
W
wdenk 已提交
7718
# endif
M
Marek Vasut 已提交
7719
# define machine_is_craneboard()	(machine_arch_type == MACH_TYPE_CRANEBOARD)
W
wdenk 已提交
7720
#else
M
Marek Vasut 已提交
7721
# define machine_is_craneboard()	(0)
W
wdenk 已提交
7722 7723
#endif

M
Marek Vasut 已提交
7724
#ifdef CONFIG_MACH_ES2440
W
wdenk 已提交
7725 7726 7727 7728
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7729
#  define machine_arch_type	MACH_TYPE_ES2440
W
wdenk 已提交
7730
# endif
M
Marek Vasut 已提交
7731
# define machine_is_es2440()	(machine_arch_type == MACH_TYPE_ES2440)
W
wdenk 已提交
7732
#else
M
Marek Vasut 已提交
7733
# define machine_is_es2440()	(0)
W
wdenk 已提交
7734 7735
#endif

M
Marek Vasut 已提交
7736
#ifdef CONFIG_MACH_NAJAY_A9263
W
wdenk 已提交
7737 7738 7739 7740
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7741
#  define machine_arch_type	MACH_TYPE_NAJAY_A9263
W
wdenk 已提交
7742
# endif
M
Marek Vasut 已提交
7743
# define machine_is_najay_a9263()	(machine_arch_type == MACH_TYPE_NAJAY_A9263)
W
wdenk 已提交
7744
#else
M
Marek Vasut 已提交
7745
# define machine_is_najay_a9263()	(0)
W
wdenk 已提交
7746 7747
#endif

M
Marek Vasut 已提交
7748
#ifdef CONFIG_MACH_HTCTORNADO
W
wdenk 已提交
7749 7750 7751 7752
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7753
#  define machine_arch_type	MACH_TYPE_HTCTORNADO
W
wdenk 已提交
7754
# endif
M
Marek Vasut 已提交
7755
# define machine_is_htctornado()	(machine_arch_type == MACH_TYPE_HTCTORNADO)
W
wdenk 已提交
7756
#else
M
Marek Vasut 已提交
7757
# define machine_is_htctornado()	(0)
W
wdenk 已提交
7758 7759
#endif

M
Marek Vasut 已提交
7760
#ifdef CONFIG_MACH_DIMM_MX257
W
wdenk 已提交
7761 7762 7763 7764
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7765
#  define machine_arch_type	MACH_TYPE_DIMM_MX257
W
wdenk 已提交
7766
# endif
M
Marek Vasut 已提交
7767
# define machine_is_dimm_mx257()	(machine_arch_type == MACH_TYPE_DIMM_MX257)
W
wdenk 已提交
7768
#else
M
Marek Vasut 已提交
7769
# define machine_is_dimm_mx257()	(0)
W
wdenk 已提交
7770 7771
#endif

M
Marek Vasut 已提交
7772
#ifdef CONFIG_MACH_JIGEN
W
wdenk 已提交
7773 7774 7775 7776
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7777
#  define machine_arch_type	MACH_TYPE_JIGEN
W
wdenk 已提交
7778
# endif
M
Marek Vasut 已提交
7779
# define machine_is_jigen301()	(machine_arch_type == MACH_TYPE_JIGEN)
W
wdenk 已提交
7780
#else
M
Marek Vasut 已提交
7781
# define machine_is_jigen301()	(0)
W
wdenk 已提交
7782 7783
#endif

M
Marek Vasut 已提交
7784
#ifdef CONFIG_MACH_SMDK6450
W
wdenk 已提交
7785 7786 7787 7788
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7789
#  define machine_arch_type	MACH_TYPE_SMDK6450
W
wdenk 已提交
7790
# endif
M
Marek Vasut 已提交
7791
# define machine_is_smdk6450()	(machine_arch_type == MACH_TYPE_SMDK6450)
W
wdenk 已提交
7792
#else
M
Marek Vasut 已提交
7793
# define machine_is_smdk6450()	(0)
W
wdenk 已提交
7794 7795
#endif

M
Marek Vasut 已提交
7796
#ifdef CONFIG_MACH_MENO_QNG
W
wdenk 已提交
7797 7798 7799 7800
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7801
#  define machine_arch_type	MACH_TYPE_MENO_QNG
W
wdenk 已提交
7802
# endif
M
Marek Vasut 已提交
7803
# define machine_is_meno_qng()	(machine_arch_type == MACH_TYPE_MENO_QNG)
W
wdenk 已提交
7804
#else
M
Marek Vasut 已提交
7805
# define machine_is_meno_qng()	(0)
W
wdenk 已提交
7806 7807
#endif

M
Marek Vasut 已提交
7808
#ifdef CONFIG_MACH_NS2416
W
wdenk 已提交
7809 7810 7811 7812
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7813
#  define machine_arch_type	MACH_TYPE_NS2416
W
wdenk 已提交
7814
# endif
M
Marek Vasut 已提交
7815
# define machine_is_ns2416()	(machine_arch_type == MACH_TYPE_NS2416)
W
wdenk 已提交
7816
#else
M
Marek Vasut 已提交
7817
# define machine_is_ns2416()	(0)
W
wdenk 已提交
7818 7819
#endif

M
Marek Vasut 已提交
7820
#ifdef CONFIG_MACH_RPC353
W
wdenk 已提交
7821 7822 7823 7824
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7825
#  define machine_arch_type	MACH_TYPE_RPC353
W
wdenk 已提交
7826
# endif
M
Marek Vasut 已提交
7827
# define machine_is_rpc353()	(machine_arch_type == MACH_TYPE_RPC353)
W
wdenk 已提交
7828
#else
M
Marek Vasut 已提交
7829
# define machine_is_rpc353()	(0)
W
wdenk 已提交
7830 7831
#endif

M
Marek Vasut 已提交
7832
#ifdef CONFIG_MACH_TQ6410
W
wdenk 已提交
7833 7834 7835 7836
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7837
#  define machine_arch_type	MACH_TYPE_TQ6410
W
wdenk 已提交
7838
# endif
M
Marek Vasut 已提交
7839
# define machine_is_tq6410()	(machine_arch_type == MACH_TYPE_TQ6410)
W
wdenk 已提交
7840
#else
M
Marek Vasut 已提交
7841
# define machine_is_tq6410()	(0)
W
wdenk 已提交
7842 7843
#endif

M
Marek Vasut 已提交
7844
#ifdef CONFIG_MACH_SKY6410
W
wdenk 已提交
7845 7846 7847 7848
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7849
#  define machine_arch_type	MACH_TYPE_SKY6410
W
wdenk 已提交
7850
# endif
M
Marek Vasut 已提交
7851
# define machine_is_sky6410()	(machine_arch_type == MACH_TYPE_SKY6410)
W
wdenk 已提交
7852
#else
M
Marek Vasut 已提交
7853
# define machine_is_sky6410()	(0)
W
wdenk 已提交
7854 7855
#endif

M
Marek Vasut 已提交
7856
#ifdef CONFIG_MACH_DYNASTY
W
wdenk 已提交
7857 7858 7859 7860
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7861
#  define machine_arch_type	MACH_TYPE_DYNASTY
W
wdenk 已提交
7862
# endif
M
Marek Vasut 已提交
7863
# define machine_is_dynasty()	(machine_arch_type == MACH_TYPE_DYNASTY)
W
wdenk 已提交
7864
#else
M
Marek Vasut 已提交
7865
# define machine_is_dynasty()	(0)
W
wdenk 已提交
7866 7867
#endif

M
Marek Vasut 已提交
7868
#ifdef CONFIG_MACH_VIVO
W
wdenk 已提交
7869 7870 7871 7872
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7873
#  define machine_arch_type	MACH_TYPE_VIVO
W
wdenk 已提交
7874
# endif
M
Marek Vasut 已提交
7875
# define machine_is_vivo()	(machine_arch_type == MACH_TYPE_VIVO)
W
wdenk 已提交
7876
#else
M
Marek Vasut 已提交
7877
# define machine_is_vivo()	(0)
W
wdenk 已提交
7878 7879
#endif

M
Marek Vasut 已提交
7880
#ifdef CONFIG_MACH_BURY_BL7582
W
wdenk 已提交
7881 7882 7883 7884
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7885
#  define machine_arch_type	MACH_TYPE_BURY_BL7582
W
wdenk 已提交
7886
# endif
M
Marek Vasut 已提交
7887
# define machine_is_bury_bl7582()	(machine_arch_type == MACH_TYPE_BURY_BL7582)
W
wdenk 已提交
7888
#else
M
Marek Vasut 已提交
7889
# define machine_is_bury_bl7582()	(0)
W
wdenk 已提交
7890 7891
#endif

M
Marek Vasut 已提交
7892
#ifdef CONFIG_MACH_BURY_BPS5270
W
wdenk 已提交
7893 7894 7895 7896
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7897
#  define machine_arch_type	MACH_TYPE_BURY_BPS5270
W
wdenk 已提交
7898
# endif
M
Marek Vasut 已提交
7899
# define machine_is_bury_bps5270()	(machine_arch_type == MACH_TYPE_BURY_BPS5270)
W
wdenk 已提交
7900
#else
M
Marek Vasut 已提交
7901
# define machine_is_bury_bps5270()	(0)
W
wdenk 已提交
7902 7903
#endif

M
Marek Vasut 已提交
7904
#ifdef CONFIG_MACH_BASI
W
wdenk 已提交
7905 7906 7907 7908
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7909
#  define machine_arch_type	MACH_TYPE_BASI
W
wdenk 已提交
7910
# endif
M
Marek Vasut 已提交
7911
# define machine_is_basi()	(machine_arch_type == MACH_TYPE_BASI)
W
wdenk 已提交
7912
#else
M
Marek Vasut 已提交
7913
# define machine_is_basi()	(0)
W
wdenk 已提交
7914 7915
#endif

M
Marek Vasut 已提交
7916
#ifdef CONFIG_MACH_TN200
W
wdenk 已提交
7917 7918 7919 7920
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7921
#  define machine_arch_type	MACH_TYPE_TN200
W
wdenk 已提交
7922
# endif
M
Marek Vasut 已提交
7923
# define machine_is_tn200()	(machine_arch_type == MACH_TYPE_TN200)
W
wdenk 已提交
7924
#else
M
Marek Vasut 已提交
7925
# define machine_is_tn200()	(0)
W
wdenk 已提交
7926 7927
#endif

M
Marek Vasut 已提交
7928
#ifdef CONFIG_MACH_C2MMI
W
wdenk 已提交
7929 7930 7931 7932
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7933
#  define machine_arch_type	MACH_TYPE_C2MMI
W
wdenk 已提交
7934
# endif
M
Marek Vasut 已提交
7935
# define machine_is_c2mmi()	(machine_arch_type == MACH_TYPE_C2MMI)
W
wdenk 已提交
7936
#else
M
Marek Vasut 已提交
7937
# define machine_is_c2mmi()	(0)
W
wdenk 已提交
7938 7939
#endif

M
Marek Vasut 已提交
7940
#ifdef CONFIG_MACH_MESON_6236M
W
wdenk 已提交
7941 7942 7943 7944
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7945
#  define machine_arch_type	MACH_TYPE_MESON_6236M
W
wdenk 已提交
7946
# endif
M
Marek Vasut 已提交
7947
# define machine_is_meson_6236m()	(machine_arch_type == MACH_TYPE_MESON_6236M)
W
wdenk 已提交
7948
#else
M
Marek Vasut 已提交
7949
# define machine_is_meson_6236m()	(0)
W
wdenk 已提交
7950 7951
#endif

M
Marek Vasut 已提交
7952
#ifdef CONFIG_MACH_MESON_8626M
W
wdenk 已提交
7953 7954 7955 7956
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7957
#  define machine_arch_type	MACH_TYPE_MESON_8626M
W
wdenk 已提交
7958
# endif
M
Marek Vasut 已提交
7959
# define machine_is_meson_8626m()	(machine_arch_type == MACH_TYPE_MESON_8626M)
W
wdenk 已提交
7960
#else
M
Marek Vasut 已提交
7961
# define machine_is_meson_8626m()	(0)
W
wdenk 已提交
7962 7963
#endif

M
Marek Vasut 已提交
7964
#ifdef CONFIG_MACH_TUBE
W
wdenk 已提交
7965 7966 7967 7968
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7969
#  define machine_arch_type	MACH_TYPE_TUBE
W
wdenk 已提交
7970
# endif
M
Marek Vasut 已提交
7971
# define machine_is_tube()	(machine_arch_type == MACH_TYPE_TUBE)
W
wdenk 已提交
7972
#else
M
Marek Vasut 已提交
7973
# define machine_is_tube()	(0)
W
wdenk 已提交
7974 7975
#endif

M
Marek Vasut 已提交
7976
#ifdef CONFIG_MACH_MESSINA
W
wdenk 已提交
7977 7978 7979 7980
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7981
#  define machine_arch_type	MACH_TYPE_MESSINA
W
wdenk 已提交
7982
# endif
M
Marek Vasut 已提交
7983
# define machine_is_messina()	(machine_arch_type == MACH_TYPE_MESSINA)
W
wdenk 已提交
7984
#else
M
Marek Vasut 已提交
7985
# define machine_is_messina()	(0)
W
wdenk 已提交
7986 7987
#endif

M
Marek Vasut 已提交
7988
#ifdef CONFIG_MACH_MX50_ARM2
W
wdenk 已提交
7989 7990 7991 7992
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
7993
#  define machine_arch_type	MACH_TYPE_MX50_ARM2
W
wdenk 已提交
7994
# endif
M
Marek Vasut 已提交
7995
# define machine_is_mx50_arm2()	(machine_arch_type == MACH_TYPE_MX50_ARM2)
W
wdenk 已提交
7996
#else
M
Marek Vasut 已提交
7997
# define machine_is_mx50_arm2()	(0)
W
wdenk 已提交
7998 7999
#endif

M
Marek Vasut 已提交
8000
#ifdef CONFIG_MACH_CETUS9263
W
wdenk 已提交
8001 8002 8003 8004
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8005
#  define machine_arch_type	MACH_TYPE_CETUS9263
W
wdenk 已提交
8006
# endif
M
Marek Vasut 已提交
8007
# define machine_is_cetus9263()	(machine_arch_type == MACH_TYPE_CETUS9263)
W
wdenk 已提交
8008
#else
M
Marek Vasut 已提交
8009
# define machine_is_cetus9263()	(0)
W
wdenk 已提交
8010 8011
#endif

M
Marek Vasut 已提交
8012
#ifdef CONFIG_MACH_BROWNSTONE
W
wdenk 已提交
8013 8014 8015 8016
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8017
#  define machine_arch_type	MACH_TYPE_BROWNSTONE
W
wdenk 已提交
8018
# endif
M
Marek Vasut 已提交
8019
# define machine_is_brownstone()	(machine_arch_type == MACH_TYPE_BROWNSTONE)
W
wdenk 已提交
8020
#else
M
Marek Vasut 已提交
8021
# define machine_is_brownstone()	(0)
W
wdenk 已提交
8022 8023
#endif

M
Marek Vasut 已提交
8024
#ifdef CONFIG_MACH_VMX25
W
wdenk 已提交
8025 8026 8027 8028
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8029
#  define machine_arch_type	MACH_TYPE_VMX25
W
wdenk 已提交
8030
# endif
M
Marek Vasut 已提交
8031
# define machine_is_vmx25()	(machine_arch_type == MACH_TYPE_VMX25)
W
wdenk 已提交
8032
#else
M
Marek Vasut 已提交
8033
# define machine_is_vmx25()	(0)
W
wdenk 已提交
8034 8035
#endif

M
Marek Vasut 已提交
8036
#ifdef CONFIG_MACH_VMX51
W
wdenk 已提交
8037 8038 8039 8040
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8041
#  define machine_arch_type	MACH_TYPE_VMX51
W
wdenk 已提交
8042
# endif
M
Marek Vasut 已提交
8043
# define machine_is_vmx51()	(machine_arch_type == MACH_TYPE_VMX51)
W
wdenk 已提交
8044
#else
M
Marek Vasut 已提交
8045
# define machine_is_vmx51()	(0)
W
wdenk 已提交
8046 8047
#endif

M
Marek Vasut 已提交
8048
#ifdef CONFIG_MACH_ABACUS
W
wdenk 已提交
8049 8050 8051 8052
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8053
#  define machine_arch_type	MACH_TYPE_ABACUS
W
wdenk 已提交
8054
# endif
M
Marek Vasut 已提交
8055
# define machine_is_abacus()	(machine_arch_type == MACH_TYPE_ABACUS)
W
wdenk 已提交
8056
#else
M
Marek Vasut 已提交
8057
# define machine_is_abacus()	(0)
W
wdenk 已提交
8058 8059
#endif

M
Marek Vasut 已提交
8060
#ifdef CONFIG_MACH_CM4745
W
wdenk 已提交
8061 8062 8063 8064
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8065
#  define machine_arch_type	MACH_TYPE_CM4745
W
wdenk 已提交
8066
# endif
M
Marek Vasut 已提交
8067
# define machine_is_cm4745()	(machine_arch_type == MACH_TYPE_CM4745)
W
wdenk 已提交
8068
#else
M
Marek Vasut 已提交
8069
# define machine_is_cm4745()	(0)
W
wdenk 已提交
8070 8071
#endif

M
Marek Vasut 已提交
8072
#ifdef CONFIG_MACH_ORATISLINK
W
wdenk 已提交
8073 8074 8075 8076
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8077
#  define machine_arch_type	MACH_TYPE_ORATISLINK
W
wdenk 已提交
8078
# endif
M
Marek Vasut 已提交
8079
# define machine_is_oratislink()	(machine_arch_type == MACH_TYPE_ORATISLINK)
W
wdenk 已提交
8080
#else
M
Marek Vasut 已提交
8081
# define machine_is_oratislink()	(0)
W
wdenk 已提交
8082 8083
#endif

M
Marek Vasut 已提交
8084
#ifdef CONFIG_MACH_DAVINCI_DM365_DVR
W
wdenk 已提交
8085 8086 8087 8088
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8089
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM365_DVR
W
wdenk 已提交
8090
# endif
M
Marek Vasut 已提交
8091
# define machine_is_davinci_dm365_dvr()	(machine_arch_type == MACH_TYPE_DAVINCI_DM365_DVR)
W
wdenk 已提交
8092
#else
M
Marek Vasut 已提交
8093
# define machine_is_davinci_dm365_dvr()	(0)
W
wdenk 已提交
8094 8095
#endif

M
Marek Vasut 已提交
8096
#ifdef CONFIG_MACH_NETVIZ
W
wdenk 已提交
8097 8098 8099 8100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8101
#  define machine_arch_type	MACH_TYPE_NETVIZ
W
wdenk 已提交
8102
# endif
M
Marek Vasut 已提交
8103
# define machine_is_netviz()	(machine_arch_type == MACH_TYPE_NETVIZ)
W
wdenk 已提交
8104
#else
M
Marek Vasut 已提交
8105
# define machine_is_netviz()	(0)
W
wdenk 已提交
8106 8107
#endif

M
Marek Vasut 已提交
8108
#ifdef CONFIG_MACH_FLEXIBITY
W
wdenk 已提交
8109 8110 8111 8112
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8113
#  define machine_arch_type	MACH_TYPE_FLEXIBITY
W
wdenk 已提交
8114
# endif
M
Marek Vasut 已提交
8115
# define machine_is_flexibity()	(machine_arch_type == MACH_TYPE_FLEXIBITY)
W
wdenk 已提交
8116
#else
M
Marek Vasut 已提交
8117
# define machine_is_flexibity()	(0)
W
wdenk 已提交
8118 8119
#endif

M
Marek Vasut 已提交
8120
#ifdef CONFIG_MACH_WLAN_COMPUTER
W
wdenk 已提交
8121 8122 8123 8124
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8125
#  define machine_arch_type	MACH_TYPE_WLAN_COMPUTER
W
wdenk 已提交
8126
# endif
M
Marek Vasut 已提交
8127
# define machine_is_wlan_computer()	(machine_arch_type == MACH_TYPE_WLAN_COMPUTER)
W
wdenk 已提交
8128
#else
M
Marek Vasut 已提交
8129
# define machine_is_wlan_computer()	(0)
W
wdenk 已提交
8130 8131
#endif

M
Marek Vasut 已提交
8132
#ifdef CONFIG_MACH_LPC24XX
W
wdenk 已提交
8133 8134 8135 8136
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8137
#  define machine_arch_type	MACH_TYPE_LPC24XX
W
wdenk 已提交
8138
# endif
M
Marek Vasut 已提交
8139
# define machine_is_lpc24xx()	(machine_arch_type == MACH_TYPE_LPC24XX)
W
wdenk 已提交
8140
#else
M
Marek Vasut 已提交
8141
# define machine_is_lpc24xx()	(0)
W
wdenk 已提交
8142 8143
#endif

M
Marek Vasut 已提交
8144
#ifdef CONFIG_MACH_SPICA
W
wdenk 已提交
8145 8146 8147 8148
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8149
#  define machine_arch_type	MACH_TYPE_SPICA
W
wdenk 已提交
8150
# endif
M
Marek Vasut 已提交
8151
# define machine_is_spica()	(machine_arch_type == MACH_TYPE_SPICA)
W
wdenk 已提交
8152
#else
M
Marek Vasut 已提交
8153
# define machine_is_spica()	(0)
W
wdenk 已提交
8154 8155
#endif

M
Marek Vasut 已提交
8156
#ifdef CONFIG_MACH_GPSDISPLAY
W
wdenk 已提交
8157 8158 8159 8160
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8161
#  define machine_arch_type	MACH_TYPE_GPSDISPLAY
W
wdenk 已提交
8162
# endif
M
Marek Vasut 已提交
8163
# define machine_is_gpsdisplay()	(machine_arch_type == MACH_TYPE_GPSDISPLAY)
W
wdenk 已提交
8164
#else
M
Marek Vasut 已提交
8165
# define machine_is_gpsdisplay()	(0)
W
wdenk 已提交
8166 8167
#endif

M
Marek Vasut 已提交
8168
#ifdef CONFIG_MACH_BIPNET
W
wdenk 已提交
8169 8170 8171 8172
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8173
#  define machine_arch_type	MACH_TYPE_BIPNET
W
wdenk 已提交
8174
# endif
M
Marek Vasut 已提交
8175
# define machine_is_bipnet()	(machine_arch_type == MACH_TYPE_BIPNET)
W
wdenk 已提交
8176
#else
M
Marek Vasut 已提交
8177
# define machine_is_bipnet()	(0)
W
wdenk 已提交
8178 8179
#endif

M
Marek Vasut 已提交
8180
#ifdef CONFIG_MACH_OVERO_CTU_INERTIAL
W
wdenk 已提交
8181 8182 8183 8184
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8185
#  define machine_arch_type	MACH_TYPE_OVERO_CTU_INERTIAL
W
wdenk 已提交
8186
# endif
M
Marek Vasut 已提交
8187
# define machine_is_overo_ctu_inertial()	(machine_arch_type == MACH_TYPE_OVERO_CTU_INERTIAL)
W
wdenk 已提交
8188
#else
M
Marek Vasut 已提交
8189
# define machine_is_overo_ctu_inertial()	(0)
W
wdenk 已提交
8190 8191
#endif

M
Marek Vasut 已提交
8192
#ifdef CONFIG_MACH_DAVINCI_DM355_MMM
W
wdenk 已提交
8193 8194 8195 8196
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8197
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM355_MMM
W
wdenk 已提交
8198
# endif
M
Marek Vasut 已提交
8199
# define machine_is_davinci_dm355_mmm()	(machine_arch_type == MACH_TYPE_DAVINCI_DM355_MMM)
W
wdenk 已提交
8200
#else
M
Marek Vasut 已提交
8201
# define machine_is_davinci_dm355_mmm()	(0)
W
wdenk 已提交
8202 8203
#endif

M
Marek Vasut 已提交
8204
#ifdef CONFIG_MACH_PC9260_V2
W
wdenk 已提交
8205 8206 8207 8208
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8209
#  define machine_arch_type	MACH_TYPE_PC9260_V2
W
wdenk 已提交
8210
# endif
M
Marek Vasut 已提交
8211
# define machine_is_pc9260_v2()	(machine_arch_type == MACH_TYPE_PC9260_V2)
W
wdenk 已提交
8212
#else
M
Marek Vasut 已提交
8213
# define machine_is_pc9260_v2()	(0)
W
wdenk 已提交
8214 8215
#endif

M
Marek Vasut 已提交
8216
#ifdef CONFIG_MACH_PTX7545
W
wdenk 已提交
8217 8218 8219 8220
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8221
#  define machine_arch_type	MACH_TYPE_PTX7545
W
wdenk 已提交
8222
# endif
M
Marek Vasut 已提交
8223
# define machine_is_ptx7545()	(machine_arch_type == MACH_TYPE_PTX7545)
W
wdenk 已提交
8224
#else
M
Marek Vasut 已提交
8225
# define machine_is_ptx7545()	(0)
W
wdenk 已提交
8226 8227
#endif

M
Marek Vasut 已提交
8228
#ifdef CONFIG_MACH_TM_EFDC
W
wdenk 已提交
8229 8230 8231 8232
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8233
#  define machine_arch_type	MACH_TYPE_TM_EFDC
W
wdenk 已提交
8234
# endif
M
Marek Vasut 已提交
8235
# define machine_is_tm_efdc()	(machine_arch_type == MACH_TYPE_TM_EFDC)
W
wdenk 已提交
8236
#else
M
Marek Vasut 已提交
8237
# define machine_is_tm_efdc()	(0)
W
wdenk 已提交
8238 8239
#endif

M
Marek Vasut 已提交
8240
#ifdef CONFIG_MACH_OMAP3_WALDO1
W
wdenk 已提交
8241 8242 8243 8244
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8245
#  define machine_arch_type	MACH_TYPE_OMAP3_WALDO1
W
wdenk 已提交
8246
# endif
M
Marek Vasut 已提交
8247
# define machine_is_omap3_waldo1()	(machine_arch_type == MACH_TYPE_OMAP3_WALDO1)
W
wdenk 已提交
8248
#else
M
Marek Vasut 已提交
8249
# define machine_is_omap3_waldo1()	(0)
W
wdenk 已提交
8250 8251
#endif

M
Marek Vasut 已提交
8252
#ifdef CONFIG_MACH_FLYER
W
wdenk 已提交
8253 8254 8255 8256
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8257
#  define machine_arch_type	MACH_TYPE_FLYER
W
wdenk 已提交
8258
# endif
M
Marek Vasut 已提交
8259
# define machine_is_flyer()	(machine_arch_type == MACH_TYPE_FLYER)
W
wdenk 已提交
8260
#else
M
Marek Vasut 已提交
8261
# define machine_is_flyer()	(0)
W
wdenk 已提交
8262 8263
#endif

M
Marek Vasut 已提交
8264
#ifdef CONFIG_MACH_TORNADO3240
W
Wolfgang Denk 已提交
8265 8266 8267 8268
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8269
#  define machine_arch_type	MACH_TYPE_TORNADO3240
W
Wolfgang Denk 已提交
8270
# endif
M
Marek Vasut 已提交
8271
# define machine_is_tornado3240()	(machine_arch_type == MACH_TYPE_TORNADO3240)
W
Wolfgang Denk 已提交
8272
#else
M
Marek Vasut 已提交
8273
# define machine_is_tornado3240()	(0)
W
Wolfgang Denk 已提交
8274 8275
#endif

M
Marek Vasut 已提交
8276
#ifdef CONFIG_MACH_SOLI_01
W
Wolfgang Denk 已提交
8277 8278 8279 8280
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8281
#  define machine_arch_type	MACH_TYPE_SOLI_01
W
Wolfgang Denk 已提交
8282
# endif
M
Marek Vasut 已提交
8283
# define machine_is_soli_01()	(machine_arch_type == MACH_TYPE_SOLI_01)
W
Wolfgang Denk 已提交
8284
#else
M
Marek Vasut 已提交
8285
# define machine_is_soli_01()	(0)
W
Wolfgang Denk 已提交
8286 8287
#endif

M
Marek Vasut 已提交
8288
#ifdef CONFIG_MACH_OMAPL138_EUROPALC
W
Wolfgang Denk 已提交
8289 8290 8291 8292
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8293
#  define machine_arch_type	MACH_TYPE_OMAPL138_EUROPALC
W
Wolfgang Denk 已提交
8294
# endif
M
Marek Vasut 已提交
8295
# define machine_is_omapl138_europalc()	(machine_arch_type == MACH_TYPE_OMAPL138_EUROPALC)
W
Wolfgang Denk 已提交
8296
#else
M
Marek Vasut 已提交
8297
# define machine_is_omapl138_europalc()	(0)
W
Wolfgang Denk 已提交
8298 8299
#endif

M
Marek Vasut 已提交
8300
#ifdef CONFIG_MACH_HELIOS_V1
W
Wolfgang Denk 已提交
8301 8302 8303 8304
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8305
#  define machine_arch_type	MACH_TYPE_HELIOS_V1
W
Wolfgang Denk 已提交
8306
# endif
M
Marek Vasut 已提交
8307
# define machine_is_helios_v1()	(machine_arch_type == MACH_TYPE_HELIOS_V1)
W
Wolfgang Denk 已提交
8308
#else
M
Marek Vasut 已提交
8309
# define machine_is_helios_v1()	(0)
W
Wolfgang Denk 已提交
8310 8311
#endif

M
Marek Vasut 已提交
8312
#ifdef CONFIG_MACH_NETSPACE_LITE_V2
W
Wolfgang Denk 已提交
8313 8314 8315 8316
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8317
#  define machine_arch_type	MACH_TYPE_NETSPACE_LITE_V2
W
Wolfgang Denk 已提交
8318
# endif
M
Marek Vasut 已提交
8319
# define machine_is_netspace_lite_v2()	(machine_arch_type == MACH_TYPE_NETSPACE_LITE_V2)
W
Wolfgang Denk 已提交
8320
#else
M
Marek Vasut 已提交
8321
# define machine_is_netspace_lite_v2()	(0)
W
Wolfgang Denk 已提交
8322 8323
#endif

M
Marek Vasut 已提交
8324
#ifdef CONFIG_MACH_SSC
W
Wolfgang Denk 已提交
8325 8326 8327 8328
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8329
#  define machine_arch_type	MACH_TYPE_SSC
W
Wolfgang Denk 已提交
8330
# endif
M
Marek Vasut 已提交
8331
# define machine_is_ssc()	(machine_arch_type == MACH_TYPE_SSC)
W
Wolfgang Denk 已提交
8332
#else
M
Marek Vasut 已提交
8333
# define machine_is_ssc()	(0)
W
Wolfgang Denk 已提交
8334 8335
#endif

M
Marek Vasut 已提交
8336
#ifdef CONFIG_MACH_PREMIERWAVE_EN
W
Wolfgang Denk 已提交
8337 8338 8339 8340
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8341
#  define machine_arch_type	MACH_TYPE_PREMIERWAVE_EN
W
Wolfgang Denk 已提交
8342
# endif
M
Marek Vasut 已提交
8343
# define machine_is_premierwave_en()	(machine_arch_type == MACH_TYPE_PREMIERWAVE_EN)
W
Wolfgang Denk 已提交
8344
#else
M
Marek Vasut 已提交
8345
# define machine_is_premierwave_en()	(0)
W
Wolfgang Denk 已提交
8346 8347
#endif

M
Marek Vasut 已提交
8348
#ifdef CONFIG_MACH_WASABI
W
Wolfgang Denk 已提交
8349 8350 8351 8352
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8353
#  define machine_arch_type	MACH_TYPE_WASABI
W
Wolfgang Denk 已提交
8354
# endif
M
Marek Vasut 已提交
8355
# define machine_is_wasabi()	(machine_arch_type == MACH_TYPE_WASABI)
W
Wolfgang Denk 已提交
8356
#else
M
Marek Vasut 已提交
8357
# define machine_is_wasabi()	(0)
W
Wolfgang Denk 已提交
8358 8359
#endif

M
Marek Vasut 已提交
8360
#ifdef CONFIG_MACH_MX50_RDP
W
Wolfgang Denk 已提交
8361 8362 8363 8364
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8365
#  define machine_arch_type	MACH_TYPE_MX50_RDP
W
Wolfgang Denk 已提交
8366
# endif
M
Marek Vasut 已提交
8367
# define machine_is_mx50_rdp()	(machine_arch_type == MACH_TYPE_MX50_RDP)
W
Wolfgang Denk 已提交
8368
#else
M
Marek Vasut 已提交
8369
# define machine_is_mx50_rdp()	(0)
W
Wolfgang Denk 已提交
8370 8371
#endif

M
Marek Vasut 已提交
8372
#ifdef CONFIG_MACH_UNIVERSAL_C210
W
Wolfgang Denk 已提交
8373 8374 8375 8376
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8377
#  define machine_arch_type	MACH_TYPE_UNIVERSAL_C210
W
Wolfgang Denk 已提交
8378
# endif
M
Marek Vasut 已提交
8379
# define machine_is_universal_c210()	(machine_arch_type == MACH_TYPE_UNIVERSAL_C210)
W
Wolfgang Denk 已提交
8380
#else
M
Marek Vasut 已提交
8381
# define machine_is_universal_c210()	(0)
W
Wolfgang Denk 已提交
8382 8383
#endif

M
Marek Vasut 已提交
8384
#ifdef CONFIG_MACH_REAL6410
W
Wolfgang Denk 已提交
8385 8386 8387 8388
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8389
#  define machine_arch_type	MACH_TYPE_REAL6410
W
Wolfgang Denk 已提交
8390
# endif
M
Marek Vasut 已提交
8391
# define machine_is_real6410()	(machine_arch_type == MACH_TYPE_REAL6410)
W
Wolfgang Denk 已提交
8392
#else
M
Marek Vasut 已提交
8393
# define machine_is_real6410()	(0)
W
Wolfgang Denk 已提交
8394 8395
#endif

M
Marek Vasut 已提交
8396
#ifdef CONFIG_MACH_SPX_SAKURA
W
Wolfgang Denk 已提交
8397 8398 8399 8400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8401
#  define machine_arch_type	MACH_TYPE_SPX_SAKURA
W
Wolfgang Denk 已提交
8402
# endif
M
Marek Vasut 已提交
8403
# define machine_is_spx_sakura()	(machine_arch_type == MACH_TYPE_SPX_SAKURA)
W
Wolfgang Denk 已提交
8404
#else
M
Marek Vasut 已提交
8405
# define machine_is_spx_sakura()	(0)
W
Wolfgang Denk 已提交
8406 8407
#endif

M
Marek Vasut 已提交
8408
#ifdef CONFIG_MACH_IJ3K_2440
W
Wolfgang Denk 已提交
8409 8410 8411 8412
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8413
#  define machine_arch_type	MACH_TYPE_IJ3K_2440
W
Wolfgang Denk 已提交
8414
# endif
M
Marek Vasut 已提交
8415
# define machine_is_ij3k_2440()	(machine_arch_type == MACH_TYPE_IJ3K_2440)
W
Wolfgang Denk 已提交
8416
#else
M
Marek Vasut 已提交
8417
# define machine_is_ij3k_2440()	(0)
W
Wolfgang Denk 已提交
8418 8419
#endif

M
Marek Vasut 已提交
8420
#ifdef CONFIG_MACH_OMAP3_BC10
W
Wolfgang Denk 已提交
8421 8422 8423 8424
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8425
#  define machine_arch_type	MACH_TYPE_OMAP3_BC10
W
Wolfgang Denk 已提交
8426
# endif
M
Marek Vasut 已提交
8427
# define machine_is_omap3_bc10()	(machine_arch_type == MACH_TYPE_OMAP3_BC10)
W
Wolfgang Denk 已提交
8428
#else
M
Marek Vasut 已提交
8429
# define machine_is_omap3_bc10()	(0)
W
Wolfgang Denk 已提交
8430 8431
#endif

M
Marek Vasut 已提交
8432
#ifdef CONFIG_MACH_THEBE
W
Wolfgang Denk 已提交
8433 8434 8435 8436
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8437
#  define machine_arch_type	MACH_TYPE_THEBE
W
Wolfgang Denk 已提交
8438
# endif
M
Marek Vasut 已提交
8439
# define machine_is_thebe()	(machine_arch_type == MACH_TYPE_THEBE)
W
Wolfgang Denk 已提交
8440
#else
M
Marek Vasut 已提交
8441
# define machine_is_thebe()	(0)
W
Wolfgang Denk 已提交
8442 8443
#endif

M
Marek Vasut 已提交
8444
#ifdef CONFIG_MACH_RV082
W
Wolfgang Denk 已提交
8445 8446 8447 8448
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8449
#  define machine_arch_type	MACH_TYPE_RV082
W
Wolfgang Denk 已提交
8450
# endif
M
Marek Vasut 已提交
8451
# define machine_is_rv082()	(machine_arch_type == MACH_TYPE_RV082)
W
Wolfgang Denk 已提交
8452
#else
M
Marek Vasut 已提交
8453
# define machine_is_rv082()	(0)
W
Wolfgang Denk 已提交
8454 8455
#endif

M
Marek Vasut 已提交
8456
#ifdef CONFIG_MACH_ARMLGUEST
W
Wolfgang Denk 已提交
8457 8458 8459 8460
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8461
#  define machine_arch_type	MACH_TYPE_ARMLGUEST
W
Wolfgang Denk 已提交
8462
# endif
M
Marek Vasut 已提交
8463
# define machine_is_armlguest()	(machine_arch_type == MACH_TYPE_ARMLGUEST)
W
Wolfgang Denk 已提交
8464
#else
M
Marek Vasut 已提交
8465
# define machine_is_armlguest()	(0)
W
Wolfgang Denk 已提交
8466 8467
#endif

M
Marek Vasut 已提交
8468
#ifdef CONFIG_MACH_TJINC1000
W
Wolfgang Denk 已提交
8469 8470 8471 8472
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8473
#  define machine_arch_type	MACH_TYPE_TJINC1000
W
Wolfgang Denk 已提交
8474
# endif
M
Marek Vasut 已提交
8475
# define machine_is_tjinc1000()	(machine_arch_type == MACH_TYPE_TJINC1000)
W
Wolfgang Denk 已提交
8476
#else
M
Marek Vasut 已提交
8477
# define machine_is_tjinc1000()	(0)
W
Wolfgang Denk 已提交
8478 8479
#endif

M
Marek Vasut 已提交
8480
#ifdef CONFIG_MACH_DOCKSTAR
W
Wolfgang Denk 已提交
8481 8482 8483 8484
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8485
#  define machine_arch_type	MACH_TYPE_DOCKSTAR
W
Wolfgang Denk 已提交
8486
# endif
M
Marek Vasut 已提交
8487
# define machine_is_dockstar()	(machine_arch_type == MACH_TYPE_DOCKSTAR)
W
Wolfgang Denk 已提交
8488
#else
M
Marek Vasut 已提交
8489
# define machine_is_dockstar()	(0)
W
Wolfgang Denk 已提交
8490 8491
#endif

M
Marek Vasut 已提交
8492
#ifdef CONFIG_MACH_AX8008
W
Wolfgang Denk 已提交
8493 8494 8495 8496
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8497
#  define machine_arch_type	MACH_TYPE_AX8008
W
Wolfgang Denk 已提交
8498
# endif
M
Marek Vasut 已提交
8499
# define machine_is_ax8008()	(machine_arch_type == MACH_TYPE_AX8008)
W
Wolfgang Denk 已提交
8500
#else
M
Marek Vasut 已提交
8501
# define machine_is_ax8008()	(0)
W
Wolfgang Denk 已提交
8502 8503
#endif

M
Marek Vasut 已提交
8504
#ifdef CONFIG_MACH_GNET_SGCE
W
Wolfgang Denk 已提交
8505 8506 8507 8508
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8509
#  define machine_arch_type	MACH_TYPE_GNET_SGCE
W
Wolfgang Denk 已提交
8510
# endif
M
Marek Vasut 已提交
8511
# define machine_is_gnet_sgce()	(machine_arch_type == MACH_TYPE_GNET_SGCE)
W
Wolfgang Denk 已提交
8512
#else
M
Marek Vasut 已提交
8513
# define machine_is_gnet_sgce()	(0)
W
Wolfgang Denk 已提交
8514 8515
#endif

M
Marek Vasut 已提交
8516
#ifdef CONFIG_MACH_PXWNAS_500_1000
W
Wolfgang Denk 已提交
8517 8518 8519 8520
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8521
#  define machine_arch_type	MACH_TYPE_PXWNAS_500_1000
W
Wolfgang Denk 已提交
8522
# endif
M
Marek Vasut 已提交
8523
# define machine_is_pxwnas_500_1000()	(machine_arch_type == MACH_TYPE_PXWNAS_500_1000)
W
Wolfgang Denk 已提交
8524
#else
M
Marek Vasut 已提交
8525
# define machine_is_pxwnas_500_1000()	(0)
W
Wolfgang Denk 已提交
8526 8527
#endif

M
Marek Vasut 已提交
8528
#ifdef CONFIG_MACH_EA20
W
Wolfgang Denk 已提交
8529 8530 8531 8532
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8533
#  define machine_arch_type	MACH_TYPE_EA20
W
Wolfgang Denk 已提交
8534
# endif
M
Marek Vasut 已提交
8535
# define machine_is_ea20()	(machine_arch_type == MACH_TYPE_EA20)
W
Wolfgang Denk 已提交
8536
#else
M
Marek Vasut 已提交
8537
# define machine_is_ea20()	(0)
W
Wolfgang Denk 已提交
8538 8539
#endif

M
Marek Vasut 已提交
8540
#ifdef CONFIG_MACH_AWM2
W
Wolfgang Denk 已提交
8541 8542 8543 8544
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8545
#  define machine_arch_type	MACH_TYPE_AWM2
W
Wolfgang Denk 已提交
8546
# endif
M
Marek Vasut 已提交
8547
# define machine_is_awm2()	(machine_arch_type == MACH_TYPE_AWM2)
W
Wolfgang Denk 已提交
8548
#else
M
Marek Vasut 已提交
8549
# define machine_is_awm2()	(0)
W
Wolfgang Denk 已提交
8550 8551
#endif

M
Marek Vasut 已提交
8552
#ifdef CONFIG_MACH_TI8148EVM
W
Wolfgang Denk 已提交
8553 8554 8555 8556
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8557
#  define machine_arch_type	MACH_TYPE_TI8148EVM
W
Wolfgang Denk 已提交
8558
# endif
M
Marek Vasut 已提交
8559
# define machine_is_ti8148evm()	(machine_arch_type == MACH_TYPE_TI8148EVM)
W
Wolfgang Denk 已提交
8560
#else
M
Marek Vasut 已提交
8561
# define machine_is_ti8148evm()	(0)
W
Wolfgang Denk 已提交
8562 8563
#endif

M
Marek Vasut 已提交
8564
#ifdef CONFIG_MACH_SEABOARD
W
Wolfgang Denk 已提交
8565 8566 8567 8568
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8569
#  define machine_arch_type	MACH_TYPE_SEABOARD
W
Wolfgang Denk 已提交
8570
# endif
M
Marek Vasut 已提交
8571
# define machine_is_seaboard()	(machine_arch_type == MACH_TYPE_SEABOARD)
W
Wolfgang Denk 已提交
8572
#else
M
Marek Vasut 已提交
8573
# define machine_is_seaboard()	(0)
W
Wolfgang Denk 已提交
8574 8575
#endif

M
Marek Vasut 已提交
8576
#ifdef CONFIG_MACH_LINKSTATION_CHLV2
W
Wolfgang Denk 已提交
8577 8578 8579 8580
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8581
#  define machine_arch_type	MACH_TYPE_LINKSTATION_CHLV2
W
Wolfgang Denk 已提交
8582
# endif
M
Marek Vasut 已提交
8583
# define machine_is_linkstation_chlv2()	(machine_arch_type == MACH_TYPE_LINKSTATION_CHLV2)
W
Wolfgang Denk 已提交
8584
#else
M
Marek Vasut 已提交
8585
# define machine_is_linkstation_chlv2()	(0)
W
Wolfgang Denk 已提交
8586 8587
#endif

M
Marek Vasut 已提交
8588
#ifdef CONFIG_MACH_TERA_PRO2_RACK
W
Wolfgang Denk 已提交
8589 8590 8591 8592
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8593
#  define machine_arch_type	MACH_TYPE_TERA_PRO2_RACK
W
Wolfgang Denk 已提交
8594
# endif
M
Marek Vasut 已提交
8595
# define machine_is_tera_pro2_rack()	(machine_arch_type == MACH_TYPE_TERA_PRO2_RACK)
W
Wolfgang Denk 已提交
8596
#else
M
Marek Vasut 已提交
8597
# define machine_is_tera_pro2_rack()	(0)
W
Wolfgang Denk 已提交
8598 8599
#endif

M
Marek Vasut 已提交
8600
#ifdef CONFIG_MACH_RUBYS
W
Wolfgang Denk 已提交
8601 8602 8603 8604
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8605
#  define machine_arch_type	MACH_TYPE_RUBYS
W
Wolfgang Denk 已提交
8606
# endif
M
Marek Vasut 已提交
8607
# define machine_is_rubys()	(machine_arch_type == MACH_TYPE_RUBYS)
W
Wolfgang Denk 已提交
8608
#else
M
Marek Vasut 已提交
8609
# define machine_is_rubys()	(0)
W
Wolfgang Denk 已提交
8610 8611
#endif

M
Marek Vasut 已提交
8612
#ifdef CONFIG_MACH_AQUARIUS
W
Wolfgang Denk 已提交
8613 8614 8615 8616
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8617
#  define machine_arch_type	MACH_TYPE_AQUARIUS
W
Wolfgang Denk 已提交
8618
# endif
M
Marek Vasut 已提交
8619
# define machine_is_aquarius()	(machine_arch_type == MACH_TYPE_AQUARIUS)
W
Wolfgang Denk 已提交
8620
#else
M
Marek Vasut 已提交
8621
# define machine_is_aquarius()	(0)
W
Wolfgang Denk 已提交
8622 8623
#endif

M
Marek Vasut 已提交
8624
#ifdef CONFIG_MACH_MX53_ARD
W
Wolfgang Denk 已提交
8625 8626 8627 8628
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8629
#  define machine_arch_type	MACH_TYPE_MX53_ARD
W
Wolfgang Denk 已提交
8630
# endif
M
Marek Vasut 已提交
8631
# define machine_is_mx53_ard()	(machine_arch_type == MACH_TYPE_MX53_ARD)
W
Wolfgang Denk 已提交
8632
#else
M
Marek Vasut 已提交
8633
# define machine_is_mx53_ard()	(0)
W
Wolfgang Denk 已提交
8634 8635
#endif

M
Marek Vasut 已提交
8636
#ifdef CONFIG_MACH_MX53_SMD
W
Wolfgang Denk 已提交
8637 8638 8639 8640
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8641
#  define machine_arch_type	MACH_TYPE_MX53_SMD
W
Wolfgang Denk 已提交
8642
# endif
M
Marek Vasut 已提交
8643
# define machine_is_mx53_smd()	(machine_arch_type == MACH_TYPE_MX53_SMD)
W
Wolfgang Denk 已提交
8644
#else
M
Marek Vasut 已提交
8645
# define machine_is_mx53_smd()	(0)
W
Wolfgang Denk 已提交
8646 8647
#endif

M
Marek Vasut 已提交
8648
#ifdef CONFIG_MACH_LSWXL
W
Wolfgang Denk 已提交
8649 8650 8651 8652
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8653
#  define machine_arch_type	MACH_TYPE_LSWXL
W
Wolfgang Denk 已提交
8654
# endif
M
Marek Vasut 已提交
8655
# define machine_is_lswxl()	(machine_arch_type == MACH_TYPE_LSWXL)
W
Wolfgang Denk 已提交
8656
#else
M
Marek Vasut 已提交
8657
# define machine_is_lswxl()	(0)
W
Wolfgang Denk 已提交
8658 8659
#endif

M
Marek Vasut 已提交
8660
#ifdef CONFIG_MACH_DOVE_AVNG_V3
W
Wolfgang Denk 已提交
8661 8662 8663 8664
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8665
#  define machine_arch_type	MACH_TYPE_DOVE_AVNG_V3
W
Wolfgang Denk 已提交
8666
# endif
M
Marek Vasut 已提交
8667
# define machine_is_dove_avng_v3()	(machine_arch_type == MACH_TYPE_DOVE_AVNG_V3)
W
Wolfgang Denk 已提交
8668
#else
M
Marek Vasut 已提交
8669
# define machine_is_dove_avng_v3()	(0)
W
Wolfgang Denk 已提交
8670 8671
#endif

M
Marek Vasut 已提交
8672
#ifdef CONFIG_MACH_SDI_ESS_9263
W
Wolfgang Denk 已提交
8673 8674 8675 8676
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8677
#  define machine_arch_type	MACH_TYPE_SDI_ESS_9263
W
Wolfgang Denk 已提交
8678
# endif
M
Marek Vasut 已提交
8679
# define machine_is_sdi_ess_9263()	(machine_arch_type == MACH_TYPE_SDI_ESS_9263)
W
Wolfgang Denk 已提交
8680
#else
M
Marek Vasut 已提交
8681
# define machine_is_sdi_ess_9263()	(0)
W
Wolfgang Denk 已提交
8682 8683
#endif

M
Marek Vasut 已提交
8684
#ifdef CONFIG_MACH_JOCPU550
W
Wolfgang Denk 已提交
8685 8686 8687 8688
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8689
#  define machine_arch_type	MACH_TYPE_JOCPU550
W
Wolfgang Denk 已提交
8690
# endif
M
Marek Vasut 已提交
8691
# define machine_is_jocpu550()	(machine_arch_type == MACH_TYPE_JOCPU550)
W
Wolfgang Denk 已提交
8692
#else
M
Marek Vasut 已提交
8693
# define machine_is_jocpu550()	(0)
W
Wolfgang Denk 已提交
8694 8695
#endif

M
Marek Vasut 已提交
8696
#ifdef CONFIG_MACH_MSM8X60_RUMI3
W
Wolfgang Denk 已提交
8697 8698 8699 8700
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8701
#  define machine_arch_type	MACH_TYPE_MSM8X60_RUMI3
W
Wolfgang Denk 已提交
8702
# endif
M
Marek Vasut 已提交
8703
# define machine_is_msm8x60_rumi3()	(machine_arch_type == MACH_TYPE_MSM8X60_RUMI3)
W
Wolfgang Denk 已提交
8704
#else
M
Marek Vasut 已提交
8705
# define machine_is_msm8x60_rumi3()	(0)
W
Wolfgang Denk 已提交
8706 8707
#endif

M
Marek Vasut 已提交
8708
#ifdef CONFIG_MACH_MSM8X60_FFA
W
Wolfgang Denk 已提交
8709 8710 8711 8712
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8713
#  define machine_arch_type	MACH_TYPE_MSM8X60_FFA
W
Wolfgang Denk 已提交
8714
# endif
M
Marek Vasut 已提交
8715
# define machine_is_msm8x60_ffa()	(machine_arch_type == MACH_TYPE_MSM8X60_FFA)
W
Wolfgang Denk 已提交
8716
#else
M
Marek Vasut 已提交
8717
# define machine_is_msm8x60_ffa()	(0)
W
Wolfgang Denk 已提交
8718 8719
#endif

M
Marek Vasut 已提交
8720
#ifdef CONFIG_MACH_YANOMAMI
W
Wolfgang Denk 已提交
8721 8722 8723 8724
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8725
#  define machine_arch_type	MACH_TYPE_YANOMAMI
W
Wolfgang Denk 已提交
8726
# endif
M
Marek Vasut 已提交
8727
# define machine_is_yanomami()	(machine_arch_type == MACH_TYPE_YANOMAMI)
W
Wolfgang Denk 已提交
8728
#else
M
Marek Vasut 已提交
8729
# define machine_is_yanomami()	(0)
W
Wolfgang Denk 已提交
8730 8731
#endif

M
Marek Vasut 已提交
8732
#ifdef CONFIG_MACH_GTA04
W
Wolfgang Denk 已提交
8733 8734 8735 8736
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8737
#  define machine_arch_type	MACH_TYPE_GTA04
W
Wolfgang Denk 已提交
8738
# endif
M
Marek Vasut 已提交
8739
# define machine_is_gta04()	(machine_arch_type == MACH_TYPE_GTA04)
W
Wolfgang Denk 已提交
8740
#else
M
Marek Vasut 已提交
8741
# define machine_is_gta04()	(0)
W
Wolfgang Denk 已提交
8742 8743
#endif

M
Marek Vasut 已提交
8744
#ifdef CONFIG_MACH_CM_A510
W
Wolfgang Denk 已提交
8745 8746 8747 8748
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8749
#  define machine_arch_type	MACH_TYPE_CM_A510
W
Wolfgang Denk 已提交
8750
# endif
M
Marek Vasut 已提交
8751
# define machine_is_cm_a510()	(machine_arch_type == MACH_TYPE_CM_A510)
W
Wolfgang Denk 已提交
8752
#else
M
Marek Vasut 已提交
8753
# define machine_is_cm_a510()	(0)
W
Wolfgang Denk 已提交
8754 8755
#endif

M
Marek Vasut 已提交
8756
#ifdef CONFIG_MACH_OMAP3_RFS200
W
Wolfgang Denk 已提交
8757 8758 8759 8760
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8761
#  define machine_arch_type	MACH_TYPE_OMAP3_RFS200
W
Wolfgang Denk 已提交
8762
# endif
M
Marek Vasut 已提交
8763
# define machine_is_omap3_rfs200()	(machine_arch_type == MACH_TYPE_OMAP3_RFS200)
W
Wolfgang Denk 已提交
8764
#else
M
Marek Vasut 已提交
8765
# define machine_is_omap3_rfs200()	(0)
W
Wolfgang Denk 已提交
8766 8767
#endif

M
Marek Vasut 已提交
8768
#ifdef CONFIG_MACH_KX33XX
W
Wolfgang Denk 已提交
8769 8770 8771 8772
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8773
#  define machine_arch_type	MACH_TYPE_KX33XX
W
Wolfgang Denk 已提交
8774
# endif
M
Marek Vasut 已提交
8775
# define machine_is_kx33xx()	(machine_arch_type == MACH_TYPE_KX33XX)
W
Wolfgang Denk 已提交
8776
#else
M
Marek Vasut 已提交
8777
# define machine_is_kx33xx()	(0)
W
Wolfgang Denk 已提交
8778 8779
#endif

M
Marek Vasut 已提交
8780
#ifdef CONFIG_MACH_PTX7510
W
Wolfgang Denk 已提交
8781 8782 8783 8784
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8785
#  define machine_arch_type	MACH_TYPE_PTX7510
W
Wolfgang Denk 已提交
8786
# endif
M
Marek Vasut 已提交
8787
# define machine_is_ptx7510()	(machine_arch_type == MACH_TYPE_PTX7510)
W
Wolfgang Denk 已提交
8788
#else
M
Marek Vasut 已提交
8789
# define machine_is_ptx7510()	(0)
W
Wolfgang Denk 已提交
8790 8791
#endif

M
Marek Vasut 已提交
8792
#ifdef CONFIG_MACH_TOP9000
W
Wolfgang Denk 已提交
8793 8794 8795 8796
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8797
#  define machine_arch_type	MACH_TYPE_TOP9000
W
Wolfgang Denk 已提交
8798
# endif
M
Marek Vasut 已提交
8799
# define machine_is_top9000()	(machine_arch_type == MACH_TYPE_TOP9000)
W
Wolfgang Denk 已提交
8800
#else
M
Marek Vasut 已提交
8801
# define machine_is_top9000()	(0)
W
Wolfgang Denk 已提交
8802 8803
#endif

M
Marek Vasut 已提交
8804
#ifdef CONFIG_MACH_TEENOTE
W
Wolfgang Denk 已提交
8805 8806 8807 8808
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8809
#  define machine_arch_type	MACH_TYPE_TEENOTE
W
Wolfgang Denk 已提交
8810
# endif
M
Marek Vasut 已提交
8811
# define machine_is_teenote()	(machine_arch_type == MACH_TYPE_TEENOTE)
W
Wolfgang Denk 已提交
8812
#else
M
Marek Vasut 已提交
8813
# define machine_is_teenote()	(0)
W
Wolfgang Denk 已提交
8814 8815
#endif

M
Marek Vasut 已提交
8816
#ifdef CONFIG_MACH_TS3
W
Wolfgang Denk 已提交
8817 8818 8819 8820
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8821
#  define machine_arch_type	MACH_TYPE_TS3
W
Wolfgang Denk 已提交
8822
# endif
M
Marek Vasut 已提交
8823
# define machine_is_ts3()	(machine_arch_type == MACH_TYPE_TS3)
W
Wolfgang Denk 已提交
8824
#else
M
Marek Vasut 已提交
8825
# define machine_is_ts3()	(0)
W
Wolfgang Denk 已提交
8826 8827
#endif

M
Marek Vasut 已提交
8828
#ifdef CONFIG_MACH_A0
W
Wolfgang Denk 已提交
8829 8830 8831 8832
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8833
#  define machine_arch_type	MACH_TYPE_A0
W
Wolfgang Denk 已提交
8834
# endif
M
Marek Vasut 已提交
8835
# define machine_is_a0()	(machine_arch_type == MACH_TYPE_A0)
W
Wolfgang Denk 已提交
8836
#else
M
Marek Vasut 已提交
8837
# define machine_is_a0()	(0)
W
Wolfgang Denk 已提交
8838 8839
#endif

M
Marek Vasut 已提交
8840
#ifdef CONFIG_MACH_FSM9XXX_SURF
W
Wolfgang Denk 已提交
8841 8842 8843 8844
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8845
#  define machine_arch_type	MACH_TYPE_FSM9XXX_SURF
W
Wolfgang Denk 已提交
8846
# endif
M
Marek Vasut 已提交
8847
# define machine_is_fsm9xxx_surf()	(machine_arch_type == MACH_TYPE_FSM9XXX_SURF)
W
Wolfgang Denk 已提交
8848
#else
M
Marek Vasut 已提交
8849
# define machine_is_fsm9xxx_surf()	(0)
W
Wolfgang Denk 已提交
8850 8851
#endif

M
Marek Vasut 已提交
8852
#ifdef CONFIG_MACH_FSM9XXX_FFA
W
Wolfgang Denk 已提交
8853 8854 8855 8856
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8857
#  define machine_arch_type	MACH_TYPE_FSM9XXX_FFA
W
Wolfgang Denk 已提交
8858
# endif
M
Marek Vasut 已提交
8859
# define machine_is_fsm9xxx_ffa()	(machine_arch_type == MACH_TYPE_FSM9XXX_FFA)
W
Wolfgang Denk 已提交
8860
#else
M
Marek Vasut 已提交
8861
# define machine_is_fsm9xxx_ffa()	(0)
W
Wolfgang Denk 已提交
8862 8863
#endif

M
Marek Vasut 已提交
8864
#ifdef CONFIG_MACH_FRRHWCDMA60W
W
Wolfgang Denk 已提交
8865 8866 8867 8868
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8869
#  define machine_arch_type	MACH_TYPE_FRRHWCDMA60W
W
Wolfgang Denk 已提交
8870
# endif
M
Marek Vasut 已提交
8871
# define machine_is_frrhwcdma60w()	(machine_arch_type == MACH_TYPE_FRRHWCDMA60W)
W
Wolfgang Denk 已提交
8872
#else
M
Marek Vasut 已提交
8873
# define machine_is_frrhwcdma60w()	(0)
W
Wolfgang Denk 已提交
8874 8875
#endif

M
Marek Vasut 已提交
8876
#ifdef CONFIG_MACH_REMUS
W
Wolfgang Denk 已提交
8877 8878 8879 8880
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8881
#  define machine_arch_type	MACH_TYPE_REMUS
W
Wolfgang Denk 已提交
8882
# endif
M
Marek Vasut 已提交
8883
# define machine_is_remus()	(machine_arch_type == MACH_TYPE_REMUS)
W
Wolfgang Denk 已提交
8884
#else
M
Marek Vasut 已提交
8885
# define machine_is_remus()	(0)
W
Wolfgang Denk 已提交
8886 8887
#endif

M
Marek Vasut 已提交
8888
#ifdef CONFIG_MACH_AT91CAP7XDK
W
Wolfgang Denk 已提交
8889 8890 8891 8892
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8893
#  define machine_arch_type	MACH_TYPE_AT91CAP7XDK
W
Wolfgang Denk 已提交
8894
# endif
M
Marek Vasut 已提交
8895
# define machine_is_at91cap7xdk()	(machine_arch_type == MACH_TYPE_AT91CAP7XDK)
W
Wolfgang Denk 已提交
8896
#else
M
Marek Vasut 已提交
8897
# define machine_is_at91cap7xdk()	(0)
W
Wolfgang Denk 已提交
8898 8899
#endif

M
Marek Vasut 已提交
8900
#ifdef CONFIG_MACH_AT91CAP7STK
W
Wolfgang Denk 已提交
8901 8902 8903 8904
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8905
#  define machine_arch_type	MACH_TYPE_AT91CAP7STK
W
Wolfgang Denk 已提交
8906
# endif
M
Marek Vasut 已提交
8907
# define machine_is_at91cap7stk()	(machine_arch_type == MACH_TYPE_AT91CAP7STK)
W
Wolfgang Denk 已提交
8908
#else
M
Marek Vasut 已提交
8909
# define machine_is_at91cap7stk()	(0)
W
Wolfgang Denk 已提交
8910 8911
#endif

M
Marek Vasut 已提交
8912
#ifdef CONFIG_MACH_KT_SBC_SAM9_1
W
Wolfgang Denk 已提交
8913 8914 8915 8916
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8917
#  define machine_arch_type	MACH_TYPE_KT_SBC_SAM9_1
W
Wolfgang Denk 已提交
8918
# endif
M
Marek Vasut 已提交
8919
# define machine_is_kt_sbc_sam9_1()	(machine_arch_type == MACH_TYPE_KT_SBC_SAM9_1)
W
Wolfgang Denk 已提交
8920
#else
M
Marek Vasut 已提交
8921
# define machine_is_kt_sbc_sam9_1()	(0)
W
Wolfgang Denk 已提交
8922 8923
#endif

M
Marek Vasut 已提交
8924
#ifdef CONFIG_MACH_ARMADA_XP_DB
W
Wolfgang Denk 已提交
8925 8926 8927 8928
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8929
#  define machine_arch_type	MACH_TYPE_ARMADA_XP_DB
W
Wolfgang Denk 已提交
8930
# endif
M
Marek Vasut 已提交
8931
# define machine_is_armada_xp_db()	(machine_arch_type == MACH_TYPE_ARMADA_XP_DB)
W
Wolfgang Denk 已提交
8932
#else
M
Marek Vasut 已提交
8933
# define machine_is_armada_xp_db()	(0)
W
Wolfgang Denk 已提交
8934 8935
#endif

M
Marek Vasut 已提交
8936
#ifdef CONFIG_MACH_SPDM
W
Wolfgang Denk 已提交
8937 8938 8939 8940
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8941
#  define machine_arch_type	MACH_TYPE_SPDM
W
Wolfgang Denk 已提交
8942
# endif
M
Marek Vasut 已提交
8943
# define machine_is_spdm()	(machine_arch_type == MACH_TYPE_SPDM)
W
Wolfgang Denk 已提交
8944
#else
M
Marek Vasut 已提交
8945
# define machine_is_spdm()	(0)
W
Wolfgang Denk 已提交
8946 8947
#endif

M
Marek Vasut 已提交
8948
#ifdef CONFIG_MACH_GTIB
W
Wolfgang Denk 已提交
8949 8950 8951 8952
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8953
#  define machine_arch_type	MACH_TYPE_GTIB
W
Wolfgang Denk 已提交
8954
# endif
M
Marek Vasut 已提交
8955
# define machine_is_gtib()	(machine_arch_type == MACH_TYPE_GTIB)
W
Wolfgang Denk 已提交
8956
#else
M
Marek Vasut 已提交
8957
# define machine_is_gtib()	(0)
W
Wolfgang Denk 已提交
8958 8959
#endif

M
Marek Vasut 已提交
8960
#ifdef CONFIG_MACH_DGM3240
W
Wolfgang Denk 已提交
8961 8962 8963 8964
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8965
#  define machine_arch_type	MACH_TYPE_DGM3240
W
Wolfgang Denk 已提交
8966
# endif
M
Marek Vasut 已提交
8967
# define machine_is_dgm3240()	(machine_arch_type == MACH_TYPE_DGM3240)
W
Wolfgang Denk 已提交
8968
#else
M
Marek Vasut 已提交
8969
# define machine_is_dgm3240()	(0)
W
Wolfgang Denk 已提交
8970 8971
#endif

M
Marek Vasut 已提交
8972
#ifdef CONFIG_MACH_HTCMEGA
W
Wolfgang Denk 已提交
8973 8974 8975 8976
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8977
#  define machine_arch_type	MACH_TYPE_HTCMEGA
W
Wolfgang Denk 已提交
8978
# endif
M
Marek Vasut 已提交
8979
# define machine_is_htcmega()	(machine_arch_type == MACH_TYPE_HTCMEGA)
W
Wolfgang Denk 已提交
8980
#else
M
Marek Vasut 已提交
8981
# define machine_is_htcmega()	(0)
W
Wolfgang Denk 已提交
8982 8983
#endif

M
Marek Vasut 已提交
8984
#ifdef CONFIG_MACH_TRICORDER
W
Wolfgang Denk 已提交
8985 8986 8987 8988
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
8989
#  define machine_arch_type	MACH_TYPE_TRICORDER
W
Wolfgang Denk 已提交
8990
# endif
M
Marek Vasut 已提交
8991
# define machine_is_tricorder()	(machine_arch_type == MACH_TYPE_TRICORDER)
W
Wolfgang Denk 已提交
8992
#else
M
Marek Vasut 已提交
8993
# define machine_is_tricorder()	(0)
W
Wolfgang Denk 已提交
8994 8995
#endif

M
Marek Vasut 已提交
8996
#ifdef CONFIG_MACH_TX28
W
Wolfgang Denk 已提交
8997 8998 8999 9000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9001
#  define machine_arch_type	MACH_TYPE_TX28
W
Wolfgang Denk 已提交
9002
# endif
M
Marek Vasut 已提交
9003
# define machine_is_tx28()	(machine_arch_type == MACH_TYPE_TX28)
W
Wolfgang Denk 已提交
9004
#else
M
Marek Vasut 已提交
9005
# define machine_is_tx28()	(0)
W
Wolfgang Denk 已提交
9006 9007
#endif

M
Marek Vasut 已提交
9008
#ifdef CONFIG_MACH_BSTBRD
W
Wolfgang Denk 已提交
9009 9010 9011 9012
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9013
#  define machine_arch_type	MACH_TYPE_BSTBRD
W
Wolfgang Denk 已提交
9014
# endif
M
Marek Vasut 已提交
9015
# define machine_is_bstbrd()	(machine_arch_type == MACH_TYPE_BSTBRD)
W
Wolfgang Denk 已提交
9016
#else
M
Marek Vasut 已提交
9017
# define machine_is_bstbrd()	(0)
W
Wolfgang Denk 已提交
9018 9019
#endif

M
Marek Vasut 已提交
9020
#ifdef CONFIG_MACH_PWB3090
W
Wolfgang Denk 已提交
9021 9022 9023 9024
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9025
#  define machine_arch_type	MACH_TYPE_PWB3090
W
Wolfgang Denk 已提交
9026
# endif
M
Marek Vasut 已提交
9027
# define machine_is_pwb3090()	(machine_arch_type == MACH_TYPE_PWB3090)
W
Wolfgang Denk 已提交
9028
#else
M
Marek Vasut 已提交
9029
# define machine_is_pwb3090()	(0)
W
Wolfgang Denk 已提交
9030 9031
#endif

M
Marek Vasut 已提交
9032
#ifdef CONFIG_MACH_IDEA6410
W
Wolfgang Denk 已提交
9033 9034 9035 9036
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9037
#  define machine_arch_type	MACH_TYPE_IDEA6410
W
Wolfgang Denk 已提交
9038
# endif
M
Marek Vasut 已提交
9039
# define machine_is_idea6410()	(machine_arch_type == MACH_TYPE_IDEA6410)
W
Wolfgang Denk 已提交
9040
#else
M
Marek Vasut 已提交
9041
# define machine_is_idea6410()	(0)
W
Wolfgang Denk 已提交
9042 9043
#endif

M
Marek Vasut 已提交
9044
#ifdef CONFIG_MACH_QBC9263
W
Wolfgang Denk 已提交
9045 9046 9047 9048
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9049
#  define machine_arch_type	MACH_TYPE_QBC9263
W
Wolfgang Denk 已提交
9050
# endif
M
Marek Vasut 已提交
9051
# define machine_is_qbc9263()	(machine_arch_type == MACH_TYPE_QBC9263)
W
Wolfgang Denk 已提交
9052
#else
M
Marek Vasut 已提交
9053
# define machine_is_qbc9263()	(0)
W
Wolfgang Denk 已提交
9054 9055
#endif

M
Marek Vasut 已提交
9056
#ifdef CONFIG_MACH_BORABORA
W
Wolfgang Denk 已提交
9057 9058 9059 9060
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9061
#  define machine_arch_type	MACH_TYPE_BORABORA
W
Wolfgang Denk 已提交
9062
# endif
M
Marek Vasut 已提交
9063
# define machine_is_borabora()	(machine_arch_type == MACH_TYPE_BORABORA)
W
Wolfgang Denk 已提交
9064
#else
M
Marek Vasut 已提交
9065
# define machine_is_borabora()	(0)
W
Wolfgang Denk 已提交
9066 9067
#endif

M
Marek Vasut 已提交
9068
#ifdef CONFIG_MACH_VALDEZ
W
Wolfgang Denk 已提交
9069 9070 9071 9072
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9073
#  define machine_arch_type	MACH_TYPE_VALDEZ
W
Wolfgang Denk 已提交
9074
# endif
M
Marek Vasut 已提交
9075
# define machine_is_valdez()	(machine_arch_type == MACH_TYPE_VALDEZ)
W
Wolfgang Denk 已提交
9076
#else
M
Marek Vasut 已提交
9077
# define machine_is_valdez()	(0)
W
Wolfgang Denk 已提交
9078 9079
#endif

M
Marek Vasut 已提交
9080
#ifdef CONFIG_MACH_LS9G20
W
Wolfgang Denk 已提交
9081 9082 9083 9084
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9085
#  define machine_arch_type	MACH_TYPE_LS9G20
W
Wolfgang Denk 已提交
9086
# endif
M
Marek Vasut 已提交
9087
# define machine_is_ls9g20()	(machine_arch_type == MACH_TYPE_LS9G20)
W
Wolfgang Denk 已提交
9088
#else
M
Marek Vasut 已提交
9089
# define machine_is_ls9g20()	(0)
W
Wolfgang Denk 已提交
9090 9091
#endif

M
Marek Vasut 已提交
9092
#ifdef CONFIG_MACH_MIOS_V1
W
Wolfgang Denk 已提交
9093 9094 9095 9096
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9097
#  define machine_arch_type	MACH_TYPE_MIOS_V1
W
Wolfgang Denk 已提交
9098
# endif
M
Marek Vasut 已提交
9099
# define machine_is_mios_v1()	(machine_arch_type == MACH_TYPE_MIOS_V1)
W
Wolfgang Denk 已提交
9100
#else
M
Marek Vasut 已提交
9101
# define machine_is_mios_v1()	(0)
W
Wolfgang Denk 已提交
9102 9103
#endif

M
Marek Vasut 已提交
9104
#ifdef CONFIG_MACH_S5PC110_CRESPO
W
Wolfgang Denk 已提交
9105 9106 9107 9108
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9109
#  define machine_arch_type	MACH_TYPE_S5PC110_CRESPO
W
Wolfgang Denk 已提交
9110
# endif
M
Marek Vasut 已提交
9111
# define machine_is_s5pc110_crespo()	(machine_arch_type == MACH_TYPE_S5PC110_CRESPO)
W
Wolfgang Denk 已提交
9112
#else
M
Marek Vasut 已提交
9113
# define machine_is_s5pc110_crespo()	(0)
W
Wolfgang Denk 已提交
9114 9115
#endif

M
Marek Vasut 已提交
9116
#ifdef CONFIG_MACH_CONTROLTEK9G20
W
Wolfgang Denk 已提交
9117 9118 9119 9120
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9121
#  define machine_arch_type	MACH_TYPE_CONTROLTEK9G20
W
Wolfgang Denk 已提交
9122
# endif
M
Marek Vasut 已提交
9123
# define machine_is_controltek9g20()	(machine_arch_type == MACH_TYPE_CONTROLTEK9G20)
W
Wolfgang Denk 已提交
9124
#else
M
Marek Vasut 已提交
9125
# define machine_is_controltek9g20()	(0)
W
Wolfgang Denk 已提交
9126 9127
#endif

M
Marek Vasut 已提交
9128
#ifdef CONFIG_MACH_TIN307
W
Wolfgang Denk 已提交
9129 9130 9131 9132
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9133
#  define machine_arch_type	MACH_TYPE_TIN307
W
Wolfgang Denk 已提交
9134
# endif
M
Marek Vasut 已提交
9135
# define machine_is_tin307()	(machine_arch_type == MACH_TYPE_TIN307)
W
Wolfgang Denk 已提交
9136
#else
M
Marek Vasut 已提交
9137
# define machine_is_tin307()	(0)
W
Wolfgang Denk 已提交
9138 9139
#endif

M
Marek Vasut 已提交
9140
#ifdef CONFIG_MACH_TIN510
W
Wolfgang Denk 已提交
9141 9142 9143 9144
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9145
#  define machine_arch_type	MACH_TYPE_TIN510
W
Wolfgang Denk 已提交
9146
# endif
M
Marek Vasut 已提交
9147
# define machine_is_tin510()	(machine_arch_type == MACH_TYPE_TIN510)
W
Wolfgang Denk 已提交
9148
#else
M
Marek Vasut 已提交
9149
# define machine_is_tin510()	(0)
W
Wolfgang Denk 已提交
9150 9151
#endif

M
Marek Vasut 已提交
9152
#ifdef CONFIG_MACH_BLUECHEESE
W
Wolfgang Denk 已提交
9153 9154 9155 9156
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9157
#  define machine_arch_type	MACH_TYPE_BLUECHEESE
W
Wolfgang Denk 已提交
9158
# endif
M
Marek Vasut 已提交
9159
# define machine_is_bluecheese()	(machine_arch_type == MACH_TYPE_BLUECHEESE)
W
Wolfgang Denk 已提交
9160
#else
M
Marek Vasut 已提交
9161
# define machine_is_bluecheese()	(0)
W
Wolfgang Denk 已提交
9162 9163
#endif

M
Marek Vasut 已提交
9164
#ifdef CONFIG_MACH_TEM3X30
W
Wolfgang Denk 已提交
9165 9166 9167 9168
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9169
#  define machine_arch_type	MACH_TYPE_TEM3X30
W
Wolfgang Denk 已提交
9170
# endif
M
Marek Vasut 已提交
9171
# define machine_is_tem3x30()	(machine_arch_type == MACH_TYPE_TEM3X30)
W
Wolfgang Denk 已提交
9172
#else
M
Marek Vasut 已提交
9173
# define machine_is_tem3x30()	(0)
W
Wolfgang Denk 已提交
9174 9175
#endif

M
Marek Vasut 已提交
9176
#ifdef CONFIG_MACH_HARVEST_DESOTO
W
Wolfgang Denk 已提交
9177 9178 9179 9180
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9181
#  define machine_arch_type	MACH_TYPE_HARVEST_DESOTO
W
Wolfgang Denk 已提交
9182
# endif
M
Marek Vasut 已提交
9183
# define machine_is_harvest_desoto()	(machine_arch_type == MACH_TYPE_HARVEST_DESOTO)
W
Wolfgang Denk 已提交
9184
#else
M
Marek Vasut 已提交
9185
# define machine_is_harvest_desoto()	(0)
W
Wolfgang Denk 已提交
9186 9187
#endif

M
Marek Vasut 已提交
9188
#ifdef CONFIG_MACH_MSM8X60_QRDC
W
Wolfgang Denk 已提交
9189 9190 9191 9192
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9193
#  define machine_arch_type	MACH_TYPE_MSM8X60_QRDC
W
Wolfgang Denk 已提交
9194
# endif
M
Marek Vasut 已提交
9195
# define machine_is_msm8x60_qrdc()	(machine_arch_type == MACH_TYPE_MSM8X60_QRDC)
W
Wolfgang Denk 已提交
9196
#else
M
Marek Vasut 已提交
9197
# define machine_is_msm8x60_qrdc()	(0)
W
Wolfgang Denk 已提交
9198 9199
#endif

M
Marek Vasut 已提交
9200
#ifdef CONFIG_MACH_SPEAR900
W
Wolfgang Denk 已提交
9201 9202 9203 9204
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9205
#  define machine_arch_type	MACH_TYPE_SPEAR900
W
Wolfgang Denk 已提交
9206
# endif
M
Marek Vasut 已提交
9207
# define machine_is_spear900()	(machine_arch_type == MACH_TYPE_SPEAR900)
W
Wolfgang Denk 已提交
9208
#else
M
Marek Vasut 已提交
9209
# define machine_is_spear900()	(0)
W
Wolfgang Denk 已提交
9210 9211
#endif

M
Marek Vasut 已提交
9212
#ifdef CONFIG_MACH_PCONTROL_G20
W
Wolfgang Denk 已提交
9213 9214 9215 9216
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9217
#  define machine_arch_type	MACH_TYPE_PCONTROL_G20
W
Wolfgang Denk 已提交
9218
# endif
M
Marek Vasut 已提交
9219
# define machine_is_pcontrol_g20()	(machine_arch_type == MACH_TYPE_PCONTROL_G20)
W
Wolfgang Denk 已提交
9220
#else
M
Marek Vasut 已提交
9221
# define machine_is_pcontrol_g20()	(0)
W
Wolfgang Denk 已提交
9222 9223
#endif

M
Marek Vasut 已提交
9224
#ifdef CONFIG_MACH_RDSTOR
W
Wolfgang Denk 已提交
9225 9226 9227 9228
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9229
#  define machine_arch_type	MACH_TYPE_RDSTOR
W
Wolfgang Denk 已提交
9230
# endif
M
Marek Vasut 已提交
9231
# define machine_is_rdstor()	(machine_arch_type == MACH_TYPE_RDSTOR)
W
Wolfgang Denk 已提交
9232
#else
M
Marek Vasut 已提交
9233
# define machine_is_rdstor()	(0)
W
Wolfgang Denk 已提交
9234 9235
#endif

M
Marek Vasut 已提交
9236
#ifdef CONFIG_MACH_USDLOADER
W
Wolfgang Denk 已提交
9237 9238 9239 9240
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9241
#  define machine_arch_type	MACH_TYPE_USDLOADER
W
Wolfgang Denk 已提交
9242
# endif
M
Marek Vasut 已提交
9243
# define machine_is_usdloader()	(machine_arch_type == MACH_TYPE_USDLOADER)
W
Wolfgang Denk 已提交
9244
#else
M
Marek Vasut 已提交
9245
# define machine_is_usdloader()	(0)
W
Wolfgang Denk 已提交
9246 9247
#endif

M
Marek Vasut 已提交
9248
#ifdef CONFIG_MACH_TSOPLOADER
W
Wolfgang Denk 已提交
9249 9250 9251 9252
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9253
#  define machine_arch_type	MACH_TYPE_TSOPLOADER
W
Wolfgang Denk 已提交
9254
# endif
M
Marek Vasut 已提交
9255
# define machine_is_tsoploader()	(machine_arch_type == MACH_TYPE_TSOPLOADER)
W
Wolfgang Denk 已提交
9256
#else
M
Marek Vasut 已提交
9257
# define machine_is_tsoploader()	(0)
W
Wolfgang Denk 已提交
9258 9259
#endif

M
Marek Vasut 已提交
9260
#ifdef CONFIG_MACH_KRONOS
W
Wolfgang Denk 已提交
9261 9262 9263 9264
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9265
#  define machine_arch_type	MACH_TYPE_KRONOS
W
Wolfgang Denk 已提交
9266
# endif
M
Marek Vasut 已提交
9267
# define machine_is_kronos()	(machine_arch_type == MACH_TYPE_KRONOS)
W
Wolfgang Denk 已提交
9268
#else
M
Marek Vasut 已提交
9269
# define machine_is_kronos()	(0)
W
Wolfgang Denk 已提交
9270 9271
#endif

M
Marek Vasut 已提交
9272
#ifdef CONFIG_MACH_FFCORE
W
Wolfgang Denk 已提交
9273 9274 9275 9276
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9277
#  define machine_arch_type	MACH_TYPE_FFCORE
W
Wolfgang Denk 已提交
9278
# endif
M
Marek Vasut 已提交
9279
# define machine_is_ffcore()	(machine_arch_type == MACH_TYPE_FFCORE)
W
Wolfgang Denk 已提交
9280
#else
M
Marek Vasut 已提交
9281
# define machine_is_ffcore()	(0)
W
Wolfgang Denk 已提交
9282 9283
#endif

M
Marek Vasut 已提交
9284
#ifdef CONFIG_MACH_MONE
W
Wolfgang Denk 已提交
9285 9286 9287 9288
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9289
#  define machine_arch_type	MACH_TYPE_MONE
W
Wolfgang Denk 已提交
9290
# endif
M
Marek Vasut 已提交
9291
# define machine_is_mone()	(machine_arch_type == MACH_TYPE_MONE)
W
Wolfgang Denk 已提交
9292
#else
M
Marek Vasut 已提交
9293
# define machine_is_mone()	(0)
W
Wolfgang Denk 已提交
9294 9295
#endif

M
Marek Vasut 已提交
9296
#ifdef CONFIG_MACH_UNIT2S
W
Wolfgang Denk 已提交
9297 9298 9299 9300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9301
#  define machine_arch_type	MACH_TYPE_UNIT2S
W
Wolfgang Denk 已提交
9302
# endif
M
Marek Vasut 已提交
9303
# define machine_is_unit2s()	(machine_arch_type == MACH_TYPE_UNIT2S)
W
Wolfgang Denk 已提交
9304
#else
M
Marek Vasut 已提交
9305
# define machine_is_unit2s()	(0)
W
Wolfgang Denk 已提交
9306 9307
#endif

M
Marek Vasut 已提交
9308
#ifdef CONFIG_MACH_ACER_A5
W
Wolfgang Denk 已提交
9309 9310 9311 9312
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9313
#  define machine_arch_type	MACH_TYPE_ACER_A5
W
Wolfgang Denk 已提交
9314
# endif
M
Marek Vasut 已提交
9315
# define machine_is_acer_a5()	(machine_arch_type == MACH_TYPE_ACER_A5)
W
Wolfgang Denk 已提交
9316
#else
M
Marek Vasut 已提交
9317
# define machine_is_acer_a5()	(0)
W
Wolfgang Denk 已提交
9318 9319
#endif

M
Marek Vasut 已提交
9320
#ifdef CONFIG_MACH_ETHERPRO_ISP
W
Wolfgang Denk 已提交
9321 9322 9323 9324
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9325
#  define machine_arch_type	MACH_TYPE_ETHERPRO_ISP
W
Wolfgang Denk 已提交
9326
# endif
M
Marek Vasut 已提交
9327
# define machine_is_etherpro_isp()	(machine_arch_type == MACH_TYPE_ETHERPRO_ISP)
W
Wolfgang Denk 已提交
9328
#else
M
Marek Vasut 已提交
9329
# define machine_is_etherpro_isp()	(0)
W
Wolfgang Denk 已提交
9330 9331
#endif

M
Marek Vasut 已提交
9332
#ifdef CONFIG_MACH_STRETCHS7000
W
Wolfgang Denk 已提交
9333 9334 9335 9336
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9337
#  define machine_arch_type	MACH_TYPE_STRETCHS7000
W
Wolfgang Denk 已提交
9338
# endif
M
Marek Vasut 已提交
9339
# define machine_is_stretchs7000()	(machine_arch_type == MACH_TYPE_STRETCHS7000)
W
Wolfgang Denk 已提交
9340
#else
M
Marek Vasut 已提交
9341
# define machine_is_stretchs7000()	(0)
W
Wolfgang Denk 已提交
9342 9343
#endif

M
Marek Vasut 已提交
9344
#ifdef CONFIG_MACH_P87_SMARTSIM
W
Wolfgang Denk 已提交
9345 9346 9347 9348
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9349
#  define machine_arch_type	MACH_TYPE_P87_SMARTSIM
W
Wolfgang Denk 已提交
9350
# endif
M
Marek Vasut 已提交
9351
# define machine_is_p87_smartsim()	(machine_arch_type == MACH_TYPE_P87_SMARTSIM)
W
Wolfgang Denk 已提交
9352
#else
M
Marek Vasut 已提交
9353
# define machine_is_p87_smartsim()	(0)
W
Wolfgang Denk 已提交
9354 9355
#endif

M
Marek Vasut 已提交
9356
#ifdef CONFIG_MACH_TULIP
W
Wolfgang Denk 已提交
9357 9358 9359 9360
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9361
#  define machine_arch_type	MACH_TYPE_TULIP
W
Wolfgang Denk 已提交
9362
# endif
M
Marek Vasut 已提交
9363
# define machine_is_tulip()	(machine_arch_type == MACH_TYPE_TULIP)
W
Wolfgang Denk 已提交
9364
#else
M
Marek Vasut 已提交
9365
# define machine_is_tulip()	(0)
W
Wolfgang Denk 已提交
9366 9367
#endif

M
Marek Vasut 已提交
9368
#ifdef CONFIG_MACH_SUNFLOWER
W
Wolfgang Denk 已提交
9369 9370 9371 9372
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9373
#  define machine_arch_type	MACH_TYPE_SUNFLOWER
W
Wolfgang Denk 已提交
9374
# endif
M
Marek Vasut 已提交
9375
# define machine_is_sunflower()	(machine_arch_type == MACH_TYPE_SUNFLOWER)
W
Wolfgang Denk 已提交
9376
#else
M
Marek Vasut 已提交
9377
# define machine_is_sunflower()	(0)
W
Wolfgang Denk 已提交
9378 9379
#endif

M
Marek Vasut 已提交
9380
#ifdef CONFIG_MACH_RIB
W
Wolfgang Denk 已提交
9381 9382 9383 9384
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9385
#  define machine_arch_type	MACH_TYPE_RIB
W
Wolfgang Denk 已提交
9386
# endif
M
Marek Vasut 已提交
9387
# define machine_is_rib()	(machine_arch_type == MACH_TYPE_RIB)
W
Wolfgang Denk 已提交
9388
#else
M
Marek Vasut 已提交
9389
# define machine_is_rib()	(0)
W
Wolfgang Denk 已提交
9390 9391
#endif

M
Marek Vasut 已提交
9392
#ifdef CONFIG_MACH_CLOD
W
Wolfgang Denk 已提交
9393 9394 9395 9396
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9397
#  define machine_arch_type	MACH_TYPE_CLOD
W
Wolfgang Denk 已提交
9398
# endif
M
Marek Vasut 已提交
9399
# define machine_is_clod()	(machine_arch_type == MACH_TYPE_CLOD)
W
Wolfgang Denk 已提交
9400
#else
M
Marek Vasut 已提交
9401
# define machine_is_clod()	(0)
W
Wolfgang Denk 已提交
9402 9403
#endif

M
Marek Vasut 已提交
9404
#ifdef CONFIG_MACH_RUMP
W
Wolfgang Denk 已提交
9405 9406 9407 9408
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9409
#  define machine_arch_type	MACH_TYPE_RUMP
W
Wolfgang Denk 已提交
9410
# endif
M
Marek Vasut 已提交
9411
# define machine_is_rump()	(machine_arch_type == MACH_TYPE_RUMP)
W
Wolfgang Denk 已提交
9412
#else
M
Marek Vasut 已提交
9413
# define machine_is_rump()	(0)
W
Wolfgang Denk 已提交
9414 9415
#endif

M
Marek Vasut 已提交
9416
#ifdef CONFIG_MACH_TENDERLOIN
W
Wolfgang Denk 已提交
9417 9418 9419 9420
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9421
#  define machine_arch_type	MACH_TYPE_TENDERLOIN
W
Wolfgang Denk 已提交
9422
# endif
M
Marek Vasut 已提交
9423
# define machine_is_tenderloin()	(machine_arch_type == MACH_TYPE_TENDERLOIN)
W
Wolfgang Denk 已提交
9424
#else
M
Marek Vasut 已提交
9425
# define machine_is_tenderloin()	(0)
W
Wolfgang Denk 已提交
9426 9427
#endif

M
Marek Vasut 已提交
9428
#ifdef CONFIG_MACH_SHORTLOIN
W
Wolfgang Denk 已提交
9429 9430 9431 9432
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9433
#  define machine_arch_type	MACH_TYPE_SHORTLOIN
W
Wolfgang Denk 已提交
9434
# endif
M
Marek Vasut 已提交
9435
# define machine_is_shortloin()	(machine_arch_type == MACH_TYPE_SHORTLOIN)
W
Wolfgang Denk 已提交
9436
#else
M
Marek Vasut 已提交
9437
# define machine_is_shortloin()	(0)
W
Wolfgang Denk 已提交
9438 9439
#endif

M
Marek Vasut 已提交
9440
#ifdef CONFIG_MACH_ANTARES
W
Wolfgang Denk 已提交
9441 9442 9443 9444
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9445
#  define machine_arch_type	MACH_TYPE_ANTARES
W
Wolfgang Denk 已提交
9446
# endif
M
Marek Vasut 已提交
9447
# define machine_is_antares()	(machine_arch_type == MACH_TYPE_ANTARES)
W
Wolfgang Denk 已提交
9448
#else
M
Marek Vasut 已提交
9449
# define machine_is_antares()	(0)
W
Wolfgang Denk 已提交
9450 9451
#endif

M
Marek Vasut 已提交
9452
#ifdef CONFIG_MACH_WB40N
W
Wolfgang Denk 已提交
9453 9454 9455 9456
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9457
#  define machine_arch_type	MACH_TYPE_WB40N
W
Wolfgang Denk 已提交
9458
# endif
M
Marek Vasut 已提交
9459
# define machine_is_wb40n()	(machine_arch_type == MACH_TYPE_WB40N)
W
Wolfgang Denk 已提交
9460
#else
M
Marek Vasut 已提交
9461
# define machine_is_wb40n()	(0)
W
Wolfgang Denk 已提交
9462 9463
#endif

M
Marek Vasut 已提交
9464
#ifdef CONFIG_MACH_HERRING
W
Wolfgang Denk 已提交
9465 9466 9467 9468
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9469
#  define machine_arch_type	MACH_TYPE_HERRING
W
Wolfgang Denk 已提交
9470
# endif
M
Marek Vasut 已提交
9471
# define machine_is_herring()	(machine_arch_type == MACH_TYPE_HERRING)
W
Wolfgang Denk 已提交
9472
#else
M
Marek Vasut 已提交
9473
# define machine_is_herring()	(0)
W
Wolfgang Denk 已提交
9474 9475
#endif

M
Marek Vasut 已提交
9476
#ifdef CONFIG_MACH_NAXY400
W
Wolfgang Denk 已提交
9477 9478 9479 9480
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9481
#  define machine_arch_type	MACH_TYPE_NAXY400
W
Wolfgang Denk 已提交
9482
# endif
M
Marek Vasut 已提交
9483
# define machine_is_naxy400()	(machine_arch_type == MACH_TYPE_NAXY400)
W
Wolfgang Denk 已提交
9484
#else
M
Marek Vasut 已提交
9485
# define machine_is_naxy400()	(0)
W
Wolfgang Denk 已提交
9486 9487
#endif

M
Marek Vasut 已提交
9488
#ifdef CONFIG_MACH_NAXY1200
W
Wolfgang Denk 已提交
9489 9490 9491 9492
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9493
#  define machine_arch_type	MACH_TYPE_NAXY1200
W
Wolfgang Denk 已提交
9494
# endif
M
Marek Vasut 已提交
9495
# define machine_is_naxy1200()	(machine_arch_type == MACH_TYPE_NAXY1200)
W
Wolfgang Denk 已提交
9496
#else
M
Marek Vasut 已提交
9497
# define machine_is_naxy1200()	(0)
W
Wolfgang Denk 已提交
9498 9499
#endif

M
Marek Vasut 已提交
9500
#ifdef CONFIG_MACH_VPR200
W
Wolfgang Denk 已提交
9501 9502 9503 9504
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9505
#  define machine_arch_type	MACH_TYPE_VPR200
W
Wolfgang Denk 已提交
9506
# endif
M
Marek Vasut 已提交
9507
# define machine_is_vpr200()	(machine_arch_type == MACH_TYPE_VPR200)
W
Wolfgang Denk 已提交
9508
#else
M
Marek Vasut 已提交
9509
# define machine_is_vpr200()	(0)
W
Wolfgang Denk 已提交
9510 9511
#endif

M
Marek Vasut 已提交
9512
#ifdef CONFIG_MACH_BUG20
W
Wolfgang Denk 已提交
9513 9514 9515 9516
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9517
#  define machine_arch_type	MACH_TYPE_BUG20
W
Wolfgang Denk 已提交
9518
# endif
M
Marek Vasut 已提交
9519
# define machine_is_bug20()	(machine_arch_type == MACH_TYPE_BUG20)
W
Wolfgang Denk 已提交
9520
#else
M
Marek Vasut 已提交
9521
# define machine_is_bug20()	(0)
W
Wolfgang Denk 已提交
9522 9523
#endif

M
Marek Vasut 已提交
9524
#ifdef CONFIG_MACH_GOFLEXNET
W
Wolfgang Denk 已提交
9525 9526 9527 9528
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9529
#  define machine_arch_type	MACH_TYPE_GOFLEXNET
W
Wolfgang Denk 已提交
9530
# endif
M
Marek Vasut 已提交
9531
# define machine_is_goflexnet()	(machine_arch_type == MACH_TYPE_GOFLEXNET)
W
Wolfgang Denk 已提交
9532
#else
M
Marek Vasut 已提交
9533
# define machine_is_goflexnet()	(0)
W
Wolfgang Denk 已提交
9534 9535
#endif

M
Marek Vasut 已提交
9536
#ifdef CONFIG_MACH_TORBRECK
W
Wolfgang Denk 已提交
9537 9538 9539 9540
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9541
#  define machine_arch_type	MACH_TYPE_TORBRECK
W
Wolfgang Denk 已提交
9542
# endif
M
Marek Vasut 已提交
9543
# define machine_is_torbreck()	(machine_arch_type == MACH_TYPE_TORBRECK)
W
Wolfgang Denk 已提交
9544
#else
M
Marek Vasut 已提交
9545
# define machine_is_torbreck()	(0)
W
Wolfgang Denk 已提交
9546 9547
#endif

M
Marek Vasut 已提交
9548
#ifdef CONFIG_MACH_SAARB_MG1
W
Wolfgang Denk 已提交
9549 9550 9551 9552
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9553
#  define machine_arch_type	MACH_TYPE_SAARB_MG1
W
Wolfgang Denk 已提交
9554
# endif
M
Marek Vasut 已提交
9555
# define machine_is_saarb_mg1()	(machine_arch_type == MACH_TYPE_SAARB_MG1)
W
Wolfgang Denk 已提交
9556
#else
M
Marek Vasut 已提交
9557
# define machine_is_saarb_mg1()	(0)
W
Wolfgang Denk 已提交
9558 9559
#endif

M
Marek Vasut 已提交
9560
#ifdef CONFIG_MACH_CALLISTO
W
Wolfgang Denk 已提交
9561 9562 9563 9564
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9565
#  define machine_arch_type	MACH_TYPE_CALLISTO
W
Wolfgang Denk 已提交
9566
# endif
M
Marek Vasut 已提交
9567
# define machine_is_callisto()	(machine_arch_type == MACH_TYPE_CALLISTO)
W
Wolfgang Denk 已提交
9568
#else
M
Marek Vasut 已提交
9569
# define machine_is_callisto()	(0)
W
Wolfgang Denk 已提交
9570 9571
#endif

M
Marek Vasut 已提交
9572
#ifdef CONFIG_MACH_MULTHSU
W
Wolfgang Denk 已提交
9573 9574 9575 9576
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9577
#  define machine_arch_type	MACH_TYPE_MULTHSU
W
Wolfgang Denk 已提交
9578
# endif
M
Marek Vasut 已提交
9579
# define machine_is_multhsu()	(machine_arch_type == MACH_TYPE_MULTHSU)
W
Wolfgang Denk 已提交
9580
#else
M
Marek Vasut 已提交
9581
# define machine_is_multhsu()	(0)
W
Wolfgang Denk 已提交
9582 9583
#endif

M
Marek Vasut 已提交
9584
#ifdef CONFIG_MACH_SALUDA
W
Wolfgang Denk 已提交
9585 9586 9587 9588
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9589
#  define machine_arch_type	MACH_TYPE_SALUDA
W
Wolfgang Denk 已提交
9590
# endif
M
Marek Vasut 已提交
9591
# define machine_is_saluda()	(machine_arch_type == MACH_TYPE_SALUDA)
W
Wolfgang Denk 已提交
9592
#else
M
Marek Vasut 已提交
9593
# define machine_is_saluda()	(0)
W
Wolfgang Denk 已提交
9594 9595
#endif

M
Marek Vasut 已提交
9596
#ifdef CONFIG_MACH_PEMP_OMAP3_APOLLO
9597 9598 9599 9600
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9601
#  define machine_arch_type	MACH_TYPE_PEMP_OMAP3_APOLLO
9602
# endif
M
Marek Vasut 已提交
9603
# define machine_is_pemp_omap3_apollo()	(machine_arch_type == MACH_TYPE_PEMP_OMAP3_APOLLO)
9604
#else
M
Marek Vasut 已提交
9605
# define machine_is_pemp_omap3_apollo()	(0)
9606 9607
#endif

M
Marek Vasut 已提交
9608
#ifdef CONFIG_MACH_VC0718
9609 9610 9611 9612
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9613
#  define machine_arch_type	MACH_TYPE_VC0718
9614
# endif
M
Marek Vasut 已提交
9615
# define machine_is_vc0718()	(machine_arch_type == MACH_TYPE_VC0718)
9616
#else
M
Marek Vasut 已提交
9617
# define machine_is_vc0718()	(0)
9618 9619
#endif

M
Marek Vasut 已提交
9620
#ifdef CONFIG_MACH_MVBLX
9621 9622 9623 9624
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9625
#  define machine_arch_type	MACH_TYPE_MVBLX
9626
# endif
M
Marek Vasut 已提交
9627
# define machine_is_mvblx()	(machine_arch_type == MACH_TYPE_MVBLX)
9628
#else
M
Marek Vasut 已提交
9629
# define machine_is_mvblx()	(0)
9630 9631
#endif

M
Marek Vasut 已提交
9632
#ifdef CONFIG_MACH_INHAND_APEIRON
9633 9634 9635 9636
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9637
#  define machine_arch_type	MACH_TYPE_INHAND_APEIRON
9638
# endif
M
Marek Vasut 已提交
9639
# define machine_is_inhand_apeiron()	(machine_arch_type == MACH_TYPE_INHAND_APEIRON)
9640
#else
M
Marek Vasut 已提交
9641
# define machine_is_inhand_apeiron()	(0)
9642 9643
#endif

M
Marek Vasut 已提交
9644
#ifdef CONFIG_MACH_INHAND_FURY
9645 9646 9647 9648
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9649
#  define machine_arch_type	MACH_TYPE_INHAND_FURY
9650
# endif
M
Marek Vasut 已提交
9651
# define machine_is_inhand_fury()	(machine_arch_type == MACH_TYPE_INHAND_FURY)
9652
#else
M
Marek Vasut 已提交
9653
# define machine_is_inhand_fury()	(0)
9654 9655
#endif

M
Marek Vasut 已提交
9656
#ifdef CONFIG_MACH_INHAND_SIREN
9657 9658 9659 9660
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9661
#  define machine_arch_type	MACH_TYPE_INHAND_SIREN
9662
# endif
M
Marek Vasut 已提交
9663
# define machine_is_inhand_siren()	(machine_arch_type == MACH_TYPE_INHAND_SIREN)
9664
#else
M
Marek Vasut 已提交
9665
# define machine_is_inhand_siren()	(0)
9666 9667
#endif

M
Marek Vasut 已提交
9668
#ifdef CONFIG_MACH_HDNVP
9669 9670 9671 9672
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9673
#  define machine_arch_type	MACH_TYPE_HDNVP
9674
# endif
M
Marek Vasut 已提交
9675
# define machine_is_hdnvp()	(machine_arch_type == MACH_TYPE_HDNVP)
9676
#else
M
Marek Vasut 已提交
9677
# define machine_is_hdnvp()	(0)
9678 9679
#endif

M
Marek Vasut 已提交
9680
#ifdef CONFIG_MACH_SOFTWINNER
9681 9682 9683 9684
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9685
#  define machine_arch_type	MACH_TYPE_SOFTWINNER
9686
# endif
M
Marek Vasut 已提交
9687
# define machine_is_softwinner()	(machine_arch_type == MACH_TYPE_SOFTWINNER)
9688
#else
M
Marek Vasut 已提交
9689
# define machine_is_softwinner()	(0)
9690 9691
#endif

M
Marek Vasut 已提交
9692
#ifdef CONFIG_MACH_PRIMA2_EVB
9693 9694 9695 9696
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9697
#  define machine_arch_type	MACH_TYPE_PRIMA2_EVB
9698
# endif
M
Marek Vasut 已提交
9699
# define machine_is_prima2_evb()	(machine_arch_type == MACH_TYPE_PRIMA2_EVB)
9700
#else
M
Marek Vasut 已提交
9701
# define machine_is_prima2_evb()	(0)
9702 9703
#endif

M
Marek Vasut 已提交
9704
#ifdef CONFIG_MACH_NAS6210
9705 9706 9707 9708
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9709
#  define machine_arch_type	MACH_TYPE_NAS6210
9710
# endif
M
Marek Vasut 已提交
9711
# define machine_is_nas6210()	(machine_arch_type == MACH_TYPE_NAS6210)
9712
#else
M
Marek Vasut 已提交
9713
# define machine_is_nas6210()	(0)
9714 9715
#endif

M
Marek Vasut 已提交
9716
#ifdef CONFIG_MACH_UNISDEV
9717 9718 9719 9720
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9721
#  define machine_arch_type	MACH_TYPE_UNISDEV
9722
# endif
M
Marek Vasut 已提交
9723
# define machine_is_unisdev()	(machine_arch_type == MACH_TYPE_UNISDEV)
9724
#else
M
Marek Vasut 已提交
9725
# define machine_is_unisdev()	(0)
9726 9727
#endif

M
Marek Vasut 已提交
9728
#ifdef CONFIG_MACH_SBCA11
9729 9730 9731 9732
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9733
#  define machine_arch_type	MACH_TYPE_SBCA11
9734
# endif
M
Marek Vasut 已提交
9735
# define machine_is_sbca11()	(machine_arch_type == MACH_TYPE_SBCA11)
9736
#else
M
Marek Vasut 已提交
9737
# define machine_is_sbca11()	(0)
9738 9739
#endif

M
Marek Vasut 已提交
9740
#ifdef CONFIG_MACH_SAGA
9741 9742 9743 9744
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9745
#  define machine_arch_type	MACH_TYPE_SAGA
9746
# endif
M
Marek Vasut 已提交
9747
# define machine_is_saga()	(machine_arch_type == MACH_TYPE_SAGA)
9748
#else
M
Marek Vasut 已提交
9749
# define machine_is_saga()	(0)
9750 9751
#endif

M
Marek Vasut 已提交
9752
#ifdef CONFIG_MACH_NS_K330
9753 9754 9755 9756
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9757
#  define machine_arch_type	MACH_TYPE_NS_K330
9758
# endif
M
Marek Vasut 已提交
9759
# define machine_is_ns_k330()	(machine_arch_type == MACH_TYPE_NS_K330)
9760
#else
M
Marek Vasut 已提交
9761
# define machine_is_ns_k330()	(0)
9762 9763
#endif

M
Marek Vasut 已提交
9764
#ifdef CONFIG_MACH_TANNA
9765 9766 9767 9768
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9769
#  define machine_arch_type	MACH_TYPE_TANNA
9770
# endif
M
Marek Vasut 已提交
9771
# define machine_is_tanna()	(machine_arch_type == MACH_TYPE_TANNA)
9772
#else
M
Marek Vasut 已提交
9773
# define machine_is_tanna()	(0)
9774 9775
#endif

M
Marek Vasut 已提交
9776
#ifdef CONFIG_MACH_IMATE8502
9777 9778 9779 9780
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9781
#  define machine_arch_type	MACH_TYPE_IMATE8502
9782
# endif
M
Marek Vasut 已提交
9783
# define machine_is_imate8502()	(machine_arch_type == MACH_TYPE_IMATE8502)
9784
#else
M
Marek Vasut 已提交
9785
# define machine_is_imate8502()	(0)
9786 9787
#endif

M
Marek Vasut 已提交
9788
#ifdef CONFIG_MACH_ASPEN
9789 9790 9791 9792
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9793
#  define machine_arch_type	MACH_TYPE_ASPEN
9794
# endif
M
Marek Vasut 已提交
9795
# define machine_is_aspen()	(machine_arch_type == MACH_TYPE_ASPEN)
9796
#else
M
Marek Vasut 已提交
9797
# define machine_is_aspen()	(0)
9798 9799
#endif

M
Marek Vasut 已提交
9800
#ifdef CONFIG_MACH_DAINTREE_CWAC
9801 9802 9803 9804
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9805
#  define machine_arch_type	MACH_TYPE_DAINTREE_CWAC
9806
# endif
M
Marek Vasut 已提交
9807
# define machine_is_daintree_cwac()	(machine_arch_type == MACH_TYPE_DAINTREE_CWAC)
9808
#else
M
Marek Vasut 已提交
9809
# define machine_is_daintree_cwac()	(0)
9810 9811
#endif

M
Marek Vasut 已提交
9812
#ifdef CONFIG_MACH_ZMX25
9813 9814 9815 9816
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9817
#  define machine_arch_type	MACH_TYPE_ZMX25
9818
# endif
M
Marek Vasut 已提交
9819
# define machine_is_zmx25()	(machine_arch_type == MACH_TYPE_ZMX25)
9820
#else
M
Marek Vasut 已提交
9821
# define machine_is_zmx25()	(0)
9822 9823
#endif

M
Marek Vasut 已提交
9824
#ifdef CONFIG_MACH_MAPLE1
9825 9826 9827 9828
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9829
#  define machine_arch_type	MACH_TYPE_MAPLE1
9830
# endif
M
Marek Vasut 已提交
9831
# define machine_is_maple1()	(machine_arch_type == MACH_TYPE_MAPLE1)
9832
#else
M
Marek Vasut 已提交
9833
# define machine_is_maple1()	(0)
9834 9835
#endif

M
Marek Vasut 已提交
9836
#ifdef CONFIG_MACH_QSD8X72_SURF
9837 9838 9839 9840
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9841
#  define machine_arch_type	MACH_TYPE_QSD8X72_SURF
9842
# endif
M
Marek Vasut 已提交
9843
# define machine_is_qsd8x72_surf()	(machine_arch_type == MACH_TYPE_QSD8X72_SURF)
9844
#else
M
Marek Vasut 已提交
9845
# define machine_is_qsd8x72_surf()	(0)
9846 9847
#endif

M
Marek Vasut 已提交
9848
#ifdef CONFIG_MACH_QSD8X72_FFA
9849 9850 9851 9852
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9853
#  define machine_arch_type	MACH_TYPE_QSD8X72_FFA
9854
# endif
M
Marek Vasut 已提交
9855
# define machine_is_qsd8x72_ffa()	(machine_arch_type == MACH_TYPE_QSD8X72_FFA)
9856
#else
M
Marek Vasut 已提交
9857
# define machine_is_qsd8x72_ffa()	(0)
9858 9859
#endif

M
Marek Vasut 已提交
9860
#ifdef CONFIG_MACH_ABILENE
9861 9862 9863 9864
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9865
#  define machine_arch_type	MACH_TYPE_ABILENE
9866
# endif
M
Marek Vasut 已提交
9867
# define machine_is_abilene()	(machine_arch_type == MACH_TYPE_ABILENE)
9868
#else
M
Marek Vasut 已提交
9869
# define machine_is_abilene()	(0)
9870 9871
#endif

M
Marek Vasut 已提交
9872
#ifdef CONFIG_MACH_EIGEN_TTR
9873 9874 9875 9876
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9877
#  define machine_arch_type	MACH_TYPE_EIGEN_TTR
9878
# endif
M
Marek Vasut 已提交
9879
# define machine_is_eigen_ttr()	(machine_arch_type == MACH_TYPE_EIGEN_TTR)
9880
#else
M
Marek Vasut 已提交
9881
# define machine_is_eigen_ttr()	(0)
9882 9883
#endif

M
Marek Vasut 已提交
9884
#ifdef CONFIG_MACH_IOMEGA_IX2_200
9885 9886 9887 9888
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9889
#  define machine_arch_type	MACH_TYPE_IOMEGA_IX2_200
9890
# endif
M
Marek Vasut 已提交
9891
# define machine_is_iomega_ix2_200()	(machine_arch_type == MACH_TYPE_IOMEGA_IX2_200)
9892
#else
M
Marek Vasut 已提交
9893
# define machine_is_iomega_ix2_200()	(0)
9894 9895
#endif

M
Marek Vasut 已提交
9896
#ifdef CONFIG_MACH_CORETEC_VCX7400
9897 9898 9899 9900
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9901
#  define machine_arch_type	MACH_TYPE_CORETEC_VCX7400
9902
# endif
M
Marek Vasut 已提交
9903
# define machine_is_coretec_vcx7400()	(machine_arch_type == MACH_TYPE_CORETEC_VCX7400)
9904
#else
M
Marek Vasut 已提交
9905
# define machine_is_coretec_vcx7400()	(0)
9906 9907
#endif

M
Marek Vasut 已提交
9908
#ifdef CONFIG_MACH_SANTIAGO
9909 9910 9911 9912
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9913
#  define machine_arch_type	MACH_TYPE_SANTIAGO
9914
# endif
M
Marek Vasut 已提交
9915
# define machine_is_santiago()	(machine_arch_type == MACH_TYPE_SANTIAGO)
9916
#else
M
Marek Vasut 已提交
9917
# define machine_is_santiago()	(0)
9918 9919
#endif

M
Marek Vasut 已提交
9920
#ifdef CONFIG_MACH_MX257SOL
9921 9922 9923 9924
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9925
#  define machine_arch_type	MACH_TYPE_MX257SOL
9926
# endif
M
Marek Vasut 已提交
9927
# define machine_is_mx257sol()	(machine_arch_type == MACH_TYPE_MX257SOL)
9928
#else
M
Marek Vasut 已提交
9929
# define machine_is_mx257sol()	(0)
9930 9931
#endif

M
Marek Vasut 已提交
9932
#ifdef CONFIG_MACH_STRASBOURG
9933 9934 9935 9936
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9937
#  define machine_arch_type	MACH_TYPE_STRASBOURG
9938
# endif
M
Marek Vasut 已提交
9939
# define machine_is_strasbourg()	(machine_arch_type == MACH_TYPE_STRASBOURG)
9940
#else
M
Marek Vasut 已提交
9941
# define machine_is_strasbourg()	(0)
9942 9943
#endif

M
Marek Vasut 已提交
9944
#ifdef CONFIG_MACH_MSM8X60_FLUID
9945 9946 9947 9948
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9949
#  define machine_arch_type	MACH_TYPE_MSM8X60_FLUID
9950
# endif
M
Marek Vasut 已提交
9951
# define machine_is_msm8x60_fluid()	(machine_arch_type == MACH_TYPE_MSM8X60_FLUID)
9952
#else
M
Marek Vasut 已提交
9953
# define machine_is_msm8x60_fluid()	(0)
9954 9955
#endif

M
Marek Vasut 已提交
9956
#ifdef CONFIG_MACH_SMARTQV5
9957 9958 9959 9960
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9961
#  define machine_arch_type	MACH_TYPE_SMARTQV5
9962
# endif
M
Marek Vasut 已提交
9963
# define machine_is_smartqv5()	(machine_arch_type == MACH_TYPE_SMARTQV5)
9964
#else
M
Marek Vasut 已提交
9965
# define machine_is_smartqv5()	(0)
9966 9967
#endif

M
Marek Vasut 已提交
9968
#ifdef CONFIG_MACH_SMARTQV3
9969 9970 9971 9972
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9973
#  define machine_arch_type	MACH_TYPE_SMARTQV3
9974
# endif
M
Marek Vasut 已提交
9975
# define machine_is_smartqv3()	(machine_arch_type == MACH_TYPE_SMARTQV3)
9976
#else
M
Marek Vasut 已提交
9977
# define machine_is_smartqv3()	(0)
9978 9979
#endif

M
Marek Vasut 已提交
9980
#ifdef CONFIG_MACH_SMARTQV7
9981 9982 9983 9984
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9985
#  define machine_arch_type	MACH_TYPE_SMARTQV7
9986
# endif
M
Marek Vasut 已提交
9987
# define machine_is_smartqv7()	(machine_arch_type == MACH_TYPE_SMARTQV7)
9988
#else
M
Marek Vasut 已提交
9989
# define machine_is_smartqv7()	(0)
9990 9991
#endif

M
Marek Vasut 已提交
9992
#ifdef CONFIG_MACH_PAZ00
9993 9994 9995 9996
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
9997
#  define machine_arch_type	MACH_TYPE_PAZ00
9998
# endif
M
Marek Vasut 已提交
9999
# define machine_is_paz00()	(machine_arch_type == MACH_TYPE_PAZ00)
10000
#else
M
Marek Vasut 已提交
10001
# define machine_is_paz00()	(0)
10002 10003
#endif

M
Marek Vasut 已提交
10004
#ifdef CONFIG_MACH_ACMENETUSFOXG20
10005 10006 10007 10008
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10009
#  define machine_arch_type	MACH_TYPE_ACMENETUSFOXG20
10010
# endif
M
Marek Vasut 已提交
10011
# define machine_is_acmenetusfoxg20()	(machine_arch_type == MACH_TYPE_ACMENETUSFOXG20)
10012
#else
M
Marek Vasut 已提交
10013
# define machine_is_acmenetusfoxg20()	(0)
10014 10015
#endif

M
Marek Vasut 已提交
10016
#ifdef CONFIG_MACH_FWBD_0404
10017 10018 10019 10020
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10021
#  define machine_arch_type	MACH_TYPE_FWBD_0404
10022
# endif
M
Marek Vasut 已提交
10023
# define machine_is_fwbd_0404()	(machine_arch_type == MACH_TYPE_FWBD_0404)
10024
#else
M
Marek Vasut 已提交
10025
# define machine_is_fwbd_0404()	(0)
10026 10027
#endif

M
Marek Vasut 已提交
10028
#ifdef CONFIG_MACH_HDGU
10029 10030 10031 10032
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10033
#  define machine_arch_type	MACH_TYPE_HDGU
10034
# endif
M
Marek Vasut 已提交
10035
# define machine_is_hdgu()	(machine_arch_type == MACH_TYPE_HDGU)
10036
#else
M
Marek Vasut 已提交
10037
# define machine_is_hdgu()	(0)
10038 10039
#endif

M
Marek Vasut 已提交
10040
#ifdef CONFIG_MACH_PYRAMID
10041 10042 10043 10044
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10045
#  define machine_arch_type	MACH_TYPE_PYRAMID
10046
# endif
M
Marek Vasut 已提交
10047
# define machine_is_pyramid()	(machine_arch_type == MACH_TYPE_PYRAMID)
10048
#else
M
Marek Vasut 已提交
10049
# define machine_is_pyramid()	(0)
10050 10051
#endif

M
Marek Vasut 已提交
10052
#ifdef CONFIG_MACH_EPIPHAN
10053 10054 10055 10056
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10057
#  define machine_arch_type	MACH_TYPE_EPIPHAN
10058
# endif
M
Marek Vasut 已提交
10059
# define machine_is_epiphan()	(machine_arch_type == MACH_TYPE_EPIPHAN)
10060
#else
M
Marek Vasut 已提交
10061
# define machine_is_epiphan()	(0)
10062 10063
#endif

M
Marek Vasut 已提交
10064
#ifdef CONFIG_MACH_OMAP_BENDER
10065 10066 10067 10068
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10069
#  define machine_arch_type	MACH_TYPE_OMAP_BENDER
10070
# endif
M
Marek Vasut 已提交
10071
# define machine_is_omap_bender()	(machine_arch_type == MACH_TYPE_OMAP_BENDER)
10072
#else
M
Marek Vasut 已提交
10073
# define machine_is_omap_bender()	(0)
10074 10075
#endif

M
Marek Vasut 已提交
10076
#ifdef CONFIG_MACH_GURNARD
10077 10078 10079 10080
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10081
#  define machine_arch_type	MACH_TYPE_GURNARD
10082
# endif
M
Marek Vasut 已提交
10083
# define machine_is_gurnard()	(machine_arch_type == MACH_TYPE_GURNARD)
10084
#else
M
Marek Vasut 已提交
10085
# define machine_is_gurnard()	(0)
10086 10087
#endif

M
Marek Vasut 已提交
10088
#ifdef CONFIG_MACH_GTL_IT5100
10089 10090 10091 10092
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10093
#  define machine_arch_type	MACH_TYPE_GTL_IT5100
10094
# endif
M
Marek Vasut 已提交
10095
# define machine_is_gtl_it5100()	(machine_arch_type == MACH_TYPE_GTL_IT5100)
10096
#else
M
Marek Vasut 已提交
10097
# define machine_is_gtl_it5100()	(0)
10098 10099
#endif

M
Marek Vasut 已提交
10100
#ifdef CONFIG_MACH_BCM2708
10101 10102 10103 10104
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10105
#  define machine_arch_type	MACH_TYPE_BCM2708
10106
# endif
M
Marek Vasut 已提交
10107
# define machine_is_bcm2708()	(machine_arch_type == MACH_TYPE_BCM2708)
10108
#else
M
Marek Vasut 已提交
10109
# define machine_is_bcm2708()	(0)
10110 10111
#endif

M
Marek Vasut 已提交
10112
#ifdef CONFIG_MACH_MX51_GGC
10113 10114 10115 10116
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10117
#  define machine_arch_type	MACH_TYPE_MX51_GGC
10118
# endif
M
Marek Vasut 已提交
10119
# define machine_is_mx51_ggc()	(machine_arch_type == MACH_TYPE_MX51_GGC)
10120
#else
M
Marek Vasut 已提交
10121
# define machine_is_mx51_ggc()	(0)
10122 10123
#endif

M
Marek Vasut 已提交
10124
#ifdef CONFIG_MACH_SHARESPACE
10125 10126 10127 10128
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10129
#  define machine_arch_type	MACH_TYPE_SHARESPACE
10130
# endif
M
Marek Vasut 已提交
10131
# define machine_is_sharespace()	(machine_arch_type == MACH_TYPE_SHARESPACE)
10132
#else
M
Marek Vasut 已提交
10133
# define machine_is_sharespace()	(0)
10134 10135
#endif

M
Marek Vasut 已提交
10136
#ifdef CONFIG_MACH_HABA_KNX_EXPLORER
10137 10138 10139 10140
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10141
#  define machine_arch_type	MACH_TYPE_HABA_KNX_EXPLORER
10142
# endif
M
Marek Vasut 已提交
10143
# define machine_is_haba_knx_explorer()	(machine_arch_type == MACH_TYPE_HABA_KNX_EXPLORER)
10144
#else
M
Marek Vasut 已提交
10145
# define machine_is_haba_knx_explorer()	(0)
10146 10147
#endif

M
Marek Vasut 已提交
10148
#ifdef CONFIG_MACH_SIMTEC_KIRKMOD
10149 10150 10151 10152
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10153
#  define machine_arch_type	MACH_TYPE_SIMTEC_KIRKMOD
10154
# endif
M
Marek Vasut 已提交
10155
# define machine_is_simtec_kirkmod()	(machine_arch_type == MACH_TYPE_SIMTEC_KIRKMOD)
10156
#else
M
Marek Vasut 已提交
10157
# define machine_is_simtec_kirkmod()	(0)
10158 10159
#endif

M
Marek Vasut 已提交
10160
#ifdef CONFIG_MACH_CRUX
10161 10162 10163 10164
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10165
#  define machine_arch_type	MACH_TYPE_CRUX
10166
# endif
M
Marek Vasut 已提交
10167
# define machine_is_crux()	(machine_arch_type == MACH_TYPE_CRUX)
10168
#else
M
Marek Vasut 已提交
10169
# define machine_is_crux()	(0)
10170 10171
#endif

M
Marek Vasut 已提交
10172
#ifdef CONFIG_MACH_MX51_BRAVO
10173 10174 10175 10176
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10177
#  define machine_arch_type	MACH_TYPE_MX51_BRAVO
10178
# endif
M
Marek Vasut 已提交
10179
# define machine_is_mx51_bravo()	(machine_arch_type == MACH_TYPE_MX51_BRAVO)
10180
#else
M
Marek Vasut 已提交
10181
# define machine_is_mx51_bravo()	(0)
10182 10183
#endif

M
Marek Vasut 已提交
10184
#ifdef CONFIG_MACH_CHARON
10185 10186 10187 10188
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10189
#  define machine_arch_type	MACH_TYPE_CHARON
10190
# endif
M
Marek Vasut 已提交
10191
# define machine_is_charon()	(machine_arch_type == MACH_TYPE_CHARON)
10192
#else
M
Marek Vasut 已提交
10193
# define machine_is_charon()	(0)
10194 10195
#endif

M
Marek Vasut 已提交
10196
#ifdef CONFIG_MACH_PICOCOM3
10197 10198 10199 10200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10201
#  define machine_arch_type	MACH_TYPE_PICOCOM3
10202
# endif
M
Marek Vasut 已提交
10203
# define machine_is_picocom3()	(machine_arch_type == MACH_TYPE_PICOCOM3)
10204
#else
M
Marek Vasut 已提交
10205
# define machine_is_picocom3()	(0)
10206 10207
#endif

M
Marek Vasut 已提交
10208
#ifdef CONFIG_MACH_PICOCOM4
10209 10210 10211 10212
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10213
#  define machine_arch_type	MACH_TYPE_PICOCOM4
10214
# endif
M
Marek Vasut 已提交
10215
# define machine_is_picocom4()	(machine_arch_type == MACH_TYPE_PICOCOM4)
10216
#else
M
Marek Vasut 已提交
10217
# define machine_is_picocom4()	(0)
10218 10219
#endif

M
Marek Vasut 已提交
10220
#ifdef CONFIG_MACH_SERRANO
10221 10222 10223 10224
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10225
#  define machine_arch_type	MACH_TYPE_SERRANO
10226
# endif
M
Marek Vasut 已提交
10227
# define machine_is_serrano()	(machine_arch_type == MACH_TYPE_SERRANO)
10228
#else
M
Marek Vasut 已提交
10229
# define machine_is_serrano()	(0)
10230 10231
#endif

M
Marek Vasut 已提交
10232
#ifdef CONFIG_MACH_DOUBLESHOT
10233 10234 10235 10236
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10237
#  define machine_arch_type	MACH_TYPE_DOUBLESHOT
10238
# endif
M
Marek Vasut 已提交
10239
# define machine_is_doubleshot()	(machine_arch_type == MACH_TYPE_DOUBLESHOT)
10240
#else
M
Marek Vasut 已提交
10241
# define machine_is_doubleshot()	(0)
10242 10243
#endif

M
Marek Vasut 已提交
10244
#ifdef CONFIG_MACH_EVSY
10245 10246 10247 10248
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10249
#  define machine_arch_type	MACH_TYPE_EVSY
10250
# endif
M
Marek Vasut 已提交
10251
# define machine_is_evsy()	(machine_arch_type == MACH_TYPE_EVSY)
10252
#else
M
Marek Vasut 已提交
10253
# define machine_is_evsy()	(0)
10254 10255
#endif

M
Marek Vasut 已提交
10256
#ifdef CONFIG_MACH_HUASHAN
10257 10258 10259 10260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10261
#  define machine_arch_type	MACH_TYPE_HUASHAN
10262
# endif
M
Marek Vasut 已提交
10263
# define machine_is_huashan()	(machine_arch_type == MACH_TYPE_HUASHAN)
10264
#else
M
Marek Vasut 已提交
10265
# define machine_is_huashan()	(0)
10266 10267
#endif

M
Marek Vasut 已提交
10268
#ifdef CONFIG_MACH_LAUSANNE
10269 10270 10271 10272
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10273
#  define machine_arch_type	MACH_TYPE_LAUSANNE
10274
# endif
M
Marek Vasut 已提交
10275
# define machine_is_lausanne()	(machine_arch_type == MACH_TYPE_LAUSANNE)
10276
#else
M
Marek Vasut 已提交
10277
# define machine_is_lausanne()	(0)
10278 10279
#endif

M
Marek Vasut 已提交
10280
#ifdef CONFIG_MACH_EMERALD
10281 10282 10283 10284
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10285
#  define machine_arch_type	MACH_TYPE_EMERALD
10286
# endif
M
Marek Vasut 已提交
10287
# define machine_is_emerald()	(machine_arch_type == MACH_TYPE_EMERALD)
10288
#else
M
Marek Vasut 已提交
10289
# define machine_is_emerald()	(0)
10290 10291
#endif

M
Marek Vasut 已提交
10292
#ifdef CONFIG_MACH_TQMA35
10293 10294 10295 10296
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10297
#  define machine_arch_type	MACH_TYPE_TQMA35
10298
# endif
M
Marek Vasut 已提交
10299
# define machine_is_tqma35()	(machine_arch_type == MACH_TYPE_TQMA35)
10300
#else
M
Marek Vasut 已提交
10301
# define machine_is_tqma35()	(0)
10302 10303
#endif

M
Marek Vasut 已提交
10304
#ifdef CONFIG_MACH_MARVEL
10305 10306 10307 10308
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10309
#  define machine_arch_type	MACH_TYPE_MARVEL
10310
# endif
M
Marek Vasut 已提交
10311
# define machine_is_marvel()	(machine_arch_type == MACH_TYPE_MARVEL)
10312
#else
M
Marek Vasut 已提交
10313
# define machine_is_marvel()	(0)
10314 10315
#endif

M
Marek Vasut 已提交
10316
#ifdef CONFIG_MACH_MANUAE
10317 10318 10319 10320
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10321
#  define machine_arch_type	MACH_TYPE_MANUAE
10322
# endif
M
Marek Vasut 已提交
10323
# define machine_is_manuae()	(machine_arch_type == MACH_TYPE_MANUAE)
10324
#else
M
Marek Vasut 已提交
10325
# define machine_is_manuae()	(0)
10326 10327
#endif

M
Marek Vasut 已提交
10328
#ifdef CONFIG_MACH_CHACHA
10329 10330 10331 10332
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10333
#  define machine_arch_type	MACH_TYPE_CHACHA
10334
# endif
M
Marek Vasut 已提交
10335
# define machine_is_chacha()	(machine_arch_type == MACH_TYPE_CHACHA)
10336
#else
M
Marek Vasut 已提交
10337
# define machine_is_chacha()	(0)
10338 10339
#endif

M
Marek Vasut 已提交
10340
#ifdef CONFIG_MACH_LEMON
10341 10342 10343 10344
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10345
#  define machine_arch_type	MACH_TYPE_LEMON
10346
# endif
M
Marek Vasut 已提交
10347
# define machine_is_lemon()	(machine_arch_type == MACH_TYPE_LEMON)
10348
#else
M
Marek Vasut 已提交
10349
# define machine_is_lemon()	(0)
10350 10351
#endif

M
Marek Vasut 已提交
10352
#ifdef CONFIG_MACH_CSC
10353 10354 10355 10356
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10357
#  define machine_arch_type	MACH_TYPE_CSC
10358
# endif
M
Marek Vasut 已提交
10359
# define machine_is_csc()	(machine_arch_type == MACH_TYPE_CSC)
10360
#else
M
Marek Vasut 已提交
10361
# define machine_is_csc()	(0)
10362 10363
#endif

M
Marek Vasut 已提交
10364
#ifdef CONFIG_MACH_GIRA_KNXIP_ROUTER
10365 10366 10367 10368
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10369
#  define machine_arch_type	MACH_TYPE_GIRA_KNXIP_ROUTER
10370
# endif
M
Marek Vasut 已提交
10371
# define machine_is_gira_knxip_router()	(machine_arch_type == MACH_TYPE_GIRA_KNXIP_ROUTER)
10372
#else
M
Marek Vasut 已提交
10373
# define machine_is_gira_knxip_router()	(0)
10374 10375
#endif

M
Marek Vasut 已提交
10376
#ifdef CONFIG_MACH_T20
10377 10378 10379 10380
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10381
#  define machine_arch_type	MACH_TYPE_T20
10382
# endif
M
Marek Vasut 已提交
10383
# define machine_is_t20()	(machine_arch_type == MACH_TYPE_T20)
10384
#else
M
Marek Vasut 已提交
10385
# define machine_is_t20()	(0)
10386 10387
#endif

M
Marek Vasut 已提交
10388
#ifdef CONFIG_MACH_HDMINI
10389 10390 10391 10392
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10393
#  define machine_arch_type	MACH_TYPE_HDMINI
10394
# endif
M
Marek Vasut 已提交
10395
# define machine_is_hdmini()	(machine_arch_type == MACH_TYPE_HDMINI)
10396
#else
M
Marek Vasut 已提交
10397
# define machine_is_hdmini()	(0)
10398 10399
#endif

M
Marek Vasut 已提交
10400
#ifdef CONFIG_MACH_SCIPHONE_G2
10401 10402 10403 10404
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10405
#  define machine_arch_type	MACH_TYPE_SCIPHONE_G2
10406
# endif
M
Marek Vasut 已提交
10407
# define machine_is_sciphone_g2()	(machine_arch_type == MACH_TYPE_SCIPHONE_G2)
10408
#else
M
Marek Vasut 已提交
10409
# define machine_is_sciphone_g2()	(0)
10410 10411
#endif

M
Marek Vasut 已提交
10412
#ifdef CONFIG_MACH_EXPRESS
10413 10414 10415 10416
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10417
#  define machine_arch_type	MACH_TYPE_EXPRESS
10418
# endif
M
Marek Vasut 已提交
10419
# define machine_is_express()	(machine_arch_type == MACH_TYPE_EXPRESS)
10420
#else
M
Marek Vasut 已提交
10421
# define machine_is_express()	(0)
10422 10423
#endif

M
Marek Vasut 已提交
10424
#ifdef CONFIG_MACH_EXPRESS_KT
10425 10426 10427 10428
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10429
#  define machine_arch_type	MACH_TYPE_EXPRESS_KT
10430
# endif
M
Marek Vasut 已提交
10431
# define machine_is_express_kt()	(machine_arch_type == MACH_TYPE_EXPRESS_KT)
10432
#else
M
Marek Vasut 已提交
10433
# define machine_is_express_kt()	(0)
10434 10435
#endif

M
Marek Vasut 已提交
10436
#ifdef CONFIG_MACH_MAXIMASP
10437 10438 10439 10440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10441
#  define machine_arch_type	MACH_TYPE_MAXIMASP
10442
# endif
M
Marek Vasut 已提交
10443
# define machine_is_maximasp()	(machine_arch_type == MACH_TYPE_MAXIMASP)
10444
#else
M
Marek Vasut 已提交
10445
# define machine_is_maximasp()	(0)
10446 10447
#endif

M
Marek Vasut 已提交
10448
#ifdef CONFIG_MACH_NITROGEN_IMX51
10449 10450 10451 10452
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10453
#  define machine_arch_type	MACH_TYPE_NITROGEN_IMX51
10454
# endif
M
Marek Vasut 已提交
10455
# define machine_is_nitrogen_imx51()	(machine_arch_type == MACH_TYPE_NITROGEN_IMX51)
10456
#else
M
Marek Vasut 已提交
10457
# define machine_is_nitrogen_imx51()	(0)
10458 10459
#endif

M
Marek Vasut 已提交
10460
#ifdef CONFIG_MACH_NITROGEN_IMX53
10461 10462 10463 10464
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10465
#  define machine_arch_type	MACH_TYPE_NITROGEN_IMX53
10466
# endif
M
Marek Vasut 已提交
10467
# define machine_is_nitrogen_imx53()	(machine_arch_type == MACH_TYPE_NITROGEN_IMX53)
10468
#else
M
Marek Vasut 已提交
10469
# define machine_is_nitrogen_imx53()	(0)
10470 10471
#endif

M
Marek Vasut 已提交
10472
#ifdef CONFIG_MACH_SUNFIRE
10473 10474 10475 10476
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10477
#  define machine_arch_type	MACH_TYPE_SUNFIRE
10478
# endif
M
Marek Vasut 已提交
10479
# define machine_is_sunfire()	(machine_arch_type == MACH_TYPE_SUNFIRE)
10480
#else
M
Marek Vasut 已提交
10481
# define machine_is_sunfire()	(0)
10482 10483
#endif

M
Marek Vasut 已提交
10484
#ifdef CONFIG_MACH_AROWANA
10485 10486 10487 10488
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10489
#  define machine_arch_type	MACH_TYPE_AROWANA
10490
# endif
M
Marek Vasut 已提交
10491
# define machine_is_arowana()	(machine_arch_type == MACH_TYPE_AROWANA)
10492
#else
M
Marek Vasut 已提交
10493
# define machine_is_arowana()	(0)
10494 10495
#endif

M
Marek Vasut 已提交
10496
#ifdef CONFIG_MACH_TEGRA_DAYTONA
10497 10498 10499 10500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10501
#  define machine_arch_type	MACH_TYPE_TEGRA_DAYTONA
10502
# endif
M
Marek Vasut 已提交
10503
# define machine_is_tegra_daytona()	(machine_arch_type == MACH_TYPE_TEGRA_DAYTONA)
10504
#else
M
Marek Vasut 已提交
10505
# define machine_is_tegra_daytona()	(0)
10506 10507
#endif

M
Marek Vasut 已提交
10508
#ifdef CONFIG_MACH_TEGRA_SWORDFISH
10509 10510 10511 10512
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10513
#  define machine_arch_type	MACH_TYPE_TEGRA_SWORDFISH
10514
# endif
M
Marek Vasut 已提交
10515
# define machine_is_tegra_swordfish()	(machine_arch_type == MACH_TYPE_TEGRA_SWORDFISH)
10516
#else
M
Marek Vasut 已提交
10517
# define machine_is_tegra_swordfish()	(0)
10518 10519
#endif

M
Marek Vasut 已提交
10520
#ifdef CONFIG_MACH_EDISON
10521 10522 10523 10524
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10525
#  define machine_arch_type	MACH_TYPE_EDISON
10526
# endif
M
Marek Vasut 已提交
10527
# define machine_is_edison()	(machine_arch_type == MACH_TYPE_EDISON)
10528
#else
M
Marek Vasut 已提交
10529
# define machine_is_edison()	(0)
10530 10531
#endif

M
Marek Vasut 已提交
10532
#ifdef CONFIG_MACH_SVP8500V1
10533 10534 10535 10536
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10537
#  define machine_arch_type	MACH_TYPE_SVP8500V1
10538
# endif
M
Marek Vasut 已提交
10539
# define machine_is_svp8500v1()	(machine_arch_type == MACH_TYPE_SVP8500V1)
10540
#else
M
Marek Vasut 已提交
10541
# define machine_is_svp8500v1()	(0)
10542 10543
#endif

M
Marek Vasut 已提交
10544
#ifdef CONFIG_MACH_SVP8500V2
10545 10546 10547 10548
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10549
#  define machine_arch_type	MACH_TYPE_SVP8500V2
10550
# endif
M
Marek Vasut 已提交
10551
# define machine_is_svp8500v2()	(machine_arch_type == MACH_TYPE_SVP8500V2)
10552
#else
M
Marek Vasut 已提交
10553
# define machine_is_svp8500v2()	(0)
10554 10555
#endif

M
Marek Vasut 已提交
10556
#ifdef CONFIG_MACH_SVP5500
10557 10558 10559 10560
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10561
#  define machine_arch_type	MACH_TYPE_SVP5500
10562
# endif
M
Marek Vasut 已提交
10563
# define machine_is_svp5500()	(machine_arch_type == MACH_TYPE_SVP5500)
10564
#else
M
Marek Vasut 已提交
10565
# define machine_is_svp5500()	(0)
10566 10567
#endif

M
Marek Vasut 已提交
10568
#ifdef CONFIG_MACH_B5500
10569 10570 10571 10572
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10573
#  define machine_arch_type	MACH_TYPE_B5500
10574
# endif
M
Marek Vasut 已提交
10575
# define machine_is_b5500()	(machine_arch_type == MACH_TYPE_B5500)
10576
#else
M
Marek Vasut 已提交
10577
# define machine_is_b5500()	(0)
10578 10579
#endif

M
Marek Vasut 已提交
10580
#ifdef CONFIG_MACH_S5500
10581 10582 10583 10584
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10585
#  define machine_arch_type	MACH_TYPE_S5500
10586
# endif
M
Marek Vasut 已提交
10587
# define machine_is_s5500()	(machine_arch_type == MACH_TYPE_S5500)
10588
#else
M
Marek Vasut 已提交
10589
# define machine_is_s5500()	(0)
10590 10591
#endif

M
Marek Vasut 已提交
10592
#ifdef CONFIG_MACH_ICON
10593 10594 10595 10596
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10597
#  define machine_arch_type	MACH_TYPE_ICON
10598
# endif
M
Marek Vasut 已提交
10599
# define machine_is_icon()	(machine_arch_type == MACH_TYPE_ICON)
10600
#else
M
Marek Vasut 已提交
10601
# define machine_is_icon()	(0)
10602 10603
#endif

M
Marek Vasut 已提交
10604
#ifdef CONFIG_MACH_ELEPHANT
10605 10606 10607 10608
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10609
#  define machine_arch_type	MACH_TYPE_ELEPHANT
10610
# endif
M
Marek Vasut 已提交
10611
# define machine_is_elephant()	(machine_arch_type == MACH_TYPE_ELEPHANT)
10612
#else
M
Marek Vasut 已提交
10613
# define machine_is_elephant()	(0)
10614 10615
#endif

M
Marek Vasut 已提交
10616
#ifdef CONFIG_MACH_SHOOTER
10617 10618 10619 10620
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10621
#  define machine_arch_type	MACH_TYPE_SHOOTER
10622
# endif
M
Marek Vasut 已提交
10623
# define machine_is_shooter()	(machine_arch_type == MACH_TYPE_SHOOTER)
10624
#else
M
Marek Vasut 已提交
10625
# define machine_is_shooter()	(0)
10626 10627
#endif

M
Marek Vasut 已提交
10628
#ifdef CONFIG_MACH_SPADE_LTE
10629 10630 10631 10632
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10633
#  define machine_arch_type	MACH_TYPE_SPADE_LTE
10634
# endif
M
Marek Vasut 已提交
10635
# define machine_is_spade_lte()	(machine_arch_type == MACH_TYPE_SPADE_LTE)
10636
#else
M
Marek Vasut 已提交
10637
# define machine_is_spade_lte()	(0)
10638 10639
#endif

M
Marek Vasut 已提交
10640
#ifdef CONFIG_MACH_PHILHWANI
10641 10642 10643 10644
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10645
#  define machine_arch_type	MACH_TYPE_PHILHWANI
10646
# endif
M
Marek Vasut 已提交
10647
# define machine_is_philhwani()	(machine_arch_type == MACH_TYPE_PHILHWANI)
10648
#else
M
Marek Vasut 已提交
10649
# define machine_is_philhwani()	(0)
10650 10651
#endif

M
Marek Vasut 已提交
10652
#ifdef CONFIG_MACH_GSNCOMM
10653 10654 10655 10656
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10657
#  define machine_arch_type	MACH_TYPE_GSNCOMM
10658
# endif
M
Marek Vasut 已提交
10659
# define machine_is_gsncomm()	(machine_arch_type == MACH_TYPE_GSNCOMM)
10660
#else
M
Marek Vasut 已提交
10661
# define machine_is_gsncomm()	(0)
10662 10663
#endif

M
Marek Vasut 已提交
10664
#ifdef CONFIG_MACH_STRASBOURG_A2
10665 10666 10667 10668
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10669
#  define machine_arch_type	MACH_TYPE_STRASBOURG_A2
10670
# endif
M
Marek Vasut 已提交
10671
# define machine_is_strasbourg_a2()	(machine_arch_type == MACH_TYPE_STRASBOURG_A2)
10672
#else
M
Marek Vasut 已提交
10673
# define machine_is_strasbourg_a2()	(0)
10674 10675
#endif

M
Marek Vasut 已提交
10676
#ifdef CONFIG_MACH_MMM
10677 10678 10679 10680
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10681
#  define machine_arch_type	MACH_TYPE_MMM
10682
# endif
M
Marek Vasut 已提交
10683
# define machine_is_mmm()	(machine_arch_type == MACH_TYPE_MMM)
10684
#else
M
Marek Vasut 已提交
10685
# define machine_is_mmm()	(0)
10686 10687
#endif

M
Marek Vasut 已提交
10688
#ifdef CONFIG_MACH_DAVINCI_DM365_BV
10689 10690 10691 10692
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10693
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM365_BV
10694
# endif
M
Marek Vasut 已提交
10695
# define machine_is_davinci_dm365_bv()	(machine_arch_type == MACH_TYPE_DAVINCI_DM365_BV)
10696
#else
M
Marek Vasut 已提交
10697
# define machine_is_davinci_dm365_bv()	(0)
10698 10699
#endif

M
Marek Vasut 已提交
10700
#ifdef CONFIG_MACH_AG5EVM
10701 10702 10703 10704
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10705
#  define machine_arch_type	MACH_TYPE_AG5EVM
10706
# endif
M
Marek Vasut 已提交
10707
# define machine_is_ag5evm()	(machine_arch_type == MACH_TYPE_AG5EVM)
10708
#else
M
Marek Vasut 已提交
10709
# define machine_is_ag5evm()	(0)
10710 10711
#endif

M
Marek Vasut 已提交
10712
#ifdef CONFIG_MACH_SC575PLC
10713 10714 10715 10716
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10717
#  define machine_arch_type	MACH_TYPE_SC575PLC
10718
# endif
M
Marek Vasut 已提交
10719
# define machine_is_sc575plc()	(machine_arch_type == MACH_TYPE_SC575PLC)
10720
#else
M
Marek Vasut 已提交
10721
# define machine_is_sc575plc()	(0)
10722 10723
#endif

M
Marek Vasut 已提交
10724
#ifdef CONFIG_MACH_SC575IPC
10725 10726 10727 10728
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10729
#  define machine_arch_type	MACH_TYPE_SC575IPC
10730
# endif
M
Marek Vasut 已提交
10731
# define machine_is_sc575hmi()	(machine_arch_type == MACH_TYPE_SC575IPC)
10732
#else
M
Marek Vasut 已提交
10733
# define machine_is_sc575hmi()	(0)
10734 10735
#endif

M
Marek Vasut 已提交
10736
#ifdef CONFIG_MACH_OMAP3_TDM3730
10737 10738 10739 10740
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10741
#  define machine_arch_type	MACH_TYPE_OMAP3_TDM3730
10742
# endif
M
Marek Vasut 已提交
10743
# define machine_is_omap3_tdm3730()	(machine_arch_type == MACH_TYPE_OMAP3_TDM3730)
10744
#else
M
Marek Vasut 已提交
10745
# define machine_is_omap3_tdm3730()	(0)
10746 10747
#endif

M
Marek Vasut 已提交
10748
#ifdef CONFIG_MACH_TOP9000_EVAL
10749 10750 10751 10752
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10753
#  define machine_arch_type	MACH_TYPE_TOP9000_EVAL
10754
# endif
M
Marek Vasut 已提交
10755
# define machine_is_top9000_eval()	(machine_arch_type == MACH_TYPE_TOP9000_EVAL)
10756
#else
M
Marek Vasut 已提交
10757
# define machine_is_top9000_eval()	(0)
10758 10759
#endif

M
Marek Vasut 已提交
10760
#ifdef CONFIG_MACH_TOP9000_SU
10761 10762 10763 10764
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10765
#  define machine_arch_type	MACH_TYPE_TOP9000_SU
10766
# endif
M
Marek Vasut 已提交
10767
# define machine_is_top9000_su()	(machine_arch_type == MACH_TYPE_TOP9000_SU)
10768
#else
M
Marek Vasut 已提交
10769
# define machine_is_top9000_su()	(0)
10770 10771
#endif

M
Marek Vasut 已提交
10772
#ifdef CONFIG_MACH_UTM300
10773 10774 10775 10776
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10777
#  define machine_arch_type	MACH_TYPE_UTM300
10778
# endif
M
Marek Vasut 已提交
10779
# define machine_is_utm300()	(machine_arch_type == MACH_TYPE_UTM300)
10780
#else
M
Marek Vasut 已提交
10781
# define machine_is_utm300()	(0)
10782 10783
#endif

M
Marek Vasut 已提交
10784
#ifdef CONFIG_MACH_TSUNAGI
10785 10786 10787 10788
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10789
#  define machine_arch_type	MACH_TYPE_TSUNAGI
10790
# endif
M
Marek Vasut 已提交
10791
# define machine_is_tsunagi()	(machine_arch_type == MACH_TYPE_TSUNAGI)
10792
#else
M
Marek Vasut 已提交
10793
# define machine_is_tsunagi()	(0)
10794 10795
#endif

M
Marek Vasut 已提交
10796
#ifdef CONFIG_MACH_TS75XX
10797 10798 10799 10800
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10801
#  define machine_arch_type	MACH_TYPE_TS75XX
10802
# endif
M
Marek Vasut 已提交
10803
# define machine_is_ts75xx()	(machine_arch_type == MACH_TYPE_TS75XX)
10804
#else
M
Marek Vasut 已提交
10805
# define machine_is_ts75xx()	(0)
10806 10807
#endif

M
Marek Vasut 已提交
10808
#ifdef CONFIG_MACH_TS47XX
10809 10810 10811 10812
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10813
#  define machine_arch_type	MACH_TYPE_TS47XX
10814
# endif
M
Marek Vasut 已提交
10815
# define machine_is_ts47xx()	(machine_arch_type == MACH_TYPE_TS47XX)
10816
#else
M
Marek Vasut 已提交
10817
# define machine_is_ts47xx()	(0)
10818 10819
#endif

M
Marek Vasut 已提交
10820
#ifdef CONFIG_MACH_DA850_K5
10821 10822 10823 10824
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10825
#  define machine_arch_type	MACH_TYPE_DA850_K5
10826
# endif
M
Marek Vasut 已提交
10827
# define machine_is_da850_k5()	(machine_arch_type == MACH_TYPE_DA850_K5)
10828
#else
M
Marek Vasut 已提交
10829
# define machine_is_da850_k5()	(0)
10830 10831
#endif

M
Marek Vasut 已提交
10832
#ifdef CONFIG_MACH_AX502
10833 10834 10835 10836
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10837
#  define machine_arch_type	MACH_TYPE_AX502
10838
# endif
M
Marek Vasut 已提交
10839
# define machine_is_ax502()	(machine_arch_type == MACH_TYPE_AX502)
10840
#else
M
Marek Vasut 已提交
10841
# define machine_is_ax502()	(0)
10842 10843
#endif

M
Marek Vasut 已提交
10844
#ifdef CONFIG_MACH_IGEP0032
10845 10846 10847 10848
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10849
#  define machine_arch_type	MACH_TYPE_IGEP0032
10850
# endif
M
Marek Vasut 已提交
10851
# define machine_is_igep0032()	(machine_arch_type == MACH_TYPE_IGEP0032)
10852
#else
M
Marek Vasut 已提交
10853
# define machine_is_igep0032()	(0)
10854 10855
#endif

M
Marek Vasut 已提交
10856
#ifdef CONFIG_MACH_ANTERO
10857 10858 10859 10860
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10861
#  define machine_arch_type	MACH_TYPE_ANTERO
10862
# endif
M
Marek Vasut 已提交
10863
# define machine_is_antero()	(machine_arch_type == MACH_TYPE_ANTERO)
10864
#else
M
Marek Vasut 已提交
10865
# define machine_is_antero()	(0)
10866 10867
#endif

M
Marek Vasut 已提交
10868
#ifdef CONFIG_MACH_SYNERGY
10869 10870 10871 10872
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10873
#  define machine_arch_type	MACH_TYPE_SYNERGY
10874
# endif
M
Marek Vasut 已提交
10875
# define machine_is_synergy()	(machine_arch_type == MACH_TYPE_SYNERGY)
10876
#else
M
Marek Vasut 已提交
10877
# define machine_is_synergy()	(0)
10878 10879
#endif

M
Marek Vasut 已提交
10880
#ifdef CONFIG_MACH_ICS_IF_VOIP
10881 10882 10883 10884
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10885
#  define machine_arch_type	MACH_TYPE_ICS_IF_VOIP
10886
# endif
M
Marek Vasut 已提交
10887
# define machine_is_ics_if_voip()	(machine_arch_type == MACH_TYPE_ICS_IF_VOIP)
10888
#else
M
Marek Vasut 已提交
10889
# define machine_is_ics_if_voip()	(0)
10890 10891
#endif

M
Marek Vasut 已提交
10892
#ifdef CONFIG_MACH_WLF_CRAGG_6410
10893 10894 10895 10896
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10897
#  define machine_arch_type	MACH_TYPE_WLF_CRAGG_6410
10898
# endif
M
Marek Vasut 已提交
10899
# define machine_is_wlf_cragg_6410()	(machine_arch_type == MACH_TYPE_WLF_CRAGG_6410)
10900
#else
M
Marek Vasut 已提交
10901
# define machine_is_wlf_cragg_6410()	(0)
10902 10903
#endif

M
Marek Vasut 已提交
10904
#ifdef CONFIG_MACH_PUNICA
10905 10906 10907 10908
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10909
#  define machine_arch_type	MACH_TYPE_PUNICA
10910
# endif
M
Marek Vasut 已提交
10911
# define machine_is_punica()	(machine_arch_type == MACH_TYPE_PUNICA)
10912
#else
M
Marek Vasut 已提交
10913
# define machine_is_punica()	(0)
10914 10915
#endif

M
Marek Vasut 已提交
10916
#ifdef CONFIG_MACH_TRIMSLICE
10917 10918 10919 10920
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10921
#  define machine_arch_type	MACH_TYPE_TRIMSLICE
10922
# endif
M
Marek Vasut 已提交
10923
# define machine_is_trimslice()	(machine_arch_type == MACH_TYPE_TRIMSLICE)
10924
#else
M
Marek Vasut 已提交
10925
# define machine_is_trimslice()	(0)
10926 10927
#endif

M
Marek Vasut 已提交
10928
#ifdef CONFIG_MACH_MX27_WMULTRA
10929 10930 10931 10932
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10933
#  define machine_arch_type	MACH_TYPE_MX27_WMULTRA
10934
# endif
M
Marek Vasut 已提交
10935
# define machine_is_mx27_wmultra()	(machine_arch_type == MACH_TYPE_MX27_WMULTRA)
10936
#else
M
Marek Vasut 已提交
10937
# define machine_is_mx27_wmultra()	(0)
10938 10939
#endif

M
Marek Vasut 已提交
10940
#ifdef CONFIG_MACH_MACKEREL
10941 10942 10943 10944
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10945
#  define machine_arch_type	MACH_TYPE_MACKEREL
10946
# endif
M
Marek Vasut 已提交
10947
# define machine_is_mackerel()	(machine_arch_type == MACH_TYPE_MACKEREL)
10948
#else
M
Marek Vasut 已提交
10949
# define machine_is_mackerel()	(0)
10950 10951
#endif

M
Marek Vasut 已提交
10952
#ifdef CONFIG_MACH_FA9X27
10953 10954 10955 10956
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10957
#  define machine_arch_type	MACH_TYPE_FA9X27
10958
# endif
M
Marek Vasut 已提交
10959
# define machine_is_fa9x27()	(machine_arch_type == MACH_TYPE_FA9X27)
10960
#else
M
Marek Vasut 已提交
10961
# define machine_is_fa9x27()	(0)
10962 10963
#endif

M
Marek Vasut 已提交
10964
#ifdef CONFIG_MACH_NS2816TB
10965 10966 10967 10968
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10969
#  define machine_arch_type	MACH_TYPE_NS2816TB
10970
# endif
M
Marek Vasut 已提交
10971
# define machine_is_ns2816tb()	(machine_arch_type == MACH_TYPE_NS2816TB)
10972
#else
M
Marek Vasut 已提交
10973
# define machine_is_ns2816tb()	(0)
10974 10975
#endif

M
Marek Vasut 已提交
10976
#ifdef CONFIG_MACH_NS2816_NTPAD
10977 10978 10979 10980
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10981
#  define machine_arch_type	MACH_TYPE_NS2816_NTPAD
10982
# endif
M
Marek Vasut 已提交
10983
# define machine_is_ns2816_ntpad()	(machine_arch_type == MACH_TYPE_NS2816_NTPAD)
10984
#else
M
Marek Vasut 已提交
10985
# define machine_is_ns2816_ntpad()	(0)
10986 10987
#endif

M
Marek Vasut 已提交
10988
#ifdef CONFIG_MACH_NS2816_NTNB
10989 10990 10991 10992
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
10993
#  define machine_arch_type	MACH_TYPE_NS2816_NTNB
10994
# endif
M
Marek Vasut 已提交
10995
# define machine_is_ns2816_ntnb()	(machine_arch_type == MACH_TYPE_NS2816_NTNB)
10996
#else
M
Marek Vasut 已提交
10997
# define machine_is_ns2816_ntnb()	(0)
10998 10999
#endif

M
Marek Vasut 已提交
11000
#ifdef CONFIG_MACH_KAEN
11001 11002 11003 11004
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11005
#  define machine_arch_type	MACH_TYPE_KAEN
11006
# endif
M
Marek Vasut 已提交
11007
# define machine_is_kaen()	(machine_arch_type == MACH_TYPE_KAEN)
11008
#else
M
Marek Vasut 已提交
11009
# define machine_is_kaen()	(0)
11010 11011
#endif

M
Marek Vasut 已提交
11012
#ifdef CONFIG_MACH_NV1000
11013 11014 11015 11016
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11017
#  define machine_arch_type	MACH_TYPE_NV1000
11018
# endif
M
Marek Vasut 已提交
11019
# define machine_is_nv1000()	(machine_arch_type == MACH_TYPE_NV1000)
11020
#else
M
Marek Vasut 已提交
11021
# define machine_is_nv1000()	(0)
11022 11023
#endif

M
Marek Vasut 已提交
11024
#ifdef CONFIG_MACH_NUC950TS
11025 11026 11027 11028
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11029
#  define machine_arch_type	MACH_TYPE_NUC950TS
11030
# endif
M
Marek Vasut 已提交
11031
# define machine_is_nuc950ts()	(machine_arch_type == MACH_TYPE_NUC950TS)
11032
#else
M
Marek Vasut 已提交
11033
# define machine_is_nuc950ts()	(0)
11034 11035
#endif

M
Marek Vasut 已提交
11036
#ifdef CONFIG_MACH_NOKIA_RM680
11037 11038 11039 11040
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11041
#  define machine_arch_type	MACH_TYPE_NOKIA_RM680
11042
# endif
M
Marek Vasut 已提交
11043
# define machine_is_nokia_rm680()	(machine_arch_type == MACH_TYPE_NOKIA_RM680)
11044
#else
M
Marek Vasut 已提交
11045
# define machine_is_nokia_rm680()	(0)
11046 11047
#endif

M
Marek Vasut 已提交
11048
#ifdef CONFIG_MACH_AST2200
11049 11050 11051 11052
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11053
#  define machine_arch_type	MACH_TYPE_AST2200
11054
# endif
M
Marek Vasut 已提交
11055
# define machine_is_ast2200()	(machine_arch_type == MACH_TYPE_AST2200)
11056
#else
M
Marek Vasut 已提交
11057
# define machine_is_ast2200()	(0)
11058 11059
#endif

M
Marek Vasut 已提交
11060
#ifdef CONFIG_MACH_LEAD
11061 11062 11063 11064
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11065
#  define machine_arch_type	MACH_TYPE_LEAD
11066
# endif
M
Marek Vasut 已提交
11067
# define machine_is_lead()	(machine_arch_type == MACH_TYPE_LEAD)
11068
#else
M
Marek Vasut 已提交
11069
# define machine_is_lead()	(0)
11070 11071
#endif

M
Marek Vasut 已提交
11072
#ifdef CONFIG_MACH_UNINO1
11073 11074 11075 11076
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11077
#  define machine_arch_type	MACH_TYPE_UNINO1
11078
# endif
M
Marek Vasut 已提交
11079
# define machine_is_unino1()	(machine_arch_type == MACH_TYPE_UNINO1)
11080
#else
M
Marek Vasut 已提交
11081
# define machine_is_unino1()	(0)
11082 11083
#endif

M
Marek Vasut 已提交
11084
#ifdef CONFIG_MACH_GREECO
11085 11086 11087 11088
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11089
#  define machine_arch_type	MACH_TYPE_GREECO
11090
# endif
M
Marek Vasut 已提交
11091
# define machine_is_greeco()	(machine_arch_type == MACH_TYPE_GREECO)
11092
#else
M
Marek Vasut 已提交
11093
# define machine_is_greeco()	(0)
11094 11095
#endif

M
Marek Vasut 已提交
11096
#ifdef CONFIG_MACH_VERDI
11097 11098 11099 11100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11101
#  define machine_arch_type	MACH_TYPE_VERDI
11102
# endif
M
Marek Vasut 已提交
11103
# define machine_is_verdi()	(machine_arch_type == MACH_TYPE_VERDI)
11104
#else
M
Marek Vasut 已提交
11105
# define machine_is_verdi()	(0)
11106 11107
#endif

M
Marek Vasut 已提交
11108
#ifdef CONFIG_MACH_DM6446_ADBOX
11109 11110 11111 11112
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11113
#  define machine_arch_type	MACH_TYPE_DM6446_ADBOX
11114
# endif
M
Marek Vasut 已提交
11115
# define machine_is_dm6446_adbox()	(machine_arch_type == MACH_TYPE_DM6446_ADBOX)
11116
#else
M
Marek Vasut 已提交
11117
# define machine_is_dm6446_adbox()	(0)
11118 11119
#endif

M
Marek Vasut 已提交
11120
#ifdef CONFIG_MACH_QUAD_SALSA
11121 11122 11123 11124
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11125
#  define machine_arch_type	MACH_TYPE_QUAD_SALSA
11126
# endif
M
Marek Vasut 已提交
11127
# define machine_is_quad_salsa()	(machine_arch_type == MACH_TYPE_QUAD_SALSA)
11128
#else
M
Marek Vasut 已提交
11129
# define machine_is_quad_salsa()	(0)
11130 11131
#endif

M
Marek Vasut 已提交
11132
#ifdef CONFIG_MACH_ABB_GMA_1_1
11133 11134 11135 11136
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11137
#  define machine_arch_type	MACH_TYPE_ABB_GMA_1_1
11138
# endif
M
Marek Vasut 已提交
11139
# define machine_is_abb_gma_1_1()	(machine_arch_type == MACH_TYPE_ABB_GMA_1_1)
11140
#else
M
Marek Vasut 已提交
11141
# define machine_is_abb_gma_1_1()	(0)
11142 11143
#endif

M
Marek Vasut 已提交
11144
#ifdef CONFIG_MACH_SVCID
11145 11146 11147 11148
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11149
#  define machine_arch_type	MACH_TYPE_SVCID
11150
# endif
M
Marek Vasut 已提交
11151
# define machine_is_svcid()	(machine_arch_type == MACH_TYPE_SVCID)
11152
#else
M
Marek Vasut 已提交
11153
# define machine_is_svcid()	(0)
11154 11155
#endif

M
Marek Vasut 已提交
11156
#ifdef CONFIG_MACH_MSM8960_SIM
11157 11158 11159 11160
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11161
#  define machine_arch_type	MACH_TYPE_MSM8960_SIM
11162
# endif
M
Marek Vasut 已提交
11163
# define machine_is_msm8960_sim()	(machine_arch_type == MACH_TYPE_MSM8960_SIM)
11164
#else
M
Marek Vasut 已提交
11165
# define machine_is_msm8960_sim()	(0)
11166 11167
#endif

M
Marek Vasut 已提交
11168
#ifdef CONFIG_MACH_MSM8960_RUMI3
11169 11170 11171 11172
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11173
#  define machine_arch_type	MACH_TYPE_MSM8960_RUMI3
11174
# endif
M
Marek Vasut 已提交
11175
# define machine_is_msm8960_rumi3()	(machine_arch_type == MACH_TYPE_MSM8960_RUMI3)
11176
#else
M
Marek Vasut 已提交
11177
# define machine_is_msm8960_rumi3()	(0)
11178 11179
#endif

M
Marek Vasut 已提交
11180
#ifdef CONFIG_MACH_ICON_G
11181 11182 11183 11184
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11185
#  define machine_arch_type	MACH_TYPE_ICON_G
11186
# endif
M
Marek Vasut 已提交
11187
# define machine_is_icon_g()	(machine_arch_type == MACH_TYPE_ICON_G)
11188
#else
M
Marek Vasut 已提交
11189
# define machine_is_icon_g()	(0)
11190 11191
#endif

M
Marek Vasut 已提交
11192
#ifdef CONFIG_MACH_MB3
11193 11194 11195 11196
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11197
#  define machine_arch_type	MACH_TYPE_MB3
11198
# endif
M
Marek Vasut 已提交
11199
# define machine_is_mb3()	(machine_arch_type == MACH_TYPE_MB3)
11200
#else
M
Marek Vasut 已提交
11201
# define machine_is_mb3()	(0)
11202 11203
#endif

M
Marek Vasut 已提交
11204
#ifdef CONFIG_MACH_GSIA18S
11205 11206 11207 11208
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11209
#  define machine_arch_type	MACH_TYPE_GSIA18S
11210
# endif
M
Marek Vasut 已提交
11211
# define machine_is_gsia18s()	(machine_arch_type == MACH_TYPE_GSIA18S)
11212
#else
M
Marek Vasut 已提交
11213
# define machine_is_gsia18s()	(0)
11214 11215
#endif

M
Marek Vasut 已提交
11216
#ifdef CONFIG_MACH_PIVICC
11217 11218 11219 11220
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11221
#  define machine_arch_type	MACH_TYPE_PIVICC
11222
# endif
M
Marek Vasut 已提交
11223
# define machine_is_pivicc()	(machine_arch_type == MACH_TYPE_PIVICC)
11224
#else
M
Marek Vasut 已提交
11225
# define machine_is_pivicc()	(0)
11226 11227
#endif

M
Marek Vasut 已提交
11228
#ifdef CONFIG_MACH_PCM048
11229 11230 11231 11232
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11233
#  define machine_arch_type	MACH_TYPE_PCM048
11234
# endif
M
Marek Vasut 已提交
11235
# define machine_is_pcm048()	(machine_arch_type == MACH_TYPE_PCM048)
11236
#else
M
Marek Vasut 已提交
11237
# define machine_is_pcm048()	(0)
11238 11239
#endif

M
Marek Vasut 已提交
11240
#ifdef CONFIG_MACH_DDS
11241 11242 11243 11244
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11245
#  define machine_arch_type	MACH_TYPE_DDS
11246
# endif
M
Marek Vasut 已提交
11247
# define machine_is_dds()	(machine_arch_type == MACH_TYPE_DDS)
11248
#else
M
Marek Vasut 已提交
11249
# define machine_is_dds()	(0)
11250 11251
#endif

M
Marek Vasut 已提交
11252
#ifdef CONFIG_MACH_CHALTEN_XA1
11253 11254 11255 11256
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11257
#  define machine_arch_type	MACH_TYPE_CHALTEN_XA1
11258
# endif
M
Marek Vasut 已提交
11259
# define machine_is_chalten_xa1()	(machine_arch_type == MACH_TYPE_CHALTEN_XA1)
11260
#else
M
Marek Vasut 已提交
11261
# define machine_is_chalten_xa1()	(0)
11262 11263
#endif

M
Marek Vasut 已提交
11264
#ifdef CONFIG_MACH_TS48XX
11265 11266 11267 11268
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11269
#  define machine_arch_type	MACH_TYPE_TS48XX
11270
# endif
M
Marek Vasut 已提交
11271
# define machine_is_ts48xx()	(machine_arch_type == MACH_TYPE_TS48XX)
11272
#else
M
Marek Vasut 已提交
11273
# define machine_is_ts48xx()	(0)
11274 11275
#endif

M
Marek Vasut 已提交
11276
#ifdef CONFIG_MACH_TONGA2_TFTTIMER
11277 11278 11279 11280
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11281
#  define machine_arch_type	MACH_TYPE_TONGA2_TFTTIMER
11282
# endif
M
Marek Vasut 已提交
11283
# define machine_is_tonga2_tfttimer()	(machine_arch_type == MACH_TYPE_TONGA2_TFTTIMER)
11284
#else
M
Marek Vasut 已提交
11285
# define machine_is_tonga2_tfttimer()	(0)
11286 11287
#endif

M
Marek Vasut 已提交
11288
#ifdef CONFIG_MACH_WHISTLER
11289 11290 11291 11292
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11293
#  define machine_arch_type	MACH_TYPE_WHISTLER
11294
# endif
M
Marek Vasut 已提交
11295
# define machine_is_whistler()	(machine_arch_type == MACH_TYPE_WHISTLER)
11296
#else
M
Marek Vasut 已提交
11297
# define machine_is_whistler()	(0)
11298 11299
#endif

M
Marek Vasut 已提交
11300
#ifdef CONFIG_MACH_ASL_PHOENIX
11301 11302 11303 11304
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11305
#  define machine_arch_type	MACH_TYPE_ASL_PHOENIX
11306
# endif
M
Marek Vasut 已提交
11307
# define machine_is_asl_phoenix()	(machine_arch_type == MACH_TYPE_ASL_PHOENIX)
11308
#else
M
Marek Vasut 已提交
11309
# define machine_is_asl_phoenix()	(0)
11310 11311
#endif

M
Marek Vasut 已提交
11312
#ifdef CONFIG_MACH_AT91SAM9263OTLITE
11313 11314 11315 11316
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11317
#  define machine_arch_type	MACH_TYPE_AT91SAM9263OTLITE
11318
# endif
M
Marek Vasut 已提交
11319
# define machine_is_at91sam9263otlite()	(machine_arch_type == MACH_TYPE_AT91SAM9263OTLITE)
11320
#else
M
Marek Vasut 已提交
11321
# define machine_is_at91sam9263otlite()	(0)
11322 11323
#endif

M
Marek Vasut 已提交
11324
#ifdef CONFIG_MACH_DDPLUG
11325 11326 11327 11328
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11329
#  define machine_arch_type	MACH_TYPE_DDPLUG
11330
# endif
M
Marek Vasut 已提交
11331
# define machine_is_ddplug()	(machine_arch_type == MACH_TYPE_DDPLUG)
11332
#else
M
Marek Vasut 已提交
11333
# define machine_is_ddplug()	(0)
11334 11335
#endif

M
Marek Vasut 已提交
11336
#ifdef CONFIG_MACH_D2PLUG
11337 11338 11339 11340
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11341
#  define machine_arch_type	MACH_TYPE_D2PLUG
11342
# endif
M
Marek Vasut 已提交
11343
# define machine_is_d2plug()	(machine_arch_type == MACH_TYPE_D2PLUG)
11344
#else
M
Marek Vasut 已提交
11345
# define machine_is_d2plug()	(0)
11346 11347
#endif

M
Marek Vasut 已提交
11348
#ifdef CONFIG_MACH_KZM9D
11349 11350 11351 11352
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11353
#  define machine_arch_type	MACH_TYPE_KZM9D
11354
# endif
M
Marek Vasut 已提交
11355
# define machine_is_kzm9d()	(machine_arch_type == MACH_TYPE_KZM9D)
11356
#else
M
Marek Vasut 已提交
11357
# define machine_is_kzm9d()	(0)
11358 11359
#endif

M
Marek Vasut 已提交
11360
#ifdef CONFIG_MACH_VERDI_LTE
11361 11362 11363 11364
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11365
#  define machine_arch_type	MACH_TYPE_VERDI_LTE
11366
# endif
M
Marek Vasut 已提交
11367
# define machine_is_verdi_lte()	(machine_arch_type == MACH_TYPE_VERDI_LTE)
11368
#else
M
Marek Vasut 已提交
11369
# define machine_is_verdi_lte()	(0)
11370 11371
#endif

M
Marek Vasut 已提交
11372
#ifdef CONFIG_MACH_NANOZOOM
11373 11374 11375 11376
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11377
#  define machine_arch_type	MACH_TYPE_NANOZOOM
11378
# endif
M
Marek Vasut 已提交
11379
# define machine_is_nanozoom()	(machine_arch_type == MACH_TYPE_NANOZOOM)
11380
#else
M
Marek Vasut 已提交
11381
# define machine_is_nanozoom()	(0)
11382 11383
#endif

M
Marek Vasut 已提交
11384
#ifdef CONFIG_MACH_DM3730_SOM_LV
11385 11386 11387 11388
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11389
#  define machine_arch_type	MACH_TYPE_DM3730_SOM_LV
11390
# endif
M
Marek Vasut 已提交
11391
# define machine_is_dm3730_som_lv()	(machine_arch_type == MACH_TYPE_DM3730_SOM_LV)
11392
#else
M
Marek Vasut 已提交
11393
# define machine_is_dm3730_som_lv()	(0)
11394 11395
#endif

M
Marek Vasut 已提交
11396
#ifdef CONFIG_MACH_DM3730_TORPEDO
11397 11398 11399 11400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11401
#  define machine_arch_type	MACH_TYPE_DM3730_TORPEDO
11402
# endif
M
Marek Vasut 已提交
11403
# define machine_is_dm3730_torpedo()	(machine_arch_type == MACH_TYPE_DM3730_TORPEDO)
11404
#else
M
Marek Vasut 已提交
11405
# define machine_is_dm3730_torpedo()	(0)
11406 11407
#endif

M
Marek Vasut 已提交
11408
#ifdef CONFIG_MACH_ANCHOVY
11409 11410 11411 11412
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11413
#  define machine_arch_type	MACH_TYPE_ANCHOVY
11414
# endif
M
Marek Vasut 已提交
11415
# define machine_is_anchovy()	(machine_arch_type == MACH_TYPE_ANCHOVY)
11416
#else
M
Marek Vasut 已提交
11417
# define machine_is_anchovy()	(0)
11418 11419
#endif

M
Marek Vasut 已提交
11420
#ifdef CONFIG_MACH_RE2REV20
11421 11422 11423 11424
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11425
#  define machine_arch_type	MACH_TYPE_RE2REV20
11426
# endif
M
Marek Vasut 已提交
11427
# define machine_is_re2rev20()	(machine_arch_type == MACH_TYPE_RE2REV20)
11428
#else
M
Marek Vasut 已提交
11429
# define machine_is_re2rev20()	(0)
11430 11431
#endif

M
Marek Vasut 已提交
11432
#ifdef CONFIG_MACH_RE2REV21
11433 11434 11435 11436
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11437
#  define machine_arch_type	MACH_TYPE_RE2REV21
11438
# endif
M
Marek Vasut 已提交
11439
# define machine_is_re2rev21()	(machine_arch_type == MACH_TYPE_RE2REV21)
11440
#else
M
Marek Vasut 已提交
11441
# define machine_is_re2rev21()	(0)
11442 11443
#endif

M
Marek Vasut 已提交
11444
#ifdef CONFIG_MACH_CNS21XX
11445 11446 11447 11448
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11449
#  define machine_arch_type	MACH_TYPE_CNS21XX
11450
# endif
M
Marek Vasut 已提交
11451
# define machine_is_cns21xx()	(machine_arch_type == MACH_TYPE_CNS21XX)
11452
#else
M
Marek Vasut 已提交
11453
# define machine_is_cns21xx()	(0)
11454 11455
#endif

M
Marek Vasut 已提交
11456
#ifdef CONFIG_MACH_RIDER
11457 11458 11459 11460
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11461
#  define machine_arch_type	MACH_TYPE_RIDER
11462
# endif
M
Marek Vasut 已提交
11463
# define machine_is_rider()	(machine_arch_type == MACH_TYPE_RIDER)
11464
#else
M
Marek Vasut 已提交
11465
# define machine_is_rider()	(0)
11466 11467
#endif

M
Marek Vasut 已提交
11468
#ifdef CONFIG_MACH_NSK330
11469 11470 11471 11472
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11473
#  define machine_arch_type	MACH_TYPE_NSK330
11474
# endif
M
Marek Vasut 已提交
11475
# define machine_is_nsk330()	(machine_arch_type == MACH_TYPE_NSK330)
11476
#else
M
Marek Vasut 已提交
11477
# define machine_is_nsk330()	(0)
11478 11479
#endif

M
Marek Vasut 已提交
11480
#ifdef CONFIG_MACH_CNS2133EVB
11481 11482 11483 11484
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11485
#  define machine_arch_type	MACH_TYPE_CNS2133EVB
11486
# endif
M
Marek Vasut 已提交
11487
# define machine_is_cns2133evb()	(machine_arch_type == MACH_TYPE_CNS2133EVB)
11488
#else
M
Marek Vasut 已提交
11489
# define machine_is_cns2133evb()	(0)
11490 11491
#endif

M
Marek Vasut 已提交
11492
#ifdef CONFIG_MACH_Z3_816X_MOD
11493 11494 11495 11496
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11497
#  define machine_arch_type	MACH_TYPE_Z3_816X_MOD
11498
# endif
M
Marek Vasut 已提交
11499
# define machine_is_z3_816x_mod()	(machine_arch_type == MACH_TYPE_Z3_816X_MOD)
11500
#else
M
Marek Vasut 已提交
11501
# define machine_is_z3_816x_mod()	(0)
11502 11503
#endif

M
Marek Vasut 已提交
11504
#ifdef CONFIG_MACH_Z3_814X_MOD
11505 11506 11507 11508
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11509
#  define machine_arch_type	MACH_TYPE_Z3_814X_MOD
11510
# endif
M
Marek Vasut 已提交
11511
# define machine_is_z3_814x_mod()	(machine_arch_type == MACH_TYPE_Z3_814X_MOD)
11512
#else
M
Marek Vasut 已提交
11513
# define machine_is_z3_814x_mod()	(0)
11514 11515
#endif

M
Marek Vasut 已提交
11516
#ifdef CONFIG_MACH_BEECT
11517 11518 11519 11520
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11521
#  define machine_arch_type	MACH_TYPE_BEECT
11522
# endif
M
Marek Vasut 已提交
11523
# define machine_is_beect()	(machine_arch_type == MACH_TYPE_BEECT)
11524
#else
M
Marek Vasut 已提交
11525
# define machine_is_beect()	(0)
11526 11527
#endif

M
Marek Vasut 已提交
11528
#ifdef CONFIG_MACH_DMA_THUNDERBUG
11529 11530 11531 11532
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11533
#  define machine_arch_type	MACH_TYPE_DMA_THUNDERBUG
11534
# endif
M
Marek Vasut 已提交
11535
# define machine_is_dma_thunderbug()	(machine_arch_type == MACH_TYPE_DMA_THUNDERBUG)
11536
#else
M
Marek Vasut 已提交
11537
# define machine_is_dma_thunderbug()	(0)
11538 11539
#endif

M
Marek Vasut 已提交
11540
#ifdef CONFIG_MACH_OMN_AT91SAM9G20
11541 11542 11543 11544
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11545
#  define machine_arch_type	MACH_TYPE_OMN_AT91SAM9G20
11546
# endif
M
Marek Vasut 已提交
11547
# define machine_is_omn_at91sam9g20()	(machine_arch_type == MACH_TYPE_OMN_AT91SAM9G20)
11548
#else
M
Marek Vasut 已提交
11549
# define machine_is_omn_at91sam9g20()	(0)
11550 11551
#endif

M
Marek Vasut 已提交
11552
#ifdef CONFIG_MACH_MX25_E2S_UC
11553 11554 11555 11556
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11557
#  define machine_arch_type	MACH_TYPE_MX25_E2S_UC
11558
# endif
M
Marek Vasut 已提交
11559
# define machine_is_mx25_e2s_uc()	(machine_arch_type == MACH_TYPE_MX25_E2S_UC)
11560
#else
M
Marek Vasut 已提交
11561
# define machine_is_mx25_e2s_uc()	(0)
11562 11563
#endif

M
Marek Vasut 已提交
11564
#ifdef CONFIG_MACH_MIONE
11565 11566 11567 11568
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11569
#  define machine_arch_type	MACH_TYPE_MIONE
11570
# endif
M
Marek Vasut 已提交
11571
# define machine_is_mione()	(machine_arch_type == MACH_TYPE_MIONE)
11572
#else
M
Marek Vasut 已提交
11573
# define machine_is_mione()	(0)
11574 11575
#endif

M
Marek Vasut 已提交
11576
#ifdef CONFIG_MACH_TOP9000_TCU
11577 11578 11579 11580
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11581
#  define machine_arch_type	MACH_TYPE_TOP9000_TCU
11582
# endif
M
Marek Vasut 已提交
11583
# define machine_is_top9000_tcu()	(machine_arch_type == MACH_TYPE_TOP9000_TCU)
11584
#else
M
Marek Vasut 已提交
11585
# define machine_is_top9000_tcu()	(0)
11586 11587
#endif

M
Marek Vasut 已提交
11588
#ifdef CONFIG_MACH_TOP9000_BSL
11589 11590 11591 11592
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11593
#  define machine_arch_type	MACH_TYPE_TOP9000_BSL
11594
# endif
M
Marek Vasut 已提交
11595
# define machine_is_top9000_bsl()	(machine_arch_type == MACH_TYPE_TOP9000_BSL)
11596
#else
M
Marek Vasut 已提交
11597
# define machine_is_top9000_bsl()	(0)
11598 11599
#endif

M
Marek Vasut 已提交
11600
#ifdef CONFIG_MACH_KINGDOM
11601 11602 11603 11604
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11605
#  define machine_arch_type	MACH_TYPE_KINGDOM
11606
# endif
M
Marek Vasut 已提交
11607
# define machine_is_kingdom()	(machine_arch_type == MACH_TYPE_KINGDOM)
11608
#else
M
Marek Vasut 已提交
11609
# define machine_is_kingdom()	(0)
11610 11611
#endif

M
Marek Vasut 已提交
11612
#ifdef CONFIG_MACH_ARMADILLO460
11613 11614 11615 11616
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11617
#  define machine_arch_type	MACH_TYPE_ARMADILLO460
11618
# endif
M
Marek Vasut 已提交
11619
# define machine_is_armadillo460()	(machine_arch_type == MACH_TYPE_ARMADILLO460)
11620
#else
M
Marek Vasut 已提交
11621
# define machine_is_armadillo460()	(0)
11622 11623
#endif

M
Marek Vasut 已提交
11624
#ifdef CONFIG_MACH_LQ2
11625 11626 11627 11628
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11629
#  define machine_arch_type	MACH_TYPE_LQ2
11630
# endif
M
Marek Vasut 已提交
11631
# define machine_is_lq2()	(machine_arch_type == MACH_TYPE_LQ2)
11632
#else
M
Marek Vasut 已提交
11633
# define machine_is_lq2()	(0)
11634 11635
#endif

M
Marek Vasut 已提交
11636
#ifdef CONFIG_MACH_SWEDA_TMS2
11637 11638 11639 11640
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11641
#  define machine_arch_type	MACH_TYPE_SWEDA_TMS2
11642
# endif
M
Marek Vasut 已提交
11643
# define machine_is_sweda_tms2()	(machine_arch_type == MACH_TYPE_SWEDA_TMS2)
11644
#else
M
Marek Vasut 已提交
11645
# define machine_is_sweda_tms2()	(0)
11646 11647
#endif

M
Marek Vasut 已提交
11648
#ifdef CONFIG_MACH_MX53_LOCO
11649 11650 11651 11652
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11653
#  define machine_arch_type	MACH_TYPE_MX53_LOCO
11654
# endif
M
Marek Vasut 已提交
11655
# define machine_is_mx53_loco()	(machine_arch_type == MACH_TYPE_MX53_LOCO)
11656
#else
M
Marek Vasut 已提交
11657
# define machine_is_mx53_loco()	(0)
11658 11659
#endif

M
Marek Vasut 已提交
11660
#ifdef CONFIG_MACH_ACER_A8
11661 11662 11663 11664
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11665
#  define machine_arch_type	MACH_TYPE_ACER_A8
11666
# endif
M
Marek Vasut 已提交
11667
# define machine_is_acer_a8()	(machine_arch_type == MACH_TYPE_ACER_A8)
11668
#else
M
Marek Vasut 已提交
11669
# define machine_is_acer_a8()	(0)
11670 11671
#endif

M
Marek Vasut 已提交
11672
#ifdef CONFIG_MACH_ACER_GAUGUIN
11673 11674 11675 11676
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11677
#  define machine_arch_type	MACH_TYPE_ACER_GAUGUIN
11678
# endif
M
Marek Vasut 已提交
11679
# define machine_is_acer_gauguin()	(machine_arch_type == MACH_TYPE_ACER_GAUGUIN)
11680
#else
M
Marek Vasut 已提交
11681
# define machine_is_acer_gauguin()	(0)
11682 11683
#endif

M
Marek Vasut 已提交
11684
#ifdef CONFIG_MACH_GUPPY
11685 11686 11687 11688
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11689
#  define machine_arch_type	MACH_TYPE_GUPPY
11690
# endif
M
Marek Vasut 已提交
11691
# define machine_is_guppy()	(machine_arch_type == MACH_TYPE_GUPPY)
11692
#else
M
Marek Vasut 已提交
11693
# define machine_is_guppy()	(0)
11694 11695
#endif

M
Marek Vasut 已提交
11696
#ifdef CONFIG_MACH_MX61_ARD
11697 11698 11699 11700
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11701
#  define machine_arch_type	MACH_TYPE_MX61_ARD
11702
# endif
M
Marek Vasut 已提交
11703
# define machine_is_mx61_ard()	(machine_arch_type == MACH_TYPE_MX61_ARD)
11704
#else
M
Marek Vasut 已提交
11705
# define machine_is_mx61_ard()	(0)
11706 11707
#endif

M
Marek Vasut 已提交
11708
#ifdef CONFIG_MACH_TX53
11709 11710 11711 11712
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11713
#  define machine_arch_type	MACH_TYPE_TX53
11714
# endif
M
Marek Vasut 已提交
11715
# define machine_is_tx53()	(machine_arch_type == MACH_TYPE_TX53)
11716
#else
M
Marek Vasut 已提交
11717
# define machine_is_tx53()	(0)
11718 11719
#endif

M
Marek Vasut 已提交
11720
#ifdef CONFIG_MACH_OMAPL138_CASE_A3
11721 11722 11723 11724
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11725
#  define machine_arch_type	MACH_TYPE_OMAPL138_CASE_A3
11726
# endif
M
Marek Vasut 已提交
11727
# define machine_is_omapl138_case_a3()	(machine_arch_type == MACH_TYPE_OMAPL138_CASE_A3)
11728
#else
M
Marek Vasut 已提交
11729
# define machine_is_omapl138_case_a3()	(0)
11730 11731
#endif

M
Marek Vasut 已提交
11732
#ifdef CONFIG_MACH_UEMD
11733 11734 11735 11736
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11737
#  define machine_arch_type	MACH_TYPE_UEMD
11738
# endif
M
Marek Vasut 已提交
11739
# define machine_is_uemd()	(machine_arch_type == MACH_TYPE_UEMD)
11740
#else
M
Marek Vasut 已提交
11741
# define machine_is_uemd()	(0)
11742 11743
#endif

M
Marek Vasut 已提交
11744
#ifdef CONFIG_MACH_CCWMX51MUT
11745 11746 11747 11748
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11749
#  define machine_arch_type	MACH_TYPE_CCWMX51MUT
11750
# endif
M
Marek Vasut 已提交
11751
# define machine_is_ccwmx51mut()	(machine_arch_type == MACH_TYPE_CCWMX51MUT)
11752
#else
M
Marek Vasut 已提交
11753
# define machine_is_ccwmx51mut()	(0)
11754 11755
#endif

M
Marek Vasut 已提交
11756
#ifdef CONFIG_MACH_ROCKHOPPER
11757 11758 11759 11760
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11761
#  define machine_arch_type	MACH_TYPE_ROCKHOPPER
11762
# endif
M
Marek Vasut 已提交
11763
# define machine_is_rockhopper()	(machine_arch_type == MACH_TYPE_ROCKHOPPER)
11764
#else
M
Marek Vasut 已提交
11765
# define machine_is_rockhopper()	(0)
11766 11767
#endif

M
Marek Vasut 已提交
11768
#ifdef CONFIG_MACH_ENCORE
11769 11770 11771 11772
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11773
#  define machine_arch_type	MACH_TYPE_ENCORE
11774
# endif
M
Marek Vasut 已提交
11775
# define machine_is_encore()	(machine_arch_type == MACH_TYPE_ENCORE)
11776
#else
M
Marek Vasut 已提交
11777
# define machine_is_encore()	(0)
11778 11779
#endif

M
Marek Vasut 已提交
11780
#ifdef CONFIG_MACH_HKDKC100
11781 11782 11783 11784
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11785
#  define machine_arch_type	MACH_TYPE_HKDKC100
11786
# endif
M
Marek Vasut 已提交
11787
# define machine_is_hkdkc100()	(machine_arch_type == MACH_TYPE_HKDKC100)
11788
#else
M
Marek Vasut 已提交
11789
# define machine_is_hkdkc100()	(0)
11790 11791
#endif

M
Marek Vasut 已提交
11792
#ifdef CONFIG_MACH_TS42XX
11793 11794 11795 11796
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11797
#  define machine_arch_type	MACH_TYPE_TS42XX
11798
# endif
M
Marek Vasut 已提交
11799
# define machine_is_ts42xx()	(machine_arch_type == MACH_TYPE_TS42XX)
11800
#else
M
Marek Vasut 已提交
11801
# define machine_is_ts42xx()	(0)
11802 11803
#endif

M
Marek Vasut 已提交
11804
#ifdef CONFIG_MACH_AEBL
11805 11806 11807 11808
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11809
#  define machine_arch_type	MACH_TYPE_AEBL
11810
# endif
M
Marek Vasut 已提交
11811
# define machine_is_aebl()	(machine_arch_type == MACH_TYPE_AEBL)
11812
#else
M
Marek Vasut 已提交
11813
# define machine_is_aebl()	(0)
11814 11815
#endif

M
Marek Vasut 已提交
11816
#ifdef CONFIG_MACH_WARIO
11817 11818 11819 11820
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11821
#  define machine_arch_type	MACH_TYPE_WARIO
11822
# endif
M
Marek Vasut 已提交
11823
# define machine_is_wario()	(machine_arch_type == MACH_TYPE_WARIO)
11824
#else
M
Marek Vasut 已提交
11825
# define machine_is_wario()	(0)
11826 11827
#endif

M
Marek Vasut 已提交
11828
#ifdef CONFIG_MACH_GFS_SPM
11829 11830 11831 11832
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11833
#  define machine_arch_type	MACH_TYPE_GFS_SPM
11834
# endif
M
Marek Vasut 已提交
11835
# define machine_is_gfs_spm()	(machine_arch_type == MACH_TYPE_GFS_SPM)
11836
#else
M
Marek Vasut 已提交
11837
# define machine_is_gfs_spm()	(0)
11838 11839
#endif

M
Marek Vasut 已提交
11840
#ifdef CONFIG_MACH_CM_T3730
11841 11842 11843 11844
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11845
#  define machine_arch_type	MACH_TYPE_CM_T3730
11846
# endif
M
Marek Vasut 已提交
11847
# define machine_is_cm_t3730()	(machine_arch_type == MACH_TYPE_CM_T3730)
11848
#else
M
Marek Vasut 已提交
11849
# define machine_is_cm_t3730()	(0)
11850 11851
#endif

M
Marek Vasut 已提交
11852
#ifdef CONFIG_MACH_ISC3
11853 11854 11855 11856
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11857
#  define machine_arch_type	MACH_TYPE_ISC3
11858
# endif
M
Marek Vasut 已提交
11859
# define machine_is_isc3()	(machine_arch_type == MACH_TYPE_ISC3)
11860
#else
M
Marek Vasut 已提交
11861
# define machine_is_isc3()	(0)
11862 11863
#endif

M
Marek Vasut 已提交
11864
#ifdef CONFIG_MACH_RASCAL
11865 11866 11867 11868
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11869
#  define machine_arch_type	MACH_TYPE_RASCAL
11870
# endif
M
Marek Vasut 已提交
11871
# define machine_is_rascal()	(machine_arch_type == MACH_TYPE_RASCAL)
11872
#else
M
Marek Vasut 已提交
11873
# define machine_is_rascal()	(0)
11874 11875
#endif

M
Marek Vasut 已提交
11876
#ifdef CONFIG_MACH_HREFV60
11877 11878 11879 11880
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11881
#  define machine_arch_type	MACH_TYPE_HREFV60
11882
# endif
M
Marek Vasut 已提交
11883
# define machine_is_hrefv60()	(machine_arch_type == MACH_TYPE_HREFV60)
11884
#else
M
Marek Vasut 已提交
11885
# define machine_is_hrefv60()	(0)
11886 11887
#endif

M
Marek Vasut 已提交
11888
#ifdef CONFIG_MACH_TPT_2_0
11889 11890 11891 11892
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11893
#  define machine_arch_type	MACH_TYPE_TPT_2_0
11894
# endif
M
Marek Vasut 已提交
11895
# define machine_is_tpt_2_0()	(machine_arch_type == MACH_TYPE_TPT_2_0)
11896
#else
M
Marek Vasut 已提交
11897
# define machine_is_tpt_2_0()	(0)
11898 11899
#endif

M
Marek Vasut 已提交
11900
#ifdef CONFIG_MACH_SPLENDOR
11901 11902 11903 11904
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11905
#  define machine_arch_type	MACH_TYPE_SPLENDOR
11906
# endif
M
Marek Vasut 已提交
11907
# define machine_is_splendor()	(machine_arch_type == MACH_TYPE_SPLENDOR)
11908
#else
M
Marek Vasut 已提交
11909
# define machine_is_splendor()	(0)
11910 11911
#endif

M
Marek Vasut 已提交
11912
#ifdef CONFIG_MACH_MSM8X60_QT
11913 11914 11915 11916
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11917
#  define machine_arch_type	MACH_TYPE_MSM8X60_QT
11918
# endif
M
Marek Vasut 已提交
11919
# define machine_is_msm8x60_qt()	(machine_arch_type == MACH_TYPE_MSM8X60_QT)
11920
#else
M
Marek Vasut 已提交
11921
# define machine_is_msm8x60_qt()	(0)
11922 11923
#endif

M
Marek Vasut 已提交
11924
#ifdef CONFIG_MACH_HTC_HD_MINI
11925 11926 11927 11928
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11929
#  define machine_arch_type	MACH_TYPE_HTC_HD_MINI
11930
# endif
M
Marek Vasut 已提交
11931
# define machine_is_htc_hd_mini()	(machine_arch_type == MACH_TYPE_HTC_HD_MINI)
11932
#else
M
Marek Vasut 已提交
11933
# define machine_is_htc_hd_mini()	(0)
11934 11935
#endif

M
Marek Vasut 已提交
11936
#ifdef CONFIG_MACH_ATHENE
11937 11938 11939 11940
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11941
#  define machine_arch_type	MACH_TYPE_ATHENE
11942
# endif
M
Marek Vasut 已提交
11943
# define machine_is_athene()	(machine_arch_type == MACH_TYPE_ATHENE)
11944
#else
M
Marek Vasut 已提交
11945
# define machine_is_athene()	(0)
11946 11947
#endif

M
Marek Vasut 已提交
11948
#ifdef CONFIG_MACH_DEEP_R_EK_1
11949 11950 11951 11952
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11953
#  define machine_arch_type	MACH_TYPE_DEEP_R_EK_1
11954
# endif
M
Marek Vasut 已提交
11955
# define machine_is_deep_r_ek_1()	(machine_arch_type == MACH_TYPE_DEEP_R_EK_1)
11956
#else
M
Marek Vasut 已提交
11957
# define machine_is_deep_r_ek_1()	(0)
11958 11959
#endif

M
Marek Vasut 已提交
11960
#ifdef CONFIG_MACH_VIVOW_CT
11961 11962 11963 11964
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11965
#  define machine_arch_type	MACH_TYPE_VIVOW_CT
11966
# endif
M
Marek Vasut 已提交
11967
# define machine_is_vivow_ct()	(machine_arch_type == MACH_TYPE_VIVOW_CT)
11968
#else
M
Marek Vasut 已提交
11969
# define machine_is_vivow_ct()	(0)
11970 11971
#endif

M
Marek Vasut 已提交
11972
#ifdef CONFIG_MACH_NERY_1000
11973 11974 11975 11976
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11977
#  define machine_arch_type	MACH_TYPE_NERY_1000
11978
# endif
M
Marek Vasut 已提交
11979
# define machine_is_nery_1000()	(machine_arch_type == MACH_TYPE_NERY_1000)
11980
#else
M
Marek Vasut 已提交
11981
# define machine_is_nery_1000()	(0)
11982 11983
#endif

M
Marek Vasut 已提交
11984
#ifdef CONFIG_MACH_RFL109145_SSRV
11985 11986 11987 11988
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
11989
#  define machine_arch_type	MACH_TYPE_RFL109145_SSRV
11990
# endif
M
Marek Vasut 已提交
11991
# define machine_is_rfl109145_ssrv()	(machine_arch_type == MACH_TYPE_RFL109145_SSRV)
11992
#else
M
Marek Vasut 已提交
11993
# define machine_is_rfl109145_ssrv()	(0)
11994 11995
#endif

M
Marek Vasut 已提交
11996
#ifdef CONFIG_MACH_NMH
11997 11998 11999 12000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12001
#  define machine_arch_type	MACH_TYPE_NMH
12002
# endif
M
Marek Vasut 已提交
12003
# define machine_is_nmh()	(machine_arch_type == MACH_TYPE_NMH)
12004
#else
M
Marek Vasut 已提交
12005
# define machine_is_nmh()	(0)
12006 12007
#endif

M
Marek Vasut 已提交
12008
#ifdef CONFIG_MACH_WN802T
12009 12010 12011 12012
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12013
#  define machine_arch_type	MACH_TYPE_WN802T
12014
# endif
M
Marek Vasut 已提交
12015
# define machine_is_wn802t()	(machine_arch_type == MACH_TYPE_WN802T)
12016
#else
M
Marek Vasut 已提交
12017
# define machine_is_wn802t()	(0)
12018 12019
#endif

M
Marek Vasut 已提交
12020
#ifdef CONFIG_MACH_DRAGONET
12021 12022 12023 12024
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12025
#  define machine_arch_type	MACH_TYPE_DRAGONET
12026
# endif
M
Marek Vasut 已提交
12027
# define machine_is_dragonet()	(machine_arch_type == MACH_TYPE_DRAGONET)
12028
#else
M
Marek Vasut 已提交
12029
# define machine_is_dragonet()	(0)
12030 12031
#endif

M
Marek Vasut 已提交
12032
#ifdef CONFIG_MACH_AT91SAM9263DESK16L
12033 12034 12035 12036
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12037
#  define machine_arch_type	MACH_TYPE_AT91SAM9263DESK16L
12038
# endif
M
Marek Vasut 已提交
12039
# define machine_is_at91sam9263desk16l()	(machine_arch_type == MACH_TYPE_AT91SAM9263DESK16L)
12040
#else
M
Marek Vasut 已提交
12041
# define machine_is_at91sam9263desk16l()	(0)
12042 12043
#endif

M
Marek Vasut 已提交
12044
#ifdef CONFIG_MACH_BCMHANA_SV
12045 12046 12047 12048
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12049
#  define machine_arch_type	MACH_TYPE_BCMHANA_SV
12050
# endif
M
Marek Vasut 已提交
12051
# define machine_is_bcmhana_sv()	(machine_arch_type == MACH_TYPE_BCMHANA_SV)
12052
#else
M
Marek Vasut 已提交
12053
# define machine_is_bcmhana_sv()	(0)
12054 12055
#endif

M
Marek Vasut 已提交
12056
#ifdef CONFIG_MACH_BCMHANA_TABLET
12057 12058 12059 12060
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12061
#  define machine_arch_type	MACH_TYPE_BCMHANA_TABLET
12062
# endif
M
Marek Vasut 已提交
12063
# define machine_is_bcmhana_tablet()	(machine_arch_type == MACH_TYPE_BCMHANA_TABLET)
12064
#else
M
Marek Vasut 已提交
12065
# define machine_is_bcmhana_tablet()	(0)
12066 12067
#endif

M
Marek Vasut 已提交
12068
#ifdef CONFIG_MACH_KOI
12069 12070 12071 12072
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12073
#  define machine_arch_type	MACH_TYPE_KOI
12074
# endif
M
Marek Vasut 已提交
12075
# define machine_is_koi()	(machine_arch_type == MACH_TYPE_KOI)
12076
#else
M
Marek Vasut 已提交
12077
# define machine_is_koi()	(0)
12078 12079
#endif

M
Marek Vasut 已提交
12080
#ifdef CONFIG_MACH_TS4800
12081 12082 12083 12084
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12085
#  define machine_arch_type	MACH_TYPE_TS4800
12086
# endif
M
Marek Vasut 已提交
12087
# define machine_is_ts4800()	(machine_arch_type == MACH_TYPE_TS4800)
12088
#else
M
Marek Vasut 已提交
12089
# define machine_is_ts4800()	(0)
12090 12091
#endif

M
Marek Vasut 已提交
12092
#ifdef CONFIG_MACH_TQMA9263
12093 12094 12095 12096
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12097
#  define machine_arch_type	MACH_TYPE_TQMA9263
12098
# endif
M
Marek Vasut 已提交
12099
# define machine_is_tqma9263()	(machine_arch_type == MACH_TYPE_TQMA9263)
12100
#else
M
Marek Vasut 已提交
12101
# define machine_is_tqma9263()	(0)
12102 12103
#endif

M
Marek Vasut 已提交
12104
#ifdef CONFIG_MACH_HOLIDAY
12105 12106 12107 12108
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12109
#  define machine_arch_type	MACH_TYPE_HOLIDAY
12110
# endif
M
Marek Vasut 已提交
12111
# define machine_is_holiday()	(machine_arch_type == MACH_TYPE_HOLIDAY)
12112
#else
M
Marek Vasut 已提交
12113
# define machine_is_holiday()	(0)
12114 12115
#endif

M
Marek Vasut 已提交
12116
#ifdef CONFIG_MACH_DMA6410
12117 12118 12119 12120
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12121
#  define machine_arch_type	MACH_TYPE_DMA6410
12122
# endif
M
Marek Vasut 已提交
12123
# define machine_is_dma_6410()	(machine_arch_type == MACH_TYPE_DMA6410)
12124
#else
M
Marek Vasut 已提交
12125
# define machine_is_dma_6410()	(0)
12126 12127
#endif

M
Marek Vasut 已提交
12128
#ifdef CONFIG_MACH_PCATS_OVERLAY
12129 12130 12131 12132
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12133
#  define machine_arch_type	MACH_TYPE_PCATS_OVERLAY
12134
# endif
M
Marek Vasut 已提交
12135
# define machine_is_pcats_overlay()	(machine_arch_type == MACH_TYPE_PCATS_OVERLAY)
12136
#else
M
Marek Vasut 已提交
12137
# define machine_is_pcats_overlay()	(0)
12138 12139
#endif

M
Marek Vasut 已提交
12140
#ifdef CONFIG_MACH_HWGW6410
12141 12142 12143 12144
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12145
#  define machine_arch_type	MACH_TYPE_HWGW6410
12146
# endif
M
Marek Vasut 已提交
12147
# define machine_is_hwgw6410()	(machine_arch_type == MACH_TYPE_HWGW6410)
12148
#else
M
Marek Vasut 已提交
12149
# define machine_is_hwgw6410()	(0)
12150 12151
#endif

M
Marek Vasut 已提交
12152
#ifdef CONFIG_MACH_SHENZHOU
12153 12154 12155 12156
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12157
#  define machine_arch_type	MACH_TYPE_SHENZHOU
12158
# endif
M
Marek Vasut 已提交
12159
# define machine_is_shenzhou()	(machine_arch_type == MACH_TYPE_SHENZHOU)
12160
#else
M
Marek Vasut 已提交
12161
# define machine_is_shenzhou()	(0)
12162 12163
#endif

M
Marek Vasut 已提交
12164
#ifdef CONFIG_MACH_CWME9210
12165 12166 12167 12168
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12169
#  define machine_arch_type	MACH_TYPE_CWME9210
12170
# endif
M
Marek Vasut 已提交
12171
# define machine_is_cwme9210()	(machine_arch_type == MACH_TYPE_CWME9210)
12172
#else
M
Marek Vasut 已提交
12173
# define machine_is_cwme9210()	(0)
12174 12175
#endif

M
Marek Vasut 已提交
12176
#ifdef CONFIG_MACH_CWME9210JS
12177 12178 12179 12180
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12181
#  define machine_arch_type	MACH_TYPE_CWME9210JS
12182
# endif
M
Marek Vasut 已提交
12183
# define machine_is_cwme9210js()	(machine_arch_type == MACH_TYPE_CWME9210JS)
12184
#else
M
Marek Vasut 已提交
12185
# define machine_is_cwme9210js()	(0)
12186 12187
#endif

M
Marek Vasut 已提交
12188
#ifdef CONFIG_MACH_PGS_SITARA
12189 12190 12191 12192
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12193
#  define machine_arch_type	MACH_TYPE_PGS_SITARA
12194
# endif
M
Marek Vasut 已提交
12195
# define machine_is_pgs_v1()	(machine_arch_type == MACH_TYPE_PGS_SITARA)
12196
#else
M
Marek Vasut 已提交
12197
# define machine_is_pgs_v1()	(0)
12198 12199
#endif

M
Marek Vasut 已提交
12200
#ifdef CONFIG_MACH_COLIBRI_TEGRA2
12201 12202 12203 12204
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12205
#  define machine_arch_type	MACH_TYPE_COLIBRI_TEGRA2
12206
# endif
M
Marek Vasut 已提交
12207
# define machine_is_colibri_tegra2()	(machine_arch_type == MACH_TYPE_COLIBRI_TEGRA2)
12208
#else
M
Marek Vasut 已提交
12209
# define machine_is_colibri_tegra2()	(0)
12210 12211
#endif

M
Marek Vasut 已提交
12212
#ifdef CONFIG_MACH_W21
12213 12214 12215 12216
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12217
#  define machine_arch_type	MACH_TYPE_W21
12218
# endif
M
Marek Vasut 已提交
12219
# define machine_is_w21()	(machine_arch_type == MACH_TYPE_W21)
12220
#else
M
Marek Vasut 已提交
12221
# define machine_is_w21()	(0)
12222 12223
#endif

M
Marek Vasut 已提交
12224
#ifdef CONFIG_MACH_POLYSAT1
12225 12226 12227 12228
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12229
#  define machine_arch_type	MACH_TYPE_POLYSAT1
12230
# endif
M
Marek Vasut 已提交
12231
# define machine_is_polysat1()	(machine_arch_type == MACH_TYPE_POLYSAT1)
12232
#else
M
Marek Vasut 已提交
12233
# define machine_is_polysat1()	(0)
12234 12235
#endif

M
Marek Vasut 已提交
12236
#ifdef CONFIG_MACH_DATAWAY
12237 12238 12239 12240
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12241
#  define machine_arch_type	MACH_TYPE_DATAWAY
12242
# endif
M
Marek Vasut 已提交
12243
# define machine_is_dataway()	(machine_arch_type == MACH_TYPE_DATAWAY)
12244
#else
M
Marek Vasut 已提交
12245
# define machine_is_dataway()	(0)
12246 12247
#endif

M
Marek Vasut 已提交
12248
#ifdef CONFIG_MACH_COBRAL138
S
Sandeep Paulraj 已提交
12249 12250 12251 12252
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12253
#  define machine_arch_type	MACH_TYPE_COBRAL138
S
Sandeep Paulraj 已提交
12254
# endif
M
Marek Vasut 已提交
12255
# define machine_is_cobral138()	(machine_arch_type == MACH_TYPE_COBRAL138)
S
Sandeep Paulraj 已提交
12256
#else
M
Marek Vasut 已提交
12257
# define machine_is_cobral138()	(0)
S
Sandeep Paulraj 已提交
12258 12259
#endif

M
Marek Vasut 已提交
12260
#ifdef CONFIG_MACH_ROVERPCS8
S
Sandeep Paulraj 已提交
12261 12262 12263 12264
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12265
#  define machine_arch_type	MACH_TYPE_ROVERPCS8
S
Sandeep Paulraj 已提交
12266
# endif
M
Marek Vasut 已提交
12267
# define machine_is_roverpcs8()	(machine_arch_type == MACH_TYPE_ROVERPCS8)
S
Sandeep Paulraj 已提交
12268
#else
M
Marek Vasut 已提交
12269
# define machine_is_roverpcs8()	(0)
S
Sandeep Paulraj 已提交
12270 12271
#endif

M
Marek Vasut 已提交
12272
#ifdef CONFIG_MACH_MARVELC
S
Sandeep Paulraj 已提交
12273 12274 12275 12276
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12277
#  define machine_arch_type	MACH_TYPE_MARVELC
S
Sandeep Paulraj 已提交
12278
# endif
M
Marek Vasut 已提交
12279
# define machine_is_marvelc()	(machine_arch_type == MACH_TYPE_MARVELC)
S
Sandeep Paulraj 已提交
12280
#else
M
Marek Vasut 已提交
12281
# define machine_is_marvelc()	(0)
S
Sandeep Paulraj 已提交
12282 12283
#endif

M
Marek Vasut 已提交
12284
#ifdef CONFIG_MACH_NAVEFIHID
S
Sandeep Paulraj 已提交
12285 12286 12287 12288
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12289
#  define machine_arch_type	MACH_TYPE_NAVEFIHID
S
Sandeep Paulraj 已提交
12290
# endif
M
Marek Vasut 已提交
12291
# define machine_is_navefihid()	(machine_arch_type == MACH_TYPE_NAVEFIHID)
S
Sandeep Paulraj 已提交
12292
#else
M
Marek Vasut 已提交
12293
# define machine_is_navefihid()	(0)
S
Sandeep Paulraj 已提交
12294 12295
#endif

M
Marek Vasut 已提交
12296
#ifdef CONFIG_MACH_DM365_CV100
S
Sandeep Paulraj 已提交
12297 12298 12299 12300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12301
#  define machine_arch_type	MACH_TYPE_DM365_CV100
S
Sandeep Paulraj 已提交
12302
# endif
M
Marek Vasut 已提交
12303
# define machine_is_dm365_cv100()	(machine_arch_type == MACH_TYPE_DM365_CV100)
S
Sandeep Paulraj 已提交
12304
#else
M
Marek Vasut 已提交
12305
# define machine_is_dm365_cv100()	(0)
S
Sandeep Paulraj 已提交
12306 12307
#endif

M
Marek Vasut 已提交
12308
#ifdef CONFIG_MACH_ABLE
S
Sandeep Paulraj 已提交
12309 12310 12311 12312
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12313
#  define machine_arch_type	MACH_TYPE_ABLE
S
Sandeep Paulraj 已提交
12314
# endif
M
Marek Vasut 已提交
12315
# define machine_is_able()	(machine_arch_type == MACH_TYPE_ABLE)
S
Sandeep Paulraj 已提交
12316
#else
M
Marek Vasut 已提交
12317
# define machine_is_able()	(0)
S
Sandeep Paulraj 已提交
12318 12319
#endif

M
Marek Vasut 已提交
12320
#ifdef CONFIG_MACH_LEGACY
S
Sandeep Paulraj 已提交
12321 12322 12323 12324
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12325
#  define machine_arch_type	MACH_TYPE_LEGACY
S
Sandeep Paulraj 已提交
12326
# endif
M
Marek Vasut 已提交
12327
# define machine_is_legacy()	(machine_arch_type == MACH_TYPE_LEGACY)
S
Sandeep Paulraj 已提交
12328
#else
M
Marek Vasut 已提交
12329
# define machine_is_legacy()	(0)
S
Sandeep Paulraj 已提交
12330 12331
#endif

M
Marek Vasut 已提交
12332
#ifdef CONFIG_MACH_ICONG
S
Sandeep Paulraj 已提交
12333 12334 12335 12336
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12337
#  define machine_arch_type	MACH_TYPE_ICONG
S
Sandeep Paulraj 已提交
12338
# endif
M
Marek Vasut 已提交
12339
# define machine_is_icong()	(machine_arch_type == MACH_TYPE_ICONG)
S
Sandeep Paulraj 已提交
12340
#else
M
Marek Vasut 已提交
12341
# define machine_is_icong()	(0)
S
Sandeep Paulraj 已提交
12342 12343
#endif

M
Marek Vasut 已提交
12344
#ifdef CONFIG_MACH_ROVER_G8
S
Sandeep Paulraj 已提交
12345 12346 12347 12348
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12349
#  define machine_arch_type	MACH_TYPE_ROVER_G8
S
Sandeep Paulraj 已提交
12350
# endif
M
Marek Vasut 已提交
12351
# define machine_is_rover_g8()	(machine_arch_type == MACH_TYPE_ROVER_G8)
S
Sandeep Paulraj 已提交
12352
#else
M
Marek Vasut 已提交
12353
# define machine_is_rover_g8()	(0)
S
Sandeep Paulraj 已提交
12354 12355
#endif

M
Marek Vasut 已提交
12356
#ifdef CONFIG_MACH_T5388P
S
Sandeep Paulraj 已提交
12357 12358 12359 12360
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12361
#  define machine_arch_type	MACH_TYPE_T5388P
S
Sandeep Paulraj 已提交
12362
# endif
M
Marek Vasut 已提交
12363
# define machine_is_t5388p()	(machine_arch_type == MACH_TYPE_T5388P)
S
Sandeep Paulraj 已提交
12364
#else
M
Marek Vasut 已提交
12365
# define machine_is_t5388p()	(0)
S
Sandeep Paulraj 已提交
12366 12367
#endif

M
Marek Vasut 已提交
12368
#ifdef CONFIG_MACH_DINGO
S
Sandeep Paulraj 已提交
12369 12370 12371 12372
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12373
#  define machine_arch_type	MACH_TYPE_DINGO
S
Sandeep Paulraj 已提交
12374
# endif
M
Marek Vasut 已提交
12375
# define machine_is_dingo()	(machine_arch_type == MACH_TYPE_DINGO)
S
Sandeep Paulraj 已提交
12376
#else
M
Marek Vasut 已提交
12377
# define machine_is_dingo()	(0)
S
Sandeep Paulraj 已提交
12378 12379
#endif

M
Marek Vasut 已提交
12380
#ifdef CONFIG_MACH_GOFLEXHOME
S
Sandeep Paulraj 已提交
12381 12382 12383 12384
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12385
#  define machine_arch_type	MACH_TYPE_GOFLEXHOME
S
Sandeep Paulraj 已提交
12386
# endif
M
Marek Vasut 已提交
12387
# define machine_is_goflexhome()	(machine_arch_type == MACH_TYPE_GOFLEXHOME)
S
Sandeep Paulraj 已提交
12388
#else
M
Marek Vasut 已提交
12389
# define machine_is_goflexhome()	(0)
S
Sandeep Paulraj 已提交
12390 12391
#endif

M
Marek Vasut 已提交
12392
#ifdef CONFIG_MACH_LANREADYFN511
S
Sandeep Paulraj 已提交
12393 12394 12395 12396
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12397
#  define machine_arch_type	MACH_TYPE_LANREADYFN511
S
Sandeep Paulraj 已提交
12398
# endif
M
Marek Vasut 已提交
12399
# define machine_is_lanreadyfn511()	(machine_arch_type == MACH_TYPE_LANREADYFN511)
S
Sandeep Paulraj 已提交
12400
#else
M
Marek Vasut 已提交
12401
# define machine_is_lanreadyfn511()	(0)
S
Sandeep Paulraj 已提交
12402 12403
#endif

M
Marek Vasut 已提交
12404
#ifdef CONFIG_MACH_OMAP3_BAIA
S
Sandeep Paulraj 已提交
12405 12406 12407 12408
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12409
#  define machine_arch_type	MACH_TYPE_OMAP3_BAIA
S
Sandeep Paulraj 已提交
12410
# endif
M
Marek Vasut 已提交
12411
# define machine_is_omap3_baia()	(machine_arch_type == MACH_TYPE_OMAP3_BAIA)
S
Sandeep Paulraj 已提交
12412
#else
M
Marek Vasut 已提交
12413
# define machine_is_omap3_baia()	(0)
S
Sandeep Paulraj 已提交
12414 12415
#endif

M
Marek Vasut 已提交
12416
#ifdef CONFIG_MACH_OMAP3SMARTDISPLAY
S
Sandeep Paulraj 已提交
12417 12418 12419 12420
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12421
#  define machine_arch_type	MACH_TYPE_OMAP3SMARTDISPLAY
S
Sandeep Paulraj 已提交
12422
# endif
M
Marek Vasut 已提交
12423
# define machine_is_omap3smartdisplay()	(machine_arch_type == MACH_TYPE_OMAP3SMARTDISPLAY)
S
Sandeep Paulraj 已提交
12424
#else
M
Marek Vasut 已提交
12425
# define machine_is_omap3smartdisplay()	(0)
S
Sandeep Paulraj 已提交
12426 12427
#endif

M
Marek Vasut 已提交
12428
#ifdef CONFIG_MACH_XILINX
S
Sandeep Paulraj 已提交
12429 12430 12431 12432
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12433
#  define machine_arch_type	MACH_TYPE_XILINX
S
Sandeep Paulraj 已提交
12434
# endif
M
Marek Vasut 已提交
12435
# define machine_is_xilinx()	(machine_arch_type == MACH_TYPE_XILINX)
S
Sandeep Paulraj 已提交
12436
#else
M
Marek Vasut 已提交
12437
# define machine_is_xilinx()	(0)
S
Sandeep Paulraj 已提交
12438 12439
#endif

M
Marek Vasut 已提交
12440
#ifdef CONFIG_MACH_A2F
S
Sandeep Paulraj 已提交
12441 12442 12443 12444
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12445
#  define machine_arch_type	MACH_TYPE_A2F
S
Sandeep Paulraj 已提交
12446
# endif
M
Marek Vasut 已提交
12447
# define machine_is_a2f()	(machine_arch_type == MACH_TYPE_A2F)
S
Sandeep Paulraj 已提交
12448
#else
M
Marek Vasut 已提交
12449
# define machine_is_a2f()	(0)
S
Sandeep Paulraj 已提交
12450 12451
#endif

M
Marek Vasut 已提交
12452
#ifdef CONFIG_MACH_SKY25
S
Sandeep Paulraj 已提交
12453 12454 12455 12456
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12457
#  define machine_arch_type	MACH_TYPE_SKY25
S
Sandeep Paulraj 已提交
12458
# endif
M
Marek Vasut 已提交
12459
# define machine_is_sky25()	(machine_arch_type == MACH_TYPE_SKY25)
S
Sandeep Paulraj 已提交
12460
#else
M
Marek Vasut 已提交
12461
# define machine_is_sky25()	(0)
S
Sandeep Paulraj 已提交
12462 12463
#endif

M
Marek Vasut 已提交
12464
#ifdef CONFIG_MACH_CCMX53
S
Sandeep Paulraj 已提交
12465 12466 12467 12468
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12469
#  define machine_arch_type	MACH_TYPE_CCMX53
S
Sandeep Paulraj 已提交
12470
# endif
M
Marek Vasut 已提交
12471
# define machine_is_ccmx53()	(machine_arch_type == MACH_TYPE_CCMX53)
S
Sandeep Paulraj 已提交
12472
#else
M
Marek Vasut 已提交
12473
# define machine_is_ccmx53()	(0)
S
Sandeep Paulraj 已提交
12474 12475
#endif

M
Marek Vasut 已提交
12476
#ifdef CONFIG_MACH_CCMX53JS
S
Sandeep Paulraj 已提交
12477 12478 12479 12480
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12481
#  define machine_arch_type	MACH_TYPE_CCMX53JS
S
Sandeep Paulraj 已提交
12482
# endif
M
Marek Vasut 已提交
12483
# define machine_is_ccmx53js()	(machine_arch_type == MACH_TYPE_CCMX53JS)
S
Sandeep Paulraj 已提交
12484
#else
M
Marek Vasut 已提交
12485
# define machine_is_ccmx53js()	(0)
S
Sandeep Paulraj 已提交
12486 12487
#endif

M
Marek Vasut 已提交
12488
#ifdef CONFIG_MACH_CCWMX53
S
Sandeep Paulraj 已提交
12489 12490 12491 12492
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12493
#  define machine_arch_type	MACH_TYPE_CCWMX53
S
Sandeep Paulraj 已提交
12494
# endif
M
Marek Vasut 已提交
12495
# define machine_is_ccwmx53()	(machine_arch_type == MACH_TYPE_CCWMX53)
S
Sandeep Paulraj 已提交
12496
#else
M
Marek Vasut 已提交
12497
# define machine_is_ccwmx53()	(0)
S
Sandeep Paulraj 已提交
12498 12499
#endif

M
Marek Vasut 已提交
12500
#ifdef CONFIG_MACH_CCWMX53JS
S
Sandeep Paulraj 已提交
12501 12502 12503 12504
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12505
#  define machine_arch_type	MACH_TYPE_CCWMX53JS
S
Sandeep Paulraj 已提交
12506
# endif
M
Marek Vasut 已提交
12507
# define machine_is_ccwmx53js()	(machine_arch_type == MACH_TYPE_CCWMX53JS)
S
Sandeep Paulraj 已提交
12508
#else
M
Marek Vasut 已提交
12509
# define machine_is_ccwmx53js()	(0)
S
Sandeep Paulraj 已提交
12510 12511
#endif

M
Marek Vasut 已提交
12512
#ifdef CONFIG_MACH_FRISMS
S
Sandeep Paulraj 已提交
12513 12514 12515 12516
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12517
#  define machine_arch_type	MACH_TYPE_FRISMS
S
Sandeep Paulraj 已提交
12518
# endif
M
Marek Vasut 已提交
12519
# define machine_is_frisms()	(machine_arch_type == MACH_TYPE_FRISMS)
S
Sandeep Paulraj 已提交
12520
#else
M
Marek Vasut 已提交
12521
# define machine_is_frisms()	(0)
S
Sandeep Paulraj 已提交
12522 12523
#endif

M
Marek Vasut 已提交
12524
#ifdef CONFIG_MACH_MSM7X27A_FFA
S
Sandeep Paulraj 已提交
12525 12526 12527 12528
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12529
#  define machine_arch_type	MACH_TYPE_MSM7X27A_FFA
S
Sandeep Paulraj 已提交
12530
# endif
M
Marek Vasut 已提交
12531
# define machine_is_msm7x27a_ffa()	(machine_arch_type == MACH_TYPE_MSM7X27A_FFA)
S
Sandeep Paulraj 已提交
12532
#else
M
Marek Vasut 已提交
12533
# define machine_is_msm7x27a_ffa()	(0)
S
Sandeep Paulraj 已提交
12534 12535
#endif

M
Marek Vasut 已提交
12536
#ifdef CONFIG_MACH_MSM7X27A_SURF
S
Sandeep Paulraj 已提交
12537 12538 12539 12540
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12541
#  define machine_arch_type	MACH_TYPE_MSM7X27A_SURF
S
Sandeep Paulraj 已提交
12542
# endif
M
Marek Vasut 已提交
12543
# define machine_is_msm7x27a_surf()	(machine_arch_type == MACH_TYPE_MSM7X27A_SURF)
S
Sandeep Paulraj 已提交
12544
#else
M
Marek Vasut 已提交
12545
# define machine_is_msm7x27a_surf()	(0)
S
Sandeep Paulraj 已提交
12546 12547
#endif

M
Marek Vasut 已提交
12548
#ifdef CONFIG_MACH_MSM7X27A_RUMI3
S
Sandeep Paulraj 已提交
12549 12550 12551 12552
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12553
#  define machine_arch_type	MACH_TYPE_MSM7X27A_RUMI3
S
Sandeep Paulraj 已提交
12554
# endif
M
Marek Vasut 已提交
12555
# define machine_is_msm7x27a_rumi3()	(machine_arch_type == MACH_TYPE_MSM7X27A_RUMI3)
S
Sandeep Paulraj 已提交
12556
#else
M
Marek Vasut 已提交
12557
# define machine_is_msm7x27a_rumi3()	(0)
S
Sandeep Paulraj 已提交
12558 12559
#endif

M
Marek Vasut 已提交
12560
#ifdef CONFIG_MACH_DIMMSAM9G20
S
Sandeep Paulraj 已提交
12561 12562 12563 12564
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12565
#  define machine_arch_type	MACH_TYPE_DIMMSAM9G20
S
Sandeep Paulraj 已提交
12566
# endif
M
Marek Vasut 已提交
12567
# define machine_is_dimmsam9g20()	(machine_arch_type == MACH_TYPE_DIMMSAM9G20)
S
Sandeep Paulraj 已提交
12568
#else
M
Marek Vasut 已提交
12569
# define machine_is_dimmsam9g20()	(0)
S
Sandeep Paulraj 已提交
12570 12571
#endif

M
Marek Vasut 已提交
12572
#ifdef CONFIG_MACH_DIMM_IMX28
S
Sandeep Paulraj 已提交
12573 12574 12575 12576
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12577
#  define machine_arch_type	MACH_TYPE_DIMM_IMX28
S
Sandeep Paulraj 已提交
12578
# endif
M
Marek Vasut 已提交
12579
# define machine_is_dimm_imx28()	(machine_arch_type == MACH_TYPE_DIMM_IMX28)
S
Sandeep Paulraj 已提交
12580
#else
M
Marek Vasut 已提交
12581
# define machine_is_dimm_imx28()	(0)
S
Sandeep Paulraj 已提交
12582 12583
#endif

M
Marek Vasut 已提交
12584
#ifdef CONFIG_MACH_AMK_A4
S
Sandeep Paulraj 已提交
12585 12586 12587 12588
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12589
#  define machine_arch_type	MACH_TYPE_AMK_A4
S
Sandeep Paulraj 已提交
12590
# endif
M
Marek Vasut 已提交
12591
# define machine_is_amk_a4()	(machine_arch_type == MACH_TYPE_AMK_A4)
S
Sandeep Paulraj 已提交
12592
#else
M
Marek Vasut 已提交
12593
# define machine_is_amk_a4()	(0)
S
Sandeep Paulraj 已提交
12594 12595
#endif

M
Marek Vasut 已提交
12596
#ifdef CONFIG_MACH_GNET_SGME
S
Sandeep Paulraj 已提交
12597 12598 12599 12600
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12601
#  define machine_arch_type	MACH_TYPE_GNET_SGME
S
Sandeep Paulraj 已提交
12602
# endif
M
Marek Vasut 已提交
12603
# define machine_is_gnet_sgme()	(machine_arch_type == MACH_TYPE_GNET_SGME)
S
Sandeep Paulraj 已提交
12604
#else
M
Marek Vasut 已提交
12605
# define machine_is_gnet_sgme()	(0)
S
Sandeep Paulraj 已提交
12606 12607
#endif

M
Marek Vasut 已提交
12608
#ifdef CONFIG_MACH_SHOOTER_U
S
Sandeep Paulraj 已提交
12609 12610 12611 12612
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12613
#  define machine_arch_type	MACH_TYPE_SHOOTER_U
S
Sandeep Paulraj 已提交
12614
# endif
M
Marek Vasut 已提交
12615
# define machine_is_shooter_u()	(machine_arch_type == MACH_TYPE_SHOOTER_U)
S
Sandeep Paulraj 已提交
12616
#else
M
Marek Vasut 已提交
12617
# define machine_is_shooter_u()	(0)
S
Sandeep Paulraj 已提交
12618 12619
#endif

M
Marek Vasut 已提交
12620
#ifdef CONFIG_MACH_VMX53
S
Sandeep Paulraj 已提交
12621 12622 12623 12624
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12625
#  define machine_arch_type	MACH_TYPE_VMX53
S
Sandeep Paulraj 已提交
12626
# endif
M
Marek Vasut 已提交
12627
# define machine_is_vmx53()	(machine_arch_type == MACH_TYPE_VMX53)
S
Sandeep Paulraj 已提交
12628
#else
M
Marek Vasut 已提交
12629
# define machine_is_vmx53()	(0)
S
Sandeep Paulraj 已提交
12630 12631
#endif

M
Marek Vasut 已提交
12632
#ifdef CONFIG_MACH_RHINO
S
Sandeep Paulraj 已提交
12633 12634 12635 12636
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12637
#  define machine_arch_type	MACH_TYPE_RHINO
S
Sandeep Paulraj 已提交
12638
# endif
M
Marek Vasut 已提交
12639
# define machine_is_rhino()	(machine_arch_type == MACH_TYPE_RHINO)
S
Sandeep Paulraj 已提交
12640
#else
M
Marek Vasut 已提交
12641
# define machine_is_rhino()	(0)
S
Sandeep Paulraj 已提交
12642 12643
#endif

M
Marek Vasut 已提交
12644
#ifdef CONFIG_MACH_ARMLEX4210
S
Sandeep Paulraj 已提交
12645 12646 12647 12648
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12649
#  define machine_arch_type	MACH_TYPE_ARMLEX4210
S
Sandeep Paulraj 已提交
12650
# endif
M
Marek Vasut 已提交
12651
# define machine_is_armlex4210()	(machine_arch_type == MACH_TYPE_ARMLEX4210)
S
Sandeep Paulraj 已提交
12652
#else
M
Marek Vasut 已提交
12653
# define machine_is_armlex4210()	(0)
S
Sandeep Paulraj 已提交
12654 12655
#endif

M
Marek Vasut 已提交
12656
#ifdef CONFIG_MACH_SWARCOEXTMODEM
S
Sandeep Paulraj 已提交
12657 12658 12659 12660
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12661
#  define machine_arch_type	MACH_TYPE_SWARCOEXTMODEM
S
Sandeep Paulraj 已提交
12662
# endif
M
Marek Vasut 已提交
12663
# define machine_is_swarcoextmodem()	(machine_arch_type == MACH_TYPE_SWARCOEXTMODEM)
S
Sandeep Paulraj 已提交
12664
#else
M
Marek Vasut 已提交
12665
# define machine_is_swarcoextmodem()	(0)
S
Sandeep Paulraj 已提交
12666 12667
#endif

M
Marek Vasut 已提交
12668
#ifdef CONFIG_MACH_SNOWBALL
S
Sandeep Paulraj 已提交
12669 12670 12671 12672
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12673
#  define machine_arch_type	MACH_TYPE_SNOWBALL
S
Sandeep Paulraj 已提交
12674
# endif
M
Marek Vasut 已提交
12675
# define machine_is_snowball()	(machine_arch_type == MACH_TYPE_SNOWBALL)
S
Sandeep Paulraj 已提交
12676
#else
M
Marek Vasut 已提交
12677
# define machine_is_snowball()	(0)
S
Sandeep Paulraj 已提交
12678 12679
#endif

M
Marek Vasut 已提交
12680
#ifdef CONFIG_MACH_PCM049
S
Sandeep Paulraj 已提交
12681 12682 12683 12684
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12685
#  define machine_arch_type	MACH_TYPE_PCM049
S
Sandeep Paulraj 已提交
12686
# endif
M
Marek Vasut 已提交
12687
# define machine_is_pcm049()	(machine_arch_type == MACH_TYPE_PCM049)
S
Sandeep Paulraj 已提交
12688
#else
M
Marek Vasut 已提交
12689
# define machine_is_pcm049()	(0)
S
Sandeep Paulraj 已提交
12690 12691
#endif

M
Marek Vasut 已提交
12692
#ifdef CONFIG_MACH_VIGOR
S
Sandeep Paulraj 已提交
12693 12694 12695 12696
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12697
#  define machine_arch_type	MACH_TYPE_VIGOR
S
Sandeep Paulraj 已提交
12698
# endif
M
Marek Vasut 已提交
12699
# define machine_is_vigor()	(machine_arch_type == MACH_TYPE_VIGOR)
S
Sandeep Paulraj 已提交
12700
#else
M
Marek Vasut 已提交
12701
# define machine_is_vigor()	(0)
S
Sandeep Paulraj 已提交
12702 12703
#endif

M
Marek Vasut 已提交
12704
#ifdef CONFIG_MACH_OSLO_AMUNDSEN
S
Sandeep Paulraj 已提交
12705 12706 12707 12708
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12709
#  define machine_arch_type	MACH_TYPE_OSLO_AMUNDSEN
S
Sandeep Paulraj 已提交
12710
# endif
M
Marek Vasut 已提交
12711
# define machine_is_oslo_amundsen()	(machine_arch_type == MACH_TYPE_OSLO_AMUNDSEN)
S
Sandeep Paulraj 已提交
12712
#else
M
Marek Vasut 已提交
12713
# define machine_is_oslo_amundsen()	(0)
S
Sandeep Paulraj 已提交
12714 12715
#endif

M
Marek Vasut 已提交
12716
#ifdef CONFIG_MACH_GSL_DIAMOND
S
Sandeep Paulraj 已提交
12717 12718 12719 12720
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12721
#  define machine_arch_type	MACH_TYPE_GSL_DIAMOND
S
Sandeep Paulraj 已提交
12722
# endif
M
Marek Vasut 已提交
12723
# define machine_is_gsl_diamond()	(machine_arch_type == MACH_TYPE_GSL_DIAMOND)
S
Sandeep Paulraj 已提交
12724
#else
M
Marek Vasut 已提交
12725
# define machine_is_gsl_diamond()	(0)
S
Sandeep Paulraj 已提交
12726 12727
#endif

M
Marek Vasut 已提交
12728
#ifdef CONFIG_MACH_CV2201
S
Sandeep Paulraj 已提交
12729 12730 12731 12732
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12733
#  define machine_arch_type	MACH_TYPE_CV2201
S
Sandeep Paulraj 已提交
12734
# endif
M
Marek Vasut 已提交
12735
# define machine_is_cv2201()	(machine_arch_type == MACH_TYPE_CV2201)
S
Sandeep Paulraj 已提交
12736
#else
M
Marek Vasut 已提交
12737
# define machine_is_cv2201()	(0)
S
Sandeep Paulraj 已提交
12738 12739
#endif

M
Marek Vasut 已提交
12740
#ifdef CONFIG_MACH_CV2202
S
Sandeep Paulraj 已提交
12741 12742 12743 12744
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12745
#  define machine_arch_type	MACH_TYPE_CV2202
S
Sandeep Paulraj 已提交
12746
# endif
M
Marek Vasut 已提交
12747
# define machine_is_cv2202()	(machine_arch_type == MACH_TYPE_CV2202)
S
Sandeep Paulraj 已提交
12748
#else
M
Marek Vasut 已提交
12749
# define machine_is_cv2202()	(0)
S
Sandeep Paulraj 已提交
12750 12751
#endif

M
Marek Vasut 已提交
12752
#ifdef CONFIG_MACH_CV2203
S
Sandeep Paulraj 已提交
12753 12754 12755 12756
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12757
#  define machine_arch_type	MACH_TYPE_CV2203
S
Sandeep Paulraj 已提交
12758
# endif
M
Marek Vasut 已提交
12759
# define machine_is_cv2203()	(machine_arch_type == MACH_TYPE_CV2203)
S
Sandeep Paulraj 已提交
12760
#else
M
Marek Vasut 已提交
12761
# define machine_is_cv2203()	(0)
S
Sandeep Paulraj 已提交
12762 12763
#endif

M
Marek Vasut 已提交
12764
#ifdef CONFIG_MACH_VIT_IBOX
S
Sandeep Paulraj 已提交
12765 12766 12767 12768
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12769
#  define machine_arch_type	MACH_TYPE_VIT_IBOX
S
Sandeep Paulraj 已提交
12770
# endif
M
Marek Vasut 已提交
12771
# define machine_is_vit_ibox()	(machine_arch_type == MACH_TYPE_VIT_IBOX)
S
Sandeep Paulraj 已提交
12772
#else
M
Marek Vasut 已提交
12773
# define machine_is_vit_ibox()	(0)
S
Sandeep Paulraj 已提交
12774 12775
#endif

M
Marek Vasut 已提交
12776
#ifdef CONFIG_MACH_DM6441_ESP
S
Sandeep Paulraj 已提交
12777 12778 12779 12780
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12781
#  define machine_arch_type	MACH_TYPE_DM6441_ESP
S
Sandeep Paulraj 已提交
12782
# endif
M
Marek Vasut 已提交
12783
# define machine_is_dm6441_esp()	(machine_arch_type == MACH_TYPE_DM6441_ESP)
S
Sandeep Paulraj 已提交
12784
#else
M
Marek Vasut 已提交
12785
# define machine_is_dm6441_esp()	(0)
S
Sandeep Paulraj 已提交
12786 12787
#endif

M
Marek Vasut 已提交
12788
#ifdef CONFIG_MACH_AT91SAM9X5EK
S
Sandeep Paulraj 已提交
12789 12790 12791 12792
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12793
#  define machine_arch_type	MACH_TYPE_AT91SAM9X5EK
S
Sandeep Paulraj 已提交
12794
# endif
M
Marek Vasut 已提交
12795
# define machine_is_at91sam9x5ek()	(machine_arch_type == MACH_TYPE_AT91SAM9X5EK)
S
Sandeep Paulraj 已提交
12796
#else
M
Marek Vasut 已提交
12797
# define machine_is_at91sam9x5ek()	(0)
S
Sandeep Paulraj 已提交
12798 12799
#endif

M
Marek Vasut 已提交
12800
#ifdef CONFIG_MACH_LIBRA
S
Sandeep Paulraj 已提交
12801 12802 12803 12804
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12805
#  define machine_arch_type	MACH_TYPE_LIBRA
S
Sandeep Paulraj 已提交
12806
# endif
M
Marek Vasut 已提交
12807
# define machine_is_libra()	(machine_arch_type == MACH_TYPE_LIBRA)
S
Sandeep Paulraj 已提交
12808
#else
M
Marek Vasut 已提交
12809
# define machine_is_libra()	(0)
S
Sandeep Paulraj 已提交
12810 12811
#endif

M
Marek Vasut 已提交
12812
#ifdef CONFIG_MACH_EASYCRRH
S
Sandeep Paulraj 已提交
12813 12814 12815 12816
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12817
#  define machine_arch_type	MACH_TYPE_EASYCRRH
S
Sandeep Paulraj 已提交
12818
# endif
M
Marek Vasut 已提交
12819
# define machine_is_easycrrh()	(machine_arch_type == MACH_TYPE_EASYCRRH)
S
Sandeep Paulraj 已提交
12820
#else
M
Marek Vasut 已提交
12821
# define machine_is_easycrrh()	(0)
S
Sandeep Paulraj 已提交
12822 12823
#endif

M
Marek Vasut 已提交
12824
#ifdef CONFIG_MACH_TRIPEL
S
Sandeep Paulraj 已提交
12825 12826 12827 12828
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12829
#  define machine_arch_type	MACH_TYPE_TRIPEL
S
Sandeep Paulraj 已提交
12830
# endif
M
Marek Vasut 已提交
12831
# define machine_is_tripel()	(machine_arch_type == MACH_TYPE_TRIPEL)
S
Sandeep Paulraj 已提交
12832
#else
M
Marek Vasut 已提交
12833
# define machine_is_tripel()	(0)
S
Sandeep Paulraj 已提交
12834 12835
#endif

M
Marek Vasut 已提交
12836
#ifdef CONFIG_MACH_ENDIAN_MINI
S
Sandeep Paulraj 已提交
12837 12838 12839 12840
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12841
#  define machine_arch_type	MACH_TYPE_ENDIAN_MINI
S
Sandeep Paulraj 已提交
12842
# endif
M
Marek Vasut 已提交
12843
# define machine_is_endian_mini()	(machine_arch_type == MACH_TYPE_ENDIAN_MINI)
S
Sandeep Paulraj 已提交
12844
#else
M
Marek Vasut 已提交
12845
# define machine_is_endian_mini()	(0)
S
Sandeep Paulraj 已提交
12846 12847
#endif

M
Marek Vasut 已提交
12848
#ifdef CONFIG_MACH_XILINX_EP107
S
Sandeep Paulraj 已提交
12849 12850 12851 12852
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12853
#  define machine_arch_type	MACH_TYPE_XILINX_EP107
S
Sandeep Paulraj 已提交
12854
# endif
M
Marek Vasut 已提交
12855
# define machine_is_xilinx_ep107()	(machine_arch_type == MACH_TYPE_XILINX_EP107)
S
Sandeep Paulraj 已提交
12856
#else
M
Marek Vasut 已提交
12857
# define machine_is_xilinx_ep107()	(0)
S
Sandeep Paulraj 已提交
12858 12859
#endif

M
Marek Vasut 已提交
12860
#ifdef CONFIG_MACH_NURI
S
Sandeep Paulraj 已提交
12861 12862 12863 12864
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12865
#  define machine_arch_type	MACH_TYPE_NURI
S
Sandeep Paulraj 已提交
12866
# endif
M
Marek Vasut 已提交
12867
# define machine_is_nuri()	(machine_arch_type == MACH_TYPE_NURI)
S
Sandeep Paulraj 已提交
12868
#else
M
Marek Vasut 已提交
12869
# define machine_is_nuri()	(0)
S
Sandeep Paulraj 已提交
12870 12871
#endif

M
Marek Vasut 已提交
12872
#ifdef CONFIG_MACH_JANUS
S
Sandeep Paulraj 已提交
12873 12874 12875 12876
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12877
#  define machine_arch_type	MACH_TYPE_JANUS
S
Sandeep Paulraj 已提交
12878
# endif
M
Marek Vasut 已提交
12879
# define machine_is_janus()	(machine_arch_type == MACH_TYPE_JANUS)
S
Sandeep Paulraj 已提交
12880
#else
M
Marek Vasut 已提交
12881
# define machine_is_janus()	(0)
S
Sandeep Paulraj 已提交
12882 12883
#endif

M
Marek Vasut 已提交
12884
#ifdef CONFIG_MACH_DDNAS
S
Sandeep Paulraj 已提交
12885 12886 12887 12888
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12889
#  define machine_arch_type	MACH_TYPE_DDNAS
S
Sandeep Paulraj 已提交
12890
# endif
M
Marek Vasut 已提交
12891
# define machine_is_ddnas()	(machine_arch_type == MACH_TYPE_DDNAS)
S
Sandeep Paulraj 已提交
12892
#else
M
Marek Vasut 已提交
12893
# define machine_is_ddnas()	(0)
S
Sandeep Paulraj 已提交
12894 12895
#endif

M
Marek Vasut 已提交
12896
#ifdef CONFIG_MACH_TAG
S
Sandeep Paulraj 已提交
12897 12898 12899 12900
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12901
#  define machine_arch_type	MACH_TYPE_TAG
S
Sandeep Paulraj 已提交
12902
# endif
M
Marek Vasut 已提交
12903
# define machine_is_tag()	(machine_arch_type == MACH_TYPE_TAG)
S
Sandeep Paulraj 已提交
12904
#else
M
Marek Vasut 已提交
12905
# define machine_is_tag()	(0)
S
Sandeep Paulraj 已提交
12906 12907
#endif

M
Marek Vasut 已提交
12908
#ifdef CONFIG_MACH_TAGW
S
Sandeep Paulraj 已提交
12909 12910 12911 12912
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12913
#  define machine_arch_type	MACH_TYPE_TAGW
S
Sandeep Paulraj 已提交
12914
# endif
M
Marek Vasut 已提交
12915
# define machine_is_tagw()	(machine_arch_type == MACH_TYPE_TAGW)
S
Sandeep Paulraj 已提交
12916
#else
M
Marek Vasut 已提交
12917
# define machine_is_tagw()	(0)
S
Sandeep Paulraj 已提交
12918 12919
#endif

M
Marek Vasut 已提交
12920
#ifdef CONFIG_MACH_NITROGEN_VM_IMX51
S
Sandeep Paulraj 已提交
12921 12922 12923 12924
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12925
#  define machine_arch_type	MACH_TYPE_NITROGEN_VM_IMX51
S
Sandeep Paulraj 已提交
12926
# endif
M
Marek Vasut 已提交
12927
# define machine_is_nitrogen_vm_imx51()	(machine_arch_type == MACH_TYPE_NITROGEN_VM_IMX51)
S
Sandeep Paulraj 已提交
12928
#else
M
Marek Vasut 已提交
12929
# define machine_is_nitrogen_vm_imx51()	(0)
S
Sandeep Paulraj 已提交
12930 12931
#endif

M
Marek Vasut 已提交
12932
#ifdef CONFIG_MACH_VIPRINET
S
Sandeep Paulraj 已提交
12933 12934 12935 12936
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12937
#  define machine_arch_type	MACH_TYPE_VIPRINET
S
Sandeep Paulraj 已提交
12938
# endif
M
Marek Vasut 已提交
12939
# define machine_is_viprinet()	(machine_arch_type == MACH_TYPE_VIPRINET)
S
Sandeep Paulraj 已提交
12940
#else
M
Marek Vasut 已提交
12941
# define machine_is_viprinet()	(0)
S
Sandeep Paulraj 已提交
12942 12943
#endif

M
Marek Vasut 已提交
12944
#ifdef CONFIG_MACH_BOCKW
S
Sandeep Paulraj 已提交
12945 12946 12947 12948
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12949
#  define machine_arch_type	MACH_TYPE_BOCKW
S
Sandeep Paulraj 已提交
12950
# endif
M
Marek Vasut 已提交
12951
# define machine_is_bockw()	(machine_arch_type == MACH_TYPE_BOCKW)
S
Sandeep Paulraj 已提交
12952
#else
M
Marek Vasut 已提交
12953
# define machine_is_bockw()	(0)
S
Sandeep Paulraj 已提交
12954 12955
#endif

M
Marek Vasut 已提交
12956
#ifdef CONFIG_MACH_EVA2000
S
Sandeep Paulraj 已提交
12957 12958 12959 12960
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12961
#  define machine_arch_type	MACH_TYPE_EVA2000
S
Sandeep Paulraj 已提交
12962
# endif
M
Marek Vasut 已提交
12963
# define machine_is_eva2000()	(machine_arch_type == MACH_TYPE_EVA2000)
S
Sandeep Paulraj 已提交
12964
#else
M
Marek Vasut 已提交
12965
# define machine_is_eva2000()	(0)
S
Sandeep Paulraj 已提交
12966 12967
#endif

M
Marek Vasut 已提交
12968
#ifdef CONFIG_MACH_STEELYARD
S
Sandeep Paulraj 已提交
12969 12970 12971 12972
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12973
#  define machine_arch_type	MACH_TYPE_STEELYARD
S
Sandeep Paulraj 已提交
12974
# endif
M
Marek Vasut 已提交
12975
# define machine_is_steelyard()	(machine_arch_type == MACH_TYPE_STEELYARD)
S
Sandeep Paulraj 已提交
12976
#else
M
Marek Vasut 已提交
12977
# define machine_is_steelyard()	(0)
S
Sandeep Paulraj 已提交
12978 12979
#endif

M
Marek Vasut 已提交
12980
#ifdef CONFIG_MACH_MACH_SDH001
S
Sandeep Paulraj 已提交
12981 12982 12983 12984
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12985
#  define machine_arch_type	MACH_TYPE_MACH_SDH001
S
Sandeep Paulraj 已提交
12986
# endif
M
Marek Vasut 已提交
12987
# define machine_is_sdh001()	(machine_arch_type == MACH_TYPE_MACH_SDH001)
S
Sandeep Paulraj 已提交
12988
#else
M
Marek Vasut 已提交
12989
# define machine_is_sdh001()	(0)
S
Sandeep Paulraj 已提交
12990 12991
#endif

M
Marek Vasut 已提交
12992
#ifdef CONFIG_MACH_NSSLSBOARD
S
Sandeep Paulraj 已提交
12993 12994 12995 12996
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
12997
#  define machine_arch_type	MACH_TYPE_NSSLSBOARD
S
Sandeep Paulraj 已提交
12998
# endif
M
Marek Vasut 已提交
12999
# define machine_is_nsslsboard()	(machine_arch_type == MACH_TYPE_NSSLSBOARD)
S
Sandeep Paulraj 已提交
13000
#else
M
Marek Vasut 已提交
13001
# define machine_is_nsslsboard()	(0)
S
Sandeep Paulraj 已提交
13002 13003
#endif

M
Marek Vasut 已提交
13004
#ifdef CONFIG_MACH_GENEVA_B5
S
Sandeep Paulraj 已提交
13005 13006 13007 13008
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13009
#  define machine_arch_type	MACH_TYPE_GENEVA_B5
S
Sandeep Paulraj 已提交
13010
# endif
M
Marek Vasut 已提交
13011
# define machine_is_geneva_b5()	(machine_arch_type == MACH_TYPE_GENEVA_B5)
S
Sandeep Paulraj 已提交
13012
#else
M
Marek Vasut 已提交
13013
# define machine_is_geneva_b5()	(0)
S
Sandeep Paulraj 已提交
13014 13015
#endif

M
Marek Vasut 已提交
13016
#ifdef CONFIG_MACH_SPEAR1340
S
Sandeep Paulraj 已提交
13017 13018 13019 13020
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13021
#  define machine_arch_type	MACH_TYPE_SPEAR1340
S
Sandeep Paulraj 已提交
13022
# endif
M
Marek Vasut 已提交
13023
# define machine_is_spear1340()	(machine_arch_type == MACH_TYPE_SPEAR1340)
S
Sandeep Paulraj 已提交
13024
#else
M
Marek Vasut 已提交
13025
# define machine_is_spear1340()	(0)
S
Sandeep Paulraj 已提交
13026 13027
#endif

M
Marek Vasut 已提交
13028
#ifdef CONFIG_MACH_REXMAS
S
Sandeep Paulraj 已提交
13029 13030 13031 13032
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13033
#  define machine_arch_type	MACH_TYPE_REXMAS
S
Sandeep Paulraj 已提交
13034
# endif
M
Marek Vasut 已提交
13035
# define machine_is_rexmas()	(machine_arch_type == MACH_TYPE_REXMAS)
S
Sandeep Paulraj 已提交
13036
#else
M
Marek Vasut 已提交
13037
# define machine_is_rexmas()	(0)
S
Sandeep Paulraj 已提交
13038 13039
#endif

M
Marek Vasut 已提交
13040
#ifdef CONFIG_MACH_MSM8960_CDP
S
Sandeep Paulraj 已提交
13041 13042 13043 13044
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13045
#  define machine_arch_type	MACH_TYPE_MSM8960_CDP
S
Sandeep Paulraj 已提交
13046
# endif
M
Marek Vasut 已提交
13047
# define machine_is_msm8960_cdp()	(machine_arch_type == MACH_TYPE_MSM8960_CDP)
S
Sandeep Paulraj 已提交
13048
#else
M
Marek Vasut 已提交
13049
# define machine_is_msm8960_cdp()	(0)
S
Sandeep Paulraj 已提交
13050 13051
#endif

M
Marek Vasut 已提交
13052
#ifdef CONFIG_MACH_MSM8960_MDP
S
Sandeep Paulraj 已提交
13053 13054 13055 13056
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13057
#  define machine_arch_type	MACH_TYPE_MSM8960_MDP
S
Sandeep Paulraj 已提交
13058
# endif
M
Marek Vasut 已提交
13059
# define machine_is_msm8960_mdp()	(machine_arch_type == MACH_TYPE_MSM8960_MDP)
S
Sandeep Paulraj 已提交
13060
#else
M
Marek Vasut 已提交
13061
# define machine_is_msm8960_mdp()	(0)
S
Sandeep Paulraj 已提交
13062 13063
#endif

M
Marek Vasut 已提交
13064
#ifdef CONFIG_MACH_MSM8960_FLUID
S
Sandeep Paulraj 已提交
13065 13066 13067 13068
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13069
#  define machine_arch_type	MACH_TYPE_MSM8960_FLUID
S
Sandeep Paulraj 已提交
13070
# endif
M
Marek Vasut 已提交
13071
# define machine_is_msm8960_fluid()	(machine_arch_type == MACH_TYPE_MSM8960_FLUID)
S
Sandeep Paulraj 已提交
13072
#else
M
Marek Vasut 已提交
13073
# define machine_is_msm8960_fluid()	(0)
S
Sandeep Paulraj 已提交
13074 13075
#endif

M
Marek Vasut 已提交
13076
#ifdef CONFIG_MACH_MSM8960_APQ
S
Sandeep Paulraj 已提交
13077 13078 13079 13080
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13081
#  define machine_arch_type	MACH_TYPE_MSM8960_APQ
S
Sandeep Paulraj 已提交
13082
# endif
M
Marek Vasut 已提交
13083
# define machine_is_msm8960_apq()	(machine_arch_type == MACH_TYPE_MSM8960_APQ)
S
Sandeep Paulraj 已提交
13084
#else
M
Marek Vasut 已提交
13085
# define machine_is_msm8960_apq()	(0)
S
Sandeep Paulraj 已提交
13086 13087
#endif

M
Marek Vasut 已提交
13088
#ifdef CONFIG_MACH_HELIOS_V2
S
Sandeep Paulraj 已提交
13089 13090 13091 13092
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13093
#  define machine_arch_type	MACH_TYPE_HELIOS_V2
S
Sandeep Paulraj 已提交
13094
# endif
M
Marek Vasut 已提交
13095
# define machine_is_helios_v2()	(machine_arch_type == MACH_TYPE_HELIOS_V2)
S
Sandeep Paulraj 已提交
13096
#else
M
Marek Vasut 已提交
13097
# define machine_is_helios_v2()	(0)
S
Sandeep Paulraj 已提交
13098 13099
#endif

M
Marek Vasut 已提交
13100
#ifdef CONFIG_MACH_MIF10P
S
Sandeep Paulraj 已提交
13101 13102 13103 13104
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13105
#  define machine_arch_type	MACH_TYPE_MIF10P
S
Sandeep Paulraj 已提交
13106
# endif
M
Marek Vasut 已提交
13107
# define machine_is_mif10p()	(machine_arch_type == MACH_TYPE_MIF10P)
S
Sandeep Paulraj 已提交
13108
#else
M
Marek Vasut 已提交
13109
# define machine_is_mif10p()	(0)
S
Sandeep Paulraj 已提交
13110 13111
#endif

M
Marek Vasut 已提交
13112
#ifdef CONFIG_MACH_IAM28
S
Sandeep Paulraj 已提交
13113 13114 13115 13116
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13117
#  define machine_arch_type	MACH_TYPE_IAM28
S
Sandeep Paulraj 已提交
13118
# endif
M
Marek Vasut 已提交
13119
# define machine_is_iam28()	(machine_arch_type == MACH_TYPE_IAM28)
S
Sandeep Paulraj 已提交
13120
#else
M
Marek Vasut 已提交
13121
# define machine_is_iam28()	(0)
S
Sandeep Paulraj 已提交
13122 13123
#endif

M
Marek Vasut 已提交
13124
#ifdef CONFIG_MACH_PICASSO
S
Sandeep Paulraj 已提交
13125 13126 13127 13128
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13129
#  define machine_arch_type	MACH_TYPE_PICASSO
S
Sandeep Paulraj 已提交
13130
# endif
M
Marek Vasut 已提交
13131
# define machine_is_picasso()	(machine_arch_type == MACH_TYPE_PICASSO)
S
Sandeep Paulraj 已提交
13132
#else
M
Marek Vasut 已提交
13133
# define machine_is_picasso()	(0)
S
Sandeep Paulraj 已提交
13134 13135
#endif

M
Marek Vasut 已提交
13136
#ifdef CONFIG_MACH_MR301A
S
Sandeep Paulraj 已提交
13137 13138 13139 13140
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13141
#  define machine_arch_type	MACH_TYPE_MR301A
S
Sandeep Paulraj 已提交
13142
# endif
M
Marek Vasut 已提交
13143
# define machine_is_mr301a()	(machine_arch_type == MACH_TYPE_MR301A)
S
Sandeep Paulraj 已提交
13144
#else
M
Marek Vasut 已提交
13145
# define machine_is_mr301a()	(0)
S
Sandeep Paulraj 已提交
13146 13147
#endif

M
Marek Vasut 已提交
13148
#ifdef CONFIG_MACH_NOTLE
S
Sandeep Paulraj 已提交
13149 13150 13151 13152
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13153
#  define machine_arch_type	MACH_TYPE_NOTLE
S
Sandeep Paulraj 已提交
13154
# endif
M
Marek Vasut 已提交
13155
# define machine_is_notle()	(machine_arch_type == MACH_TYPE_NOTLE)
S
Sandeep Paulraj 已提交
13156
#else
M
Marek Vasut 已提交
13157
# define machine_is_notle()	(0)
S
Sandeep Paulraj 已提交
13158 13159
#endif

M
Marek Vasut 已提交
13160
#ifdef CONFIG_MACH_EELX2
S
Sandeep Paulraj 已提交
13161 13162 13163 13164
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13165
#  define machine_arch_type	MACH_TYPE_EELX2
S
Sandeep Paulraj 已提交
13166
# endif
M
Marek Vasut 已提交
13167
# define machine_is_eelx2()	(machine_arch_type == MACH_TYPE_EELX2)
S
Sandeep Paulraj 已提交
13168
#else
M
Marek Vasut 已提交
13169
# define machine_is_eelx2()	(0)
S
Sandeep Paulraj 已提交
13170 13171
#endif

M
Marek Vasut 已提交
13172
#ifdef CONFIG_MACH_MOON
S
Sandeep Paulraj 已提交
13173 13174 13175 13176
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13177
#  define machine_arch_type	MACH_TYPE_MOON
S
Sandeep Paulraj 已提交
13178
# endif
M
Marek Vasut 已提交
13179
# define machine_is_moon()	(machine_arch_type == MACH_TYPE_MOON)
S
Sandeep Paulraj 已提交
13180
#else
M
Marek Vasut 已提交
13181
# define machine_is_moon()	(0)
S
Sandeep Paulraj 已提交
13182 13183
#endif

M
Marek Vasut 已提交
13184
#ifdef CONFIG_MACH_RUBY
S
Sandeep Paulraj 已提交
13185 13186 13187 13188
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13189
#  define machine_arch_type	MACH_TYPE_RUBY
S
Sandeep Paulraj 已提交
13190
# endif
M
Marek Vasut 已提交
13191
# define machine_is_ruby()	(machine_arch_type == MACH_TYPE_RUBY)
S
Sandeep Paulraj 已提交
13192
#else
M
Marek Vasut 已提交
13193
# define machine_is_ruby()	(0)
S
Sandeep Paulraj 已提交
13194 13195
#endif

M
Marek Vasut 已提交
13196
#ifdef CONFIG_MACH_GOLDENGATE
S
Sandeep Paulraj 已提交
13197 13198 13199 13200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13201
#  define machine_arch_type	MACH_TYPE_GOLDENGATE
S
Sandeep Paulraj 已提交
13202
# endif
M
Marek Vasut 已提交
13203
# define machine_is_goldengate()	(machine_arch_type == MACH_TYPE_GOLDENGATE)
S
Sandeep Paulraj 已提交
13204
#else
M
Marek Vasut 已提交
13205
# define machine_is_goldengate()	(0)
S
Sandeep Paulraj 已提交
13206 13207
#endif

M
Marek Vasut 已提交
13208
#ifdef CONFIG_MACH_CTBU_GEN2
S
Sandeep Paulraj 已提交
13209 13210 13211 13212
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13213
#  define machine_arch_type	MACH_TYPE_CTBU_GEN2
S
Sandeep Paulraj 已提交
13214
# endif
M
Marek Vasut 已提交
13215
# define machine_is_ctbu_gen2()	(machine_arch_type == MACH_TYPE_CTBU_GEN2)
S
Sandeep Paulraj 已提交
13216
#else
M
Marek Vasut 已提交
13217
# define machine_is_ctbu_gen2()	(0)
S
Sandeep Paulraj 已提交
13218 13219
#endif

M
Marek Vasut 已提交
13220
#ifdef CONFIG_MACH_KMP_AM17_01
S
Sandeep Paulraj 已提交
13221 13222 13223 13224
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13225
#  define machine_arch_type	MACH_TYPE_KMP_AM17_01
S
Sandeep Paulraj 已提交
13226
# endif
M
Marek Vasut 已提交
13227
# define machine_is_kmp_am17_01()	(machine_arch_type == MACH_TYPE_KMP_AM17_01)
S
Sandeep Paulraj 已提交
13228
#else
M
Marek Vasut 已提交
13229
# define machine_is_kmp_am17_01()	(0)
S
Sandeep Paulraj 已提交
13230 13231
#endif

M
Marek Vasut 已提交
13232
#ifdef CONFIG_MACH_WTPLUG
S
Sandeep Paulraj 已提交
13233 13234 13235 13236
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13237
#  define machine_arch_type	MACH_TYPE_WTPLUG
S
Sandeep Paulraj 已提交
13238
# endif
M
Marek Vasut 已提交
13239
# define machine_is_wtplug()	(machine_arch_type == MACH_TYPE_WTPLUG)
S
Sandeep Paulraj 已提交
13240
#else
M
Marek Vasut 已提交
13241
# define machine_is_wtplug()	(0)
S
Sandeep Paulraj 已提交
13242 13243
#endif

M
Marek Vasut 已提交
13244
#ifdef CONFIG_MACH_MX27SU2
S
Sandeep Paulraj 已提交
13245 13246 13247 13248
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13249
#  define machine_arch_type	MACH_TYPE_MX27SU2
S
Sandeep Paulraj 已提交
13250
# endif
M
Marek Vasut 已提交
13251
# define machine_is_mx27su2()	(machine_arch_type == MACH_TYPE_MX27SU2)
S
Sandeep Paulraj 已提交
13252
#else
M
Marek Vasut 已提交
13253
# define machine_is_mx27su2()	(0)
S
Sandeep Paulraj 已提交
13254 13255
#endif

M
Marek Vasut 已提交
13256
#ifdef CONFIG_MACH_NB31
S
Sandeep Paulraj 已提交
13257 13258 13259 13260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13261
#  define machine_arch_type	MACH_TYPE_NB31
S
Sandeep Paulraj 已提交
13262
# endif
M
Marek Vasut 已提交
13263
# define machine_is_nb31()	(machine_arch_type == MACH_TYPE_NB31)
S
Sandeep Paulraj 已提交
13264
#else
M
Marek Vasut 已提交
13265
# define machine_is_nb31()	(0)
S
Sandeep Paulraj 已提交
13266 13267
#endif

M
Marek Vasut 已提交
13268
#ifdef CONFIG_MACH_HJSDU
S
Sandeep Paulraj 已提交
13269 13270 13271 13272
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13273
#  define machine_arch_type	MACH_TYPE_HJSDU
S
Sandeep Paulraj 已提交
13274
# endif
M
Marek Vasut 已提交
13275
# define machine_is_hjsdu()	(machine_arch_type == MACH_TYPE_HJSDU)
S
Sandeep Paulraj 已提交
13276
#else
M
Marek Vasut 已提交
13277
# define machine_is_hjsdu()	(0)
S
Sandeep Paulraj 已提交
13278 13279
#endif

M
Marek Vasut 已提交
13280
#ifdef CONFIG_MACH_TD3_REV1
S
Sandeep Paulraj 已提交
13281 13282 13283 13284
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13285
#  define machine_arch_type	MACH_TYPE_TD3_REV1
S
Sandeep Paulraj 已提交
13286
# endif
M
Marek Vasut 已提交
13287
# define machine_is_td3_rev1()	(machine_arch_type == MACH_TYPE_TD3_REV1)
S
Sandeep Paulraj 已提交
13288
#else
M
Marek Vasut 已提交
13289
# define machine_is_td3_rev1()	(0)
S
Sandeep Paulraj 已提交
13290 13291
#endif

M
Marek Vasut 已提交
13292
#ifdef CONFIG_MACH_EAG_CI4000
S
Sandeep Paulraj 已提交
13293 13294 13295 13296
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13297
#  define machine_arch_type	MACH_TYPE_EAG_CI4000
S
Sandeep Paulraj 已提交
13298
# endif
M
Marek Vasut 已提交
13299
# define machine_is_eag_ci4000()	(machine_arch_type == MACH_TYPE_EAG_CI4000)
S
Sandeep Paulraj 已提交
13300
#else
M
Marek Vasut 已提交
13301
# define machine_is_eag_ci4000()	(0)
S
Sandeep Paulraj 已提交
13302 13303
#endif

M
Marek Vasut 已提交
13304
#ifdef CONFIG_MACH_NET5BIG_NAND_V2
S
Sandeep Paulraj 已提交
13305 13306 13307 13308
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13309
#  define machine_arch_type	MACH_TYPE_NET5BIG_NAND_V2
S
Sandeep Paulraj 已提交
13310
# endif
M
Marek Vasut 已提交
13311
# define machine_is_net5big_nand_v2()	(machine_arch_type == MACH_TYPE_NET5BIG_NAND_V2)
S
Sandeep Paulraj 已提交
13312
#else
M
Marek Vasut 已提交
13313
# define machine_is_net5big_nand_v2()	(0)
S
Sandeep Paulraj 已提交
13314 13315
#endif

M
Marek Vasut 已提交
13316
#ifdef CONFIG_MACH_CPX2
S
Sandeep Paulraj 已提交
13317 13318 13319 13320
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13321
#  define machine_arch_type	MACH_TYPE_CPX2
S
Sandeep Paulraj 已提交
13322
# endif
M
Marek Vasut 已提交
13323
# define machine_is_cpx2()	(machine_arch_type == MACH_TYPE_CPX2)
S
Sandeep Paulraj 已提交
13324
#else
M
Marek Vasut 已提交
13325
# define machine_is_cpx2()	(0)
S
Sandeep Paulraj 已提交
13326 13327
#endif

M
Marek Vasut 已提交
13328
#ifdef CONFIG_MACH_NET2BIG_NAND_V2
S
Sandeep Paulraj 已提交
13329 13330 13331 13332
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13333
#  define machine_arch_type	MACH_TYPE_NET2BIG_NAND_V2
S
Sandeep Paulraj 已提交
13334
# endif
M
Marek Vasut 已提交
13335
# define machine_is_net2big_nand_v2()	(machine_arch_type == MACH_TYPE_NET2BIG_NAND_V2)
S
Sandeep Paulraj 已提交
13336
#else
M
Marek Vasut 已提交
13337
# define machine_is_net2big_nand_v2()	(0)
S
Sandeep Paulraj 已提交
13338 13339
#endif

M
Marek Vasut 已提交
13340
#ifdef CONFIG_MACH_ECUV5
S
Sandeep Paulraj 已提交
13341 13342 13343 13344
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13345
#  define machine_arch_type	MACH_TYPE_ECUV5
S
Sandeep Paulraj 已提交
13346
# endif
M
Marek Vasut 已提交
13347
# define machine_is_ecuv5()	(machine_arch_type == MACH_TYPE_ECUV5)
S
Sandeep Paulraj 已提交
13348
#else
M
Marek Vasut 已提交
13349
# define machine_is_ecuv5()	(0)
S
Sandeep Paulraj 已提交
13350 13351
#endif

M
Marek Vasut 已提交
13352
#ifdef CONFIG_MACH_HSGX6D
S
Sandeep Paulraj 已提交
13353 13354 13355 13356
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13357
#  define machine_arch_type	MACH_TYPE_HSGX6D
S
Sandeep Paulraj 已提交
13358
# endif
M
Marek Vasut 已提交
13359
# define machine_is_hsgx6d()	(machine_arch_type == MACH_TYPE_HSGX6D)
S
Sandeep Paulraj 已提交
13360
#else
M
Marek Vasut 已提交
13361
# define machine_is_hsgx6d()	(0)
S
Sandeep Paulraj 已提交
13362 13363
#endif

M
Marek Vasut 已提交
13364
#ifdef CONFIG_MACH_DAWAD7
S
Sandeep Paulraj 已提交
13365 13366 13367 13368
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13369
#  define machine_arch_type	MACH_TYPE_DAWAD7
S
Sandeep Paulraj 已提交
13370
# endif
M
Marek Vasut 已提交
13371
# define machine_is_dawad7()	(machine_arch_type == MACH_TYPE_DAWAD7)
S
Sandeep Paulraj 已提交
13372
#else
M
Marek Vasut 已提交
13373
# define machine_is_dawad7()	(0)
S
Sandeep Paulraj 已提交
13374 13375
#endif

M
Marek Vasut 已提交
13376
#ifdef CONFIG_MACH_SAM9REPEATER
S
Sandeep Paulraj 已提交
13377 13378 13379 13380
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13381
#  define machine_arch_type	MACH_TYPE_SAM9REPEATER
S
Sandeep Paulraj 已提交
13382
# endif
M
Marek Vasut 已提交
13383
# define machine_is_sam9repeater()	(machine_arch_type == MACH_TYPE_SAM9REPEATER)
S
Sandeep Paulraj 已提交
13384
#else
M
Marek Vasut 已提交
13385
# define machine_is_sam9repeater()	(0)
S
Sandeep Paulraj 已提交
13386 13387
#endif

M
Marek Vasut 已提交
13388
#ifdef CONFIG_MACH_GT_I5700
S
Sandeep Paulraj 已提交
13389 13390 13391 13392
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13393
#  define machine_arch_type	MACH_TYPE_GT_I5700
S
Sandeep Paulraj 已提交
13394
# endif
M
Marek Vasut 已提交
13395
# define machine_is_gt_i5700()	(machine_arch_type == MACH_TYPE_GT_I5700)
S
Sandeep Paulraj 已提交
13396
#else
M
Marek Vasut 已提交
13397
# define machine_is_gt_i5700()	(0)
S
Sandeep Paulraj 已提交
13398 13399
#endif

M
Marek Vasut 已提交
13400
#ifdef CONFIG_MACH_CTERA_PLUG_C2
S
Sandeep Paulraj 已提交
13401 13402 13403 13404
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13405
#  define machine_arch_type	MACH_TYPE_CTERA_PLUG_C2
S
Sandeep Paulraj 已提交
13406
# endif
M
Marek Vasut 已提交
13407
# define machine_is_ctera_plug_c2()	(machine_arch_type == MACH_TYPE_CTERA_PLUG_C2)
S
Sandeep Paulraj 已提交
13408
#else
M
Marek Vasut 已提交
13409
# define machine_is_ctera_plug_c2()	(0)
S
Sandeep Paulraj 已提交
13410 13411
#endif

M
Marek Vasut 已提交
13412
#ifdef CONFIG_MACH_MARVELCT
S
Sandeep Paulraj 已提交
13413 13414 13415 13416
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13417
#  define machine_arch_type	MACH_TYPE_MARVELCT
S
Sandeep Paulraj 已提交
13418
# endif
M
Marek Vasut 已提交
13419
# define machine_is_marvelct()	(machine_arch_type == MACH_TYPE_MARVELCT)
S
Sandeep Paulraj 已提交
13420
#else
M
Marek Vasut 已提交
13421
# define machine_is_marvelct()	(0)
S
Sandeep Paulraj 已提交
13422 13423
#endif

M
Marek Vasut 已提交
13424
#ifdef CONFIG_MACH_AG11005
S
Sandeep Paulraj 已提交
13425 13426 13427 13428
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13429
#  define machine_arch_type	MACH_TYPE_AG11005
S
Sandeep Paulraj 已提交
13430
# endif
M
Marek Vasut 已提交
13431
# define machine_is_ag11005()	(machine_arch_type == MACH_TYPE_AG11005)
S
Sandeep Paulraj 已提交
13432
#else
M
Marek Vasut 已提交
13433
# define machine_is_ag11005()	(0)
S
Sandeep Paulraj 已提交
13434 13435
#endif

M
Marek Vasut 已提交
13436
#ifdef CONFIG_MACH_VANGOGH
S
Sandeep Paulraj 已提交
13437 13438 13439 13440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13441
#  define machine_arch_type	MACH_TYPE_VANGOGH
S
Sandeep Paulraj 已提交
13442
# endif
M
Marek Vasut 已提交
13443
# define machine_is_vangogh()	(machine_arch_type == MACH_TYPE_VANGOGH)
S
Sandeep Paulraj 已提交
13444
#else
M
Marek Vasut 已提交
13445
# define machine_is_vangogh()	(0)
S
Sandeep Paulraj 已提交
13446 13447
#endif

M
Marek Vasut 已提交
13448
#ifdef CONFIG_MACH_MATRIX505
S
Sandeep Paulraj 已提交
13449 13450 13451 13452
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13453
#  define machine_arch_type	MACH_TYPE_MATRIX505
S
Sandeep Paulraj 已提交
13454
# endif
M
Marek Vasut 已提交
13455
# define machine_is_matrix505()	(machine_arch_type == MACH_TYPE_MATRIX505)
S
Sandeep Paulraj 已提交
13456
#else
M
Marek Vasut 已提交
13457
# define machine_is_matrix505()	(0)
S
Sandeep Paulraj 已提交
13458 13459
#endif

M
Marek Vasut 已提交
13460
#ifdef CONFIG_MACH_OCE_NIGMA
S
Sandeep Paulraj 已提交
13461 13462 13463 13464
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13465
#  define machine_arch_type	MACH_TYPE_OCE_NIGMA
S
Sandeep Paulraj 已提交
13466
# endif
M
Marek Vasut 已提交
13467
# define machine_is_oce_nigma()	(machine_arch_type == MACH_TYPE_OCE_NIGMA)
S
Sandeep Paulraj 已提交
13468
#else
M
Marek Vasut 已提交
13469
# define machine_is_oce_nigma()	(0)
S
Sandeep Paulraj 已提交
13470 13471
#endif

M
Marek Vasut 已提交
13472
#ifdef CONFIG_MACH_T55
S
Sandeep Paulraj 已提交
13473 13474 13475 13476
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13477
#  define machine_arch_type	MACH_TYPE_T55
S
Sandeep Paulraj 已提交
13478
# endif
M
Marek Vasut 已提交
13479
# define machine_is_t55()	(machine_arch_type == MACH_TYPE_T55)
S
Sandeep Paulraj 已提交
13480
#else
M
Marek Vasut 已提交
13481
# define machine_is_t55()	(0)
S
Sandeep Paulraj 已提交
13482 13483
#endif

M
Marek Vasut 已提交
13484
#ifdef CONFIG_MACH_BIO3K
S
Sandeep Paulraj 已提交
13485 13486 13487 13488
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13489
#  define machine_arch_type	MACH_TYPE_BIO3K
S
Sandeep Paulraj 已提交
13490
# endif
M
Marek Vasut 已提交
13491
# define machine_is_bio3k()	(machine_arch_type == MACH_TYPE_BIO3K)
S
Sandeep Paulraj 已提交
13492
#else
M
Marek Vasut 已提交
13493
# define machine_is_bio3k()	(0)
S
Sandeep Paulraj 已提交
13494 13495
#endif

M
Marek Vasut 已提交
13496
#ifdef CONFIG_MACH_EXPRESSCT
S
Sandeep Paulraj 已提交
13497 13498 13499 13500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13501
#  define machine_arch_type	MACH_TYPE_EXPRESSCT
S
Sandeep Paulraj 已提交
13502
# endif
M
Marek Vasut 已提交
13503
# define machine_is_expressct()	(machine_arch_type == MACH_TYPE_EXPRESSCT)
S
Sandeep Paulraj 已提交
13504
#else
M
Marek Vasut 已提交
13505
# define machine_is_expressct()	(0)
S
Sandeep Paulraj 已提交
13506 13507
#endif

M
Marek Vasut 已提交
13508
#ifdef CONFIG_MACH_CARDHU
S
Sandeep Paulraj 已提交
13509 13510 13511 13512
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13513
#  define machine_arch_type	MACH_TYPE_CARDHU
S
Sandeep Paulraj 已提交
13514
# endif
M
Marek Vasut 已提交
13515
# define machine_is_cardhu()	(machine_arch_type == MACH_TYPE_CARDHU)
S
Sandeep Paulraj 已提交
13516
#else
M
Marek Vasut 已提交
13517
# define machine_is_cardhu()	(0)
S
Sandeep Paulraj 已提交
13518 13519
#endif

M
Marek Vasut 已提交
13520
#ifdef CONFIG_MACH_ARUBA
S
Sandeep Paulraj 已提交
13521 13522 13523 13524
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13525
#  define machine_arch_type	MACH_TYPE_ARUBA
S
Sandeep Paulraj 已提交
13526
# endif
M
Marek Vasut 已提交
13527
# define machine_is_aruba()	(machine_arch_type == MACH_TYPE_ARUBA)
S
Sandeep Paulraj 已提交
13528
#else
M
Marek Vasut 已提交
13529
# define machine_is_aruba()	(0)
S
Sandeep Paulraj 已提交
13530 13531
#endif

M
Marek Vasut 已提交
13532
#ifdef CONFIG_MACH_BONAIRE
S
Sandeep Paulraj 已提交
13533 13534 13535 13536
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13537
#  define machine_arch_type	MACH_TYPE_BONAIRE
S
Sandeep Paulraj 已提交
13538
# endif
M
Marek Vasut 已提交
13539
# define machine_is_bonaire()	(machine_arch_type == MACH_TYPE_BONAIRE)
S
Sandeep Paulraj 已提交
13540
#else
M
Marek Vasut 已提交
13541
# define machine_is_bonaire()	(0)
S
Sandeep Paulraj 已提交
13542 13543
#endif

M
Marek Vasut 已提交
13544
#ifdef CONFIG_MACH_NUC700EVB
S
Sandeep Paulraj 已提交
13545 13546 13547 13548
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13549
#  define machine_arch_type	MACH_TYPE_NUC700EVB
S
Sandeep Paulraj 已提交
13550
# endif
M
Marek Vasut 已提交
13551
# define machine_is_nuc700evb()	(machine_arch_type == MACH_TYPE_NUC700EVB)
S
Sandeep Paulraj 已提交
13552
#else
M
Marek Vasut 已提交
13553
# define machine_is_nuc700evb()	(0)
S
Sandeep Paulraj 已提交
13554 13555
#endif

M
Marek Vasut 已提交
13556
#ifdef CONFIG_MACH_NUC710EVB
S
Sandeep Paulraj 已提交
13557 13558 13559 13560
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13561
#  define machine_arch_type	MACH_TYPE_NUC710EVB
S
Sandeep Paulraj 已提交
13562
# endif
M
Marek Vasut 已提交
13563
# define machine_is_nuc710evb()	(machine_arch_type == MACH_TYPE_NUC710EVB)
S
Sandeep Paulraj 已提交
13564
#else
M
Marek Vasut 已提交
13565
# define machine_is_nuc710evb()	(0)
S
Sandeep Paulraj 已提交
13566 13567
#endif

M
Marek Vasut 已提交
13568
#ifdef CONFIG_MACH_NUC740EVB
S
Sandeep Paulraj 已提交
13569 13570 13571 13572
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13573
#  define machine_arch_type	MACH_TYPE_NUC740EVB
S
Sandeep Paulraj 已提交
13574
# endif
M
Marek Vasut 已提交
13575
# define machine_is_nuc740evb()	(machine_arch_type == MACH_TYPE_NUC740EVB)
S
Sandeep Paulraj 已提交
13576
#else
M
Marek Vasut 已提交
13577
# define machine_is_nuc740evb()	(0)
S
Sandeep Paulraj 已提交
13578 13579
#endif

M
Marek Vasut 已提交
13580
#ifdef CONFIG_MACH_NUC745EVB
S
Sandeep Paulraj 已提交
13581 13582 13583 13584
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13585
#  define machine_arch_type	MACH_TYPE_NUC745EVB
S
Sandeep Paulraj 已提交
13586
# endif
M
Marek Vasut 已提交
13587
# define machine_is_nuc745evb()	(machine_arch_type == MACH_TYPE_NUC745EVB)
S
Sandeep Paulraj 已提交
13588
#else
M
Marek Vasut 已提交
13589
# define machine_is_nuc745evb()	(0)
S
Sandeep Paulraj 已提交
13590 13591
#endif

M
Marek Vasut 已提交
13592
#ifdef CONFIG_MACH_TRANSCEDE
S
Sandeep Paulraj 已提交
13593 13594 13595 13596
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13597
#  define machine_arch_type	MACH_TYPE_TRANSCEDE
S
Sandeep Paulraj 已提交
13598
# endif
M
Marek Vasut 已提交
13599
# define machine_is_transcede()	(machine_arch_type == MACH_TYPE_TRANSCEDE)
S
Sandeep Paulraj 已提交
13600
#else
M
Marek Vasut 已提交
13601
# define machine_is_transcede()	(0)
S
Sandeep Paulraj 已提交
13602 13603
#endif

M
Marek Vasut 已提交
13604
#ifdef CONFIG_MACH_MORA
S
Sandeep Paulraj 已提交
13605 13606 13607 13608
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13609
#  define machine_arch_type	MACH_TYPE_MORA
S
Sandeep Paulraj 已提交
13610
# endif
M
Marek Vasut 已提交
13611
# define machine_is_mora()	(machine_arch_type == MACH_TYPE_MORA)
S
Sandeep Paulraj 已提交
13612
#else
M
Marek Vasut 已提交
13613
# define machine_is_mora()	(0)
S
Sandeep Paulraj 已提交
13614 13615
#endif

M
Marek Vasut 已提交
13616
#ifdef CONFIG_MACH_NDA_EVM
S
Sandeep Paulraj 已提交
13617 13618 13619 13620
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13621
#  define machine_arch_type	MACH_TYPE_NDA_EVM
S
Sandeep Paulraj 已提交
13622
# endif
M
Marek Vasut 已提交
13623
# define machine_is_nda_evm()	(machine_arch_type == MACH_TYPE_NDA_EVM)
S
Sandeep Paulraj 已提交
13624
#else
M
Marek Vasut 已提交
13625
# define machine_is_nda_evm()	(0)
S
Sandeep Paulraj 已提交
13626 13627
#endif

M
Marek Vasut 已提交
13628
#ifdef CONFIG_MACH_TIMU
S
Sandeep Paulraj 已提交
13629 13630 13631 13632
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13633
#  define machine_arch_type	MACH_TYPE_TIMU
S
Sandeep Paulraj 已提交
13634
# endif
M
Marek Vasut 已提交
13635
# define machine_is_timu()	(machine_arch_type == MACH_TYPE_TIMU)
S
Sandeep Paulraj 已提交
13636
#else
M
Marek Vasut 已提交
13637
# define machine_is_timu()	(0)
S
Sandeep Paulraj 已提交
13638 13639
#endif

M
Marek Vasut 已提交
13640
#ifdef CONFIG_MACH_EXPRESSH
S
Sandeep Paulraj 已提交
13641 13642 13643 13644
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13645
#  define machine_arch_type	MACH_TYPE_EXPRESSH
S
Sandeep Paulraj 已提交
13646
# endif
M
Marek Vasut 已提交
13647
# define machine_is_expressh()	(machine_arch_type == MACH_TYPE_EXPRESSH)
S
Sandeep Paulraj 已提交
13648
#else
M
Marek Vasut 已提交
13649
# define machine_is_expressh()	(0)
S
Sandeep Paulraj 已提交
13650 13651
#endif

M
Marek Vasut 已提交
13652
#ifdef CONFIG_MACH_VERIDIS_A300
S
Sandeep Paulraj 已提交
13653 13654 13655 13656
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13657
#  define machine_arch_type	MACH_TYPE_VERIDIS_A300
S
Sandeep Paulraj 已提交
13658
# endif
M
Marek Vasut 已提交
13659
# define machine_is_veridis_a300()	(machine_arch_type == MACH_TYPE_VERIDIS_A300)
S
Sandeep Paulraj 已提交
13660
#else
M
Marek Vasut 已提交
13661
# define machine_is_veridis_a300()	(0)
S
Sandeep Paulraj 已提交
13662 13663
#endif

M
Marek Vasut 已提交
13664
#ifdef CONFIG_MACH_DM368_LEOPARD
S
Sandeep Paulraj 已提交
13665 13666 13667 13668
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13669
#  define machine_arch_type	MACH_TYPE_DM368_LEOPARD
S
Sandeep Paulraj 已提交
13670
# endif
M
Marek Vasut 已提交
13671
# define machine_is_dm368_leopard()	(machine_arch_type == MACH_TYPE_DM368_LEOPARD)
S
Sandeep Paulraj 已提交
13672
#else
M
Marek Vasut 已提交
13673
# define machine_is_dm368_leopard()	(0)
S
Sandeep Paulraj 已提交
13674 13675
#endif

M
Marek Vasut 已提交
13676
#ifdef CONFIG_MACH_OMAP_MCOP
S
Sandeep Paulraj 已提交
13677 13678 13679 13680
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13681
#  define machine_arch_type	MACH_TYPE_OMAP_MCOP
S
Sandeep Paulraj 已提交
13682
# endif
M
Marek Vasut 已提交
13683
# define machine_is_omap_mcop()	(machine_arch_type == MACH_TYPE_OMAP_MCOP)
S
Sandeep Paulraj 已提交
13684
#else
M
Marek Vasut 已提交
13685
# define machine_is_omap_mcop()	(0)
S
Sandeep Paulraj 已提交
13686 13687
#endif

M
Marek Vasut 已提交
13688
#ifdef CONFIG_MACH_TRITIP
S
Sandeep Paulraj 已提交
13689 13690 13691 13692
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13693
#  define machine_arch_type	MACH_TYPE_TRITIP
S
Sandeep Paulraj 已提交
13694
# endif
M
Marek Vasut 已提交
13695
# define machine_is_tritip()	(machine_arch_type == MACH_TYPE_TRITIP)
S
Sandeep Paulraj 已提交
13696
#else
M
Marek Vasut 已提交
13697
# define machine_is_tritip()	(0)
S
Sandeep Paulraj 已提交
13698 13699
#endif

M
Marek Vasut 已提交
13700
#ifdef CONFIG_MACH_SM1K
S
Sandeep Paulraj 已提交
13701 13702 13703 13704
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13705
#  define machine_arch_type	MACH_TYPE_SM1K
S
Sandeep Paulraj 已提交
13706
# endif
M
Marek Vasut 已提交
13707
# define machine_is_sm1k()	(machine_arch_type == MACH_TYPE_SM1K)
S
Sandeep Paulraj 已提交
13708
#else
M
Marek Vasut 已提交
13709
# define machine_is_sm1k()	(0)
S
Sandeep Paulraj 已提交
13710 13711
#endif

M
Marek Vasut 已提交
13712
#ifdef CONFIG_MACH_MONCH
S
Sandeep Paulraj 已提交
13713 13714 13715 13716
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13717
#  define machine_arch_type	MACH_TYPE_MONCH
S
Sandeep Paulraj 已提交
13718
# endif
M
Marek Vasut 已提交
13719
# define machine_is_monch()	(machine_arch_type == MACH_TYPE_MONCH)
S
Sandeep Paulraj 已提交
13720
#else
M
Marek Vasut 已提交
13721
# define machine_is_monch()	(0)
S
Sandeep Paulraj 已提交
13722 13723
#endif

M
Marek Vasut 已提交
13724
#ifdef CONFIG_MACH_CURACAO
S
Sandeep Paulraj 已提交
13725 13726 13727 13728
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13729
#  define machine_arch_type	MACH_TYPE_CURACAO
S
Sandeep Paulraj 已提交
13730
# endif
M
Marek Vasut 已提交
13731
# define machine_is_curacao()	(machine_arch_type == MACH_TYPE_CURACAO)
S
Sandeep Paulraj 已提交
13732
#else
M
Marek Vasut 已提交
13733
# define machine_is_curacao()	(0)
S
Sandeep Paulraj 已提交
13734 13735
#endif

M
Marek Vasut 已提交
13736
#ifdef CONFIG_MACH_ORIGEN
S
Sandeep Paulraj 已提交
13737 13738 13739 13740
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13741
#  define machine_arch_type	MACH_TYPE_ORIGEN
S
Sandeep Paulraj 已提交
13742
# endif
M
Marek Vasut 已提交
13743
# define machine_is_origen()	(machine_arch_type == MACH_TYPE_ORIGEN)
S
Sandeep Paulraj 已提交
13744
#else
M
Marek Vasut 已提交
13745
# define machine_is_origen()	(0)
S
Sandeep Paulraj 已提交
13746 13747
#endif

M
Marek Vasut 已提交
13748
#ifdef CONFIG_MACH_EPC10
S
Sandeep Paulraj 已提交
13749 13750 13751 13752
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13753
#  define machine_arch_type	MACH_TYPE_EPC10
S
Sandeep Paulraj 已提交
13754
# endif
M
Marek Vasut 已提交
13755
# define machine_is_epc10()	(machine_arch_type == MACH_TYPE_EPC10)
S
Sandeep Paulraj 已提交
13756
#else
M
Marek Vasut 已提交
13757
# define machine_is_epc10()	(0)
S
Sandeep Paulraj 已提交
13758 13759
#endif

M
Marek Vasut 已提交
13760
#ifdef CONFIG_MACH_SGH_I740
S
Sandeep Paulraj 已提交
13761 13762 13763 13764
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13765
#  define machine_arch_type	MACH_TYPE_SGH_I740
S
Sandeep Paulraj 已提交
13766
# endif
M
Marek Vasut 已提交
13767
# define machine_is_sgh_i740()	(machine_arch_type == MACH_TYPE_SGH_I740)
S
Sandeep Paulraj 已提交
13768
#else
M
Marek Vasut 已提交
13769
# define machine_is_sgh_i740()	(0)
S
Sandeep Paulraj 已提交
13770 13771
#endif

M
Marek Vasut 已提交
13772
#ifdef CONFIG_MACH_TUNA
S
Sandeep Paulraj 已提交
13773 13774 13775 13776
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13777
#  define machine_arch_type	MACH_TYPE_TUNA
S
Sandeep Paulraj 已提交
13778
# endif
M
Marek Vasut 已提交
13779
# define machine_is_tuna()	(machine_arch_type == MACH_TYPE_TUNA)
S
Sandeep Paulraj 已提交
13780
#else
M
Marek Vasut 已提交
13781
# define machine_is_tuna()	(0)
S
Sandeep Paulraj 已提交
13782 13783
#endif

M
Marek Vasut 已提交
13784
#ifdef CONFIG_MACH_MX51_TULIP
S
Sandeep Paulraj 已提交
13785 13786 13787 13788
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13789
#  define machine_arch_type	MACH_TYPE_MX51_TULIP
S
Sandeep Paulraj 已提交
13790
# endif
M
Marek Vasut 已提交
13791
# define machine_is_mx51_tulip()	(machine_arch_type == MACH_TYPE_MX51_TULIP)
S
Sandeep Paulraj 已提交
13792
#else
M
Marek Vasut 已提交
13793
# define machine_is_mx51_tulip()	(0)
S
Sandeep Paulraj 已提交
13794 13795
#endif

M
Marek Vasut 已提交
13796
#ifdef CONFIG_MACH_MX51_ASTER7
S
Sandeep Paulraj 已提交
13797 13798 13799 13800
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13801
#  define machine_arch_type	MACH_TYPE_MX51_ASTER7
S
Sandeep Paulraj 已提交
13802
# endif
M
Marek Vasut 已提交
13803
# define machine_is_mx51_aster7()	(machine_arch_type == MACH_TYPE_MX51_ASTER7)
S
Sandeep Paulraj 已提交
13804
#else
M
Marek Vasut 已提交
13805
# define machine_is_mx51_aster7()	(0)
S
Sandeep Paulraj 已提交
13806 13807
#endif

M
Marek Vasut 已提交
13808
#ifdef CONFIG_MACH_ACRO37XBRD
S
Sandeep Paulraj 已提交
13809 13810 13811 13812
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13813
#  define machine_arch_type	MACH_TYPE_ACRO37XBRD
S
Sandeep Paulraj 已提交
13814
# endif
M
Marek Vasut 已提交
13815
# define machine_is_acro37xbrd()	(machine_arch_type == MACH_TYPE_ACRO37XBRD)
S
Sandeep Paulraj 已提交
13816
#else
M
Marek Vasut 已提交
13817
# define machine_is_acro37xbrd()	(0)
S
Sandeep Paulraj 已提交
13818 13819
#endif

M
Marek Vasut 已提交
13820
#ifdef CONFIG_MACH_ELKE
S
Sandeep Paulraj 已提交
13821 13822 13823 13824
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13825
#  define machine_arch_type	MACH_TYPE_ELKE
S
Sandeep Paulraj 已提交
13826
# endif
M
Marek Vasut 已提交
13827
# define machine_is_elke()	(machine_arch_type == MACH_TYPE_ELKE)
S
Sandeep Paulraj 已提交
13828
#else
M
Marek Vasut 已提交
13829
# define machine_is_elke()	(0)
S
Sandeep Paulraj 已提交
13830 13831
#endif

M
Marek Vasut 已提交
13832
#ifdef CONFIG_MACH_SBC6000X
S
Sandeep Paulraj 已提交
13833 13834 13835 13836
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13837
#  define machine_arch_type	MACH_TYPE_SBC6000X
S
Sandeep Paulraj 已提交
13838
# endif
M
Marek Vasut 已提交
13839
# define machine_is_sbc6000x()	(machine_arch_type == MACH_TYPE_SBC6000X)
S
Sandeep Paulraj 已提交
13840
#else
M
Marek Vasut 已提交
13841
# define machine_is_sbc6000x()	(0)
S
Sandeep Paulraj 已提交
13842 13843
#endif

M
Marek Vasut 已提交
13844
#ifdef CONFIG_MACH_R1801E
S
Sandeep Paulraj 已提交
13845 13846 13847 13848
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13849
#  define machine_arch_type	MACH_TYPE_R1801E
S
Sandeep Paulraj 已提交
13850
# endif
M
Marek Vasut 已提交
13851
# define machine_is_r1801e()	(machine_arch_type == MACH_TYPE_R1801E)
S
Sandeep Paulraj 已提交
13852
#else
M
Marek Vasut 已提交
13853
# define machine_is_r1801e()	(0)
S
Sandeep Paulraj 已提交
13854 13855
#endif

M
Marek Vasut 已提交
13856
#ifdef CONFIG_MACH_H1600
S
Sandeep Paulraj 已提交
13857 13858 13859 13860
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13861
#  define machine_arch_type	MACH_TYPE_H1600
S
Sandeep Paulraj 已提交
13862
# endif
M
Marek Vasut 已提交
13863
# define machine_is_h1600()	(machine_arch_type == MACH_TYPE_H1600)
S
Sandeep Paulraj 已提交
13864
#else
M
Marek Vasut 已提交
13865
# define machine_is_h1600()	(0)
S
Sandeep Paulraj 已提交
13866 13867
#endif

M
Marek Vasut 已提交
13868
#ifdef CONFIG_MACH_MINI210
S
Sandeep Paulraj 已提交
13869 13870 13871 13872
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13873
#  define machine_arch_type	MACH_TYPE_MINI210
S
Sandeep Paulraj 已提交
13874
# endif
M
Marek Vasut 已提交
13875
# define machine_is_mini210()	(machine_arch_type == MACH_TYPE_MINI210)
S
Sandeep Paulraj 已提交
13876
#else
M
Marek Vasut 已提交
13877
# define machine_is_mini210()	(0)
S
Sandeep Paulraj 已提交
13878 13879
#endif

M
Marek Vasut 已提交
13880
#ifdef CONFIG_MACH_MINI8168
S
Sandeep Paulraj 已提交
13881 13882 13883 13884
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13885
#  define machine_arch_type	MACH_TYPE_MINI8168
S
Sandeep Paulraj 已提交
13886
# endif
M
Marek Vasut 已提交
13887
# define machine_is_mini8168()	(machine_arch_type == MACH_TYPE_MINI8168)
S
Sandeep Paulraj 已提交
13888
#else
M
Marek Vasut 已提交
13889
# define machine_is_mini8168()	(0)
S
Sandeep Paulraj 已提交
13890 13891
#endif

M
Marek Vasut 已提交
13892
#ifdef CONFIG_MACH_PC7308
S
Sandeep Paulraj 已提交
13893 13894 13895 13896
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13897
#  define machine_arch_type	MACH_TYPE_PC7308
S
Sandeep Paulraj 已提交
13898
# endif
M
Marek Vasut 已提交
13899
# define machine_is_pc7308()	(machine_arch_type == MACH_TYPE_PC7308)
S
Sandeep Paulraj 已提交
13900
#else
M
Marek Vasut 已提交
13901
# define machine_is_pc7308()	(0)
S
Sandeep Paulraj 已提交
13902 13903
#endif

M
Marek Vasut 已提交
13904
#ifdef CONFIG_MACH_KMM2M01
S
Sandeep Paulraj 已提交
13905 13906 13907 13908
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13909
#  define machine_arch_type	MACH_TYPE_KMM2M01
S
Sandeep Paulraj 已提交
13910
# endif
M
Marek Vasut 已提交
13911
# define machine_is_kmm2m01()	(machine_arch_type == MACH_TYPE_KMM2M01)
S
Sandeep Paulraj 已提交
13912
#else
M
Marek Vasut 已提交
13913
# define machine_is_kmm2m01()	(0)
S
Sandeep Paulraj 已提交
13914 13915
#endif

M
Marek Vasut 已提交
13916
#ifdef CONFIG_MACH_MX51EREBUS
S
Sandeep Paulraj 已提交
13917 13918 13919 13920
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13921
#  define machine_arch_type	MACH_TYPE_MX51EREBUS
S
Sandeep Paulraj 已提交
13922
# endif
M
Marek Vasut 已提交
13923
# define machine_is_mx51erebus()	(machine_arch_type == MACH_TYPE_MX51EREBUS)
S
Sandeep Paulraj 已提交
13924
#else
M
Marek Vasut 已提交
13925
# define machine_is_mx51erebus()	(0)
S
Sandeep Paulraj 已提交
13926 13927
#endif

M
Marek Vasut 已提交
13928
#ifdef CONFIG_MACH_WM8650REFBOARD
S
Sandeep Paulraj 已提交
13929 13930 13931 13932
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13933
#  define machine_arch_type	MACH_TYPE_WM8650REFBOARD
S
Sandeep Paulraj 已提交
13934
# endif
M
Marek Vasut 已提交
13935
# define machine_is_wm8650refboard()	(machine_arch_type == MACH_TYPE_WM8650REFBOARD)
S
Sandeep Paulraj 已提交
13936
#else
M
Marek Vasut 已提交
13937
# define machine_is_wm8650refboard()	(0)
S
Sandeep Paulraj 已提交
13938 13939
#endif

M
Marek Vasut 已提交
13940
#ifdef CONFIG_MACH_TUXRAIL
S
Sandeep Paulraj 已提交
13941 13942 13943 13944
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13945
#  define machine_arch_type	MACH_TYPE_TUXRAIL
S
Sandeep Paulraj 已提交
13946
# endif
M
Marek Vasut 已提交
13947
# define machine_is_tuxrail()	(machine_arch_type == MACH_TYPE_TUXRAIL)
S
Sandeep Paulraj 已提交
13948
#else
M
Marek Vasut 已提交
13949
# define machine_is_tuxrail()	(0)
S
Sandeep Paulraj 已提交
13950 13951
#endif

M
Marek Vasut 已提交
13952
#ifdef CONFIG_MACH_ARTHUR
S
Sandeep Paulraj 已提交
13953 13954 13955 13956
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13957
#  define machine_arch_type	MACH_TYPE_ARTHUR
S
Sandeep Paulraj 已提交
13958
# endif
M
Marek Vasut 已提交
13959
# define machine_is_arthur()	(machine_arch_type == MACH_TYPE_ARTHUR)
S
Sandeep Paulraj 已提交
13960
#else
M
Marek Vasut 已提交
13961
# define machine_is_arthur()	(0)
S
Sandeep Paulraj 已提交
13962 13963
#endif

M
Marek Vasut 已提交
13964
#ifdef CONFIG_MACH_DOORBOY
S
Sandeep Paulraj 已提交
13965 13966 13967 13968
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13969
#  define machine_arch_type	MACH_TYPE_DOORBOY
S
Sandeep Paulraj 已提交
13970
# endif
M
Marek Vasut 已提交
13971
# define machine_is_doorboy()	(machine_arch_type == MACH_TYPE_DOORBOY)
S
Sandeep Paulraj 已提交
13972
#else
M
Marek Vasut 已提交
13973
# define machine_is_doorboy()	(0)
S
Sandeep Paulraj 已提交
13974 13975
#endif

M
Marek Vasut 已提交
13976
#ifdef CONFIG_MACH_XARINA
S
Sandeep Paulraj 已提交
13977 13978 13979 13980
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13981
#  define machine_arch_type	MACH_TYPE_XARINA
S
Sandeep Paulraj 已提交
13982
# endif
M
Marek Vasut 已提交
13983
# define machine_is_xarina()	(machine_arch_type == MACH_TYPE_XARINA)
S
Sandeep Paulraj 已提交
13984
#else
M
Marek Vasut 已提交
13985
# define machine_is_xarina()	(0)
S
Sandeep Paulraj 已提交
13986 13987
#endif

M
Marek Vasut 已提交
13988
#ifdef CONFIG_MACH_ROVERX7
S
Sandeep Paulraj 已提交
13989 13990 13991 13992
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
13993
#  define machine_arch_type	MACH_TYPE_ROVERX7
S
Sandeep Paulraj 已提交
13994
# endif
M
Marek Vasut 已提交
13995
# define machine_is_roverx7()	(machine_arch_type == MACH_TYPE_ROVERX7)
S
Sandeep Paulraj 已提交
13996
#else
M
Marek Vasut 已提交
13997
# define machine_is_roverx7()	(0)
S
Sandeep Paulraj 已提交
13998 13999
#endif

M
Marek Vasut 已提交
14000
#ifdef CONFIG_MACH_SDVR
S
Sandeep Paulraj 已提交
14001 14002 14003 14004
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14005
#  define machine_arch_type	MACH_TYPE_SDVR
S
Sandeep Paulraj 已提交
14006
# endif
M
Marek Vasut 已提交
14007
# define machine_is_sdvr()	(machine_arch_type == MACH_TYPE_SDVR)
S
Sandeep Paulraj 已提交
14008
#else
M
Marek Vasut 已提交
14009
# define machine_is_sdvr()	(0)
S
Sandeep Paulraj 已提交
14010 14011
#endif

M
Marek Vasut 已提交
14012
#ifdef CONFIG_MACH_ACER_MAYA
S
Sandeep Paulraj 已提交
14013 14014 14015 14016
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14017
#  define machine_arch_type	MACH_TYPE_ACER_MAYA
S
Sandeep Paulraj 已提交
14018
# endif
M
Marek Vasut 已提交
14019
# define machine_is_acer_maya()	(machine_arch_type == MACH_TYPE_ACER_MAYA)
S
Sandeep Paulraj 已提交
14020
#else
M
Marek Vasut 已提交
14021
# define machine_is_acer_maya()	(0)
S
Sandeep Paulraj 已提交
14022 14023
#endif

M
Marek Vasut 已提交
14024
#ifdef CONFIG_MACH_PICO
S
Sandeep Paulraj 已提交
14025 14026 14027 14028
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14029
#  define machine_arch_type	MACH_TYPE_PICO
S
Sandeep Paulraj 已提交
14030
# endif
M
Marek Vasut 已提交
14031
# define machine_is_pico()	(machine_arch_type == MACH_TYPE_PICO)
S
Sandeep Paulraj 已提交
14032
#else
M
Marek Vasut 已提交
14033
# define machine_is_pico()	(0)
S
Sandeep Paulraj 已提交
14034 14035
#endif

M
Marek Vasut 已提交
14036
#ifdef CONFIG_MACH_CWMX233
S
Sandeep Paulraj 已提交
14037 14038 14039 14040
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14041
#  define machine_arch_type	MACH_TYPE_CWMX233
S
Sandeep Paulraj 已提交
14042
# endif
M
Marek Vasut 已提交
14043
# define machine_is_cwmx233()	(machine_arch_type == MACH_TYPE_CWMX233)
S
Sandeep Paulraj 已提交
14044
#else
M
Marek Vasut 已提交
14045
# define machine_is_cwmx233()	(0)
S
Sandeep Paulraj 已提交
14046 14047
#endif

M
Marek Vasut 已提交
14048
#ifdef CONFIG_MACH_CWAM1808
S
Sandeep Paulraj 已提交
14049 14050 14051 14052
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14053
#  define machine_arch_type	MACH_TYPE_CWAM1808
S
Sandeep Paulraj 已提交
14054
# endif
M
Marek Vasut 已提交
14055
# define machine_is_cwam1808()	(machine_arch_type == MACH_TYPE_CWAM1808)
S
Sandeep Paulraj 已提交
14056
#else
M
Marek Vasut 已提交
14057
# define machine_is_cwam1808()	(0)
S
Sandeep Paulraj 已提交
14058 14059
#endif

M
Marek Vasut 已提交
14060
#ifdef CONFIG_MACH_CWDM365
S
Sandeep Paulraj 已提交
14061 14062 14063 14064
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14065
#  define machine_arch_type	MACH_TYPE_CWDM365
S
Sandeep Paulraj 已提交
14066
# endif
M
Marek Vasut 已提交
14067
# define machine_is_cwdm365()	(machine_arch_type == MACH_TYPE_CWDM365)
S
Sandeep Paulraj 已提交
14068
#else
M
Marek Vasut 已提交
14069
# define machine_is_cwdm365()	(0)
S
Sandeep Paulraj 已提交
14070 14071
#endif

M
Marek Vasut 已提交
14072
#ifdef CONFIG_MACH_MX51_MORAY
S
Sandeep Paulraj 已提交
14073 14074 14075 14076
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14077
#  define machine_arch_type	MACH_TYPE_MX51_MORAY
S
Sandeep Paulraj 已提交
14078
# endif
M
Marek Vasut 已提交
14079
# define machine_is_mx51_moray()	(machine_arch_type == MACH_TYPE_MX51_MORAY)
S
Sandeep Paulraj 已提交
14080
#else
M
Marek Vasut 已提交
14081
# define machine_is_mx51_moray()	(0)
S
Sandeep Paulraj 已提交
14082 14083
#endif

M
Marek Vasut 已提交
14084
#ifdef CONFIG_MACH_THALES_CBC
S
Sandeep Paulraj 已提交
14085 14086 14087 14088
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14089
#  define machine_arch_type	MACH_TYPE_THALES_CBC
S
Sandeep Paulraj 已提交
14090
# endif
M
Marek Vasut 已提交
14091
# define machine_is_thales_cbc()	(machine_arch_type == MACH_TYPE_THALES_CBC)
S
Sandeep Paulraj 已提交
14092
#else
M
Marek Vasut 已提交
14093
# define machine_is_thales_cbc()	(0)
S
Sandeep Paulraj 已提交
14094 14095
#endif

M
Marek Vasut 已提交
14096
#ifdef CONFIG_MACH_BLUEPOINT
S
Sandeep Paulraj 已提交
14097 14098 14099 14100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14101
#  define machine_arch_type	MACH_TYPE_BLUEPOINT
S
Sandeep Paulraj 已提交
14102
# endif
M
Marek Vasut 已提交
14103
# define machine_is_bluepoint()	(machine_arch_type == MACH_TYPE_BLUEPOINT)
S
Sandeep Paulraj 已提交
14104
#else
M
Marek Vasut 已提交
14105
# define machine_is_bluepoint()	(0)
S
Sandeep Paulraj 已提交
14106 14107
#endif

M
Marek Vasut 已提交
14108
#ifdef CONFIG_MACH_DIR665
S
Sandeep Paulraj 已提交
14109 14110 14111 14112
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14113
#  define machine_arch_type	MACH_TYPE_DIR665
S
Sandeep Paulraj 已提交
14114
# endif
M
Marek Vasut 已提交
14115
# define machine_is_dir665()	(machine_arch_type == MACH_TYPE_DIR665)
S
Sandeep Paulraj 已提交
14116
#else
M
Marek Vasut 已提交
14117
# define machine_is_dir665()	(0)
S
Sandeep Paulraj 已提交
14118 14119
#endif

M
Marek Vasut 已提交
14120
#ifdef CONFIG_MACH_ACMEROVER1
S
Sandeep Paulraj 已提交
14121 14122 14123 14124
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14125
#  define machine_arch_type	MACH_TYPE_ACMEROVER1
S
Sandeep Paulraj 已提交
14126
# endif
M
Marek Vasut 已提交
14127
# define machine_is_acmerover1()	(machine_arch_type == MACH_TYPE_ACMEROVER1)
S
Sandeep Paulraj 已提交
14128
#else
M
Marek Vasut 已提交
14129
# define machine_is_acmerover1()	(0)
S
Sandeep Paulraj 已提交
14130 14131
#endif

M
Marek Vasut 已提交
14132
#ifdef CONFIG_MACH_SHOOTER_CT
S
Sandeep Paulraj 已提交
14133 14134 14135 14136
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14137
#  define machine_arch_type	MACH_TYPE_SHOOTER_CT
S
Sandeep Paulraj 已提交
14138
# endif
M
Marek Vasut 已提交
14139
# define machine_is_shooter_ct()	(machine_arch_type == MACH_TYPE_SHOOTER_CT)
S
Sandeep Paulraj 已提交
14140
#else
M
Marek Vasut 已提交
14141
# define machine_is_shooter_ct()	(0)
S
Sandeep Paulraj 已提交
14142 14143
#endif

M
Marek Vasut 已提交
14144
#ifdef CONFIG_MACH_BLISS
S
Sandeep Paulraj 已提交
14145 14146 14147 14148
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14149
#  define machine_arch_type	MACH_TYPE_BLISS
S
Sandeep Paulraj 已提交
14150
# endif
M
Marek Vasut 已提交
14151
# define machine_is_bliss()	(machine_arch_type == MACH_TYPE_BLISS)
S
Sandeep Paulraj 已提交
14152
#else
M
Marek Vasut 已提交
14153
# define machine_is_bliss()	(0)
S
Sandeep Paulraj 已提交
14154 14155
#endif

M
Marek Vasut 已提交
14156
#ifdef CONFIG_MACH_BLISSC
S
Sandeep Paulraj 已提交
14157 14158 14159 14160
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14161
#  define machine_arch_type	MACH_TYPE_BLISSC
S
Sandeep Paulraj 已提交
14162
# endif
M
Marek Vasut 已提交
14163
# define machine_is_blissc()	(machine_arch_type == MACH_TYPE_BLISSC)
S
Sandeep Paulraj 已提交
14164
#else
M
Marek Vasut 已提交
14165
# define machine_is_blissc()	(0)
S
Sandeep Paulraj 已提交
14166 14167
#endif

M
Marek Vasut 已提交
14168
#ifdef CONFIG_MACH_THALES_ADC
S
Sandeep Paulraj 已提交
14169 14170 14171 14172
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14173
#  define machine_arch_type	MACH_TYPE_THALES_ADC
S
Sandeep Paulraj 已提交
14174
# endif
M
Marek Vasut 已提交
14175
# define machine_is_thales_adc()	(machine_arch_type == MACH_TYPE_THALES_ADC)
S
Sandeep Paulraj 已提交
14176
#else
M
Marek Vasut 已提交
14177
# define machine_is_thales_adc()	(0)
S
Sandeep Paulraj 已提交
14178 14179
#endif

M
Marek Vasut 已提交
14180
#ifdef CONFIG_MACH_UBISYS_P9D_EVP
S
Sandeep Paulraj 已提交
14181 14182 14183 14184
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14185
#  define machine_arch_type	MACH_TYPE_UBISYS_P9D_EVP
S
Sandeep Paulraj 已提交
14186
# endif
M
Marek Vasut 已提交
14187
# define machine_is_ubisys_p9d_evp()	(machine_arch_type == MACH_TYPE_UBISYS_P9D_EVP)
S
Sandeep Paulraj 已提交
14188
#else
M
Marek Vasut 已提交
14189
# define machine_is_ubisys_p9d_evp()	(0)
S
Sandeep Paulraj 已提交
14190 14191
#endif

M
Marek Vasut 已提交
14192
#ifdef CONFIG_MACH_ATDGP318
S
Sandeep Paulraj 已提交
14193 14194 14195 14196
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
M
Marek Vasut 已提交
14197
#  define machine_arch_type	MACH_TYPE_ATDGP318
S
Sandeep Paulraj 已提交
14198
# endif
M
Marek Vasut 已提交
14199
# define machine_is_atdgp318()	(machine_arch_type == MACH_TYPE_ATDGP318)
S
Sandeep Paulraj 已提交
14200
#else
M
Marek Vasut 已提交
14201
# define machine_is_atdgp318()	(0)
S
Sandeep Paulraj 已提交
14202 14203
#endif

14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215
#ifdef CONFIG_MACH_OMAP5_SEVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type     __machine_arch_type
# else
#  define machine_arch_type     MACH_TYPE_OMAP5_SEVM
# endif
# define machine_is_omap5_sevm()      (machine_arch_type == MACH_TYPE_OMAP5_SEVM)
#else
# define machine_is_omap5_sevm()      (0)
#endif

14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227
#ifdef CONFIG_MACH_ARMADILLO800EVA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type __machine_arch_type
# else
#  define machine_arch_type MACH_TYPE_ARMADILLO800EVA
# endif
# define machine_is_armadillo800eva()	(machine_arch_type == MACH_TYPE_ARMADILLO800EVA)
#else
# define machine_is_armadillo800eva()	(0)
#endif

14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239
#ifdef CONFIG_MACH_KZM9G
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type __machine_arch_type
# else
#  define machine_arch_type MACH_TYPE_KZM9G
# endif
# define machine_is_kzm9g()	(machine_arch_type == MACH_TYPE_KZM9G)
#else
# define machine_is_kzm9g()	(0)
#endif

14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251
#ifdef CONFIG_MACH_COLIBRI_T30
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COLIBRI_T30
# endif
# define machine_is_colibri_t30()	(machine_arch_type == MACH_TYPE_COLIBRI_T30)
#else
# define machine_is_colibri_t30()	(0)
#endif

14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263
#ifdef CONFIG_MACH_APALIS_T30
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APALIS_T30
# endif
# define machine_is_apalis_t30()	(machine_arch_type == MACH_TYPE_APALIS_T30)
#else
# define machine_is_apalis_t30()	(0)
#endif

W
wdenk 已提交
14264 14265 14266 14267 14268 14269 14270 14271 14272
/*
 * These have not yet been registered
 */

#ifndef machine_arch_type
#define machine_arch_type	__machine_arch_type
#endif

#endif