]>
Commit | Line | Data |
---|---|---|
1cb8e980 | 1 | /* |
98404649 | 2 | * This was automagically generated from arch/arm/tools/mach-types! |
1cb8e980 WD |
3 | * Do NOT edit |
4 | */ | |
5 | ||
6 | #ifndef __ASM_ARM_MACH_TYPE_H | |
7 | #define __ASM_ARM_MACH_TYPE_H | |
8 | ||
1cb8e980 WD |
9 | #ifndef __ASSEMBLY__ |
10 | /* The type of machine we're running on */ | |
11 | extern unsigned int __machine_arch_type; | |
12 | #endif | |
13 | ||
14 | /* see arch/arm/kernel/arch.c for a description of these */ | |
15 | #define MACH_TYPE_EBSA110 0 | |
16 | #define MACH_TYPE_RISCPC 1 | |
17 | #define MACH_TYPE_NEXUSPCI 3 | |
18 | #define MACH_TYPE_EBSA285 4 | |
19 | #define MACH_TYPE_NETWINDER 5 | |
20 | #define MACH_TYPE_CATS 6 | |
21 | #define MACH_TYPE_TBOX 7 | |
22 | #define MACH_TYPE_CO285 8 | |
23 | #define MACH_TYPE_CLPS7110 9 | |
24 | #define MACH_TYPE_ARCHIMEDES 10 | |
25 | #define MACH_TYPE_A5K 11 | |
26 | #define MACH_TYPE_ETOILE 12 | |
27 | #define MACH_TYPE_LACIE_NAS 13 | |
28 | #define MACH_TYPE_CLPS7500 14 | |
29 | #define MACH_TYPE_SHARK 15 | |
30 | #define MACH_TYPE_BRUTUS 16 | |
31 | #define MACH_TYPE_PERSONAL_SERVER 17 | |
32 | #define MACH_TYPE_ITSY 18 | |
33 | #define MACH_TYPE_L7200 19 | |
34 | #define MACH_TYPE_PLEB 20 | |
35 | #define MACH_TYPE_INTEGRATOR 21 | |
36 | #define MACH_TYPE_H3600 22 | |
37 | #define MACH_TYPE_IXP1200 23 | |
38 | #define MACH_TYPE_P720T 24 | |
39 | #define MACH_TYPE_ASSABET 25 | |
40 | #define MACH_TYPE_VICTOR 26 | |
41 | #define MACH_TYPE_LART 27 | |
42 | #define MACH_TYPE_RANGER 28 | |
43 | #define MACH_TYPE_GRAPHICSCLIENT 29 | |
44 | #define MACH_TYPE_XP860 30 | |
45 | #define MACH_TYPE_CERF 31 | |
46 | #define MACH_TYPE_NANOENGINE 32 | |
47 | #define MACH_TYPE_FPIC 33 | |
48 | #define MACH_TYPE_EXTENEX1 34 | |
49 | #define MACH_TYPE_SHERMAN 35 | |
50 | #define MACH_TYPE_ACCELENT_SA 36 | |
51 | #define MACH_TYPE_ACCELENT_L7200 37 | |
52 | #define MACH_TYPE_NETPORT 38 | |
53 | #define MACH_TYPE_PANGOLIN 39 | |
54 | #define MACH_TYPE_YOPY 40 | |
55 | #define MACH_TYPE_COOLIDGE 41 | |
56 | #define MACH_TYPE_HUW_WEBPANEL 42 | |
57 | #define MACH_TYPE_SPOTME 43 | |
58 | #define MACH_TYPE_FREEBIRD 44 | |
59 | #define MACH_TYPE_TI925 45 | |
60 | #define MACH_TYPE_RISCSTATION 46 | |
61 | #define MACH_TYPE_CAVY 47 | |
62 | #define MACH_TYPE_JORNADA720 48 | |
63 | #define MACH_TYPE_OMNIMETER 49 | |
64 | #define MACH_TYPE_EDB7211 50 | |
65 | #define MACH_TYPE_CITYGO 51 | |
66 | #define MACH_TYPE_PFS168 52 | |
67 | #define MACH_TYPE_SPOT 53 | |
68 | #define MACH_TYPE_FLEXANET 54 | |
69 | #define MACH_TYPE_WEBPAL 55 | |
70 | #define MACH_TYPE_LINPDA 56 | |
71 | #define MACH_TYPE_ANAKIN 57 | |
72 | #define MACH_TYPE_MVI 58 | |
73 | #define MACH_TYPE_JUPITER 59 | |
74 | #define MACH_TYPE_PSIONW 60 | |
75 | #define MACH_TYPE_ALN 61 | |
76 | #define MACH_TYPE_CAMELOT 62 | |
77 | #define MACH_TYPE_GDS2200 63 | |
78 | #define MACH_TYPE_PSION_SERIES7 64 | |
79 | #define MACH_TYPE_XFILE 65 | |
80 | #define MACH_TYPE_ACCELENT_EP9312 66 | |
81 | #define MACH_TYPE_IC200 67 | |
82 | #define MACH_TYPE_CREDITLART 68 | |
83 | #define MACH_TYPE_HTM 69 | |
84 | #define MACH_TYPE_IQ80310 70 | |
85 | #define MACH_TYPE_FREEBOT 71 | |
86 | #define MACH_TYPE_ENTEL 72 | |
87 | #define MACH_TYPE_ENP3510 73 | |
88 | #define MACH_TYPE_TRIZEPS 74 | |
89 | #define MACH_TYPE_NESA 75 | |
90 | #define MACH_TYPE_VENUS 76 | |
91 | #define MACH_TYPE_TARDIS 77 | |
92 | #define MACH_TYPE_MERCURY 78 | |
93 | #define MACH_TYPE_EMPEG 79 | |
94 | #define MACH_TYPE_I80200FCC 80 | |
95 | #define MACH_TYPE_ITT_CPB 81 | |
96 | #define MACH_TYPE_SVC 82 | |
97 | #define MACH_TYPE_ALPHA2 84 | |
98 | #define MACH_TYPE_ALPHA1 85 | |
99 | #define MACH_TYPE_NETARM 86 | |
100 | #define MACH_TYPE_SIMPAD 87 | |
101 | #define MACH_TYPE_PDA1 88 | |
102 | #define MACH_TYPE_LUBBOCK 89 | |
103 | #define MACH_TYPE_ANIKO 90 | |
104 | #define MACH_TYPE_CLEP7212 91 | |
105 | #define MACH_TYPE_CS89712 92 | |
106 | #define MACH_TYPE_WEARARM 93 | |
107 | #define MACH_TYPE_POSSIO_PX 94 | |
108 | #define MACH_TYPE_SIDEARM 95 | |
109 | #define MACH_TYPE_STORK 96 | |
110 | #define MACH_TYPE_SHANNON 97 | |
111 | #define MACH_TYPE_ACE 98 | |
112 | #define MACH_TYPE_BALLYARM 99 | |
113 | #define MACH_TYPE_SIMPUTER 100 | |
114 | #define MACH_TYPE_NEXTERM 101 | |
115 | #define MACH_TYPE_SA1100_ELF 102 | |
116 | #define MACH_TYPE_GATOR 103 | |
117 | #define MACH_TYPE_GRANITE 104 | |
118 | #define MACH_TYPE_CONSUS 105 | |
119 | #define MACH_TYPE_AAED2000 106 | |
120 | #define MACH_TYPE_CDB89712 107 | |
121 | #define MACH_TYPE_GRAPHICSMASTER 108 | |
122 | #define MACH_TYPE_ADSBITSY 109 | |
123 | #define MACH_TYPE_PXA_IDP 110 | |
124 | #define MACH_TYPE_PLCE 111 | |
125 | #define MACH_TYPE_PT_SYSTEM3 112 | |
126 | #define MACH_TYPE_MEDALB 113 | |
127 | #define MACH_TYPE_EAGLE 114 | |
128 | #define MACH_TYPE_DSC21 115 | |
129 | #define MACH_TYPE_DSC24 116 | |
130 | #define MACH_TYPE_TI5472 117 | |
131 | #define MACH_TYPE_AUTCPU12 118 | |
132 | #define MACH_TYPE_UENGINE 119 | |
133 | #define MACH_TYPE_BLUESTEM 120 | |
134 | #define MACH_TYPE_XINGU8 121 | |
135 | #define MACH_TYPE_BUSHSTB 122 | |
136 | #define MACH_TYPE_EPSILON1 123 | |
137 | #define MACH_TYPE_BALLOON 124 | |
138 | #define MACH_TYPE_PUPPY 125 | |
139 | #define MACH_TYPE_ELROY 126 | |
140 | #define MACH_TYPE_GMS720 127 | |
141 | #define MACH_TYPE_S24X 128 | |
142 | #define MACH_TYPE_JTEL_CLEP7312 129 | |
143 | #define MACH_TYPE_CX821XX 130 | |
144 | #define MACH_TYPE_EDB7312 131 | |
145 | #define MACH_TYPE_BSA1110 132 | |
146 | #define MACH_TYPE_POWERPIN 133 | |
147 | #define MACH_TYPE_OPENARM 134 | |
148 | #define MACH_TYPE_WHITECHAPEL 135 | |
149 | #define MACH_TYPE_H3100 136 | |
150 | #define MACH_TYPE_H3800 137 | |
151 | #define MACH_TYPE_BLUE_V1 138 | |
152 | #define MACH_TYPE_PXA_CERF 139 | |
153 | #define MACH_TYPE_ARM7TEVB 140 | |
154 | #define MACH_TYPE_D7400 141 | |
155 | #define MACH_TYPE_PIRANHA 142 | |
156 | #define MACH_TYPE_SBCAMELOT 143 | |
157 | #define MACH_TYPE_KINGS 144 | |
158 | #define MACH_TYPE_SMDK2400 145 | |
159 | #define MACH_TYPE_COLLIE 146 | |
160 | #define MACH_TYPE_IDR 147 | |
161 | #define MACH_TYPE_BADGE4 148 | |
162 | #define MACH_TYPE_WEBNET 149 | |
163 | #define MACH_TYPE_D7300 150 | |
164 | #define MACH_TYPE_CEP 151 | |
165 | #define MACH_TYPE_FORTUNET 152 | |
166 | #define MACH_TYPE_VC547X 153 | |
167 | #define MACH_TYPE_FILEWALKER 154 | |
168 | #define MACH_TYPE_NETGATEWAY 155 | |
169 | #define MACH_TYPE_SYMBOL2800 156 | |
170 | #define MACH_TYPE_SUNS 157 | |
171 | #define MACH_TYPE_FRODO 158 | |
172 | #define MACH_TYPE_MACH_TYTE_MS301 159 | |
173 | #define MACH_TYPE_MX1ADS 160 | |
174 | #define MACH_TYPE_H7201 161 | |
175 | #define MACH_TYPE_H7202 162 | |
176 | #define MACH_TYPE_AMICO 163 | |
177 | #define MACH_TYPE_IAM 164 | |
178 | #define MACH_TYPE_TT530 165 | |
179 | #define MACH_TYPE_SAM2400 166 | |
180 | #define MACH_TYPE_JORNADA56X 167 | |
181 | #define MACH_TYPE_ACTIVE 168 | |
182 | #define MACH_TYPE_IQ80321 169 | |
183 | #define MACH_TYPE_WID 170 | |
184 | #define MACH_TYPE_SABINAL 171 | |
185 | #define MACH_TYPE_IXP425_MATACUMBE 172 | |
186 | #define MACH_TYPE_MINIPRINT 173 | |
187 | #define MACH_TYPE_ADM510X 174 | |
188 | #define MACH_TYPE_SVS200 175 | |
189 | #define MACH_TYPE_ATG_TCU 176 | |
190 | #define MACH_TYPE_JORNADA820 177 | |
191 | #define MACH_TYPE_S3C44B0 178 | |
192 | #define MACH_TYPE_MARGIS2 179 | |
193 | #define MACH_TYPE_KS8695 180 | |
194 | #define MACH_TYPE_BRH 181 | |
195 | #define MACH_TYPE_S3C2410 182 | |
196 | #define MACH_TYPE_POSSIO_PX30 183 | |
197 | #define MACH_TYPE_S3C2800 184 | |
198 | #define MACH_TYPE_FLEETWOOD 185 | |
199 | #define MACH_TYPE_OMAHA 186 | |
200 | #define MACH_TYPE_TA7 187 | |
201 | #define MACH_TYPE_NOVA 188 | |
202 | #define MACH_TYPE_HMK 189 | |
52f52c14 | 203 | #define MACH_TYPE_KARO 190 |
1cb8e980 WD |
204 | #define MACH_TYPE_FESTER 191 |
205 | #define MACH_TYPE_GPI 192 | |
206 | #define MACH_TYPE_SMDK2410 193 | |
a1f4a3dd | 207 | #define MACH_TYPE_I519 194 |
1cb8e980 WD |
208 | #define MACH_TYPE_NEXIO 195 |
209 | #define MACH_TYPE_BITBOX 196 | |
210 | #define MACH_TYPE_G200 197 | |
211 | #define MACH_TYPE_GILL 198 | |
212 | #define MACH_TYPE_PXA_MERCURY 199 | |
213 | #define MACH_TYPE_CEIVA 200 | |
214 | #define MACH_TYPE_FRET 201 | |
215 | #define MACH_TYPE_EMAILPHONE 202 | |
216 | #define MACH_TYPE_H3900 203 | |
217 | #define MACH_TYPE_PXA1 204 | |
218 | #define MACH_TYPE_KOAN369 205 | |
219 | #define MACH_TYPE_COGENT 206 | |
220 | #define MACH_TYPE_ESL_SIMPUTER 207 | |
221 | #define MACH_TYPE_ESL_SIMPUTER_CLR 208 | |
222 | #define MACH_TYPE_ESL_SIMPUTER_BW 209 | |
223 | #define MACH_TYPE_HHP_CRADLE 210 | |
224 | #define MACH_TYPE_HE500 211 | |
225 | #define MACH_TYPE_INHANDELF2 212 | |
226 | #define MACH_TYPE_INHANDFTIP 213 | |
227 | #define MACH_TYPE_DNP1110 214 | |
228 | #define MACH_TYPE_PNP1110 215 | |
229 | #define MACH_TYPE_CSB226 216 | |
230 | #define MACH_TYPE_ARNOLD 217 | |
98404649 | 231 | #define MACH_TYPE_VOICEBLUE 218 |
1cb8e980 | 232 | #define MACH_TYPE_JZ8028 219 |
a1f4a3dd | 233 | #define MACH_TYPE_H5400 220 |
1cb8e980 WD |
234 | #define MACH_TYPE_FORTE 221 |
235 | #define MACH_TYPE_ACAM 222 | |
236 | #define MACH_TYPE_ABOX 223 | |
237 | #define MACH_TYPE_ATMEL 224 | |
238 | #define MACH_TYPE_SITSANG 225 | |
239 | #define MACH_TYPE_CPU1110LCDNET 226 | |
240 | #define MACH_TYPE_MPL_VCMA9 227 | |
241 | #define MACH_TYPE_OPUS_A1 228 | |
242 | #define MACH_TYPE_DAYTONA 229 | |
243 | #define MACH_TYPE_KILLBEAR 230 | |
244 | #define MACH_TYPE_YOHO 231 | |
245 | #define MACH_TYPE_JASPER 232 | |
246 | #define MACH_TYPE_DSC25 233 | |
a1f4a3dd | 247 | #define MACH_TYPE_OMAP_INNOVATOR 234 |
1cb8e980 WD |
248 | #define MACH_TYPE_RAMSES 235 |
249 | #define MACH_TYPE_S28X 236 | |
250 | #define MACH_TYPE_MPORT3 237 | |
251 | #define MACH_TYPE_PXA_EAGLE250 238 | |
252 | #define MACH_TYPE_PDB 239 | |
253 | #define MACH_TYPE_BLUE_2G 240 | |
254 | #define MACH_TYPE_BLUEARCH 241 | |
98404649 WD |
255 | #define MACH_TYPE_IXDP2400 242 |
256 | #define MACH_TYPE_IXDP2800 243 | |
1cb8e980 WD |
257 | #define MACH_TYPE_EXPLORER 244 |
258 | #define MACH_TYPE_IXDP425 245 | |
259 | #define MACH_TYPE_CHIMP 246 | |
260 | #define MACH_TYPE_STORK_NEST 247 | |
261 | #define MACH_TYPE_STORK_EGG 248 | |
262 | #define MACH_TYPE_WISMO 249 | |
263 | #define MACH_TYPE_EZLINX 250 | |
a1f4a3dd | 264 | #define MACH_TYPE_AT91RM9200 251 |
799891ef | 265 | #define MACH_TYPE_ADTECH_ORION 252 |
1cb8e980 WD |
266 | #define MACH_TYPE_NEPTUNE 253 |
267 | #define MACH_TYPE_HACKKIT 254 | |
268 | #define MACH_TYPE_PXA_WINS30 255 | |
269 | #define MACH_TYPE_LAVINNA 256 | |
270 | #define MACH_TYPE_PXA_UENGINE 257 | |
271 | #define MACH_TYPE_INNOKOM 258 | |
52f52c14 WD |
272 | #define MACH_TYPE_BMS 259 |
273 | #define MACH_TYPE_IXCDP1100 260 | |
274 | #define MACH_TYPE_PRPMC1100 261 | |
275 | #define MACH_TYPE_AT91RM9200DK 262 | |
276 | #define MACH_TYPE_ARMSTICK 263 | |
277 | #define MACH_TYPE_ARMONIE 264 | |
278 | #define MACH_TYPE_MPORT1 265 | |
279 | #define MACH_TYPE_S3C5410 266 | |
280 | #define MACH_TYPE_ZCP320A 267 | |
281 | #define MACH_TYPE_I_BOX 268 | |
282 | #define MACH_TYPE_STLC1502 269 | |
283 | #define MACH_TYPE_SIREN 270 | |
284 | #define MACH_TYPE_GREENLAKE 271 | |
285 | #define MACH_TYPE_ARGUS 272 | |
286 | #define MACH_TYPE_COMBADGE 273 | |
287 | #define MACH_TYPE_ROKEPXA 274 | |
288 | #define MACH_TYPE_CINTEGRATOR 275 | |
289 | #define MACH_TYPE_GUIDEA07 276 | |
290 | #define MACH_TYPE_TAT257 277 | |
291 | #define MACH_TYPE_IGP2425 278 | |
292 | #define MACH_TYPE_BLUEGRAMMA 279 | |
293 | #define MACH_TYPE_IPOD 280 | |
294 | #define MACH_TYPE_ADSBITSYX 281 | |
295 | #define MACH_TYPE_TRIZEPS2 282 | |
296 | #define MACH_TYPE_VIPER 283 | |
297 | #define MACH_TYPE_ADSBITSYPLUS 284 | |
298 | #define MACH_TYPE_ADSAGC 285 | |
299 | #define MACH_TYPE_STP7312 286 | |
a1f4a3dd | 300 | #define MACH_TYPE_NX_PHNX 287 |
52f52c14 WD |
301 | #define MACH_TYPE_WEP_EP250 288 |
302 | #define MACH_TYPE_INHANDELF3 289 | |
303 | #define MACH_TYPE_ADI_COYOTE 290 | |
304 | #define MACH_TYPE_IYONIX 291 | |
305 | #define MACH_TYPE_DAMICAM_SA1110 292 | |
306 | #define MACH_TYPE_MEG03 293 | |
307 | #define MACH_TYPE_PXA_WHITECHAPEL 294 | |
308 | #define MACH_TYPE_NWSC 295 | |
309 | #define MACH_TYPE_NWLARM 296 | |
310 | #define MACH_TYPE_IXP425_MGUARD 297 | |
311 | #define MACH_TYPE_PXA_NETDCU4 298 | |
312 | #define MACH_TYPE_IXDP2401 299 | |
313 | #define MACH_TYPE_IXDP2801 300 | |
314 | #define MACH_TYPE_ZODIAC 301 | |
315 | #define MACH_TYPE_ARMMODUL 302 | |
316 | #define MACH_TYPE_KETOP 303 | |
317 | #define MACH_TYPE_AV7200 304 | |
318 | #define MACH_TYPE_ARCH_TI925 305 | |
319 | #define MACH_TYPE_ACQ200 306 | |
320 | #define MACH_TYPE_PT_DAFIT 307 | |
321 | #define MACH_TYPE_IHBA 308 | |
322 | #define MACH_TYPE_QUINQUE 309 | |
323 | #define MACH_TYPE_NIMBRAONE 310 | |
324 | #define MACH_TYPE_NIMBRA29X 311 | |
325 | #define MACH_TYPE_NIMBRA210 312 | |
326 | #define MACH_TYPE_HHP_D95XX 313 | |
327 | #define MACH_TYPE_LABARM 314 | |
328 | #define MACH_TYPE_M825XX 315 | |
329 | #define MACH_TYPE_M7100 316 | |
330 | #define MACH_TYPE_NIPC2 317 | |
331 | #define MACH_TYPE_FU7202 318 | |
332 | #define MACH_TYPE_ADSAGX 319 | |
333 | #define MACH_TYPE_PXA_POOH 320 | |
334 | #define MACH_TYPE_BANDON 321 | |
335 | #define MACH_TYPE_PCM7210 322 | |
336 | #define MACH_TYPE_NMS9200 323 | |
337 | #define MACH_TYPE_LOGODL 324 | |
338 | #define MACH_TYPE_M7140 325 | |
339 | #define MACH_TYPE_KOREBOT 326 | |
340 | #define MACH_TYPE_IQ31244 327 | |
341 | #define MACH_TYPE_KOAN393 328 | |
342 | #define MACH_TYPE_INHANDFTIP3 329 | |
343 | #define MACH_TYPE_GONZO 330 | |
344 | #define MACH_TYPE_BAST 331 | |
345 | #define MACH_TYPE_SCANPASS 332 | |
346 | #define MACH_TYPE_EP7312_POOH 333 | |
347 | #define MACH_TYPE_TA7S 334 | |
348 | #define MACH_TYPE_TA7V 335 | |
349 | #define MACH_TYPE_ICARUS 336 | |
350 | #define MACH_TYPE_H1900 337 | |
351 | #define MACH_TYPE_GEMINI 338 | |
352 | #define MACH_TYPE_AXIM 339 | |
353 | #define MACH_TYPE_AUDIOTRON 340 | |
354 | #define MACH_TYPE_H2200 341 | |
355 | #define MACH_TYPE_LOOX600 342 | |
356 | #define MACH_TYPE_NIOP 343 | |
357 | #define MACH_TYPE_DM310 344 | |
a1f4a3dd WD |
358 | #define MACH_TYPE_SEEDPXA_C2 345 |
359 | #define MACH_TYPE_IXP4XX_MGUARD_PCI 346 | |
360 | #define MACH_TYPE_H1940 347 | |
361 | #define MACH_TYPE_SCORPIO 348 | |
362 | #define MACH_TYPE_VIVA 349 | |
363 | #define MACH_TYPE_PXA_XCARD 350 | |
364 | #define MACH_TYPE_CSB335 351 | |
365 | #define MACH_TYPE_IXRD425 352 | |
366 | #define MACH_TYPE_IQ80315 353 | |
367 | #define MACH_TYPE_NMP7312 354 | |
368 | #define MACH_TYPE_CX861XX 355 | |
369 | #define MACH_TYPE_ENP2611 356 | |
370 | #define MACH_TYPE_XDA 357 | |
371 | #define MACH_TYPE_CSIR_IMS 358 | |
372 | #define MACH_TYPE_IXP421_DNAEETH 359 | |
373 | #define MACH_TYPE_POCKETSERV9200 360 | |
374 | #define MACH_TYPE_TOTO 361 | |
375 | #define MACH_TYPE_S3C2440 362 | |
376 | #define MACH_TYPE_KS8695P 363 | |
377 | #define MACH_TYPE_SE4000 364 | |
378 | #define MACH_TYPE_QUADRICEPS 365 | |
379 | #define MACH_TYPE_BRONCO 366 | |
380 | #define MACH_TYPE_ESL_SOFCOMP 368 | |
381 | #define MACH_TYPE_S5C7375 369 | |
382 | #define MACH_TYPE_SPEARHEAD 370 | |
383 | #define MACH_TYPE_PANTERA 371 | |
384 | #define MACH_TYPE_PRAYOGLITE 372 | |
385 | #define MACH_TYPE_GUMSTIK 373 | |
386 | #define MACH_TYPE_RCUBE 374 | |
387 | #define MACH_TYPE_REA_OLV 375 | |
388 | #define MACH_TYPE_PXA_IPHONE 376 | |
389 | #define MACH_TYPE_S3C3410 377 | |
390 | #define MACH_TYPE_ESPD_4510B 378 | |
391 | #define MACH_TYPE_MP1X 379 | |
392 | #define MACH_TYPE_AT91RM9200TB 380 | |
393 | #define MACH_TYPE_ADSVGX 381 | |
394 | #define MACH_TYPE_OMAP_H2 382 | |
395 | #define MACH_TYPE_PELEE 383 | |
396 | #define MACH_TYPE_E740 384 | |
397 | #define MACH_TYPE_IQ80331 385 | |
398 | #define MACH_TYPE_VERSATILE_PB 387 | |
399 | #define MACH_TYPE_KEV7A400 388 | |
f832d8a1 WD |
400 | #define MACH_TYPE_LPD7A400 389 |
401 | #define MACH_TYPE_LPD7A404 390 | |
a1f4a3dd WD |
402 | #define MACH_TYPE_FUJITSU_CAMELOT 391 |
403 | #define MACH_TYPE_JANUS2M 392 | |
404 | #define MACH_TYPE_EMBTF 393 | |
405 | #define MACH_TYPE_HPM 394 | |
406 | #define MACH_TYPE_SMDK2410TK 395 | |
407 | #define MACH_TYPE_SMDK2410AJ 396 | |
408 | #define MACH_TYPE_STREETRACER 397 | |
409 | #define MACH_TYPE_EFRAME 398 | |
410 | #define MACH_TYPE_CSB337 399 | |
411 | #define MACH_TYPE_PXA_LARK 400 | |
412 | #define MACH_TYPE_PNP2110 401 | |
413 | #define MACH_TYPE_TCC72X 402 | |
414 | #define MACH_TYPE_ALTAIR 403 | |
415 | #define MACH_TYPE_KC3 404 | |
416 | #define MACH_TYPE_SINTEFTD 405 | |
417 | #define MACH_TYPE_MAINSTONE 406 | |
418 | #define MACH_TYPE_ADAY4X 407 | |
419 | #define MACH_TYPE_LITE300 408 | |
420 | #define MACH_TYPE_S5C7376 409 | |
421 | #define MACH_TYPE_MT02 410 | |
422 | #define MACH_TYPE_MPORT3S 411 | |
423 | #define MACH_TYPE_RA_ALPHA 412 | |
424 | #define MACH_TYPE_XCEP 413 | |
f43ad539 | 425 | #define MACH_TYPE_ARCOM_VULCAN 414 |
a1f4a3dd WD |
426 | #define MACH_TYPE_STARGATE 415 |
427 | #define MACH_TYPE_ARMADILLOJ 416 | |
428 | #define MACH_TYPE_ELROY_JACK 417 | |
429 | #define MACH_TYPE_BACKEND 418 | |
430 | #define MACH_TYPE_S5LINBOX 419 | |
431 | #define MACH_TYPE_NOMADIK 420 | |
432 | #define MACH_TYPE_IA_CPU_9200 421 | |
433 | #define MACH_TYPE_AT91_BJA1 422 | |
434 | #define MACH_TYPE_CORGI 423 | |
435 | #define MACH_TYPE_POODLE 424 | |
436 | #define MACH_TYPE_TEN 425 | |
437 | #define MACH_TYPE_ROVERP5P 426 | |
438 | #define MACH_TYPE_SC2700 427 | |
439 | #define MACH_TYPE_EX_EAGLE 428 | |
440 | #define MACH_TYPE_NX_PXA12 429 | |
441 | #define MACH_TYPE_NX_PXA5 430 | |
442 | #define MACH_TYPE_BLACKBOARD2 431 | |
443 | #define MACH_TYPE_I819 432 | |
444 | #define MACH_TYPE_IXMB995E 433 | |
445 | #define MACH_TYPE_SKYRIDER 434 | |
446 | #define MACH_TYPE_SKYHAWK 435 | |
447 | #define MACH_TYPE_ENTERPRISE 436 | |
448 | #define MACH_TYPE_DEP2410 437 | |
449 | #define MACH_TYPE_ARMCORE 438 | |
450 | #define MACH_TYPE_HOBBIT 439 | |
451 | #define MACH_TYPE_H7210 440 | |
452 | #define MACH_TYPE_PXA_NETDCU5 441 | |
453 | #define MACH_TYPE_ACC 442 | |
454 | #define MACH_TYPE_ESL_SARVA 443 | |
455 | #define MACH_TYPE_XM250 444 | |
456 | #define MACH_TYPE_T6TC1XB 445 | |
457 | #define MACH_TYPE_ESS710 446 | |
f43ad539 | 458 | #define MACH_TYPE_MX31ADS 447 |
a1f4a3dd WD |
459 | #define MACH_TYPE_HIMALAYA 448 |
460 | #define MACH_TYPE_BOLFENK 449 | |
461 | #define MACH_TYPE_AT91RM9200KR 450 | |
462 | #define MACH_TYPE_EDB9312 451 | |
463 | #define MACH_TYPE_OMAP_GENERIC 452 | |
464 | #define MACH_TYPE_AXIMX3 453 | |
465 | #define MACH_TYPE_EB67XDIP 454 | |
466 | #define MACH_TYPE_WEBTXS 455 | |
467 | #define MACH_TYPE_HAWK 456 | |
468 | #define MACH_TYPE_CCAT91SBC001 457 | |
469 | #define MACH_TYPE_EXPRESSO 458 | |
470 | #define MACH_TYPE_H4000 459 | |
471 | #define MACH_TYPE_DINO 460 | |
472 | #define MACH_TYPE_ML675K 461 | |
473 | #define MACH_TYPE_EDB9301 462 | |
474 | #define MACH_TYPE_EDB9315 463 | |
475 | #define MACH_TYPE_RECIVA_TT 464 | |
476 | #define MACH_TYPE_CSTCB01 465 | |
477 | #define MACH_TYPE_CSTCB1 466 | |
478 | #define MACH_TYPE_SHADWELL 467 | |
479 | #define MACH_TYPE_GOEPEL263 468 | |
480 | #define MACH_TYPE_ACQ100 469 | |
481 | #define MACH_TYPE_MX1FS2 470 | |
482 | #define MACH_TYPE_HIPTOP_G1 471 | |
483 | #define MACH_TYPE_SPARKY 472 | |
484 | #define MACH_TYPE_NS9750 473 | |
485 | #define MACH_TYPE_PHOENIX 474 | |
486 | #define MACH_TYPE_VR1000 475 | |
487 | #define MACH_TYPE_DEISTERPXA 476 | |
488 | #define MACH_TYPE_BCM1160 477 | |
489 | #define MACH_TYPE_PCM022 478 | |
490 | #define MACH_TYPE_ADSGCX 479 | |
491 | #define MACH_TYPE_DREADNAUGHT 480 | |
492 | #define MACH_TYPE_DM320 481 | |
493 | #define MACH_TYPE_MARKOV 482 | |
494 | #define MACH_TYPE_COS7A400 483 | |
495 | #define MACH_TYPE_MILANO 484 | |
496 | #define MACH_TYPE_UE9328 485 | |
497 | #define MACH_TYPE_UEX255 486 | |
498 | #define MACH_TYPE_UE2410 487 | |
499 | #define MACH_TYPE_A620 488 | |
500 | #define MACH_TYPE_OCELOT 489 | |
501 | #define MACH_TYPE_CHEETAH 490 | |
502 | #define MACH_TYPE_OMAP_PERSEUS2 491 | |
503 | #define MACH_TYPE_ZVUE 492 | |
504 | #define MACH_TYPE_ROVERP1 493 | |
505 | #define MACH_TYPE_ASIDIAL2 494 | |
506 | #define MACH_TYPE_S3C24A0 495 | |
507 | #define MACH_TYPE_E800 496 | |
508 | #define MACH_TYPE_E750 497 | |
509 | #define MACH_TYPE_S3C5500 498 | |
510 | #define MACH_TYPE_SMDK5500 499 | |
511 | #define MACH_TYPE_SIGNALSYNC 500 | |
512 | #define MACH_TYPE_NBC 501 | |
513 | #define MACH_TYPE_KODIAK 502 | |
514 | #define MACH_TYPE_NETBOOKPRO 503 | |
515 | #define MACH_TYPE_HW90200 504 | |
516 | #define MACH_TYPE_CONDOR 505 | |
517 | #define MACH_TYPE_CUP 506 | |
518 | #define MACH_TYPE_KITE 507 | |
519 | #define MACH_TYPE_SCB9328 508 | |
520 | #define MACH_TYPE_OMAP_H3 509 | |
521 | #define MACH_TYPE_OMAP_H4 510 | |
522 | #define MACH_TYPE_N10 511 | |
523 | #define MACH_TYPE_MONTAJADE 512 | |
524 | #define MACH_TYPE_SG560 513 | |
525 | #define MACH_TYPE_DP1000 514 | |
526 | #define MACH_TYPE_OMAP_OSK 515 | |
527 | #define MACH_TYPE_RG100V3 516 | |
528 | #define MACH_TYPE_MX2ADS 517 | |
529 | #define MACH_TYPE_PXA_KILO 518 | |
530 | #define MACH_TYPE_IXP4XX_EAGLE 519 | |
531 | #define MACH_TYPE_TOSA 520 | |
532 | #define MACH_TYPE_MB2520F 521 | |
533 | #define MACH_TYPE_EMC1000 522 | |
534 | #define MACH_TYPE_TIDSC25 523 | |
535 | #define MACH_TYPE_AKCPMXL 524 | |
536 | #define MACH_TYPE_AV3XX 525 | |
537 | #define MACH_TYPE_AVILA 526 | |
538 | #define MACH_TYPE_PXA_MPM10 527 | |
539 | #define MACH_TYPE_PXA_KYANITE 528 | |
540 | #define MACH_TYPE_SGOLD 529 | |
541 | #define MACH_TYPE_OSCAR 530 | |
542 | #define MACH_TYPE_EPXA4USB2 531 | |
543 | #define MACH_TYPE_XSENGINE 532 | |
544 | #define MACH_TYPE_IP600 533 | |
545 | #define MACH_TYPE_MCAN2 534 | |
546 | #define MACH_TYPE_DDI_BLUERIDGE 535 | |
547 | #define MACH_TYPE_SKYMINDER 536 | |
548 | #define MACH_TYPE_LPD79520 537 | |
549 | #define MACH_TYPE_EDB9302 538 | |
550 | #define MACH_TYPE_HW90340 539 | |
551 | #define MACH_TYPE_CIP_BOX 540 | |
552 | #define MACH_TYPE_IVPN 541 | |
553 | #define MACH_TYPE_RSOC2 542 | |
554 | #define MACH_TYPE_HUSKY 543 | |
555 | #define MACH_TYPE_BOXER 544 | |
556 | #define MACH_TYPE_SHEPHERD 545 | |
557 | #define MACH_TYPE_AML42800AA 546 | |
558 | #define MACH_TYPE_MACH_TYPE_ML674001 547 | |
559 | #define MACH_TYPE_LPC2294 548 | |
560 | #define MACH_TYPE_SWITCHGRASS 549 | |
561 | #define MACH_TYPE_ENS_CMU 550 | |
562 | #define MACH_TYPE_MM6_SDB 551 | |
563 | #define MACH_TYPE_SATURN 552 | |
f43ad539 WD |
564 | #define MACH_TYPE_I30030EVB 553 |
565 | #define MACH_TYPE_MXC27530EVB 554 | |
731215eb WD |
566 | #define MACH_TYPE_SMDK2800 555 |
567 | #define MACH_TYPE_MTWILSON 556 | |
568 | #define MACH_TYPE_ZITI 557 | |
569 | #define MACH_TYPE_GRANDFATHER 558 | |
570 | #define MACH_TYPE_TENGINE 559 | |
571 | #define MACH_TYPE_S3C2460 560 | |
572 | #define MACH_TYPE_PDM 561 | |
573 | #define MACH_TYPE_H4700 562 | |
574 | #define MACH_TYPE_H6300 563 | |
575 | #define MACH_TYPE_RZ1700 564 | |
576 | #define MACH_TYPE_A716 565 | |
577 | #define MACH_TYPE_ESTK2440A 566 | |
578 | #define MACH_TYPE_ATWIXP425 567 | |
579 | #define MACH_TYPE_CSB336 568 | |
580 | #define MACH_TYPE_RIRM2 569 | |
581 | #define MACH_TYPE_CX23518 570 | |
582 | #define MACH_TYPE_CX2351X 571 | |
583 | #define MACH_TYPE_COMPUTIME 572 | |
584 | #define MACH_TYPE_IZARUS 573 | |
585 | #define MACH_TYPE_RTS 574 | |
586 | #define MACH_TYPE_SE5100 575 | |
587 | #define MACH_TYPE_S3C2510 576 | |
588 | #define MACH_TYPE_CSB437TL 577 | |
589 | #define MACH_TYPE_SLAUSON 578 | |
590 | #define MACH_TYPE_PEARLRIVER 579 | |
591 | #define MACH_TYPE_TDC_P210 580 | |
592 | #define MACH_TYPE_SG580 581 | |
593 | #define MACH_TYPE_WRSBCARM7 582 | |
594 | #define MACH_TYPE_IPD 583 | |
595 | #define MACH_TYPE_PXA_DNP2110 584 | |
596 | #define MACH_TYPE_XAENIAX 585 | |
597 | #define MACH_TYPE_SOMN4250 586 | |
598 | #define MACH_TYPE_PLEB2 587 | |
98404649 WD |
599 | #define MACH_TYPE_CORNWALLIS 588 |
600 | #define MACH_TYPE_GURNEY_DRV 589 | |
731215eb WD |
601 | #define MACH_TYPE_CHAFFEE 590 |
602 | #define MACH_TYPE_RMS101 591 | |
603 | #define MACH_TYPE_RX3715 592 | |
604 | #define MACH_TYPE_SWIFT 593 | |
605 | #define MACH_TYPE_ROVERP7 594 | |
606 | #define MACH_TYPE_PR818S 595 | |
607 | #define MACH_TYPE_TRXPRO 596 | |
608 | #define MACH_TYPE_NSLU2 597 | |
609 | #define MACH_TYPE_E400 598 | |
610 | #define MACH_TYPE_TRAB 599 | |
611 | #define MACH_TYPE_CMC_PU2 600 | |
612 | #define MACH_TYPE_FULCRUM 601 | |
613 | #define MACH_TYPE_NETGATE42X 602 | |
614 | #define MACH_TYPE_STR710 603 | |
615 | #define MACH_TYPE_IXDPG425 604 | |
616 | #define MACH_TYPE_TOMTOMGO 605 | |
617 | #define MACH_TYPE_VERSATILE_AB 606 | |
618 | #define MACH_TYPE_EDB9307 607 | |
619 | #define MACH_TYPE_SG565 608 | |
620 | #define MACH_TYPE_LPD79524 609 | |
621 | #define MACH_TYPE_LPD79525 610 | |
622 | #define MACH_TYPE_RMS100 611 | |
623 | #define MACH_TYPE_KB9200 612 | |
624 | #define MACH_TYPE_SX1 613 | |
98404649 WD |
625 | #define MACH_TYPE_HMS39C7092 614 |
626 | #define MACH_TYPE_ARMADILLO 615 | |
627 | #define MACH_TYPE_IPCU 616 | |
628 | #define MACH_TYPE_LOOX720 617 | |
629 | #define MACH_TYPE_IXDP465 618 | |
630 | #define MACH_TYPE_IXDP2351 619 | |
631 | #define MACH_TYPE_ADSVIX 620 | |
632 | #define MACH_TYPE_DM270 621 | |
633 | #define MACH_TYPE_SOCLTPLUS 622 | |
634 | #define MACH_TYPE_ECIA 623 | |
635 | #define MACH_TYPE_CM4008 624 | |
636 | #define MACH_TYPE_P2001 625 | |
637 | #define MACH_TYPE_TWISTER 626 | |
638 | #define MACH_TYPE_MUDSHARK 627 | |
639 | #define MACH_TYPE_HB2 628 | |
640 | #define MACH_TYPE_IQ80332 629 | |
641 | #define MACH_TYPE_SENDT 630 | |
642 | #define MACH_TYPE_MX2JAZZ 631 | |
643 | #define MACH_TYPE_MULTIIO 632 | |
644 | #define MACH_TYPE_HRDISPLAY 633 | |
f43ad539 | 645 | #define MACH_TYPE_MXC27530ADS 634 |
98404649 WD |
646 | #define MACH_TYPE_TRIZEPS3 635 |
647 | #define MACH_TYPE_ZEFEERDZA 636 | |
648 | #define MACH_TYPE_ZEFEERDZB 637 | |
649 | #define MACH_TYPE_ZEFEERDZG 638 | |
650 | #define MACH_TYPE_ZEFEERDZN 639 | |
651 | #define MACH_TYPE_ZEFEERDZQ 640 | |
652 | #define MACH_TYPE_GTWX5715 641 | |
653 | #define MACH_TYPE_ASTRO_JACK 643 | |
654 | #define MACH_TYPE_TIP03 644 | |
655 | #define MACH_TYPE_A9200EC 645 | |
656 | #define MACH_TYPE_PNX0105 646 | |
657 | #define MACH_TYPE_ADCPOECPU 647 | |
658 | #define MACH_TYPE_CSB637 648 | |
98404649 WD |
659 | #define MACH_TYPE_MB9200 650 |
660 | #define MACH_TYPE_KULUN 651 | |
661 | #define MACH_TYPE_SNAPPER 652 | |
662 | #define MACH_TYPE_OPTIMA 653 | |
663 | #define MACH_TYPE_DLHSBC 654 | |
664 | #define MACH_TYPE_X30 655 | |
665 | #define MACH_TYPE_N30 656 | |
666 | #define MACH_TYPE_MANGA_KS8695 657 | |
667 | #define MACH_TYPE_AJAX 658 | |
668 | #define MACH_TYPE_NEC_MP900 659 | |
669 | #define MACH_TYPE_VVTK1000 661 | |
670 | #define MACH_TYPE_KAFA 662 | |
671 | #define MACH_TYPE_VVTK3000 663 | |
672 | #define MACH_TYPE_PIMX1 664 | |
673 | #define MACH_TYPE_OLLIE 665 | |
674 | #define MACH_TYPE_SKYMAX 666 | |
675 | #define MACH_TYPE_JAZZ 667 | |
676 | #define MACH_TYPE_TEL_T3 668 | |
677 | #define MACH_TYPE_AISINO_FCR255 669 | |
678 | #define MACH_TYPE_BTWEB 670 | |
679 | #define MACH_TYPE_DBG_LH79520 671 | |
680 | #define MACH_TYPE_CM41XX 672 | |
681 | #define MACH_TYPE_TS72XX 673 | |
682 | #define MACH_TYPE_NGGPXA 674 | |
683 | #define MACH_TYPE_CSB535 675 | |
684 | #define MACH_TYPE_CSB536 676 | |
685 | #define MACH_TYPE_PXA_TRAKPOD 677 | |
686 | #define MACH_TYPE_PRAXIS 678 | |
687 | #define MACH_TYPE_LH75411 679 | |
688 | #define MACH_TYPE_OTOM 680 | |
689 | #define MACH_TYPE_NEXCODER_2440 681 | |
690 | #define MACH_TYPE_LOOX410 682 | |
691 | #define MACH_TYPE_WESTLAKE 683 | |
692 | #define MACH_TYPE_NSB 684 | |
693 | #define MACH_TYPE_ESL_SARVA_STN 685 | |
694 | #define MACH_TYPE_ESL_SARVA_TFT 686 | |
695 | #define MACH_TYPE_ESL_SARVA_IAD 687 | |
696 | #define MACH_TYPE_ESL_SARVA_ACC 688 | |
697 | #define MACH_TYPE_TYPHOON 689 | |
698 | #define MACH_TYPE_CNAV 690 | |
699 | #define MACH_TYPE_A730 691 | |
700 | #define MACH_TYPE_NETSTAR 692 | |
701 | #define MACH_TYPE_PHASEFALE_SUPERCON 693 | |
702 | #define MACH_TYPE_SHIVA1100 694 | |
703 | #define MACH_TYPE_ETEXSC 695 | |
704 | #define MACH_TYPE_IXDPG465 696 | |
705 | #define MACH_TYPE_A9M2410 697 | |
706 | #define MACH_TYPE_A9M2440 698 | |
707 | #define MACH_TYPE_A9M9750 699 | |
708 | #define MACH_TYPE_A9M9360 700 | |
709 | #define MACH_TYPE_UNC90 701 | |
710 | #define MACH_TYPE_ECO920 702 | |
711 | #define MACH_TYPE_SATVIEW 703 | |
712 | #define MACH_TYPE_ROADRUNNER 704 | |
713 | #define MACH_TYPE_AT91RM9200EK 705 | |
714 | #define MACH_TYPE_GP32 706 | |
715 | #define MACH_TYPE_GEM 707 | |
716 | #define MACH_TYPE_I858 708 | |
717 | #define MACH_TYPE_HX2750 709 | |
f43ad539 | 718 | #define MACH_TYPE_MXC91131EVB 710 |
98404649 WD |
719 | #define MACH_TYPE_P700 711 |
720 | #define MACH_TYPE_CPE 712 | |
721 | #define MACH_TYPE_SPITZ 713 | |
722 | #define MACH_TYPE_NIMBRA340 714 | |
723 | #define MACH_TYPE_LPC22XX 715 | |
724 | #define MACH_TYPE_COMET3 716 | |
725 | #define MACH_TYPE_COMET4 717 | |
726 | #define MACH_TYPE_CSB625 718 | |
727 | #define MACH_TYPE_FORTUNET2 719 | |
728 | #define MACH_TYPE_S5H2200 720 | |
729 | #define MACH_TYPE_OPTORM920 721 | |
730 | #define MACH_TYPE_ADSBITSYXB 722 | |
731 | #define MACH_TYPE_ADSSPHERE 723 | |
732 | #define MACH_TYPE_ADSPORTAL 724 | |
733 | #define MACH_TYPE_LN2410SBC 725 | |
734 | #define MACH_TYPE_CB3RUFC 726 | |
735 | #define MACH_TYPE_MP2USB 727 | |
f43ad539 WD |
736 | #define MACH_TYPE_NTNP425C 728 |
737 | #define MACH_TYPE_COLIBRI 729 | |
738 | #define MACH_TYPE_PCM7220 730 | |
739 | #define MACH_TYPE_GATEWAY7001 731 | |
740 | #define MACH_TYPE_PCM027 732 | |
741 | #define MACH_TYPE_CMPXA 733 | |
742 | #define MACH_TYPE_ANUBIS 734 | |
743 | #define MACH_TYPE_ITE8152 735 | |
744 | #define MACH_TYPE_LPC3XXX 736 | |
745 | #define MACH_TYPE_PUPPETEER 737 | |
746 | #define MACH_TYPE_MACH_VADATECH 738 | |
747 | #define MACH_TYPE_E570 739 | |
748 | #define MACH_TYPE_X50 740 | |
749 | #define MACH_TYPE_RECON 741 | |
750 | #define MACH_TYPE_XBOARDGP8 742 | |
751 | #define MACH_TYPE_FPIC2 743 | |
752 | #define MACH_TYPE_AKITA 744 | |
753 | #define MACH_TYPE_A81 745 | |
754 | #define MACH_TYPE_SVM_SC25X 746 | |
755 | #define MACH_TYPE_VADATECH020 747 | |
756 | #define MACH_TYPE_TLI 748 | |
757 | #define MACH_TYPE_EDB9315LC 749 | |
758 | #define MACH_TYPE_PASSEC 750 | |
759 | #define MACH_TYPE_DS_TIGER 751 | |
760 | #define MACH_TYPE_E310 752 | |
761 | #define MACH_TYPE_E330 753 | |
762 | #define MACH_TYPE_RT3000 754 | |
763 | #define MACH_TYPE_NOKIA770 755 | |
764 | #define MACH_TYPE_PNX0106 756 | |
765 | #define MACH_TYPE_HX21XX 757 | |
766 | #define MACH_TYPE_FARADAY 758 | |
767 | #define MACH_TYPE_SBC9312 759 | |
768 | #define MACH_TYPE_BATMAN 760 | |
769 | #define MACH_TYPE_JPD201 761 | |
770 | #define MACH_TYPE_MIPSA 762 | |
771 | #define MACH_TYPE_KACOM 763 | |
772 | #define MACH_TYPE_SWARCOCPU 764 | |
773 | #define MACH_TYPE_SWARCODSL 765 | |
774 | #define MACH_TYPE_BLUEANGEL 766 | |
775 | #define MACH_TYPE_HAIRYGRAMA 767 | |
776 | #define MACH_TYPE_BANFF 768 | |
777 | #define MACH_TYPE_CARMEVA 769 | |
778 | #define MACH_TYPE_SAM255 770 | |
779 | #define MACH_TYPE_PPM10 771 | |
780 | #define MACH_TYPE_EDB9315A 772 | |
781 | #define MACH_TYPE_SUNSET 773 | |
782 | #define MACH_TYPE_STARGATE2 774 | |
783 | #define MACH_TYPE_INTELMOTE2 775 | |
784 | #define MACH_TYPE_TRIZEPS4 776 | |
785 | #define MACH_TYPE_MAINSTONE2 777 | |
786 | #define MACH_TYPE_EZ_IXP42X 778 | |
787 | #define MACH_TYPE_TAPWAVE_ZODIAC 779 | |
788 | #define MACH_TYPE_UNIVERSALMETER 780 | |
789 | #define MACH_TYPE_HICOARM9 781 | |
790 | #define MACH_TYPE_PNX4008 782 | |
791 | #define MACH_TYPE_KWS6000 783 | |
792 | #define MACH_TYPE_PORTUX920T 784 | |
793 | #define MACH_TYPE_EZ_X5 785 | |
794 | #define MACH_TYPE_OMAP_RUDOLPH 786 | |
795 | #define MACH_TYPE_CPUAT91 787 | |
796 | #define MACH_TYPE_REA9200 788 | |
797 | #define MACH_TYPE_ACTS_PUNE_SA1110 789 | |
798 | #define MACH_TYPE_IXP425 790 | |
799 | #define MACH_TYPE_I30030ADS 791 | |
800 | #define MACH_TYPE_PERCH 792 | |
801 | #define MACH_TYPE_EIS05R1 793 | |
802 | #define MACH_TYPE_PEPPERPAD 794 | |
803 | #define MACH_TYPE_SB3010 795 | |
804 | #define MACH_TYPE_RM9200 796 | |
805 | #define MACH_TYPE_DMA03 797 | |
806 | #define MACH_TYPE_ROAD_S101 798 | |
807 | #define MACH_TYPE_IQ81340SC 799 | |
808 | #define MACH_TYPE_IQ_NEXTGEN_B 800 | |
809 | #define MACH_TYPE_IQ81340MC 801 | |
810 | #define MACH_TYPE_IQ_NEXTGEN_D 802 | |
811 | #define MACH_TYPE_IQ_NEXTGEN_E 803 | |
812 | #define MACH_TYPE_MALLOW_AT91 804 | |
813 | #define MACH_TYPE_CYBERTRACKER_I 805 | |
814 | #define MACH_TYPE_GESBC931X 806 | |
815 | #define MACH_TYPE_CENTIPAD 807 | |
816 | #define MACH_TYPE_ARMSOC 808 | |
817 | #define MACH_TYPE_SE4200 809 | |
818 | #define MACH_TYPE_EMS197A 810 | |
819 | #define MACH_TYPE_MICRO9 811 | |
820 | #define MACH_TYPE_MICRO9L 812 | |
821 | #define MACH_TYPE_UC5471DSP 813 | |
822 | #define MACH_TYPE_SJ5471ENG 814 | |
823 | #define MACH_TYPE_CMPXA26X 815 | |
824 | #define MACH_TYPE_NC 816 | |
825 | #define MACH_TYPE_OMAP_PALMTE 817 | |
826 | #define MACH_TYPE_AJAX52X 818 | |
827 | #define MACH_TYPE_SIRIUSTAR 819 | |
828 | #define MACH_TYPE_IODATA_HDLG 820 | |
829 | #define MACH_TYPE_AT91RM9200UTL 821 | |
830 | #define MACH_TYPE_BIOSAFE 822 | |
831 | #define MACH_TYPE_MP1000 823 | |
832 | #define MACH_TYPE_PARSY 824 | |
833 | #define MACH_TYPE_CCXP 825 | |
834 | #define MACH_TYPE_OMAP_GSAMPLE 826 | |
835 | #define MACH_TYPE_REALVIEW_EB 827 | |
836 | #define MACH_TYPE_SAMOA 828 | |
837 | #define MACH_TYPE_T3XSCALE 829 | |
838 | #define MACH_TYPE_I878 830 | |
839 | #define MACH_TYPE_BORZOI 831 | |
840 | #define MACH_TYPE_GECKO 832 | |
841 | #define MACH_TYPE_DS101 833 | |
842 | #define MACH_TYPE_OMAP_PALMTT2 834 | |
843 | #define MACH_TYPE_XSCALE_PALMLD 835 | |
844 | #define MACH_TYPE_CC9C 836 | |
845 | #define MACH_TYPE_SBC1670 837 | |
846 | #define MACH_TYPE_IXDP28X5 838 | |
847 | #define MACH_TYPE_OMAP_PALMTT 839 | |
848 | #define MACH_TYPE_ML696K 840 | |
849 | #define MACH_TYPE_ARCOM_ZEUS 841 | |
850 | #define MACH_TYPE_OSIRIS 842 | |
851 | #define MACH_TYPE_MAESTRO 843 | |
852 | #define MACH_TYPE_TUNGE2 844 | |
853 | #define MACH_TYPE_IXBBM 845 | |
854 | #define MACH_TYPE_MX27ADS 846 | |
855 | #define MACH_TYPE_AX8004 847 | |
d4fc6012 | 856 | #define MACH_TYPE_AT91SAM9261EK 848 |
f43ad539 WD |
857 | #define MACH_TYPE_LOFT 849 |
858 | #define MACH_TYPE_MAGPIE 850 | |
859 | #define MACH_TYPE_MX21ADS 851 | |
860 | #define MACH_TYPE_MB87M3400 852 | |
861 | #define MACH_TYPE_MGUARD_DELTA 853 | |
862 | #define MACH_TYPE_DAVINCI_DVDP 854 | |
863 | #define MACH_TYPE_HTCUNIVERSAL 855 | |
864 | #define MACH_TYPE_TPAD 856 | |
865 | #define MACH_TYPE_ROVERP3 857 | |
866 | #define MACH_TYPE_JORNADA928 858 | |
867 | #define MACH_TYPE_MV88FXX81 859 | |
868 | #define MACH_TYPE_STMP36XX 860 | |
869 | #define MACH_TYPE_SXNI79524 861 | |
870 | #define MACH_TYPE_AMS_DELTA 862 | |
871 | #define MACH_TYPE_URANIUM 863 | |
872 | #define MACH_TYPE_UCON 864 | |
873 | #define MACH_TYPE_NAS100D 865 | |
874 | #define MACH_TYPE_L083_1000 866 | |
875 | #define MACH_TYPE_EZX 867 | |
876 | #define MACH_TYPE_PNX5220 868 | |
877 | #define MACH_TYPE_BUTTE 869 | |
878 | #define MACH_TYPE_SRM2 870 | |
879 | #define MACH_TYPE_DSBR 871 | |
880 | #define MACH_TYPE_CRYSTALBALL 872 | |
881 | #define MACH_TYPE_TINYPXA27X 873 | |
882 | #define MACH_TYPE_HERBIE 874 | |
883 | #define MACH_TYPE_MAGICIAN 875 | |
884 | #define MACH_TYPE_CM4002 876 | |
885 | #define MACH_TYPE_B4 877 | |
886 | #define MACH_TYPE_MAUI 878 | |
887 | #define MACH_TYPE_CYBERTRACKER_G 879 | |
888 | #define MACH_TYPE_NXDKN 880 | |
889 | #define MACH_TYPE_MIO8390 881 | |
890 | #define MACH_TYPE_OMI_BOARD 882 | |
891 | #define MACH_TYPE_MX21CIV 883 | |
892 | #define MACH_TYPE_MAHI_CDAC 884 | |
893 | #define MACH_TYPE_XSCALE_PALMTX 885 | |
894 | #define MACH_TYPE_S3C2413 887 | |
895 | #define MACH_TYPE_SAMSYS_EP0 888 | |
896 | #define MACH_TYPE_WG302V1 889 | |
897 | #define MACH_TYPE_WG302V2 890 | |
898 | #define MACH_TYPE_EB42X 891 | |
899 | #define MACH_TYPE_IQ331ES 892 | |
900 | #define MACH_TYPE_COSYDSP 893 | |
901 | #define MACH_TYPE_UPLAT7D 894 | |
902 | #define MACH_TYPE_PTDAVINCI 895 | |
903 | #define MACH_TYPE_MBUS 896 | |
904 | #define MACH_TYPE_NADIA2VB 897 | |
905 | #define MACH_TYPE_R1000 898 | |
906 | #define MACH_TYPE_HW90250 899 | |
907 | #define MACH_TYPE_OMAP_2430SDP 900 | |
908 | #define MACH_TYPE_DAVINCI_EVM 901 | |
909 | #define MACH_TYPE_OMAP_TORNADO 902 | |
910 | #define MACH_TYPE_OLOCREEK 903 | |
911 | #define MACH_TYPE_PALMZ72 904 | |
912 | #define MACH_TYPE_NXDB500 905 | |
913 | #define MACH_TYPE_APF9328 906 | |
914 | #define MACH_TYPE_OMAP_WIPOQ 907 | |
915 | #define MACH_TYPE_OMAP_TWIP 908 | |
916 | #define MACH_TYPE_XSCALE_PALMTREO650 909 | |
917 | #define MACH_TYPE_ACUMEN 910 | |
918 | #define MACH_TYPE_XP100 911 | |
919 | #define MACH_TYPE_FS2410 912 | |
920 | #define MACH_TYPE_PXA270_CERF 913 | |
921 | #define MACH_TYPE_SQ2FTLPALM 914 | |
922 | #define MACH_TYPE_BSEMSERVER 915 | |
923 | #define MACH_TYPE_NETCLIENT 916 | |
924 | #define MACH_TYPE_XSCALE_PALMTT5 917 | |
925 | #define MACH_TYPE_OMAP_PALMTC 918 | |
5ca9881a | 926 | #define MACH_TYPE_OMAP_APOLLON 919 |
f43ad539 WD |
927 | #define MACH_TYPE_MXC30030EVB 920 |
928 | #define MACH_TYPE_REA_2D 921 | |
929 | #define MACH_TYPE_TI3E524 922 | |
930 | #define MACH_TYPE_ATEB9200 923 | |
931 | #define MACH_TYPE_AUCKLAND 924 | |
932 | #define MACH_TYPE_AK3320M 925 | |
933 | #define MACH_TYPE_DURAMAX 926 | |
934 | #define MACH_TYPE_N35 927 | |
935 | #define MACH_TYPE_PRONGHORN 928 | |
936 | #define MACH_TYPE_FUNDY 929 | |
937 | #define MACH_TYPE_LOGICPD_PXA270 930 | |
938 | #define MACH_TYPE_CPU777 931 | |
939 | #define MACH_TYPE_SIMICON9201 932 | |
940 | #define MACH_TYPE_LEAP2_HPM 933 | |
941 | #define MACH_TYPE_CM922TXA10 934 | |
942 | #define MACH_TYPE_PXA 935 | |
943 | #define MACH_TYPE_SANDGATE2 936 | |
944 | #define MACH_TYPE_SANDGATE2G 937 | |
945 | #define MACH_TYPE_SANDGATE2P 938 | |
946 | #define MACH_TYPE_FRED_JACK 939 | |
947 | #define MACH_TYPE_TTG_COLOR1 940 | |
948 | #define MACH_TYPE_NXEB500HMI 941 | |
949 | #define MACH_TYPE_NETDCU8 942 | |
f43ad539 WD |
950 | #define MACH_TYPE_NG_FVX538 944 |
951 | #define MACH_TYPE_NG_FVS338 945 | |
952 | #define MACH_TYPE_PNX4103 946 | |
953 | #define MACH_TYPE_HESDB 947 | |
954 | #define MACH_TYPE_XSILO 948 | |
955 | #define MACH_TYPE_ESPRESSO 949 | |
956 | #define MACH_TYPE_EMLC 950 | |
957 | #define MACH_TYPE_SISTERON 951 | |
958 | #define MACH_TYPE_RX1950 952 | |
959 | #define MACH_TYPE_TSC_VENUS 953 | |
960 | #define MACH_TYPE_DS101J 954 | |
961 | #define MACH_TYPE_MXC30030ADS 955 | |
962 | #define MACH_TYPE_FUJITSU_WIMAXSOC 956 | |
963 | #define MACH_TYPE_DUALPCMODEM 957 | |
964 | #define MACH_TYPE_GESBC9312 958 | |
965 | #define MACH_TYPE_HTCAPACHE 959 | |
966 | #define MACH_TYPE_IXDP435 960 | |
967 | #define MACH_TYPE_CATPROVT100 961 | |
968 | #define MACH_TYPE_PICOTUX1XX 962 | |
969 | #define MACH_TYPE_PICOTUX2XX 963 | |
970 | #define MACH_TYPE_DSMG600 964 | |
971 | #define MACH_TYPE_EMPC2 965 | |
972 | #define MACH_TYPE_VENTURA 966 | |
973 | #define MACH_TYPE_PHIDGET_SBC 967 | |
974 | #define MACH_TYPE_IJ3K 968 | |
975 | #define MACH_TYPE_PISGAH 969 | |
976 | #define MACH_TYPE_OMAP_FSAMPLE 970 | |
977 | #define MACH_TYPE_SG720 971 | |
978 | #define MACH_TYPE_REDFOX 972 | |
979 | #define MACH_TYPE_MYSH_EP9315_1 973 | |
980 | #define MACH_TYPE_TPF106 974 | |
981 | #define MACH_TYPE_AT91RM9200KG 975 | |
982 | #define MACH_TYPE_SLEDB 976 | |
983 | #define MACH_TYPE_ONTRACK 977 | |
984 | #define MACH_TYPE_PM1200 978 | |
985 | #define MACH_TYPE_ESS24XXX 979 | |
986 | #define MACH_TYPE_COREMP7 980 | |
987 | #define MACH_TYPE_NEXCODER_6446 981 | |
988 | #define MACH_TYPE_STVC8380 982 | |
989 | #define MACH_TYPE_TEKLYNX 983 | |
990 | #define MACH_TYPE_CARBONADO 984 | |
991 | #define MACH_TYPE_SYSMOS_MP730 985 | |
992 | #define MACH_TYPE_SNAPPER_CL15 986 | |
993 | #define MACH_TYPE_PGIGIM 987 | |
994 | #define MACH_TYPE_PTX9160P2 988 | |
995 | #define MACH_TYPE_DCORE1 989 | |
996 | #define MACH_TYPE_VICTORPXA 990 | |
997 | #define MACH_TYPE_MX2DTB 991 | |
998 | #define MACH_TYPE_PXA_IREX_ER0100 992 | |
999 | #define MACH_TYPE_OMAP_PALMZ71 993 | |
1000 | #define MACH_TYPE_BARTEC_DEG 994 | |
1001 | #define MACH_TYPE_HW50251 995 | |
1002 | #define MACH_TYPE_IBOX 996 | |
1003 | #define MACH_TYPE_ATLASLH7A404 997 | |
1004 | #define MACH_TYPE_PT2026 998 | |
1005 | #define MACH_TYPE_HTCALPINE 999 | |
1006 | #define MACH_TYPE_BARTEC_VTU 1000 | |
1007 | #define MACH_TYPE_VCOREII 1001 | |
1008 | #define MACH_TYPE_PDNB3 1002 | |
1009 | #define MACH_TYPE_HTCBEETLES 1003 | |
1010 | #define MACH_TYPE_S3C6400 1004 | |
1011 | #define MACH_TYPE_S3C2443 1005 | |
1012 | #define MACH_TYPE_OMAP_LDK 1006 | |
1013 | #define MACH_TYPE_SMDK2460 1007 | |
1014 | #define MACH_TYPE_SMDK2440 1008 | |
1015 | #define MACH_TYPE_SMDK2412 1009 | |
1016 | #define MACH_TYPE_WEBBOX 1010 | |
1017 | #define MACH_TYPE_CWWNDP 1011 | |
1018 | #define MACH_TYPE_DRAGON 1012 | |
1019 | #define MACH_TYPE_OPENDO_CPU_BOARD 1013 | |
1020 | #define MACH_TYPE_CCM2200 1014 | |
1021 | #define MACH_TYPE_ETWARM 1015 | |
1022 | #define MACH_TYPE_M93030 1016 | |
1023 | #define MACH_TYPE_CC7U 1017 | |
1024 | #define MACH_TYPE_MTT_RANGER 1018 | |
1025 | #define MACH_TYPE_NEXUS 1019 | |
1026 | #define MACH_TYPE_DESMAN 1020 | |
1027 | #define MACH_TYPE_BKDE303 1021 | |
1028 | #define MACH_TYPE_SMDK2413 1022 | |
1029 | #define MACH_TYPE_AML_M7200 1023 | |
1030 | #define MACH_TYPE_AML_M5900 1024 | |
1031 | #define MACH_TYPE_SG640 1025 | |
1032 | #define MACH_TYPE_EDG79524 1026 | |
1033 | #define MACH_TYPE_AI2410 1027 | |
1034 | #define MACH_TYPE_IXP465 1028 | |
1035 | #define MACH_TYPE_BALLOON3 1029 | |
1036 | #define MACH_TYPE_HEINS 1030 | |
1037 | #define MACH_TYPE_MPLUSEVA 1031 | |
1038 | #define MACH_TYPE_RT042 1032 | |
1039 | #define MACH_TYPE_CWIEM 1033 | |
1040 | #define MACH_TYPE_CM_X270 1034 | |
1041 | #define MACH_TYPE_CM_X255 1035 | |
1042 | #define MACH_TYPE_ESH_AT91 1036 | |
1043 | #define MACH_TYPE_SANDGATE3 1037 | |
1044 | #define MACH_TYPE_PRIMO 1038 | |
1045 | #define MACH_TYPE_GEMSTONE 1039 | |
1046 | #define MACH_TYPE_PRONGHORNMETRO 1040 | |
1047 | #define MACH_TYPE_SIDEWINDER 1041 | |
1048 | #define MACH_TYPE_PICOMOD1 1042 | |
1049 | #define MACH_TYPE_SG590 1043 | |
1050 | #define MACH_TYPE_AKAI9307 1044 | |
1051 | #define MACH_TYPE_FONTAINE 1045 | |
1052 | #define MACH_TYPE_WOMBAT 1046 | |
1053 | #define MACH_TYPE_ACQ300 1047 | |
1054 | #define MACH_TYPE_MOD_270 1048 | |
1055 | #define MACH_TYPE_VC0820 1049 | |
1056 | #define MACH_TYPE_ANI_AIM 1050 | |
1057 | #define MACH_TYPE_JELLYFISH 1051 | |
1058 | #define MACH_TYPE_AMANITA 1052 | |
1059 | #define MACH_TYPE_VLINK 1053 | |
1060 | #define MACH_TYPE_DEXFLEX 1054 | |
1061 | #define MACH_TYPE_EIGEN_TTQ 1055 | |
1062 | #define MACH_TYPE_ARCOM_TITAN 1056 | |
1063 | #define MACH_TYPE_TABLA 1057 | |
1064 | #define MACH_TYPE_MDIRAC3 1058 | |
1065 | #define MACH_TYPE_MRHFBP2 1059 | |
1066 | #define MACH_TYPE_AT91RM9200RB 1060 | |
1067 | #define MACH_TYPE_ANI_APM 1061 | |
1068 | #define MACH_TYPE_ELLA1 1062 | |
1069 | #define MACH_TYPE_INHAND_PXA27X 1063 | |
1070 | #define MACH_TYPE_INHAND_PXA25X 1064 | |
1071 | #define MACH_TYPE_EMPOS_XM 1065 | |
1072 | #define MACH_TYPE_EMPOS 1066 | |
1073 | #define MACH_TYPE_EMPOS_TINY 1067 | |
1074 | #define MACH_TYPE_EMPOS_SM 1068 | |
1075 | #define MACH_TYPE_EGRET 1069 | |
1076 | #define MACH_TYPE_OSTRICH 1070 | |
1077 | #define MACH_TYPE_N50 1071 | |
1078 | #define MACH_TYPE_ECBAT91 1072 | |
1079 | #define MACH_TYPE_STAREAST 1073 | |
1080 | #define MACH_TYPE_DSPG_DW 1074 | |
1081 | #define MACH_TYPE_ONEARM 1075 | |
1082 | #define MACH_TYPE_MRG110_6 1076 | |
1083 | #define MACH_TYPE_WRT300NV2 1077 | |
1084 | #define MACH_TYPE_XM_BULVERDE 1078 | |
1085 | #define MACH_TYPE_MSM6100 1079 | |
1086 | #define MACH_TYPE_ETI_B1 1080 | |
1087 | #define MACH_TYPE_ZILOG_ZA9L 1081 | |
1088 | #define MACH_TYPE_BIT2440 1082 | |
1089 | #define MACH_TYPE_NBI 1083 | |
1090 | #define MACH_TYPE_SMDK2443 1084 | |
1091 | #define MACH_TYPE_VDAVINCI 1085 | |
1092 | #define MACH_TYPE_ATC6 1086 | |
1093 | #define MACH_TYPE_MULTMDW 1087 | |
1094 | #define MACH_TYPE_MBA2440 1088 | |
1095 | #define MACH_TYPE_ECSD 1089 | |
1096 | #define MACH_TYPE_ZIRE31 1090 | |
1097 | #define MACH_TYPE_FSG 1091 | |
1098 | #define MACH_TYPE_RAZOR101 1092 | |
1099 | #define MACH_TYPE_OPERA_TDM 1093 | |
1100 | #define MACH_TYPE_COMCERTO 1094 | |
1101 | #define MACH_TYPE_TB0319 1095 | |
1102 | #define MACH_TYPE_KWS8000 1096 | |
1103 | #define MACH_TYPE_B2 1097 | |
1104 | #define MACH_TYPE_LCL54 1098 | |
1105 | #define MACH_TYPE_AT91SAM9260EK 1099 | |
1106 | #define MACH_TYPE_GLANTANK 1100 | |
1107 | #define MACH_TYPE_N2100 1101 | |
1108 | #define MACH_TYPE_N4100 1102 | |
1109 | #define MACH_TYPE_VERTICAL_RSC4 1103 | |
1110 | #define MACH_TYPE_SG8100 1104 | |
1111 | #define MACH_TYPE_IM42XX 1105 | |
1112 | #define MACH_TYPE_FTXX 1106 | |
1113 | #define MACH_TYPE_LWFUSION 1107 | |
1114 | #define MACH_TYPE_QT2410 1108 | |
1115 | #define MACH_TYPE_KIXRP435 1109 | |
1116 | #define MACH_TYPE_CCW9C 1110 | |
1117 | #define MACH_TYPE_DABHS 1111 | |
1118 | #define MACH_TYPE_GZMX 1112 | |
1119 | #define MACH_TYPE_IPNW100AP 1113 | |
1120 | #define MACH_TYPE_CC9P9360DEV 1114 | |
1121 | #define MACH_TYPE_CC9P9750DEV 1115 | |
1122 | #define MACH_TYPE_CC9P9360VAL 1116 | |
1123 | #define MACH_TYPE_CC9P9750VAL 1117 | |
1124 | #define MACH_TYPE_NX70V 1118 | |
1125 | #define MACH_TYPE_AT91RM9200DF 1119 | |
1126 | #define MACH_TYPE_SE_PILOT2 1120 | |
1127 | #define MACH_TYPE_MTCN_T800 1121 | |
1128 | #define MACH_TYPE_VCMX212 1122 | |
1129 | #define MACH_TYPE_LYNX 1123 | |
1130 | #define MACH_TYPE_AT91SAM9260ID 1124 | |
1131 | #define MACH_TYPE_HW86052 1125 | |
1132 | #define MACH_TYPE_PILZ_PMI3 1126 | |
1133 | #define MACH_TYPE_EDB9302A 1127 | |
1134 | #define MACH_TYPE_EDB9307A 1128 | |
1135 | #define MACH_TYPE_CT_DFS 1129 | |
1136 | #define MACH_TYPE_PILZ_PMI4 1130 | |
1137 | #define MACH_TYPE_XCEEDNP_IXP 1131 | |
1138 | #define MACH_TYPE_SMDK2442B 1132 | |
1139 | #define MACH_TYPE_XNODE 1133 | |
1140 | #define MACH_TYPE_AIDX270 1134 | |
1141 | #define MACH_TYPE_REMA 1135 | |
1142 | #define MACH_TYPE_BPS1000 1136 | |
1143 | #define MACH_TYPE_HW90350 1137 | |
799891ef | 1144 | #define MACH_TYPE_OMAP_3430SDP 1138 |
f43ad539 WD |
1145 | #define MACH_TYPE_BLUETOUCH 1139 |
1146 | #define MACH_TYPE_VSTMS 1140 | |
1147 | #define MACH_TYPE_XSBASE270 1141 | |
1148 | #define MACH_TYPE_AT91SAM9260EK_CN 1142 | |
1149 | #define MACH_TYPE_ADSTURBOXB 1143 | |
1150 | #define MACH_TYPE_OTI4110 1144 | |
1151 | #define MACH_TYPE_HME_PXA 1145 | |
1152 | #define MACH_TYPE_DEISTERDCA 1146 | |
1153 | #define MACH_TYPE_CES_SSEM2 1147 | |
1154 | #define MACH_TYPE_CES_MTR 1148 | |
1155 | #define MACH_TYPE_TDS_AVNG_SBC 1149 | |
1156 | #define MACH_TYPE_EVEREST 1150 | |
1157 | #define MACH_TYPE_PNX4010 1151 | |
1158 | #define MACH_TYPE_OXNAS 1152 | |
1159 | #define MACH_TYPE_FIORI 1153 | |
1160 | #define MACH_TYPE_ML1200 1154 | |
1161 | #define MACH_TYPE_PECOS 1155 | |
1162 | #define MACH_TYPE_NB2XXX 1156 | |
1163 | #define MACH_TYPE_HW6900 1157 | |
1164 | #define MACH_TYPE_CDCS_QUOLL 1158 | |
1165 | #define MACH_TYPE_QUICKSILVER 1159 | |
1166 | #define MACH_TYPE_UPLAT926 1160 | |
1167 | #define MACH_TYPE_DEP2410_THOMAS 1161 | |
1168 | #define MACH_TYPE_DTK2410 1162 | |
1169 | #define MACH_TYPE_CHILI 1163 | |
1170 | #define MACH_TYPE_DEMETER 1164 | |
1171 | #define MACH_TYPE_DIONYSUS 1165 | |
1172 | #define MACH_TYPE_AS352X 1166 | |
1173 | #define MACH_TYPE_SERVICE 1167 | |
1174 | #define MACH_TYPE_CS_E9301 1168 | |
1175 | #define MACH_TYPE_MICRO9M 1169 | |
1176 | #define MACH_TYPE_IA_MOSPCK 1170 | |
1177 | #define MACH_TYPE_QL201B 1171 | |
1178 | #define MACH_TYPE_BBM 1174 | |
1179 | #define MACH_TYPE_EXXX 1175 | |
1180 | #define MACH_TYPE_WMA11B 1176 | |
1181 | #define MACH_TYPE_PELCO_ATLAS 1177 | |
1182 | #define MACH_TYPE_G500 1178 | |
1183 | #define MACH_TYPE_BUG 1179 | |
1184 | #define MACH_TYPE_MX33ADS 1180 | |
1185 | #define MACH_TYPE_CHUB 1181 | |
1186 | #define MACH_TYPE_NEO1973_GTA01 1182 | |
1187 | #define MACH_TYPE_W90N740 1183 | |
1188 | #define MACH_TYPE_MEDALLION_SA2410 1184 | |
1189 | #define MACH_TYPE_IA_CPU_9200_2 1185 | |
1190 | #define MACH_TYPE_DIMMRM9200 1186 | |
1191 | #define MACH_TYPE_PM9261 1187 | |
1192 | #define MACH_TYPE_ML7304 1189 | |
1193 | #define MACH_TYPE_UCP250 1190 | |
1194 | #define MACH_TYPE_INTBOARD 1191 | |
1195 | #define MACH_TYPE_GULFSTREAM 1192 | |
1196 | #define MACH_TYPE_LABQUEST 1193 | |
1197 | #define MACH_TYPE_VCMX313 1194 | |
1198 | #define MACH_TYPE_URG200 1195 | |
1199 | #define MACH_TYPE_CPUX255LCDNET 1196 | |
1200 | #define MACH_TYPE_NETDCU9 1197 | |
1201 | #define MACH_TYPE_NETDCU10 1198 | |
1202 | #define MACH_TYPE_DSPG_DGA 1199 | |
1203 | #define MACH_TYPE_DSPG_DVW 1200 | |
1204 | #define MACH_TYPE_SOLOS 1201 | |
1205 | #define MACH_TYPE_AT91SAM9263EK 1202 | |
1206 | #define MACH_TYPE_OSSTBOX 1203 | |
1207 | #define MACH_TYPE_KBAT9261 1204 | |
1208 | #define MACH_TYPE_CT1100 1205 | |
1209 | #define MACH_TYPE_AKCPPXA 1206 | |
799891ef | 1210 | #define MACH_TYPE_OCHAYA1020 1207 |
f43ad539 WD |
1211 | #define MACH_TYPE_HITRACK 1208 |
1212 | #define MACH_TYPE_SYME1 1209 | |
1213 | #define MACH_TYPE_SYHL1 1210 | |
1214 | #define MACH_TYPE_EMPCA400 1211 | |
1215 | #define MACH_TYPE_EM7210 1212 | |
1216 | #define MACH_TYPE_HTCHERMES 1213 | |
1217 | #define MACH_TYPE_ETI_C1 1214 | |
1218 | #define MACH_TYPE_MACH_DEP2410 1215 | |
1219 | #define MACH_TYPE_AC100 1216 | |
1220 | #define MACH_TYPE_SNEETCH 1217 | |
1221 | #define MACH_TYPE_STUDENTMATE 1218 | |
1222 | #define MACH_TYPE_ZIR2410 1219 | |
1223 | #define MACH_TYPE_ZIR2413 1220 | |
1224 | #define MACH_TYPE_DLONIP3 1221 | |
1225 | #define MACH_TYPE_INSTREAM 1222 | |
1226 | #define MACH_TYPE_AMBARELLA 1223 | |
1227 | #define MACH_TYPE_NEVIS 1224 | |
1228 | #define MACH_TYPE_HTC_TRINITY 1225 | |
1229 | #define MACH_TYPE_QL202B 1226 | |
1230 | #define MACH_TYPE_VPAC270 1227 | |
1231 | #define MACH_TYPE_RD129 1228 | |
1232 | #define MACH_TYPE_HTCWIZARD 1229 | |
1233 | #define MACH_TYPE_XSCALE_TREO680 1230 | |
1234 | #define MACH_TYPE_TECON_TMEZON 1231 | |
1235 | #define MACH_TYPE_ZYLONITE 1233 | |
1236 | #define MACH_TYPE_GENE1270 1234 | |
1237 | #define MACH_TYPE_ZIR2412 1235 | |
1238 | #define MACH_TYPE_MX31LITE 1236 | |
1239 | #define MACH_TYPE_T700WX 1237 | |
1240 | #define MACH_TYPE_VF100 1238 | |
1241 | #define MACH_TYPE_NSB2 1239 | |
1242 | #define MACH_TYPE_NXHMI_BB 1240 | |
1243 | #define MACH_TYPE_NXHMI_RE 1241 | |
1244 | #define MACH_TYPE_N4100PRO 1242 | |
1245 | #define MACH_TYPE_SAM9260 1243 | |
1246 | #define MACH_TYPE_OMAP_TREO600 1244 | |
1247 | #define MACH_TYPE_INDY2410 1245 | |
1248 | #define MACH_TYPE_NELT_A 1246 | |
1249 | #define MACH_TYPE_N311 1248 | |
1250 | #define MACH_TYPE_AT91SAM9260VGK 1249 | |
1251 | #define MACH_TYPE_AT91LEPPE 1250 | |
1252 | #define MACH_TYPE_AT91LEPCCN 1251 | |
1253 | #define MACH_TYPE_APC7100 1252 | |
1254 | #define MACH_TYPE_STARGAZER 1253 | |
1255 | #define MACH_TYPE_SONATA 1254 | |
1256 | #define MACH_TYPE_SCHMOOGIE 1255 | |
1257 | #define MACH_TYPE_AZTOOL 1256 | |
1258 | #define MACH_TYPE_MIOA701 1257 | |
1259 | #define MACH_TYPE_SXNI9260 1258 | |
1260 | #define MACH_TYPE_MXC27520EVB 1259 | |
1261 | #define MACH_TYPE_ARMADILLO5X0 1260 | |
1262 | #define MACH_TYPE_MB9260 1261 | |
1263 | #define MACH_TYPE_MB9263 1262 | |
1264 | #define MACH_TYPE_IPAC9302 1263 | |
1265 | #define MACH_TYPE_CC9P9360JS 1264 | |
1266 | #define MACH_TYPE_GALLIUM 1265 | |
1267 | #define MACH_TYPE_MSC2410 1266 | |
1268 | #define MACH_TYPE_GHI270 1267 | |
1269 | #define MACH_TYPE_DAVINCI_LEONARDO 1268 | |
1270 | #define MACH_TYPE_OIAB 1269 | |
1271 | #define MACH_TYPE_SMDK6400 1270 | |
1272 | #define MACH_TYPE_NOKIA_N800 1271 | |
1273 | #define MACH_TYPE_GREENPHONE 1272 | |
1274 | #define MACH_TYPE_COMPEXWP18 1273 | |
1275 | #define MACH_TYPE_XMATE 1274 | |
1276 | #define MACH_TYPE_ENERGIZER 1275 | |
1277 | #define MACH_TYPE_IME1 1276 | |
1278 | #define MACH_TYPE_SWEDATMS 1277 | |
1279 | #define MACH_TYPE_NTNP435C 1278 | |
1280 | #define MACH_TYPE_SPECTRO2 1279 | |
1281 | #define MACH_TYPE_H6039 1280 | |
1282 | #define MACH_TYPE_EP80219 1281 | |
1283 | #define MACH_TYPE_SAMOA_II 1282 | |
1284 | #define MACH_TYPE_CWMXL 1283 | |
1285 | #define MACH_TYPE_AS9200 1284 | |
1286 | #define MACH_TYPE_SFX1149 1285 | |
1287 | #define MACH_TYPE_NAVI010 1286 | |
1288 | #define MACH_TYPE_MULTMDP 1287 | |
1289 | #define MACH_TYPE_SCB9520 1288 | |
1290 | #define MACH_TYPE_HTCATHENA 1289 | |
1291 | #define MACH_TYPE_XP179 1290 | |
1292 | #define MACH_TYPE_H4300 1291 | |
1293 | #define MACH_TYPE_GORAMO_MLR 1292 | |
1294 | #define MACH_TYPE_MXC30020EVB 1293 | |
799891ef | 1295 | #define MACH_TYPE_ADSBITSYG5 1294 |
f43ad539 WD |
1296 | #define MACH_TYPE_ADSPORTALPLUS 1295 |
1297 | #define MACH_TYPE_MMSP2PLUS 1296 | |
1298 | #define MACH_TYPE_EM_X270 1297 | |
1299 | #define MACH_TYPE_TPP302 1298 | |
1300 | #define MACH_TYPE_TPM104 1299 | |
1301 | #define MACH_TYPE_TPM102 1300 | |
1302 | #define MACH_TYPE_TPM109 1301 | |
1303 | #define MACH_TYPE_FBXO1 1302 | |
1304 | #define MACH_TYPE_HXD8 1303 | |
1305 | #define MACH_TYPE_NEO1973_GTA02 1304 | |
1306 | #define MACH_TYPE_EMTEST 1305 | |
1307 | #define MACH_TYPE_AD6900 1306 | |
1308 | #define MACH_TYPE_EUROPA 1307 | |
1309 | #define MACH_TYPE_METROCONNECT 1308 | |
1310 | #define MACH_TYPE_EZ_S2410 1309 | |
1311 | #define MACH_TYPE_EZ_S2440 1310 | |
1312 | #define MACH_TYPE_EZ_EP9312 1311 | |
1313 | #define MACH_TYPE_EZ_EP9315 1312 | |
1314 | #define MACH_TYPE_EZ_X7 1313 | |
1315 | #define MACH_TYPE_GODOTDB 1314 | |
1316 | #define MACH_TYPE_MISTRAL 1315 | |
1317 | #define MACH_TYPE_MSM 1316 | |
1318 | #define MACH_TYPE_CT5910 1317 | |
1319 | #define MACH_TYPE_CT5912 1318 | |
1320 | #define MACH_TYPE_HYNET_INE 1319 | |
1321 | #define MACH_TYPE_HYNET_APP 1320 | |
1322 | #define MACH_TYPE_MSM7200 1321 | |
1323 | #define MACH_TYPE_MSM7600 1322 | |
1324 | #define MACH_TYPE_CEB255 1323 | |
1325 | #define MACH_TYPE_CIEL 1324 | |
1326 | #define MACH_TYPE_SLM5650 1325 | |
1327 | #define MACH_TYPE_AT91SAM9RLEK 1326 | |
1328 | #define MACH_TYPE_COMTECH_ROUTER 1327 | |
1329 | #define MACH_TYPE_SBC2410X 1328 | |
1330 | #define MACH_TYPE_AT4X0BD 1329 | |
1331 | #define MACH_TYPE_CBIFR 1330 | |
1332 | #define MACH_TYPE_ARCOM_QUANTUM 1331 | |
1333 | #define MACH_TYPE_MATRIX520 1332 | |
1334 | #define MACH_TYPE_MATRIX510 1333 | |
1335 | #define MACH_TYPE_MATRIX500 1334 | |
1336 | #define MACH_TYPE_M501 1335 | |
1337 | #define MACH_TYPE_AAEON1270 1336 | |
1338 | #define MACH_TYPE_MATRIX500EV 1337 | |
1339 | #define MACH_TYPE_PAC500 1338 | |
1340 | #define MACH_TYPE_PNX8181 1339 | |
1341 | #define MACH_TYPE_COLIBRI320 1340 | |
1342 | #define MACH_TYPE_AZTOOLBB 1341 | |
1343 | #define MACH_TYPE_AZTOOLG2 1342 | |
1344 | #define MACH_TYPE_DVLHOST 1343 | |
1345 | #define MACH_TYPE_ZIR9200 1344 | |
1346 | #define MACH_TYPE_ZIR9260 1345 | |
1347 | #define MACH_TYPE_COCOPAH 1346 | |
1348 | #define MACH_TYPE_NDS 1347 | |
1349 | #define MACH_TYPE_ROSENCRANTZ 1348 | |
1350 | #define MACH_TYPE_FTTX_ODSC 1349 | |
1351 | #define MACH_TYPE_CLASSE_R6904 1350 | |
1352 | #define MACH_TYPE_CAM60 1351 | |
1353 | #define MACH_TYPE_MXC30031ADS 1352 | |
1354 | #define MACH_TYPE_DATACALL 1353 | |
1355 | #define MACH_TYPE_AT91EB01 1354 | |
1356 | #define MACH_TYPE_RTY 1355 | |
1357 | #define MACH_TYPE_DWL2100 1356 | |
1358 | #define MACH_TYPE_VINSI 1357 | |
1359 | #define MACH_TYPE_DB88F5281 1358 | |
1360 | #define MACH_TYPE_CSB726 1359 | |
1361 | #define MACH_TYPE_TIK27 1360 | |
1362 | #define MACH_TYPE_MX_UC7420 1361 | |
799891ef MS |
1363 | #define MACH_TYPE_RIRM3 1362 |
1364 | #define MACH_TYPE_PELCO_ODYSSEY 1363 | |
1365 | #define MACH_TYPE_ADX_ABOX 1365 | |
1366 | #define MACH_TYPE_ADX_TPID 1366 | |
1367 | #define MACH_TYPE_MINICHECK 1367 | |
1368 | #define MACH_TYPE_IDAM 1368 | |
1369 | #define MACH_TYPE_MARIO_MX 1369 | |
1370 | #define MACH_TYPE_VI1888 1370 | |
1371 | #define MACH_TYPE_ZR4230 1371 | |
1372 | #define MACH_TYPE_T1_IX_BLUE 1372 | |
1373 | #define MACH_TYPE_SYHQ2 1373 | |
1374 | #define MACH_TYPE_COMPUTIME_R3 1374 | |
1375 | #define MACH_TYPE_ORATIS 1375 | |
1376 | #define MACH_TYPE_MIKKO 1376 | |
1377 | #define MACH_TYPE_HOLON 1377 | |
1378 | #define MACH_TYPE_OLIP8 1378 | |
1379 | #define MACH_TYPE_GHI270HG 1379 | |
1380 | #define MACH_TYPE_DAVINCI_DM6467_EVM 1380 | |
1381 | #define MACH_TYPE_DAVINCI_DM350_EVM 1381 | |
1382 | #define MACH_TYPE_BLACKRIVER 1383 | |
1383 | #define MACH_TYPE_SANDGATEWP 1384 | |
1384 | #define MACH_TYPE_CDOTBWSG 1385 | |
1385 | #define MACH_TYPE_QUARK963 1386 | |
1386 | #define MACH_TYPE_CSB735 1387 | |
1387 | #define MACH_TYPE_LITTLETON 1388 | |
1388 | #define MACH_TYPE_MIO_P550 1389 | |
1389 | #define MACH_TYPE_MOTION2440 1390 | |
1390 | #define MACH_TYPE_IMM500 1391 | |
1391 | #define MACH_TYPE_HOMEMATIC 1392 | |
1392 | #define MACH_TYPE_ERMINE 1393 | |
1393 | #define MACH_TYPE_KB9202B 1394 | |
1394 | #define MACH_TYPE_HS1XX 1395 | |
1395 | #define MACH_TYPE_STUDENTMATE2440 1396 | |
1396 | #define MACH_TYPE_ARVOO_L1_Z1 1397 | |
1397 | #define MACH_TYPE_DEP2410K 1398 | |
1398 | #define MACH_TYPE_XXSVIDEO 1399 | |
1399 | #define MACH_TYPE_IM4004 1400 | |
1400 | #define MACH_TYPE_OCHAYA1050 1401 | |
1401 | #define MACH_TYPE_LEP9261 1402 | |
1402 | #define MACH_TYPE_SVENMEB 1403 | |
1403 | #define MACH_TYPE_FORTUNET2NE 1404 | |
1404 | #define MACH_TYPE_NXHX 1406 | |
1405 | #define MACH_TYPE_REALVIEW_PB11MP 1407 | |
1406 | #define MACH_TYPE_IDS500 1408 | |
1407 | #define MACH_TYPE_ORS_N725 1409 | |
1408 | #define MACH_TYPE_HSDARM 1410 | |
1409 | #define MACH_TYPE_SHA_PON003 1411 | |
1410 | #define MACH_TYPE_SHA_PON004 1412 | |
1411 | #define MACH_TYPE_SHA_PON007 1413 | |
1412 | #define MACH_TYPE_SHA_PON011 1414 | |
1413 | #define MACH_TYPE_H6042 1415 | |
1414 | #define MACH_TYPE_H6043 1416 | |
1415 | #define MACH_TYPE_LOOXC550 1417 | |
1416 | #define MACH_TYPE_CNTY_TITAN 1418 | |
1417 | #define MACH_TYPE_APP3XX 1419 | |
1418 | #define MACH_TYPE_SIDEOATSGRAMA 1420 | |
1419 | #define MACH_TYPE_XSCALE_PALMT700P 1421 | |
1420 | #define MACH_TYPE_XSCALE_PALMT700W 1422 | |
1421 | #define MACH_TYPE_XSCALE_PALMT750 1423 | |
1422 | #define MACH_TYPE_XSCALE_PALMT755P 1424 | |
1423 | #define MACH_TYPE_EZREGANUT9200 1425 | |
1424 | #define MACH_TYPE_SARGE 1426 | |
1425 | #define MACH_TYPE_A696 1427 | |
1426 | #define MACH_TYPE_TURTLE 1428 | |
1427 | #define MACH_TYPE_MX27_3DS 1430 | |
1428 | #define MACH_TYPE_BISHOP 1431 | |
1429 | #define MACH_TYPE_PXX 1432 | |
1430 | #define MACH_TYPE_REDWOOD 1433 | |
1431 | #define MACH_TYPE_OMAP_2430DLP 1436 | |
1432 | #define MACH_TYPE_OMAP_2430OSK 1437 | |
1433 | #define MACH_TYPE_SARDINE 1438 | |
1434 | #define MACH_TYPE_HALIBUT 1439 | |
1435 | #define MACH_TYPE_TROUT 1440 | |
1436 | #define MACH_TYPE_GOLDFISH 1441 | |
1437 | #define MACH_TYPE_GESBC2440 1442 | |
1438 | #define MACH_TYPE_NOMAD 1443 | |
1439 | #define MACH_TYPE_ROSALIND 1444 | |
1440 | #define MACH_TYPE_CC9P9215 1445 | |
1441 | #define MACH_TYPE_CC9P9210 1446 | |
1442 | #define MACH_TYPE_CC9P9215JS 1447 | |
1443 | #define MACH_TYPE_CC9P9210JS 1448 | |
1444 | #define MACH_TYPE_NASFFE 1449 | |
1445 | #define MACH_TYPE_TN2X0BD 1450 | |
1446 | #define MACH_TYPE_GWMPXA 1451 | |
1447 | #define MACH_TYPE_EXYPLUS 1452 | |
1448 | #define MACH_TYPE_JADOO21 1453 | |
1449 | #define MACH_TYPE_LOOXN560 1454 | |
1450 | #define MACH_TYPE_BONSAI 1455 | |
1451 | #define MACH_TYPE_ADSMILGATO 1456 | |
1452 | #define MACH_TYPE_GBA 1457 | |
1453 | #define MACH_TYPE_H6044 1458 | |
1454 | #define MACH_TYPE_APP 1459 | |
1455 | #define MACH_TYPE_TCT_HAMMER 1460 | |
1456 | #define MACH_TYPE_HERMES 1461 | |
1457 | #define MACH_TYPE_ARTEMIS 1462 | |
1458 | #define MACH_TYPE_HTCTITAN 1463 | |
1459 | #define MACH_TYPE_QRANIUM 1464 | |
1460 | #define MACH_TYPE_ADX_WSC2 1465 | |
1461 | #define MACH_TYPE_ADX_MEDINET 1466 | |
1462 | #define MACH_TYPE_BBOARD 1467 | |
1463 | #define MACH_TYPE_CAMBRIA 1468 | |
1464 | #define MACH_TYPE_MT7XXX 1469 | |
1465 | #define MACH_TYPE_MATRIX512 1470 | |
1466 | #define MACH_TYPE_MATRIX522 1471 | |
1467 | #define MACH_TYPE_IPAC5010 1472 | |
1468 | #define MACH_TYPE_SAKURA 1473 | |
1469 | #define MACH_TYPE_GROCX 1474 | |
1470 | #define MACH_TYPE_PM9263 1475 | |
1471 | #define MACH_TYPE_SIM_ONE 1476 | |
1472 | #define MACH_TYPE_ACQ132 1477 | |
1473 | #define MACH_TYPE_DATR 1478 | |
1474 | #define MACH_TYPE_ACTUX1 1479 | |
1475 | #define MACH_TYPE_ACTUX2 1480 | |
1476 | #define MACH_TYPE_ACTUX3 1481 | |
1477 | #define MACH_TYPE_FLEXIT 1482 | |
1478 | #define MACH_TYPE_BH2X0BD 1483 | |
1479 | #define MACH_TYPE_ATB2002 1484 | |
1480 | #define MACH_TYPE_XENON 1485 | |
1481 | #define MACH_TYPE_FM607 1486 | |
1482 | #define MACH_TYPE_MATRIX514 1487 | |
1483 | #define MACH_TYPE_MATRIX524 1488 | |
1484 | #define MACH_TYPE_INPOD 1489 | |
1485 | #define MACH_TYPE_JIVE 1490 | |
1486 | #define MACH_TYPE_TLL_MX21 1491 | |
1487 | #define MACH_TYPE_SBC2800 1492 | |
1488 | #define MACH_TYPE_CC7UCAMRY 1493 | |
1489 | #define MACH_TYPE_UBISYS_P9_SC15 1494 | |
1490 | #define MACH_TYPE_UBISYS_P9_SSC2D10 1495 | |
1491 | #define MACH_TYPE_UBISYS_P9_RCU3 1496 | |
1492 | #define MACH_TYPE_AML_M8000 1497 | |
1493 | #define MACH_TYPE_SNAPPER_270 1498 | |
1494 | #define MACH_TYPE_OMAP_BBX 1499 | |
1495 | #define MACH_TYPE_UCN2410 1500 | |
1496 | #define MACH_TYPE_SAM9_L9260 1501 | |
1497 | #define MACH_TYPE_ETI_C2 1502 | |
1498 | #define MACH_TYPE_AVALANCHE 1503 | |
1499 | #define MACH_TYPE_REALVIEW_PB1176 1504 | |
1500 | #define MACH_TYPE_DP1500 1505 | |
1501 | #define MACH_TYPE_APPLE_IPHONE 1506 | |
1502 | #define MACH_TYPE_YL9200 1507 | |
1503 | #define MACH_TYPE_RD88F5182 1508 | |
1504 | #define MACH_TYPE_KUROBOX_PRO 1509 | |
1505 | #define MACH_TYPE_SE_POET 1510 | |
1506 | #define MACH_TYPE_MX31_3DS 1511 | |
1507 | #define MACH_TYPE_R270 1512 | |
1508 | #define MACH_TYPE_ARMOUR21 1513 | |
1509 | #define MACH_TYPE_DT2 1514 | |
1510 | #define MACH_TYPE_VT4 1515 | |
1511 | #define MACH_TYPE_TYCO320 1516 | |
1512 | #define MACH_TYPE_ADMA 1517 | |
1513 | #define MACH_TYPE_WP188 1518 | |
1514 | #define MACH_TYPE_CORSICA 1519 | |
1515 | #define MACH_TYPE_BIGEYE 1520 | |
1516 | #define MACH_TYPE_TLL5000 1522 | |
1517 | #define MACH_TYPE_HNI_X270 1523 | |
1518 | #define MACH_TYPE_QONG 1524 | |
1519 | #define MACH_TYPE_TCOMPACT 1525 | |
1520 | #define MACH_TYPE_PUMA5 1526 | |
1521 | #define MACH_TYPE_ELARA 1527 | |
1522 | #define MACH_TYPE_ELLINGTON 1528 | |
1523 | #define MACH_TYPE_XDA_ATOM 1529 | |
1524 | #define MACH_TYPE_ENERGIZER2 1530 | |
1525 | #define MACH_TYPE_ODIN 1531 | |
1526 | #define MACH_TYPE_ACTUX4 1532 | |
1527 | #define MACH_TYPE_ESL_OMAP 1533 | |
1528 | #define MACH_TYPE_OMAP2EVM 1534 | |
1529 | #define MACH_TYPE_OMAP3EVM 1535 | |
1530 | #define MACH_TYPE_ADX_PCU57 1536 | |
1531 | #define MACH_TYPE_MONACO 1537 | |
1532 | #define MACH_TYPE_LEVANTE 1538 | |
1533 | #define MACH_TYPE_TMXIPX425 1539 | |
1534 | #define MACH_TYPE_LEEP 1540 | |
1535 | #define MACH_TYPE_RAAD 1541 | |
1536 | #define MACH_TYPE_DNS323 1542 | |
1537 | #define MACH_TYPE_AP1000 1543 | |
1538 | #define MACH_TYPE_A9SAM6432 1544 | |
1539 | #define MACH_TYPE_SHINY 1545 | |
1540 | #define MACH_TYPE_OMAP3_BEAGLE 1546 | |
1541 | #define MACH_TYPE_CSR_BDB2 1547 | |
1542 | #define MACH_TYPE_NOKIA_N810 1548 | |
1543 | #define MACH_TYPE_C270 1549 | |
1544 | #define MACH_TYPE_SENTRY 1550 | |
1545 | #define MACH_TYPE_PCM038 1551 | |
1546 | #define MACH_TYPE_ANC300 1552 | |
1547 | #define MACH_TYPE_HTCKAISER 1553 | |
1548 | #define MACH_TYPE_SBAT100 1554 | |
1549 | #define MACH_TYPE_MODUNORM 1555 | |
1550 | #define MACH_TYPE_PELOS_TWARM 1556 | |
1551 | #define MACH_TYPE_FLANK 1557 | |
1552 | #define MACH_TYPE_SIRLOIN 1558 | |
1553 | #define MACH_TYPE_BRISKET 1559 | |
1554 | #define MACH_TYPE_CHUCK 1560 | |
1555 | #define MACH_TYPE_OTTER 1561 | |
1556 | #define MACH_TYPE_DAVINCI_LDK 1562 | |
1557 | #define MACH_TYPE_PHREEDOM 1563 | |
1558 | #define MACH_TYPE_SG310 1564 | |
1559 | #define MACH_TYPE_TS209 1565 | |
1560 | #define MACH_TYPE_AT91CAP9ADK 1566 | |
1561 | #define MACH_TYPE_TION9315 1567 | |
1562 | #define MACH_TYPE_MAST 1568 | |
1563 | #define MACH_TYPE_PFW 1569 | |
1564 | #define MACH_TYPE_YL_P2440 1570 | |
1565 | #define MACH_TYPE_ZSBC32 1571 | |
1566 | #define MACH_TYPE_OMAP_PACE2 1572 | |
1567 | #define MACH_TYPE_IMX_PACE2 1573 | |
1568 | #define MACH_TYPE_MX31MOBOARD 1574 | |
1569 | #define MACH_TYPE_MX37_3DS 1575 | |
1570 | #define MACH_TYPE_RCC 1576 | |
1571 | #define MACH_TYPE_ARM9 1577 | |
1572 | #define MACH_TYPE_VISION_EP9307 1578 | |
1573 | #define MACH_TYPE_SCLY1000 1579 | |
1574 | #define MACH_TYPE_FONTEL_EP 1580 | |
1575 | #define MACH_TYPE_VOICEBLUE3G 1581 | |
1576 | #define MACH_TYPE_TT9200 1582 | |
1577 | #define MACH_TYPE_DIGI2410 1583 | |
1578 | #define MACH_TYPE_TERASTATION_PRO2 1584 | |
1579 | #define MACH_TYPE_LINKSTATION_PRO 1585 | |
1580 | #define MACH_TYPE_MOTOROLA_A780 1587 | |
1581 | #define MACH_TYPE_MOTOROLA_E6 1588 | |
1582 | #define MACH_TYPE_MOTOROLA_E2 1589 | |
1583 | #define MACH_TYPE_MOTOROLA_E680 1590 | |
1584 | #define MACH_TYPE_UR2410 1591 | |
1585 | #define MACH_TYPE_TAS9261 1592 | |
1586 | #define MACH_TYPE_HERMES_HD 1593 | |
1587 | #define MACH_TYPE_PERSEO_HD 1594 | |
1588 | #define MACH_TYPE_STARGAZER2 1595 | |
1589 | #define MACH_TYPE_E350 1596 | |
1590 | #define MACH_TYPE_WPCM450 1597 | |
1591 | #define MACH_TYPE_CARTESIO 1598 | |
1592 | #define MACH_TYPE_TOYBOX 1599 | |
1593 | #define MACH_TYPE_TX27 1600 | |
1594 | #define MACH_TYPE_TS409 1601 | |
1595 | #define MACH_TYPE_P300 1602 | |
1596 | #define MACH_TYPE_XDACOMET 1603 | |
1597 | #define MACH_TYPE_DEXFLEX2 1604 | |
c7f879ec | 1598 | #define MACH_TYPE_SFFSDR 1657 |
1cb8e980 WD |
1599 | |
1600 | #ifdef CONFIG_ARCH_EBSA110 | |
1601 | # ifdef machine_arch_type | |
1602 | # undef machine_arch_type | |
1603 | # define machine_arch_type __machine_arch_type | |
1604 | # else | |
1605 | # define machine_arch_type MACH_TYPE_EBSA110 | |
1606 | # endif | |
1607 | # define machine_is_ebsa110() (machine_arch_type == MACH_TYPE_EBSA110) | |
1608 | #else | |
1609 | # define machine_is_ebsa110() (0) | |
1610 | #endif | |
1611 | ||
1612 | #ifdef CONFIG_ARCH_RPC | |
1613 | # ifdef machine_arch_type | |
1614 | # undef machine_arch_type | |
1615 | # define machine_arch_type __machine_arch_type | |
1616 | # else | |
1617 | # define machine_arch_type MACH_TYPE_RISCPC | |
1618 | # endif | |
1619 | # define machine_is_riscpc() (machine_arch_type == MACH_TYPE_RISCPC) | |
1620 | #else | |
1621 | # define machine_is_riscpc() (0) | |
1622 | #endif | |
1623 | ||
1624 | #ifdef CONFIG_ARCH_NEXUSPCI | |
1625 | # ifdef machine_arch_type | |
1626 | # undef machine_arch_type | |
1627 | # define machine_arch_type __machine_arch_type | |
1628 | # else | |
1629 | # define machine_arch_type MACH_TYPE_NEXUSPCI | |
1630 | # endif | |
1631 | # define machine_is_nexuspci() (machine_arch_type == MACH_TYPE_NEXUSPCI) | |
1632 | #else | |
1633 | # define machine_is_nexuspci() (0) | |
1634 | #endif | |
1635 | ||
1636 | #ifdef CONFIG_ARCH_EBSA285 | |
1637 | # ifdef machine_arch_type | |
1638 | # undef machine_arch_type | |
1639 | # define machine_arch_type __machine_arch_type | |
1640 | # else | |
1641 | # define machine_arch_type MACH_TYPE_EBSA285 | |
1642 | # endif | |
1643 | # define machine_is_ebsa285() (machine_arch_type == MACH_TYPE_EBSA285) | |
1644 | #else | |
1645 | # define machine_is_ebsa285() (0) | |
1646 | #endif | |
1647 | ||
1648 | #ifdef CONFIG_ARCH_NETWINDER | |
1649 | # ifdef machine_arch_type | |
1650 | # undef machine_arch_type | |
1651 | # define machine_arch_type __machine_arch_type | |
1652 | # else | |
1653 | # define machine_arch_type MACH_TYPE_NETWINDER | |
1654 | # endif | |
1655 | # define machine_is_netwinder() (machine_arch_type == MACH_TYPE_NETWINDER) | |
1656 | #else | |
1657 | # define machine_is_netwinder() (0) | |
1658 | #endif | |
1659 | ||
1660 | #ifdef CONFIG_ARCH_CATS | |
1661 | # ifdef machine_arch_type | |
1662 | # undef machine_arch_type | |
1663 | # define machine_arch_type __machine_arch_type | |
1664 | # else | |
1665 | # define machine_arch_type MACH_TYPE_CATS | |
1666 | # endif | |
1667 | # define machine_is_cats() (machine_arch_type == MACH_TYPE_CATS) | |
1668 | #else | |
1669 | # define machine_is_cats() (0) | |
1670 | #endif | |
1671 | ||
1672 | #ifdef CONFIG_ARCH_TBOX | |
1673 | # ifdef machine_arch_type | |
1674 | # undef machine_arch_type | |
1675 | # define machine_arch_type __machine_arch_type | |
1676 | # else | |
1677 | # define machine_arch_type MACH_TYPE_TBOX | |
1678 | # endif | |
1679 | # define machine_is_tbox() (machine_arch_type == MACH_TYPE_TBOX) | |
1680 | #else | |
1681 | # define machine_is_tbox() (0) | |
1682 | #endif | |
1683 | ||
1684 | #ifdef CONFIG_ARCH_CO285 | |
1685 | # ifdef machine_arch_type | |
1686 | # undef machine_arch_type | |
1687 | # define machine_arch_type __machine_arch_type | |
1688 | # else | |
1689 | # define machine_arch_type MACH_TYPE_CO285 | |
1690 | # endif | |
1691 | # define machine_is_co285() (machine_arch_type == MACH_TYPE_CO285) | |
1692 | #else | |
1693 | # define machine_is_co285() (0) | |
1694 | #endif | |
1695 | ||
1696 | #ifdef CONFIG_ARCH_CLPS7110 | |
1697 | # ifdef machine_arch_type | |
1698 | # undef machine_arch_type | |
1699 | # define machine_arch_type __machine_arch_type | |
1700 | # else | |
1701 | # define machine_arch_type MACH_TYPE_CLPS7110 | |
1702 | # endif | |
1703 | # define machine_is_clps7110() (machine_arch_type == MACH_TYPE_CLPS7110) | |
1704 | #else | |
1705 | # define machine_is_clps7110() (0) | |
1706 | #endif | |
1707 | ||
1708 | #ifdef CONFIG_ARCH_ARC | |
1709 | # ifdef machine_arch_type | |
1710 | # undef machine_arch_type | |
1711 | # define machine_arch_type __machine_arch_type | |
1712 | # else | |
1713 | # define machine_arch_type MACH_TYPE_ARCHIMEDES | |
1714 | # endif | |
1715 | # define machine_is_archimedes() (machine_arch_type == MACH_TYPE_ARCHIMEDES) | |
1716 | #else | |
1717 | # define machine_is_archimedes() (0) | |
1718 | #endif | |
1719 | ||
1720 | #ifdef CONFIG_ARCH_A5K | |
1721 | # ifdef machine_arch_type | |
1722 | # undef machine_arch_type | |
1723 | # define machine_arch_type __machine_arch_type | |
1724 | # else | |
1725 | # define machine_arch_type MACH_TYPE_A5K | |
1726 | # endif | |
1727 | # define machine_is_a5k() (machine_arch_type == MACH_TYPE_A5K) | |
1728 | #else | |
1729 | # define machine_is_a5k() (0) | |
1730 | #endif | |
1731 | ||
1732 | #ifdef CONFIG_ARCH_ETOILE | |
1733 | # ifdef machine_arch_type | |
1734 | # undef machine_arch_type | |
1735 | # define machine_arch_type __machine_arch_type | |
1736 | # else | |
1737 | # define machine_arch_type MACH_TYPE_ETOILE | |
1738 | # endif | |
1739 | # define machine_is_etoile() (machine_arch_type == MACH_TYPE_ETOILE) | |
1740 | #else | |
1741 | # define machine_is_etoile() (0) | |
1742 | #endif | |
1743 | ||
1744 | #ifdef CONFIG_ARCH_LACIE_NAS | |
1745 | # ifdef machine_arch_type | |
1746 | # undef machine_arch_type | |
1747 | # define machine_arch_type __machine_arch_type | |
1748 | # else | |
1749 | # define machine_arch_type MACH_TYPE_LACIE_NAS | |
1750 | # endif | |
1751 | # define machine_is_lacie_nas() (machine_arch_type == MACH_TYPE_LACIE_NAS) | |
1752 | #else | |
1753 | # define machine_is_lacie_nas() (0) | |
1754 | #endif | |
1755 | ||
1756 | #ifdef CONFIG_ARCH_CLPS7500 | |
1757 | # ifdef machine_arch_type | |
1758 | # undef machine_arch_type | |
1759 | # define machine_arch_type __machine_arch_type | |
1760 | # else | |
1761 | # define machine_arch_type MACH_TYPE_CLPS7500 | |
1762 | # endif | |
1763 | # define machine_is_clps7500() (machine_arch_type == MACH_TYPE_CLPS7500) | |
1764 | #else | |
1765 | # define machine_is_clps7500() (0) | |
1766 | #endif | |
1767 | ||
1768 | #ifdef CONFIG_ARCH_SHARK | |
1769 | # ifdef machine_arch_type | |
1770 | # undef machine_arch_type | |
1771 | # define machine_arch_type __machine_arch_type | |
1772 | # else | |
1773 | # define machine_arch_type MACH_TYPE_SHARK | |
1774 | # endif | |
1775 | # define machine_is_shark() (machine_arch_type == MACH_TYPE_SHARK) | |
1776 | #else | |
1777 | # define machine_is_shark() (0) | |
1778 | #endif | |
1779 | ||
1780 | #ifdef CONFIG_SA1100_BRUTUS | |
1781 | # ifdef machine_arch_type | |
1782 | # undef machine_arch_type | |
1783 | # define machine_arch_type __machine_arch_type | |
1784 | # else | |
1785 | # define machine_arch_type MACH_TYPE_BRUTUS | |
1786 | # endif | |
1787 | # define machine_is_brutus() (machine_arch_type == MACH_TYPE_BRUTUS) | |
1788 | #else | |
1789 | # define machine_is_brutus() (0) | |
1790 | #endif | |
1791 | ||
1792 | #ifdef CONFIG_ARCH_PERSONAL_SERVER | |
1793 | # ifdef machine_arch_type | |
1794 | # undef machine_arch_type | |
1795 | # define machine_arch_type __machine_arch_type | |
1796 | # else | |
1797 | # define machine_arch_type MACH_TYPE_PERSONAL_SERVER | |
1798 | # endif | |
1799 | # define machine_is_personal_server() (machine_arch_type == MACH_TYPE_PERSONAL_SERVER) | |
1800 | #else | |
1801 | # define machine_is_personal_server() (0) | |
1802 | #endif | |
1803 | ||
1804 | #ifdef CONFIG_SA1100_ITSY | |
1805 | # ifdef machine_arch_type | |
1806 | # undef machine_arch_type | |
1807 | # define machine_arch_type __machine_arch_type | |
1808 | # else | |
1809 | # define machine_arch_type MACH_TYPE_ITSY | |
1810 | # endif | |
1811 | # define machine_is_itsy() (machine_arch_type == MACH_TYPE_ITSY) | |
1812 | #else | |
1813 | # define machine_is_itsy() (0) | |
1814 | #endif | |
1815 | ||
1816 | #ifdef CONFIG_ARCH_L7200 | |
1817 | # ifdef machine_arch_type | |
1818 | # undef machine_arch_type | |
1819 | # define machine_arch_type __machine_arch_type | |
1820 | # else | |
1821 | # define machine_arch_type MACH_TYPE_L7200 | |
1822 | # endif | |
1823 | # define machine_is_l7200() (machine_arch_type == MACH_TYPE_L7200) | |
1824 | #else | |
1825 | # define machine_is_l7200() (0) | |
1826 | #endif | |
1827 | ||
1828 | #ifdef CONFIG_SA1100_PLEB | |
1829 | # ifdef machine_arch_type | |
1830 | # undef machine_arch_type | |
1831 | # define machine_arch_type __machine_arch_type | |
1832 | # else | |
1833 | # define machine_arch_type MACH_TYPE_PLEB | |
1834 | # endif | |
1835 | # define machine_is_pleb() (machine_arch_type == MACH_TYPE_PLEB) | |
1836 | #else | |
1837 | # define machine_is_pleb() (0) | |
1838 | #endif | |
1839 | ||
1840 | #ifdef CONFIG_ARCH_INTEGRATOR | |
1841 | # ifdef machine_arch_type | |
1842 | # undef machine_arch_type | |
1843 | # define machine_arch_type __machine_arch_type | |
1844 | # else | |
1845 | # define machine_arch_type MACH_TYPE_INTEGRATOR | |
1846 | # endif | |
1847 | # define machine_is_integrator() (machine_arch_type == MACH_TYPE_INTEGRATOR) | |
1848 | #else | |
1849 | # define machine_is_integrator() (0) | |
1850 | #endif | |
1851 | ||
1852 | #ifdef CONFIG_SA1100_H3600 | |
1853 | # ifdef machine_arch_type | |
1854 | # undef machine_arch_type | |
1855 | # define machine_arch_type __machine_arch_type | |
1856 | # else | |
1857 | # define machine_arch_type MACH_TYPE_H3600 | |
1858 | # endif | |
1859 | # define machine_is_h3600() (machine_arch_type == MACH_TYPE_H3600) | |
1860 | #else | |
1861 | # define machine_is_h3600() (0) | |
1862 | #endif | |
1863 | ||
1864 | #ifdef CONFIG_ARCH_IXP1200 | |
1865 | # ifdef machine_arch_type | |
1866 | # undef machine_arch_type | |
1867 | # define machine_arch_type __machine_arch_type | |
1868 | # else | |
1869 | # define machine_arch_type MACH_TYPE_IXP1200 | |
1870 | # endif | |
1871 | # define machine_is_ixp1200() (machine_arch_type == MACH_TYPE_IXP1200) | |
1872 | #else | |
1873 | # define machine_is_ixp1200() (0) | |
1874 | #endif | |
1875 | ||
1876 | #ifdef CONFIG_ARCH_P720T | |
1877 | # ifdef machine_arch_type | |
1878 | # undef machine_arch_type | |
1879 | # define machine_arch_type __machine_arch_type | |
1880 | # else | |
1881 | # define machine_arch_type MACH_TYPE_P720T | |
1882 | # endif | |
1883 | # define machine_is_p720t() (machine_arch_type == MACH_TYPE_P720T) | |
1884 | #else | |
1885 | # define machine_is_p720t() (0) | |
1886 | #endif | |
1887 | ||
1888 | #ifdef CONFIG_SA1100_ASSABET | |
1889 | # ifdef machine_arch_type | |
1890 | # undef machine_arch_type | |
1891 | # define machine_arch_type __machine_arch_type | |
1892 | # else | |
1893 | # define machine_arch_type MACH_TYPE_ASSABET | |
1894 | # endif | |
1895 | # define machine_is_assabet() (machine_arch_type == MACH_TYPE_ASSABET) | |
1896 | #else | |
1897 | # define machine_is_assabet() (0) | |
1898 | #endif | |
1899 | ||
1900 | #ifdef CONFIG_SA1100_VICTOR | |
1901 | # ifdef machine_arch_type | |
1902 | # undef machine_arch_type | |
1903 | # define machine_arch_type __machine_arch_type | |
1904 | # else | |
1905 | # define machine_arch_type MACH_TYPE_VICTOR | |
1906 | # endif | |
1907 | # define machine_is_victor() (machine_arch_type == MACH_TYPE_VICTOR) | |
1908 | #else | |
1909 | # define machine_is_victor() (0) | |
1910 | #endif | |
1911 | ||
1912 | #ifdef CONFIG_SA1100_LART | |
1913 | # ifdef machine_arch_type | |
1914 | # undef machine_arch_type | |
1915 | # define machine_arch_type __machine_arch_type | |
1916 | # else | |
1917 | # define machine_arch_type MACH_TYPE_LART | |
1918 | # endif | |
1919 | # define machine_is_lart() (machine_arch_type == MACH_TYPE_LART) | |
1920 | #else | |
1921 | # define machine_is_lart() (0) | |
1922 | #endif | |
1923 | ||
1924 | #ifdef CONFIG_SA1100_RANGER | |
1925 | # ifdef machine_arch_type | |
1926 | # undef machine_arch_type | |
1927 | # define machine_arch_type __machine_arch_type | |
1928 | # else | |
1929 | # define machine_arch_type MACH_TYPE_RANGER | |
1930 | # endif | |
1931 | # define machine_is_ranger() (machine_arch_type == MACH_TYPE_RANGER) | |
1932 | #else | |
1933 | # define machine_is_ranger() (0) | |
1934 | #endif | |
1935 | ||
1936 | #ifdef CONFIG_SA1100_GRAPHICSCLIENT | |
1937 | # ifdef machine_arch_type | |
1938 | # undef machine_arch_type | |
1939 | # define machine_arch_type __machine_arch_type | |
1940 | # else | |
1941 | # define machine_arch_type MACH_TYPE_GRAPHICSCLIENT | |
1942 | # endif | |
1943 | # define machine_is_graphicsclient() (machine_arch_type == MACH_TYPE_GRAPHICSCLIENT) | |
1944 | #else | |
1945 | # define machine_is_graphicsclient() (0) | |
1946 | #endif | |
1947 | ||
1948 | #ifdef CONFIG_SA1100_XP860 | |
1949 | # ifdef machine_arch_type | |
1950 | # undef machine_arch_type | |
1951 | # define machine_arch_type __machine_arch_type | |
1952 | # else | |
1953 | # define machine_arch_type MACH_TYPE_XP860 | |
1954 | # endif | |
1955 | # define machine_is_xp860() (machine_arch_type == MACH_TYPE_XP860) | |
1956 | #else | |
1957 | # define machine_is_xp860() (0) | |
1958 | #endif | |
1959 | ||
1960 | #ifdef CONFIG_SA1100_CERF | |
1961 | # ifdef machine_arch_type | |
1962 | # undef machine_arch_type | |
1963 | # define machine_arch_type __machine_arch_type | |
1964 | # else | |
1965 | # define machine_arch_type MACH_TYPE_CERF | |
1966 | # endif | |
1967 | # define machine_is_cerf() (machine_arch_type == MACH_TYPE_CERF) | |
1968 | #else | |
1969 | # define machine_is_cerf() (0) | |
1970 | #endif | |
1971 | ||
1972 | #ifdef CONFIG_SA1100_NANOENGINE | |
1973 | # ifdef machine_arch_type | |
1974 | # undef machine_arch_type | |
1975 | # define machine_arch_type __machine_arch_type | |
1976 | # else | |
1977 | # define machine_arch_type MACH_TYPE_NANOENGINE | |
1978 | # endif | |
1979 | # define machine_is_nanoengine() (machine_arch_type == MACH_TYPE_NANOENGINE) | |
1980 | #else | |
1981 | # define machine_is_nanoengine() (0) | |
1982 | #endif | |
1983 | ||
1984 | #ifdef CONFIG_SA1100_FPIC | |
1985 | # ifdef machine_arch_type | |
1986 | # undef machine_arch_type | |
1987 | # define machine_arch_type __machine_arch_type | |
1988 | # else | |
1989 | # define machine_arch_type MACH_TYPE_FPIC | |
1990 | # endif | |
1991 | # define machine_is_fpic() (machine_arch_type == MACH_TYPE_FPIC) | |
1992 | #else | |
1993 | # define machine_is_fpic() (0) | |
1994 | #endif | |
1995 | ||
1996 | #ifdef CONFIG_SA1100_EXTENEX1 | |
1997 | # ifdef machine_arch_type | |
1998 | # undef machine_arch_type | |
1999 | # define machine_arch_type __machine_arch_type | |
2000 | # else | |
2001 | # define machine_arch_type MACH_TYPE_EXTENEX1 | |
2002 | # endif | |
2003 | # define machine_is_extenex1() (machine_arch_type == MACH_TYPE_EXTENEX1) | |
2004 | #else | |
2005 | # define machine_is_extenex1() (0) | |
2006 | #endif | |
2007 | ||
2008 | #ifdef CONFIG_SA1100_SHERMAN | |
2009 | # ifdef machine_arch_type | |
2010 | # undef machine_arch_type | |
2011 | # define machine_arch_type __machine_arch_type | |
2012 | # else | |
2013 | # define machine_arch_type MACH_TYPE_SHERMAN | |
2014 | # endif | |
2015 | # define machine_is_sherman() (machine_arch_type == MACH_TYPE_SHERMAN) | |
2016 | #else | |
2017 | # define machine_is_sherman() (0) | |
2018 | #endif | |
2019 | ||
2020 | #ifdef CONFIG_SA1100_ACCELENT | |
2021 | # ifdef machine_arch_type | |
2022 | # undef machine_arch_type | |
2023 | # define machine_arch_type __machine_arch_type | |
2024 | # else | |
2025 | # define machine_arch_type MACH_TYPE_ACCELENT_SA | |
2026 | # endif | |
2027 | # define machine_is_accelent_sa() (machine_arch_type == MACH_TYPE_ACCELENT_SA) | |
2028 | #else | |
2029 | # define machine_is_accelent_sa() (0) | |
2030 | #endif | |
2031 | ||
2032 | #ifdef CONFIG_ARCH_L7200_ACCELENT | |
2033 | # ifdef machine_arch_type | |
2034 | # undef machine_arch_type | |
2035 | # define machine_arch_type __machine_arch_type | |
2036 | # else | |
2037 | # define machine_arch_type MACH_TYPE_ACCELENT_L7200 | |
2038 | # endif | |
2039 | # define machine_is_accelent_l7200() (machine_arch_type == MACH_TYPE_ACCELENT_L7200) | |
2040 | #else | |
2041 | # define machine_is_accelent_l7200() (0) | |
2042 | #endif | |
2043 | ||
2044 | #ifdef CONFIG_SA1100_NETPORT | |
2045 | # ifdef machine_arch_type | |
2046 | # undef machine_arch_type | |
2047 | # define machine_arch_type __machine_arch_type | |
2048 | # else | |
2049 | # define machine_arch_type MACH_TYPE_NETPORT | |
2050 | # endif | |
2051 | # define machine_is_netport() (machine_arch_type == MACH_TYPE_NETPORT) | |
2052 | #else | |
2053 | # define machine_is_netport() (0) | |
2054 | #endif | |
2055 | ||
2056 | #ifdef CONFIG_SA1100_PANGOLIN | |
2057 | # ifdef machine_arch_type | |
2058 | # undef machine_arch_type | |
2059 | # define machine_arch_type __machine_arch_type | |
2060 | # else | |
2061 | # define machine_arch_type MACH_TYPE_PANGOLIN | |
2062 | # endif | |
2063 | # define machine_is_pangolin() (machine_arch_type == MACH_TYPE_PANGOLIN) | |
2064 | #else | |
2065 | # define machine_is_pangolin() (0) | |
2066 | #endif | |
2067 | ||
2068 | #ifdef CONFIG_SA1100_YOPY | |
2069 | # ifdef machine_arch_type | |
2070 | # undef machine_arch_type | |
2071 | # define machine_arch_type __machine_arch_type | |
2072 | # else | |
2073 | # define machine_arch_type MACH_TYPE_YOPY | |
2074 | # endif | |
2075 | # define machine_is_yopy() (machine_arch_type == MACH_TYPE_YOPY) | |
2076 | #else | |
2077 | # define machine_is_yopy() (0) | |
2078 | #endif | |
2079 | ||
2080 | #ifdef CONFIG_SA1100_COOLIDGE | |
2081 | # ifdef machine_arch_type | |
2082 | # undef machine_arch_type | |
2083 | # define machine_arch_type __machine_arch_type | |
2084 | # else | |
2085 | # define machine_arch_type MACH_TYPE_COOLIDGE | |
2086 | # endif | |
2087 | # define machine_is_coolidge() (machine_arch_type == MACH_TYPE_COOLIDGE) | |
2088 | #else | |
2089 | # define machine_is_coolidge() (0) | |
2090 | #endif | |
2091 | ||
2092 | #ifdef CONFIG_SA1100_HUW_WEBPANEL | |
2093 | # ifdef machine_arch_type | |
2094 | # undef machine_arch_type | |
2095 | # define machine_arch_type __machine_arch_type | |
2096 | # else | |
2097 | # define machine_arch_type MACH_TYPE_HUW_WEBPANEL | |
2098 | # endif | |
2099 | # define machine_is_huw_webpanel() (machine_arch_type == MACH_TYPE_HUW_WEBPANEL) | |
2100 | #else | |
2101 | # define machine_is_huw_webpanel() (0) | |
2102 | #endif | |
2103 | ||
2104 | #ifdef CONFIG_ARCH_SPOTME | |
2105 | # ifdef machine_arch_type | |
2106 | # undef machine_arch_type | |
2107 | # define machine_arch_type __machine_arch_type | |
2108 | # else | |
2109 | # define machine_arch_type MACH_TYPE_SPOTME | |
2110 | # endif | |
2111 | # define machine_is_spotme() (machine_arch_type == MACH_TYPE_SPOTME) | |
2112 | #else | |
2113 | # define machine_is_spotme() (0) | |
2114 | #endif | |
2115 | ||
2116 | #ifdef CONFIG_ARCH_FREEBIRD | |
2117 | # ifdef machine_arch_type | |
2118 | # undef machine_arch_type | |
2119 | # define machine_arch_type __machine_arch_type | |
2120 | # else | |
2121 | # define machine_arch_type MACH_TYPE_FREEBIRD | |
2122 | # endif | |
2123 | # define machine_is_freebird() (machine_arch_type == MACH_TYPE_FREEBIRD) | |
2124 | #else | |
2125 | # define machine_is_freebird() (0) | |
2126 | #endif | |
2127 | ||
2128 | #ifdef CONFIG_ARCH_TI925 | |
2129 | # ifdef machine_arch_type | |
2130 | # undef machine_arch_type | |
2131 | # define machine_arch_type __machine_arch_type | |
2132 | # else | |
2133 | # define machine_arch_type MACH_TYPE_TI925 | |
2134 | # endif | |
2135 | # define machine_is_ti925() (machine_arch_type == MACH_TYPE_TI925) | |
2136 | #else | |
2137 | # define machine_is_ti925() (0) | |
2138 | #endif | |
2139 | ||
2140 | #ifdef CONFIG_ARCH_RISCSTATION | |
2141 | # ifdef machine_arch_type | |
2142 | # undef machine_arch_type | |
2143 | # define machine_arch_type __machine_arch_type | |
2144 | # else | |
2145 | # define machine_arch_type MACH_TYPE_RISCSTATION | |
2146 | # endif | |
2147 | # define machine_is_riscstation() (machine_arch_type == MACH_TYPE_RISCSTATION) | |
2148 | #else | |
2149 | # define machine_is_riscstation() (0) | |
2150 | #endif | |
2151 | ||
2152 | #ifdef CONFIG_SA1100_CAVY | |
2153 | # ifdef machine_arch_type | |
2154 | # undef machine_arch_type | |
2155 | # define machine_arch_type __machine_arch_type | |
2156 | # else | |
2157 | # define machine_arch_type MACH_TYPE_CAVY | |
2158 | # endif | |
2159 | # define machine_is_cavy() (machine_arch_type == MACH_TYPE_CAVY) | |
2160 | #else | |
2161 | # define machine_is_cavy() (0) | |
2162 | #endif | |
2163 | ||
2164 | #ifdef CONFIG_SA1100_JORNADA720 | |
2165 | # ifdef machine_arch_type | |
2166 | # undef machine_arch_type | |
2167 | # define machine_arch_type __machine_arch_type | |
2168 | # else | |
2169 | # define machine_arch_type MACH_TYPE_JORNADA720 | |
2170 | # endif | |
2171 | # define machine_is_jornada720() (machine_arch_type == MACH_TYPE_JORNADA720) | |
2172 | #else | |
2173 | # define machine_is_jornada720() (0) | |
2174 | #endif | |
2175 | ||
2176 | #ifdef CONFIG_SA1100_OMNIMETER | |
2177 | # ifdef machine_arch_type | |
2178 | # undef machine_arch_type | |
2179 | # define machine_arch_type __machine_arch_type | |
2180 | # else | |
2181 | # define machine_arch_type MACH_TYPE_OMNIMETER | |
2182 | # endif | |
2183 | # define machine_is_omnimeter() (machine_arch_type == MACH_TYPE_OMNIMETER) | |
2184 | #else | |
2185 | # define machine_is_omnimeter() (0) | |
2186 | #endif | |
2187 | ||
2188 | #ifdef CONFIG_ARCH_EDB7211 | |
2189 | # ifdef machine_arch_type | |
2190 | # undef machine_arch_type | |
2191 | # define machine_arch_type __machine_arch_type | |
2192 | # else | |
2193 | # define machine_arch_type MACH_TYPE_EDB7211 | |
2194 | # endif | |
2195 | # define machine_is_edb7211() (machine_arch_type == MACH_TYPE_EDB7211) | |
2196 | #else | |
2197 | # define machine_is_edb7211() (0) | |
2198 | #endif | |
2199 | ||
2200 | #ifdef CONFIG_SA1100_CITYGO | |
2201 | # ifdef machine_arch_type | |
2202 | # undef machine_arch_type | |
2203 | # define machine_arch_type __machine_arch_type | |
2204 | # else | |
2205 | # define machine_arch_type MACH_TYPE_CITYGO | |
2206 | # endif | |
2207 | # define machine_is_citygo() (machine_arch_type == MACH_TYPE_CITYGO) | |
2208 | #else | |
2209 | # define machine_is_citygo() (0) | |
2210 | #endif | |
2211 | ||
2212 | #ifdef CONFIG_SA1100_PFS168 | |
2213 | # ifdef machine_arch_type | |
2214 | # undef machine_arch_type | |
2215 | # define machine_arch_type __machine_arch_type | |
2216 | # else | |
2217 | # define machine_arch_type MACH_TYPE_PFS168 | |
2218 | # endif | |
2219 | # define machine_is_pfs168() (machine_arch_type == MACH_TYPE_PFS168) | |
2220 | #else | |
2221 | # define machine_is_pfs168() (0) | |
2222 | #endif | |
2223 | ||
2224 | #ifdef CONFIG_SA1100_SPOT | |
2225 | # ifdef machine_arch_type | |
2226 | # undef machine_arch_type | |
2227 | # define machine_arch_type __machine_arch_type | |
2228 | # else | |
2229 | # define machine_arch_type MACH_TYPE_SPOT | |
2230 | # endif | |
2231 | # define machine_is_spot() (machine_arch_type == MACH_TYPE_SPOT) | |
2232 | #else | |
2233 | # define machine_is_spot() (0) | |
2234 | #endif | |
2235 | ||
2236 | #ifdef CONFIG_SA1100_FLEXANET | |
2237 | # ifdef machine_arch_type | |
2238 | # undef machine_arch_type | |
2239 | # define machine_arch_type __machine_arch_type | |
2240 | # else | |
2241 | # define machine_arch_type MACH_TYPE_FLEXANET | |
2242 | # endif | |
2243 | # define machine_is_flexanet() (machine_arch_type == MACH_TYPE_FLEXANET) | |
2244 | #else | |
2245 | # define machine_is_flexanet() (0) | |
2246 | #endif | |
2247 | ||
2248 | #ifdef CONFIG_ARCH_WEBPAL | |
2249 | # ifdef machine_arch_type | |
2250 | # undef machine_arch_type | |
2251 | # define machine_arch_type __machine_arch_type | |
2252 | # else | |
2253 | # define machine_arch_type MACH_TYPE_WEBPAL | |
2254 | # endif | |
2255 | # define machine_is_webpal() (machine_arch_type == MACH_TYPE_WEBPAL) | |
2256 | #else | |
2257 | # define machine_is_webpal() (0) | |
2258 | #endif | |
2259 | ||
2260 | #ifdef CONFIG_SA1100_LINPDA | |
2261 | # ifdef machine_arch_type | |
2262 | # undef machine_arch_type | |
2263 | # define machine_arch_type __machine_arch_type | |
2264 | # else | |
2265 | # define machine_arch_type MACH_TYPE_LINPDA | |
2266 | # endif | |
2267 | # define machine_is_linpda() (machine_arch_type == MACH_TYPE_LINPDA) | |
2268 | #else | |
2269 | # define machine_is_linpda() (0) | |
2270 | #endif | |
2271 | ||
2272 | #ifdef CONFIG_ARCH_ANAKIN | |
2273 | # ifdef machine_arch_type | |
2274 | # undef machine_arch_type | |
2275 | # define machine_arch_type __machine_arch_type | |
2276 | # else | |
2277 | # define machine_arch_type MACH_TYPE_ANAKIN | |
2278 | # endif | |
2279 | # define machine_is_anakin() (machine_arch_type == MACH_TYPE_ANAKIN) | |
2280 | #else | |
2281 | # define machine_is_anakin() (0) | |
2282 | #endif | |
2283 | ||
2284 | #ifdef CONFIG_SA1100_MVI | |
2285 | # ifdef machine_arch_type | |
2286 | # undef machine_arch_type | |
2287 | # define machine_arch_type __machine_arch_type | |
2288 | # else | |
2289 | # define machine_arch_type MACH_TYPE_MVI | |
2290 | # endif | |
2291 | # define machine_is_mvi() (machine_arch_type == MACH_TYPE_MVI) | |
2292 | #else | |
2293 | # define machine_is_mvi() (0) | |
2294 | #endif | |
2295 | ||
2296 | #ifdef CONFIG_SA1100_JUPITER | |
2297 | # ifdef machine_arch_type | |
2298 | # undef machine_arch_type | |
2299 | # define machine_arch_type __machine_arch_type | |
2300 | # else | |
2301 | # define machine_arch_type MACH_TYPE_JUPITER | |
2302 | # endif | |
2303 | # define machine_is_jupiter() (machine_arch_type == MACH_TYPE_JUPITER) | |
2304 | #else | |
2305 | # define machine_is_jupiter() (0) | |
2306 | #endif | |
2307 | ||
2308 | #ifdef CONFIG_ARCH_PSIONW | |
2309 | # ifdef machine_arch_type | |
2310 | # undef machine_arch_type | |
2311 | # define machine_arch_type __machine_arch_type | |
2312 | # else | |
2313 | # define machine_arch_type MACH_TYPE_PSIONW | |
2314 | # endif | |
2315 | # define machine_is_psionw() (machine_arch_type == MACH_TYPE_PSIONW) | |
2316 | #else | |
2317 | # define machine_is_psionw() (0) | |
2318 | #endif | |
2319 | ||
2320 | #ifdef CONFIG_SA1100_ALN | |
2321 | # ifdef machine_arch_type | |
2322 | # undef machine_arch_type | |
2323 | # define machine_arch_type __machine_arch_type | |
2324 | # else | |
2325 | # define machine_arch_type MACH_TYPE_ALN | |
2326 | # endif | |
2327 | # define machine_is_aln() (machine_arch_type == MACH_TYPE_ALN) | |
2328 | #else | |
2329 | # define machine_is_aln() (0) | |
2330 | #endif | |
2331 | ||
2332 | #ifdef CONFIG_ARCH_CAMELOT | |
2333 | # ifdef machine_arch_type | |
2334 | # undef machine_arch_type | |
2335 | # define machine_arch_type __machine_arch_type | |
2336 | # else | |
2337 | # define machine_arch_type MACH_TYPE_CAMELOT | |
2338 | # endif | |
2339 | # define machine_is_epxa() (machine_arch_type == MACH_TYPE_CAMELOT) | |
2340 | #else | |
2341 | # define machine_is_epxa() (0) | |
2342 | #endif | |
2343 | ||
2344 | #ifdef CONFIG_SA1100_GDS2200 | |
2345 | # ifdef machine_arch_type | |
2346 | # undef machine_arch_type | |
2347 | # define machine_arch_type __machine_arch_type | |
2348 | # else | |
2349 | # define machine_arch_type MACH_TYPE_GDS2200 | |
2350 | # endif | |
2351 | # define machine_is_gds2200() (machine_arch_type == MACH_TYPE_GDS2200) | |
2352 | #else | |
2353 | # define machine_is_gds2200() (0) | |
2354 | #endif | |
2355 | ||
2356 | #ifdef CONFIG_SA1100_PSION_SERIES7 | |
2357 | # ifdef machine_arch_type | |
2358 | # undef machine_arch_type | |
2359 | # define machine_arch_type __machine_arch_type | |
2360 | # else | |
2361 | # define machine_arch_type MACH_TYPE_PSION_SERIES7 | |
2362 | # endif | |
f43ad539 | 2363 | # define machine_is_netbook() (machine_arch_type == MACH_TYPE_PSION_SERIES7) |
1cb8e980 | 2364 | #else |
f43ad539 | 2365 | # define machine_is_netbook() (0) |
1cb8e980 WD |
2366 | #endif |
2367 | ||
2368 | #ifdef CONFIG_SA1100_XFILE | |
2369 | # ifdef machine_arch_type | |
2370 | # undef machine_arch_type | |
2371 | # define machine_arch_type __machine_arch_type | |
2372 | # else | |
2373 | # define machine_arch_type MACH_TYPE_XFILE | |
2374 | # endif | |
2375 | # define machine_is_xfile() (machine_arch_type == MACH_TYPE_XFILE) | |
2376 | #else | |
2377 | # define machine_is_xfile() (0) | |
2378 | #endif | |
2379 | ||
2380 | #ifdef CONFIG_ARCH_ACCELENT_EP9312 | |
2381 | # ifdef machine_arch_type | |
2382 | # undef machine_arch_type | |
2383 | # define machine_arch_type __machine_arch_type | |
2384 | # else | |
2385 | # define machine_arch_type MACH_TYPE_ACCELENT_EP9312 | |
2386 | # endif | |
2387 | # define machine_is_accelent_ep9312() (machine_arch_type == MACH_TYPE_ACCELENT_EP9312) | |
2388 | #else | |
2389 | # define machine_is_accelent_ep9312() (0) | |
2390 | #endif | |
2391 | ||
2392 | #ifdef CONFIG_ARCH_IC200 | |
2393 | # ifdef machine_arch_type | |
2394 | # undef machine_arch_type | |
2395 | # define machine_arch_type __machine_arch_type | |
2396 | # else | |
2397 | # define machine_arch_type MACH_TYPE_IC200 | |
2398 | # endif | |
2399 | # define machine_is_ic200() (machine_arch_type == MACH_TYPE_IC200) | |
2400 | #else | |
2401 | # define machine_is_ic200() (0) | |
2402 | #endif | |
2403 | ||
2404 | #ifdef CONFIG_SA1100_CREDITLART | |
2405 | # ifdef machine_arch_type | |
2406 | # undef machine_arch_type | |
2407 | # define machine_arch_type __machine_arch_type | |
2408 | # else | |
2409 | # define machine_arch_type MACH_TYPE_CREDITLART | |
2410 | # endif | |
2411 | # define machine_is_creditlart() (machine_arch_type == MACH_TYPE_CREDITLART) | |
2412 | #else | |
2413 | # define machine_is_creditlart() (0) | |
2414 | #endif | |
2415 | ||
2416 | #ifdef CONFIG_SA1100_HTM | |
2417 | # ifdef machine_arch_type | |
2418 | # undef machine_arch_type | |
2419 | # define machine_arch_type __machine_arch_type | |
2420 | # else | |
2421 | # define machine_arch_type MACH_TYPE_HTM | |
2422 | # endif | |
2423 | # define machine_is_htm() (machine_arch_type == MACH_TYPE_HTM) | |
2424 | #else | |
2425 | # define machine_is_htm() (0) | |
2426 | #endif | |
2427 | ||
2428 | #ifdef CONFIG_ARCH_IQ80310 | |
2429 | # ifdef machine_arch_type | |
2430 | # undef machine_arch_type | |
2431 | # define machine_arch_type __machine_arch_type | |
2432 | # else | |
2433 | # define machine_arch_type MACH_TYPE_IQ80310 | |
2434 | # endif | |
2435 | # define machine_is_iq80310() (machine_arch_type == MACH_TYPE_IQ80310) | |
2436 | #else | |
2437 | # define machine_is_iq80310() (0) | |
2438 | #endif | |
2439 | ||
2440 | #ifdef CONFIG_SA1100_FREEBOT | |
2441 | # ifdef machine_arch_type | |
2442 | # undef machine_arch_type | |
2443 | # define machine_arch_type __machine_arch_type | |
2444 | # else | |
2445 | # define machine_arch_type MACH_TYPE_FREEBOT | |
2446 | # endif | |
2447 | # define machine_is_freebot() (machine_arch_type == MACH_TYPE_FREEBOT) | |
2448 | #else | |
2449 | # define machine_is_freebot() (0) | |
2450 | #endif | |
2451 | ||
2452 | #ifdef CONFIG_ARCH_ENTEL | |
2453 | # ifdef machine_arch_type | |
2454 | # undef machine_arch_type | |
2455 | # define machine_arch_type __machine_arch_type | |
2456 | # else | |
2457 | # define machine_arch_type MACH_TYPE_ENTEL | |
2458 | # endif | |
2459 | # define machine_is_entel() (machine_arch_type == MACH_TYPE_ENTEL) | |
2460 | #else | |
2461 | # define machine_is_entel() (0) | |
2462 | #endif | |
2463 | ||
2464 | #ifdef CONFIG_ARCH_ENP3510 | |
2465 | # ifdef machine_arch_type | |
2466 | # undef machine_arch_type | |
2467 | # define machine_arch_type __machine_arch_type | |
2468 | # else | |
2469 | # define machine_arch_type MACH_TYPE_ENP3510 | |
2470 | # endif | |
2471 | # define machine_is_enp3510() (machine_arch_type == MACH_TYPE_ENP3510) | |
2472 | #else | |
2473 | # define machine_is_enp3510() (0) | |
2474 | #endif | |
2475 | ||
2476 | #ifdef CONFIG_SA1100_TRIZEPS | |
2477 | # ifdef machine_arch_type | |
2478 | # undef machine_arch_type | |
2479 | # define machine_arch_type __machine_arch_type | |
2480 | # else | |
2481 | # define machine_arch_type MACH_TYPE_TRIZEPS | |
2482 | # endif | |
2483 | # define machine_is_trizeps() (machine_arch_type == MACH_TYPE_TRIZEPS) | |
2484 | #else | |
2485 | # define machine_is_trizeps() (0) | |
2486 | #endif | |
2487 | ||
2488 | #ifdef CONFIG_SA1100_NESA | |
2489 | # ifdef machine_arch_type | |
2490 | # undef machine_arch_type | |
2491 | # define machine_arch_type __machine_arch_type | |
2492 | # else | |
2493 | # define machine_arch_type MACH_TYPE_NESA | |
2494 | # endif | |
2495 | # define machine_is_nesa() (machine_arch_type == MACH_TYPE_NESA) | |
2496 | #else | |
2497 | # define machine_is_nesa() (0) | |
2498 | #endif | |
2499 | ||
2500 | #ifdef CONFIG_ARCH_VENUS | |
2501 | # ifdef machine_arch_type | |
2502 | # undef machine_arch_type | |
2503 | # define machine_arch_type __machine_arch_type | |
2504 | # else | |
2505 | # define machine_arch_type MACH_TYPE_VENUS | |
2506 | # endif | |
2507 | # define machine_is_venus() (machine_arch_type == MACH_TYPE_VENUS) | |
2508 | #else | |
2509 | # define machine_is_venus() (0) | |
2510 | #endif | |
2511 | ||
2512 | #ifdef CONFIG_ARCH_TARDIS | |
2513 | # ifdef machine_arch_type | |
2514 | # undef machine_arch_type | |
2515 | # define machine_arch_type __machine_arch_type | |
2516 | # else | |
2517 | # define machine_arch_type MACH_TYPE_TARDIS | |
2518 | # endif | |
2519 | # define machine_is_tardis() (machine_arch_type == MACH_TYPE_TARDIS) | |
2520 | #else | |
2521 | # define machine_is_tardis() (0) | |
2522 | #endif | |
2523 | ||
2524 | #ifdef CONFIG_ARCH_MERCURY | |
2525 | # ifdef machine_arch_type | |
2526 | # undef machine_arch_type | |
2527 | # define machine_arch_type __machine_arch_type | |
2528 | # else | |
2529 | # define machine_arch_type MACH_TYPE_MERCURY | |
2530 | # endif | |
2531 | # define machine_is_mercury() (machine_arch_type == MACH_TYPE_MERCURY) | |
2532 | #else | |
2533 | # define machine_is_mercury() (0) | |
2534 | #endif | |
2535 | ||
2536 | #ifdef CONFIG_SA1100_EMPEG | |
2537 | # ifdef machine_arch_type | |
2538 | # undef machine_arch_type | |
2539 | # define machine_arch_type __machine_arch_type | |
2540 | # else | |
2541 | # define machine_arch_type MACH_TYPE_EMPEG | |
2542 | # endif | |
2543 | # define machine_is_empeg() (machine_arch_type == MACH_TYPE_EMPEG) | |
2544 | #else | |
2545 | # define machine_is_empeg() (0) | |
2546 | #endif | |
2547 | ||
2548 | #ifdef CONFIG_ARCH_I80200FCC | |
2549 | # ifdef machine_arch_type | |
2550 | # undef machine_arch_type | |
2551 | # define machine_arch_type __machine_arch_type | |
2552 | # else | |
2553 | # define machine_arch_type MACH_TYPE_I80200FCC | |
2554 | # endif | |
2555 | # define machine_is_adi_evb() (machine_arch_type == MACH_TYPE_I80200FCC) | |
2556 | #else | |
2557 | # define machine_is_adi_evb() (0) | |
2558 | #endif | |
2559 | ||
2560 | #ifdef CONFIG_SA1100_ITT_CPB | |
2561 | # ifdef machine_arch_type | |
2562 | # undef machine_arch_type | |
2563 | # define machine_arch_type __machine_arch_type | |
2564 | # else | |
2565 | # define machine_arch_type MACH_TYPE_ITT_CPB | |
2566 | # endif | |
2567 | # define machine_is_itt_cpb() (machine_arch_type == MACH_TYPE_ITT_CPB) | |
2568 | #else | |
2569 | # define machine_is_itt_cpb() (0) | |
2570 | #endif | |
2571 | ||
2572 | #ifdef CONFIG_SA1100_SVC | |
2573 | # ifdef machine_arch_type | |
2574 | # undef machine_arch_type | |
2575 | # define machine_arch_type __machine_arch_type | |
2576 | # else | |
2577 | # define machine_arch_type MACH_TYPE_SVC | |
2578 | # endif | |
2579 | # define machine_is_svc() (machine_arch_type == MACH_TYPE_SVC) | |
2580 | #else | |
2581 | # define machine_is_svc() (0) | |
2582 | #endif | |
2583 | ||
2584 | #ifdef CONFIG_SA1100_ALPHA2 | |
2585 | # ifdef machine_arch_type | |
2586 | # undef machine_arch_type | |
2587 | # define machine_arch_type __machine_arch_type | |
2588 | # else | |
2589 | # define machine_arch_type MACH_TYPE_ALPHA2 | |
2590 | # endif | |
2591 | # define machine_is_alpha2() (machine_arch_type == MACH_TYPE_ALPHA2) | |
2592 | #else | |
2593 | # define machine_is_alpha2() (0) | |
2594 | #endif | |
2595 | ||
2596 | #ifdef CONFIG_SA1100_ALPHA1 | |
2597 | # ifdef machine_arch_type | |
2598 | # undef machine_arch_type | |
2599 | # define machine_arch_type __machine_arch_type | |
2600 | # else | |
2601 | # define machine_arch_type MACH_TYPE_ALPHA1 | |
2602 | # endif | |
2603 | # define machine_is_alpha1() (machine_arch_type == MACH_TYPE_ALPHA1) | |
2604 | #else | |
2605 | # define machine_is_alpha1() (0) | |
2606 | #endif | |
2607 | ||
2608 | #ifdef CONFIG_ARCH_NETARM | |
2609 | # ifdef machine_arch_type | |
2610 | # undef machine_arch_type | |
2611 | # define machine_arch_type __machine_arch_type | |
2612 | # else | |
2613 | # define machine_arch_type MACH_TYPE_NETARM | |
2614 | # endif | |
2615 | # define machine_is_netarm() (machine_arch_type == MACH_TYPE_NETARM) | |
2616 | #else | |
2617 | # define machine_is_netarm() (0) | |
2618 | #endif | |
2619 | ||
2620 | #ifdef CONFIG_SA1100_SIMPAD | |
2621 | # ifdef machine_arch_type | |
2622 | # undef machine_arch_type | |
2623 | # define machine_arch_type __machine_arch_type | |
2624 | # else | |
2625 | # define machine_arch_type MACH_TYPE_SIMPAD | |
2626 | # endif | |
2627 | # define machine_is_simpad() (machine_arch_type == MACH_TYPE_SIMPAD) | |
2628 | #else | |
2629 | # define machine_is_simpad() (0) | |
2630 | #endif | |
2631 | ||
2632 | #ifdef CONFIG_ARCH_PDA1 | |
2633 | # ifdef machine_arch_type | |
2634 | # undef machine_arch_type | |
2635 | # define machine_arch_type __machine_arch_type | |
2636 | # else | |
2637 | # define machine_arch_type MACH_TYPE_PDA1 | |
2638 | # endif | |
2639 | # define machine_is_pda1() (machine_arch_type == MACH_TYPE_PDA1) | |
2640 | #else | |
2641 | # define machine_is_pda1() (0) | |
2642 | #endif | |
2643 | ||
2644 | #ifdef CONFIG_ARCH_LUBBOCK | |
2645 | # ifdef machine_arch_type | |
2646 | # undef machine_arch_type | |
2647 | # define machine_arch_type __machine_arch_type | |
2648 | # else | |
2649 | # define machine_arch_type MACH_TYPE_LUBBOCK | |
2650 | # endif | |
2651 | # define machine_is_lubbock() (machine_arch_type == MACH_TYPE_LUBBOCK) | |
2652 | #else | |
2653 | # define machine_is_lubbock() (0) | |
2654 | #endif | |
2655 | ||
2656 | #ifdef CONFIG_ARCH_ANIKO | |
2657 | # ifdef machine_arch_type | |
2658 | # undef machine_arch_type | |
2659 | # define machine_arch_type __machine_arch_type | |
2660 | # else | |
2661 | # define machine_arch_type MACH_TYPE_ANIKO | |
2662 | # endif | |
2663 | # define machine_is_aniko() (machine_arch_type == MACH_TYPE_ANIKO) | |
2664 | #else | |
2665 | # define machine_is_aniko() (0) | |
2666 | #endif | |
2667 | ||
2668 | #ifdef CONFIG_ARCH_CLEP7212 | |
2669 | # ifdef machine_arch_type | |
2670 | # undef machine_arch_type | |
2671 | # define machine_arch_type __machine_arch_type | |
2672 | # else | |
2673 | # define machine_arch_type MACH_TYPE_CLEP7212 | |
2674 | # endif | |
2675 | # define machine_is_clep7212() (machine_arch_type == MACH_TYPE_CLEP7212) | |
2676 | #else | |
2677 | # define machine_is_clep7212() (0) | |
2678 | #endif | |
2679 | ||
2680 | #ifdef CONFIG_ARCH_CS89712 | |
2681 | # ifdef machine_arch_type | |
2682 | # undef machine_arch_type | |
2683 | # define machine_arch_type __machine_arch_type | |
2684 | # else | |
2685 | # define machine_arch_type MACH_TYPE_CS89712 | |
2686 | # endif | |
2687 | # define machine_is_cs89712() (machine_arch_type == MACH_TYPE_CS89712) | |
2688 | #else | |
2689 | # define machine_is_cs89712() (0) | |
2690 | #endif | |
2691 | ||
2692 | #ifdef CONFIG_SA1100_WEARARM | |
2693 | # ifdef machine_arch_type | |
2694 | # undef machine_arch_type | |
2695 | # define machine_arch_type __machine_arch_type | |
2696 | # else | |
2697 | # define machine_arch_type MACH_TYPE_WEARARM | |
2698 | # endif | |
2699 | # define machine_is_weararm() (machine_arch_type == MACH_TYPE_WEARARM) | |
2700 | #else | |
2701 | # define machine_is_weararm() (0) | |
2702 | #endif | |
2703 | ||
2704 | #ifdef CONFIG_SA1100_POSSIO_PX | |
2705 | # ifdef machine_arch_type | |
2706 | # undef machine_arch_type | |
2707 | # define machine_arch_type __machine_arch_type | |
2708 | # else | |
2709 | # define machine_arch_type MACH_TYPE_POSSIO_PX | |
2710 | # endif | |
2711 | # define machine_is_possio_px() (machine_arch_type == MACH_TYPE_POSSIO_PX) | |
2712 | #else | |
2713 | # define machine_is_possio_px() (0) | |
2714 | #endif | |
2715 | ||
2716 | #ifdef CONFIG_SA1100_SIDEARM | |
2717 | # ifdef machine_arch_type | |
2718 | # undef machine_arch_type | |
2719 | # define machine_arch_type __machine_arch_type | |
2720 | # else | |
2721 | # define machine_arch_type MACH_TYPE_SIDEARM | |
2722 | # endif | |
2723 | # define machine_is_sidearm() (machine_arch_type == MACH_TYPE_SIDEARM) | |
2724 | #else | |
2725 | # define machine_is_sidearm() (0) | |
2726 | #endif | |
2727 | ||
2728 | #ifdef CONFIG_SA1100_STORK | |
2729 | # ifdef machine_arch_type | |
2730 | # undef machine_arch_type | |
2731 | # define machine_arch_type __machine_arch_type | |
2732 | # else | |
2733 | # define machine_arch_type MACH_TYPE_STORK | |
2734 | # endif | |
2735 | # define machine_is_stork() (machine_arch_type == MACH_TYPE_STORK) | |
2736 | #else | |
2737 | # define machine_is_stork() (0) | |
2738 | #endif | |
2739 | ||
2740 | #ifdef CONFIG_SA1100_SHANNON | |
2741 | # ifdef machine_arch_type | |
2742 | # undef machine_arch_type | |
2743 | # define machine_arch_type __machine_arch_type | |
2744 | # else | |
2745 | # define machine_arch_type MACH_TYPE_SHANNON | |
2746 | # endif | |
2747 | # define machine_is_shannon() (machine_arch_type == MACH_TYPE_SHANNON) | |
2748 | #else | |
2749 | # define machine_is_shannon() (0) | |
2750 | #endif | |
2751 | ||
2752 | #ifdef CONFIG_ARCH_ACE | |
2753 | # ifdef machine_arch_type | |
2754 | # undef machine_arch_type | |
2755 | # define machine_arch_type __machine_arch_type | |
2756 | # else | |
2757 | # define machine_arch_type MACH_TYPE_ACE | |
2758 | # endif | |
2759 | # define machine_is_ace() (machine_arch_type == MACH_TYPE_ACE) | |
2760 | #else | |
2761 | # define machine_is_ace() (0) | |
2762 | #endif | |
2763 | ||
2764 | #ifdef CONFIG_SA1100_BALLYARM | |
2765 | # ifdef machine_arch_type | |
2766 | # undef machine_arch_type | |
2767 | # define machine_arch_type __machine_arch_type | |
2768 | # else | |
2769 | # define machine_arch_type MACH_TYPE_BALLYARM | |
2770 | # endif | |
2771 | # define machine_is_ballyarm() (machine_arch_type == MACH_TYPE_BALLYARM) | |
2772 | #else | |
2773 | # define machine_is_ballyarm() (0) | |
2774 | #endif | |
2775 | ||
2776 | #ifdef CONFIG_SA1100_SIMPUTER | |
2777 | # ifdef machine_arch_type | |
2778 | # undef machine_arch_type | |
2779 | # define machine_arch_type __machine_arch_type | |
2780 | # else | |
2781 | # define machine_arch_type MACH_TYPE_SIMPUTER | |
2782 | # endif | |
2783 | # define machine_is_simputer() (machine_arch_type == MACH_TYPE_SIMPUTER) | |
2784 | #else | |
2785 | # define machine_is_simputer() (0) | |
2786 | #endif | |
2787 | ||
2788 | #ifdef CONFIG_SA1100_NEXTERM | |
2789 | # ifdef machine_arch_type | |
2790 | # undef machine_arch_type | |
2791 | # define machine_arch_type __machine_arch_type | |
2792 | # else | |
2793 | # define machine_arch_type MACH_TYPE_NEXTERM | |
2794 | # endif | |
2795 | # define machine_is_nexterm() (machine_arch_type == MACH_TYPE_NEXTERM) | |
2796 | #else | |
2797 | # define machine_is_nexterm() (0) | |
2798 | #endif | |
2799 | ||
2800 | #ifdef CONFIG_SA1100_SA1100_ELF | |
2801 | # ifdef machine_arch_type | |
2802 | # undef machine_arch_type | |
2803 | # define machine_arch_type __machine_arch_type | |
2804 | # else | |
2805 | # define machine_arch_type MACH_TYPE_SA1100_ELF | |
2806 | # endif | |
2807 | # define machine_is_sa1100_elf() (machine_arch_type == MACH_TYPE_SA1100_ELF) | |
2808 | #else | |
2809 | # define machine_is_sa1100_elf() (0) | |
2810 | #endif | |
2811 | ||
2812 | #ifdef CONFIG_SA1100_GATOR | |
2813 | # ifdef machine_arch_type | |
2814 | # undef machine_arch_type | |
2815 | # define machine_arch_type __machine_arch_type | |
2816 | # else | |
2817 | # define machine_arch_type MACH_TYPE_GATOR | |
2818 | # endif | |
2819 | # define machine_is_gator() (machine_arch_type == MACH_TYPE_GATOR) | |
2820 | #else | |
2821 | # define machine_is_gator() (0) | |
2822 | #endif | |
2823 | ||
2824 | #ifdef CONFIG_ARCH_GRANITE | |
2825 | # ifdef machine_arch_type | |
2826 | # undef machine_arch_type | |
2827 | # define machine_arch_type __machine_arch_type | |
2828 | # else | |
2829 | # define machine_arch_type MACH_TYPE_GRANITE | |
2830 | # endif | |
2831 | # define machine_is_granite() (machine_arch_type == MACH_TYPE_GRANITE) | |
2832 | #else | |
2833 | # define machine_is_granite() (0) | |
2834 | #endif | |
2835 | ||
2836 | #ifdef CONFIG_SA1100_CONSUS | |
2837 | # ifdef machine_arch_type | |
2838 | # undef machine_arch_type | |
2839 | # define machine_arch_type __machine_arch_type | |
2840 | # else | |
2841 | # define machine_arch_type MACH_TYPE_CONSUS | |
2842 | # endif | |
2843 | # define machine_is_consus() (machine_arch_type == MACH_TYPE_CONSUS) | |
2844 | #else | |
2845 | # define machine_is_consus() (0) | |
2846 | #endif | |
2847 | ||
2848 | #ifdef CONFIG_ARCH_AAED2000 | |
2849 | # ifdef machine_arch_type | |
2850 | # undef machine_arch_type | |
2851 | # define machine_arch_type __machine_arch_type | |
2852 | # else | |
2853 | # define machine_arch_type MACH_TYPE_AAED2000 | |
2854 | # endif | |
2855 | # define machine_is_aaed2000() (machine_arch_type == MACH_TYPE_AAED2000) | |
2856 | #else | |
2857 | # define machine_is_aaed2000() (0) | |
2858 | #endif | |
2859 | ||
2860 | #ifdef CONFIG_ARCH_CDB89712 | |
2861 | # ifdef machine_arch_type | |
2862 | # undef machine_arch_type | |
2863 | # define machine_arch_type __machine_arch_type | |
2864 | # else | |
2865 | # define machine_arch_type MACH_TYPE_CDB89712 | |
2866 | # endif | |
2867 | # define machine_is_cdb89712() (machine_arch_type == MACH_TYPE_CDB89712) | |
2868 | #else | |
2869 | # define machine_is_cdb89712() (0) | |
2870 | #endif | |
2871 | ||
2872 | #ifdef CONFIG_SA1100_GRAPHICSMASTER | |
2873 | # ifdef machine_arch_type | |
2874 | # undef machine_arch_type | |
2875 | # define machine_arch_type __machine_arch_type | |
2876 | # else | |
2877 | # define machine_arch_type MACH_TYPE_GRAPHICSMASTER | |
2878 | # endif | |
2879 | # define machine_is_graphicsmaster() (machine_arch_type == MACH_TYPE_GRAPHICSMASTER) | |
2880 | #else | |
2881 | # define machine_is_graphicsmaster() (0) | |
2882 | #endif | |
2883 | ||
2884 | #ifdef CONFIG_SA1100_ADSBITSY | |
2885 | # ifdef machine_arch_type | |
2886 | # undef machine_arch_type | |
2887 | # define machine_arch_type __machine_arch_type | |
2888 | # else | |
2889 | # define machine_arch_type MACH_TYPE_ADSBITSY | |
2890 | # endif | |
2891 | # define machine_is_adsbitsy() (machine_arch_type == MACH_TYPE_ADSBITSY) | |
2892 | #else | |
2893 | # define machine_is_adsbitsy() (0) | |
2894 | #endif | |
2895 | ||
2896 | #ifdef CONFIG_ARCH_PXA_IDP | |
2897 | # ifdef machine_arch_type | |
2898 | # undef machine_arch_type | |
2899 | # define machine_arch_type __machine_arch_type | |
2900 | # else | |
2901 | # define machine_arch_type MACH_TYPE_PXA_IDP | |
2902 | # endif | |
2903 | # define machine_is_pxa_idp() (machine_arch_type == MACH_TYPE_PXA_IDP) | |
2904 | #else | |
2905 | # define machine_is_pxa_idp() (0) | |
2906 | #endif | |
2907 | ||
2908 | #ifdef CONFIG_ARCH_PLCE | |
2909 | # ifdef machine_arch_type | |
2910 | # undef machine_arch_type | |
2911 | # define machine_arch_type __machine_arch_type | |
2912 | # else | |
2913 | # define machine_arch_type MACH_TYPE_PLCE | |
2914 | # endif | |
2915 | # define machine_is_plce() (machine_arch_type == MACH_TYPE_PLCE) | |
2916 | #else | |
2917 | # define machine_is_plce() (0) | |
2918 | #endif | |
2919 | ||
2920 | #ifdef CONFIG_SA1100_PT_SYSTEM3 | |
2921 | # ifdef machine_arch_type | |
2922 | # undef machine_arch_type | |
2923 | # define machine_arch_type __machine_arch_type | |
2924 | # else | |
2925 | # define machine_arch_type MACH_TYPE_PT_SYSTEM3 | |
2926 | # endif | |
2927 | # define machine_is_pt_system3() (machine_arch_type == MACH_TYPE_PT_SYSTEM3) | |
2928 | #else | |
2929 | # define machine_is_pt_system3() (0) | |
2930 | #endif | |
2931 | ||
2932 | #ifdef CONFIG_ARCH_MEDALB | |
2933 | # ifdef machine_arch_type | |
2934 | # undef machine_arch_type | |
2935 | # define machine_arch_type __machine_arch_type | |
2936 | # else | |
2937 | # define machine_arch_type MACH_TYPE_MEDALB | |
2938 | # endif | |
2939 | # define machine_is_murphy() (machine_arch_type == MACH_TYPE_MEDALB) | |
2940 | #else | |
2941 | # define machine_is_murphy() (0) | |
2942 | #endif | |
2943 | ||
2944 | #ifdef CONFIG_ARCH_EAGLE | |
2945 | # ifdef machine_arch_type | |
2946 | # undef machine_arch_type | |
2947 | # define machine_arch_type __machine_arch_type | |
2948 | # else | |
2949 | # define machine_arch_type MACH_TYPE_EAGLE | |
2950 | # endif | |
2951 | # define machine_is_eagle() (machine_arch_type == MACH_TYPE_EAGLE) | |
2952 | #else | |
2953 | # define machine_is_eagle() (0) | |
2954 | #endif | |
2955 | ||
2956 | #ifdef CONFIG_ARCH_DSC21 | |
2957 | # ifdef machine_arch_type | |
2958 | # undef machine_arch_type | |
2959 | # define machine_arch_type __machine_arch_type | |
2960 | # else | |
2961 | # define machine_arch_type MACH_TYPE_DSC21 | |
2962 | # endif | |
2963 | # define machine_is_dsc21() (machine_arch_type == MACH_TYPE_DSC21) | |
2964 | #else | |
2965 | # define machine_is_dsc21() (0) | |
2966 | #endif | |
2967 | ||
2968 | #ifdef CONFIG_ARCH_DSC24 | |
2969 | # ifdef machine_arch_type | |
2970 | # undef machine_arch_type | |
2971 | # define machine_arch_type __machine_arch_type | |
2972 | # else | |
2973 | # define machine_arch_type MACH_TYPE_DSC24 | |
2974 | # endif | |
2975 | # define machine_is_dsc24() (machine_arch_type == MACH_TYPE_DSC24) | |
2976 | #else | |
2977 | # define machine_is_dsc24() (0) | |
2978 | #endif | |
2979 | ||
2980 | #ifdef CONFIG_ARCH_TI5472 | |
2981 | # ifdef machine_arch_type | |
2982 | # undef machine_arch_type | |
2983 | # define machine_arch_type __machine_arch_type | |
2984 | # else | |
2985 | # define machine_arch_type MACH_TYPE_TI5472 | |
2986 | # endif | |
2987 | # define machine_is_ti5472() (machine_arch_type == MACH_TYPE_TI5472) | |
2988 | #else | |
2989 | # define machine_is_ti5472() (0) | |
2990 | #endif | |
2991 | ||
2992 | #ifdef CONFIG_ARCH_AUTCPU12 | |
2993 | # ifdef machine_arch_type | |
2994 | # undef machine_arch_type | |
2995 | # define machine_arch_type __machine_arch_type | |
2996 | # else | |
2997 | # define machine_arch_type MACH_TYPE_AUTCPU12 | |
2998 | # endif | |
2999 | # define machine_is_autcpu12() (machine_arch_type == MACH_TYPE_AUTCPU12) | |
3000 | #else | |
3001 | # define machine_is_autcpu12() (0) | |
3002 | #endif | |
3003 | ||
3004 | #ifdef CONFIG_ARCH_UENGINE | |
3005 | # ifdef machine_arch_type | |
3006 | # undef machine_arch_type | |
3007 | # define machine_arch_type __machine_arch_type | |
3008 | # else | |
3009 | # define machine_arch_type MACH_TYPE_UENGINE | |
3010 | # endif | |
3011 | # define machine_is_uengine() (machine_arch_type == MACH_TYPE_UENGINE) | |
3012 | #else | |
3013 | # define machine_is_uengine() (0) | |
3014 | #endif | |
3015 | ||
3016 | #ifdef CONFIG_SA1100_BLUESTEM | |
3017 | # ifdef machine_arch_type | |
3018 | # undef machine_arch_type | |
3019 | # define machine_arch_type __machine_arch_type | |
3020 | # else | |
3021 | # define machine_arch_type MACH_TYPE_BLUESTEM | |
3022 | # endif | |
3023 | # define machine_is_bluestem() (machine_arch_type == MACH_TYPE_BLUESTEM) | |
3024 | #else | |
3025 | # define machine_is_bluestem() (0) | |
3026 | #endif | |
3027 | ||
3028 | #ifdef CONFIG_ARCH_XINGU8 | |
3029 | # ifdef machine_arch_type | |
3030 | # undef machine_arch_type | |
3031 | # define machine_arch_type __machine_arch_type | |
3032 | # else | |
3033 | # define machine_arch_type MACH_TYPE_XINGU8 | |
3034 | # endif | |
3035 | # define machine_is_xingu8() (machine_arch_type == MACH_TYPE_XINGU8) | |
3036 | #else | |
3037 | # define machine_is_xingu8() (0) | |
3038 | #endif | |
3039 | ||
3040 | #ifdef CONFIG_ARCH_BUSHSTB | |
3041 | # ifdef machine_arch_type | |
3042 | # undef machine_arch_type | |
3043 | # define machine_arch_type __machine_arch_type | |
3044 | # else | |
3045 | # define machine_arch_type MACH_TYPE_BUSHSTB | |
3046 | # endif | |
3047 | # define machine_is_bushstb() (machine_arch_type == MACH_TYPE_BUSHSTB) | |
3048 | #else | |
3049 | # define machine_is_bushstb() (0) | |
3050 | #endif | |
3051 | ||
3052 | #ifdef CONFIG_SA1100_EPSILON1 | |
3053 | # ifdef machine_arch_type | |
3054 | # undef machine_arch_type | |
3055 | # define machine_arch_type __machine_arch_type | |
3056 | # else | |
3057 | # define machine_arch_type MACH_TYPE_EPSILON1 | |
3058 | # endif | |
3059 | # define machine_is_epsilon1() (machine_arch_type == MACH_TYPE_EPSILON1) | |
3060 | #else | |
3061 | # define machine_is_epsilon1() (0) | |
3062 | #endif | |
3063 | ||
3064 | #ifdef CONFIG_SA1100_BALLOON | |
3065 | # ifdef machine_arch_type | |
3066 | # undef machine_arch_type | |
3067 | # define machine_arch_type __machine_arch_type | |
3068 | # else | |
3069 | # define machine_arch_type MACH_TYPE_BALLOON | |
3070 | # endif | |
3071 | # define machine_is_balloon() (machine_arch_type == MACH_TYPE_BALLOON) | |
3072 | #else | |
3073 | # define machine_is_balloon() (0) | |
3074 | #endif | |
3075 | ||
3076 | #ifdef CONFIG_ARCH_PUPPY | |
3077 | # ifdef machine_arch_type | |
3078 | # undef machine_arch_type | |
3079 | # define machine_arch_type __machine_arch_type | |
3080 | # else | |
3081 | # define machine_arch_type MACH_TYPE_PUPPY | |
3082 | # endif | |
3083 | # define machine_is_puppy() (machine_arch_type == MACH_TYPE_PUPPY) | |
3084 | #else | |
3085 | # define machine_is_puppy() (0) | |
3086 | #endif | |
3087 | ||
3088 | #ifdef CONFIG_SA1100_ELROY | |
3089 | # ifdef machine_arch_type | |
3090 | # undef machine_arch_type | |
3091 | # define machine_arch_type __machine_arch_type | |
3092 | # else | |
3093 | # define machine_arch_type MACH_TYPE_ELROY | |
3094 | # endif | |
3095 | # define machine_is_elroy() (machine_arch_type == MACH_TYPE_ELROY) | |
3096 | #else | |
3097 | # define machine_is_elroy() (0) | |
3098 | #endif | |
3099 | ||
3100 | #ifdef CONFIG_ARCH_GMS720 | |
3101 | # ifdef machine_arch_type | |
3102 | # undef machine_arch_type | |
3103 | # define machine_arch_type __machine_arch_type | |
3104 | # else | |
3105 | # define machine_arch_type MACH_TYPE_GMS720 | |
3106 | # endif | |
3107 | # define machine_is_gms720() (machine_arch_type == MACH_TYPE_GMS720) | |
3108 | #else | |
3109 | # define machine_is_gms720() (0) | |
3110 | #endif | |
3111 | ||
3112 | #ifdef CONFIG_ARCH_S24X | |
3113 | # ifdef machine_arch_type | |
3114 | # undef machine_arch_type | |
3115 | # define machine_arch_type __machine_arch_type | |
3116 | # else | |
3117 | # define machine_arch_type MACH_TYPE_S24X | |
3118 | # endif | |
3119 | # define machine_is_s24x() (machine_arch_type == MACH_TYPE_S24X) | |
3120 | #else | |
3121 | # define machine_is_s24x() (0) | |
3122 | #endif | |
3123 | ||
3124 | #ifdef CONFIG_ARCH_JTEL_CLEP7312 | |
3125 | # ifdef machine_arch_type | |
3126 | # undef machine_arch_type | |
3127 | # define machine_arch_type __machine_arch_type | |
3128 | # else | |
3129 | # define machine_arch_type MACH_TYPE_JTEL_CLEP7312 | |
3130 | # endif | |
3131 | # define machine_is_jtel_clep7312() (machine_arch_type == MACH_TYPE_JTEL_CLEP7312) | |
3132 | #else | |
3133 | # define machine_is_jtel_clep7312() (0) | |
3134 | #endif | |
3135 | ||
3136 | #ifdef CONFIG_ARCH_CX821XX | |
3137 | # ifdef machine_arch_type | |
3138 | # undef machine_arch_type | |
3139 | # define machine_arch_type __machine_arch_type | |
3140 | # else | |
3141 | # define machine_arch_type MACH_TYPE_CX821XX | |
3142 | # endif | |
3143 | # define machine_is_cx821xx() (machine_arch_type == MACH_TYPE_CX821XX) | |
3144 | #else | |
3145 | # define machine_is_cx821xx() (0) | |
3146 | #endif | |
3147 | ||
3148 | #ifdef CONFIG_ARCH_EDB7312 | |
3149 | # ifdef machine_arch_type | |
3150 | # undef machine_arch_type | |
3151 | # define machine_arch_type __machine_arch_type | |
3152 | # else | |
3153 | # define machine_arch_type MACH_TYPE_EDB7312 | |
3154 | # endif | |
3155 | # define machine_is_edb7312() (machine_arch_type == MACH_TYPE_EDB7312) | |
3156 | #else | |
3157 | # define machine_is_edb7312() (0) | |
3158 | #endif | |
3159 | ||
3160 | #ifdef CONFIG_SA1100_BSA1110 | |
3161 | # ifdef machine_arch_type | |
3162 | # undef machine_arch_type | |
3163 | # define machine_arch_type __machine_arch_type | |
3164 | # else | |
3165 | # define machine_arch_type MACH_TYPE_BSA1110 | |
3166 | # endif | |
3167 | # define machine_is_bsa1110() (machine_arch_type == MACH_TYPE_BSA1110) | |
3168 | #else | |
3169 | # define machine_is_bsa1110() (0) | |
3170 | #endif | |
3171 | ||
3172 | #ifdef CONFIG_ARCH_POWERPIN | |
3173 | # ifdef machine_arch_type | |
3174 | # undef machine_arch_type | |
3175 | # define machine_arch_type __machine_arch_type | |
3176 | # else | |
3177 | # define machine_arch_type MACH_TYPE_POWERPIN | |
3178 | # endif | |
3179 | # define machine_is_powerpin() (machine_arch_type == MACH_TYPE_POWERPIN) | |
3180 | #else | |
3181 | # define machine_is_powerpin() (0) | |
3182 | #endif | |
3183 | ||
3184 | #ifdef CONFIG_ARCH_OPENARM | |
3185 | # ifdef machine_arch_type | |
3186 | # undef machine_arch_type | |
3187 | # define machine_arch_type __machine_arch_type | |
3188 | # else | |
3189 | # define machine_arch_type MACH_TYPE_OPENARM | |
3190 | # endif | |
3191 | # define machine_is_openarm() (machine_arch_type == MACH_TYPE_OPENARM) | |
3192 | #else | |
3193 | # define machine_is_openarm() (0) | |
3194 | #endif | |
3195 | ||
3196 | #ifdef CONFIG_SA1100_WHITECHAPEL | |
3197 | # ifdef machine_arch_type | |
3198 | # undef machine_arch_type | |
3199 | # define machine_arch_type __machine_arch_type | |
3200 | # else | |
3201 | # define machine_arch_type MACH_TYPE_WHITECHAPEL | |
3202 | # endif | |
3203 | # define machine_is_whitechapel() (machine_arch_type == MACH_TYPE_WHITECHAPEL) | |
3204 | #else | |
3205 | # define machine_is_whitechapel() (0) | |
3206 | #endif | |
3207 | ||
3208 | #ifdef CONFIG_SA1100_H3100 | |
3209 | # ifdef machine_arch_type | |
3210 | # undef machine_arch_type | |
3211 | # define machine_arch_type __machine_arch_type | |
3212 | # else | |
3213 | # define machine_arch_type MACH_TYPE_H3100 | |
3214 | # endif | |
3215 | # define machine_is_h3100() (machine_arch_type == MACH_TYPE_H3100) | |
3216 | #else | |
3217 | # define machine_is_h3100() (0) | |
3218 | #endif | |
3219 | ||
3220 | #ifdef CONFIG_SA1100_H3800 | |
3221 | # ifdef machine_arch_type | |
3222 | # undef machine_arch_type | |
3223 | # define machine_arch_type __machine_arch_type | |
3224 | # else | |
3225 | # define machine_arch_type MACH_TYPE_H3800 | |
3226 | # endif | |
3227 | # define machine_is_h3800() (machine_arch_type == MACH_TYPE_H3800) | |
3228 | #else | |
3229 | # define machine_is_h3800() (0) | |
3230 | #endif | |
3231 | ||
3232 | #ifdef CONFIG_ARCH_BLUE_V1 | |
3233 | # ifdef machine_arch_type | |
3234 | # undef machine_arch_type | |
3235 | # define machine_arch_type __machine_arch_type | |
3236 | # else | |
3237 | # define machine_arch_type MACH_TYPE_BLUE_V1 | |
3238 | # endif | |
3239 | # define machine_is_blue_v1() (machine_arch_type == MACH_TYPE_BLUE_V1) | |
3240 | #else | |
3241 | # define machine_is_blue_v1() (0) | |
3242 | #endif | |
3243 | ||
3244 | #ifdef CONFIG_ARCH_PXA_CERF | |
3245 | # ifdef machine_arch_type | |
3246 | # undef machine_arch_type | |
3247 | # define machine_arch_type __machine_arch_type | |
3248 | # else | |
3249 | # define machine_arch_type MACH_TYPE_PXA_CERF | |
3250 | # endif | |
3251 | # define machine_is_pxa_cerf() (machine_arch_type == MACH_TYPE_PXA_CERF) | |
3252 | #else | |
3253 | # define machine_is_pxa_cerf() (0) | |
3254 | #endif | |
3255 | ||
3256 | #ifdef CONFIG_ARCH_ARM7TEVB | |
3257 | # ifdef machine_arch_type | |
3258 | # undef machine_arch_type | |
3259 | # define machine_arch_type __machine_arch_type | |
3260 | # else | |
3261 | # define machine_arch_type MACH_TYPE_ARM7TEVB | |
3262 | # endif | |
3263 | # define machine_is_arm7tevb() (machine_arch_type == MACH_TYPE_ARM7TEVB) | |
3264 | #else | |
3265 | # define machine_is_arm7tevb() (0) | |
3266 | #endif | |
3267 | ||
3268 | #ifdef CONFIG_SA1100_D7400 | |
3269 | # ifdef machine_arch_type | |
3270 | # undef machine_arch_type | |
3271 | # define machine_arch_type __machine_arch_type | |
3272 | # else | |
3273 | # define machine_arch_type MACH_TYPE_D7400 | |
3274 | # endif | |
3275 | # define machine_is_d7400() (machine_arch_type == MACH_TYPE_D7400) | |
3276 | #else | |
3277 | # define machine_is_d7400() (0) | |
3278 | #endif | |
3279 | ||
3280 | #ifdef CONFIG_ARCH_PIRANHA | |
3281 | # ifdef machine_arch_type | |
3282 | # undef machine_arch_type | |
3283 | # define machine_arch_type __machine_arch_type | |
3284 | # else | |
3285 | # define machine_arch_type MACH_TYPE_PIRANHA | |
3286 | # endif | |
3287 | # define machine_is_piranha() (machine_arch_type == MACH_TYPE_PIRANHA) | |
3288 | #else | |
3289 | # define machine_is_piranha() (0) | |
3290 | #endif | |
3291 | ||
3292 | #ifdef CONFIG_SA1100_SBCAMELOT | |
3293 | # ifdef machine_arch_type | |
3294 | # undef machine_arch_type | |
3295 | # define machine_arch_type __machine_arch_type | |
3296 | # else | |
3297 | # define machine_arch_type MACH_TYPE_SBCAMELOT | |
3298 | # endif | |
3299 | # define machine_is_sbcamelot() (machine_arch_type == MACH_TYPE_SBCAMELOT) | |
3300 | #else | |
3301 | # define machine_is_sbcamelot() (0) | |
3302 | #endif | |
3303 | ||
3304 | #ifdef CONFIG_SA1100_KINGS | |
3305 | # ifdef machine_arch_type | |
3306 | # undef machine_arch_type | |
3307 | # define machine_arch_type __machine_arch_type | |
3308 | # else | |
3309 | # define machine_arch_type MACH_TYPE_KINGS | |
3310 | # endif | |
3311 | # define machine_is_kings() (machine_arch_type == MACH_TYPE_KINGS) | |
3312 | #else | |
3313 | # define machine_is_kings() (0) | |
3314 | #endif | |
3315 | ||
3316 | #ifdef CONFIG_ARCH_SMDK2400 | |
3317 | # ifdef machine_arch_type | |
3318 | # undef machine_arch_type | |
3319 | # define machine_arch_type __machine_arch_type | |
3320 | # else | |
3321 | # define machine_arch_type MACH_TYPE_SMDK2400 | |
3322 | # endif | |
3323 | # define machine_is_smdk2400() (machine_arch_type == MACH_TYPE_SMDK2400) | |
3324 | #else | |
3325 | # define machine_is_smdk2400() (0) | |
3326 | #endif | |
3327 | ||
52f52c14 | 3328 | #ifdef CONFIG_SA1100_COLLIE |
1cb8e980 WD |
3329 | # ifdef machine_arch_type |
3330 | # undef machine_arch_type | |
3331 | # define machine_arch_type __machine_arch_type | |
3332 | # else | |
3333 | # define machine_arch_type MACH_TYPE_COLLIE | |
3334 | # endif | |
3335 | # define machine_is_collie() (machine_arch_type == MACH_TYPE_COLLIE) | |
3336 | #else | |
3337 | # define machine_is_collie() (0) | |
3338 | #endif | |
3339 | ||
3340 | #ifdef CONFIG_ARCH_IDR | |
3341 | # ifdef machine_arch_type | |
3342 | # undef machine_arch_type | |
3343 | # define machine_arch_type __machine_arch_type | |
3344 | # else | |
3345 | # define machine_arch_type MACH_TYPE_IDR | |
3346 | # endif | |
3347 | # define machine_is_idr() (machine_arch_type == MACH_TYPE_IDR) | |
3348 | #else | |
3349 | # define machine_is_idr() (0) | |
3350 | #endif | |
3351 | ||
3352 | #ifdef CONFIG_SA1100_BADGE4 | |
3353 | # ifdef machine_arch_type | |
3354 | # undef machine_arch_type | |
3355 | # define machine_arch_type __machine_arch_type | |
3356 | # else | |
3357 | # define machine_arch_type MACH_TYPE_BADGE4 | |
3358 | # endif | |
3359 | # define machine_is_badge4() (machine_arch_type == MACH_TYPE_BADGE4) | |
3360 | #else | |
3361 | # define machine_is_badge4() (0) | |
3362 | #endif | |
3363 | ||
3364 | #ifdef CONFIG_ARCH_WEBNET | |
3365 | # ifdef machine_arch_type | |
3366 | # undef machine_arch_type | |
3367 | # define machine_arch_type __machine_arch_type | |
3368 | # else | |
3369 | # define machine_arch_type MACH_TYPE_WEBNET | |
3370 | # endif | |
3371 | # define machine_is_webnet() (machine_arch_type == MACH_TYPE_WEBNET) | |
3372 | #else | |
3373 | # define machine_is_webnet() (0) | |
3374 | #endif | |
3375 | ||
3376 | #ifdef CONFIG_SA1100_D7300 | |
3377 | # ifdef machine_arch_type | |
3378 | # undef machine_arch_type | |
3379 | # define machine_arch_type __machine_arch_type | |
3380 | # else | |
3381 | # define machine_arch_type MACH_TYPE_D7300 | |
3382 | # endif | |
3383 | # define machine_is_d7300() (machine_arch_type == MACH_TYPE_D7300) | |
3384 | #else | |
3385 | # define machine_is_d7300() (0) | |
3386 | #endif | |
3387 | ||
3388 | #ifdef CONFIG_SA1100_CEP | |
3389 | # ifdef machine_arch_type | |
3390 | # undef machine_arch_type | |
3391 | # define machine_arch_type __machine_arch_type | |
3392 | # else | |
3393 | # define machine_arch_type MACH_TYPE_CEP | |
3394 | # endif | |
3395 | # define machine_is_cep() (machine_arch_type == MACH_TYPE_CEP) | |
3396 | #else | |
3397 | # define machine_is_cep() (0) | |
3398 | #endif | |
3399 | ||
3400 | #ifdef CONFIG_ARCH_FORTUNET | |
3401 | # ifdef machine_arch_type | |
3402 | # undef machine_arch_type | |
3403 | # define machine_arch_type __machine_arch_type | |
3404 | # else | |
3405 | # define machine_arch_type MACH_TYPE_FORTUNET | |
3406 | # endif | |
3407 | # define machine_is_fortunet() (machine_arch_type == MACH_TYPE_FORTUNET) | |
3408 | #else | |
3409 | # define machine_is_fortunet() (0) | |
3410 | #endif | |
3411 | ||
3412 | #ifdef CONFIG_ARCH_VC547X | |
3413 | # ifdef machine_arch_type | |
3414 | # undef machine_arch_type | |
3415 | # define machine_arch_type __machine_arch_type | |
3416 | # else | |
3417 | # define machine_arch_type MACH_TYPE_VC547X | |
3418 | # endif | |
3419 | # define machine_is_vc547x() (machine_arch_type == MACH_TYPE_VC547X) | |
3420 | #else | |
3421 | # define machine_is_vc547x() (0) | |
3422 | #endif | |
3423 | ||
3424 | #ifdef CONFIG_SA1100_FILEWALKER | |
3425 | # ifdef machine_arch_type | |
3426 | # undef machine_arch_type | |
3427 | # define machine_arch_type __machine_arch_type | |
3428 | # else | |
3429 | # define machine_arch_type MACH_TYPE_FILEWALKER | |
3430 | # endif | |
3431 | # define machine_is_filewalker() (machine_arch_type == MACH_TYPE_FILEWALKER) | |
3432 | #else | |
3433 | # define machine_is_filewalker() (0) | |
3434 | #endif | |
3435 | ||
3436 | #ifdef CONFIG_SA1100_NETGATEWAY | |
3437 | # ifdef machine_arch_type | |
3438 | # undef machine_arch_type | |
3439 | # define machine_arch_type __machine_arch_type | |
3440 | # else | |
3441 | # define machine_arch_type MACH_TYPE_NETGATEWAY | |
3442 | # endif | |
3443 | # define machine_is_netgateway() (machine_arch_type == MACH_TYPE_NETGATEWAY) | |
3444 | #else | |
3445 | # define machine_is_netgateway() (0) | |
3446 | #endif | |
3447 | ||
3448 | #ifdef CONFIG_SA1100_SYMBOL2800 | |
3449 | # ifdef machine_arch_type | |
3450 | # undef machine_arch_type | |
3451 | # define machine_arch_type __machine_arch_type | |
3452 | # else | |
3453 | # define machine_arch_type MACH_TYPE_SYMBOL2800 | |
3454 | # endif | |
3455 | # define machine_is_symbol2800() (machine_arch_type == MACH_TYPE_SYMBOL2800) | |
3456 | #else | |
3457 | # define machine_is_symbol2800() (0) | |
3458 | #endif | |
3459 | ||
3460 | #ifdef CONFIG_SA1100_SUNS | |
3461 | # ifdef machine_arch_type | |
3462 | # undef machine_arch_type | |
3463 | # define machine_arch_type __machine_arch_type | |
3464 | # else | |
3465 | # define machine_arch_type MACH_TYPE_SUNS | |
3466 | # endif | |
3467 | # define machine_is_suns() (machine_arch_type == MACH_TYPE_SUNS) | |
3468 | #else | |
3469 | # define machine_is_suns() (0) | |
3470 | #endif | |
3471 | ||
3472 | #ifdef CONFIG_SA1100_FRODO | |
3473 | # ifdef machine_arch_type | |
3474 | # undef machine_arch_type | |
3475 | # define machine_arch_type __machine_arch_type | |
3476 | # else | |
3477 | # define machine_arch_type MACH_TYPE_FRODO | |
3478 | # endif | |
3479 | # define machine_is_frodo() (machine_arch_type == MACH_TYPE_FRODO) | |
3480 | #else | |
3481 | # define machine_is_frodo() (0) | |
3482 | #endif | |
3483 | ||
3484 | #ifdef CONFIG_SA1100_MACH_TYTE_MS301 | |
3485 | # ifdef machine_arch_type | |
3486 | # undef machine_arch_type | |
3487 | # define machine_arch_type __machine_arch_type | |
3488 | # else | |
3489 | # define machine_arch_type MACH_TYPE_MACH_TYTE_MS301 | |
3490 | # endif | |
3491 | # define machine_is_ms301() (machine_arch_type == MACH_TYPE_MACH_TYTE_MS301) | |
3492 | #else | |
3493 | # define machine_is_ms301() (0) | |
3494 | #endif | |
3495 | ||
3496 | #ifdef CONFIG_ARCH_MX1ADS | |
3497 | # ifdef machine_arch_type | |
3498 | # undef machine_arch_type | |
3499 | # define machine_arch_type __machine_arch_type | |
3500 | # else | |
3501 | # define machine_arch_type MACH_TYPE_MX1ADS | |
3502 | # endif | |
3503 | # define machine_is_mx1ads() (machine_arch_type == MACH_TYPE_MX1ADS) | |
3504 | #else | |
3505 | # define machine_is_mx1ads() (0) | |
3506 | #endif | |
3507 | ||
3508 | #ifdef CONFIG_ARCH_H7201 | |
3509 | # ifdef machine_arch_type | |
3510 | # undef machine_arch_type | |
3511 | # define machine_arch_type __machine_arch_type | |
3512 | # else | |
3513 | # define machine_arch_type MACH_TYPE_H7201 | |
3514 | # endif | |
3515 | # define machine_is_h7201() (machine_arch_type == MACH_TYPE_H7201) | |
3516 | #else | |
3517 | # define machine_is_h7201() (0) | |
3518 | #endif | |
3519 | ||
3520 | #ifdef CONFIG_ARCH_H7202 | |
3521 | # ifdef machine_arch_type | |
3522 | # undef machine_arch_type | |
3523 | # define machine_arch_type __machine_arch_type | |
3524 | # else | |
3525 | # define machine_arch_type MACH_TYPE_H7202 | |
3526 | # endif | |
3527 | # define machine_is_h7202() (machine_arch_type == MACH_TYPE_H7202) | |
3528 | #else | |
3529 | # define machine_is_h7202() (0) | |
3530 | #endif | |
3531 | ||
3532 | #ifdef CONFIG_ARCH_AMICO | |
3533 | # ifdef machine_arch_type | |
3534 | # undef machine_arch_type | |
3535 | # define machine_arch_type __machine_arch_type | |
3536 | # else | |
3537 | # define machine_arch_type MACH_TYPE_AMICO | |
3538 | # endif | |
3539 | # define machine_is_amico() (machine_arch_type == MACH_TYPE_AMICO) | |
3540 | #else | |
3541 | # define machine_is_amico() (0) | |
3542 | #endif | |
3543 | ||
3544 | #ifdef CONFIG_SA1100_IAM | |
3545 | # ifdef machine_arch_type | |
3546 | # undef machine_arch_type | |
3547 | # define machine_arch_type __machine_arch_type | |
3548 | # else | |
3549 | # define machine_arch_type MACH_TYPE_IAM | |
3550 | # endif | |
3551 | # define machine_is_iam() (machine_arch_type == MACH_TYPE_IAM) | |
3552 | #else | |
3553 | # define machine_is_iam() (0) | |
3554 | #endif | |
3555 | ||
3556 | #ifdef CONFIG_SA1100_TT530 | |
3557 | # ifdef machine_arch_type | |
3558 | # undef machine_arch_type | |
3559 | # define machine_arch_type __machine_arch_type | |
3560 | # else | |
3561 | # define machine_arch_type MACH_TYPE_TT530 | |
3562 | # endif | |
3563 | # define machine_is_tt530() (machine_arch_type == MACH_TYPE_TT530) | |
3564 | #else | |
3565 | # define machine_is_tt530() (0) | |
3566 | #endif | |
3567 | ||
3568 | #ifdef CONFIG_ARCH_SAM2400 | |
3569 | # ifdef machine_arch_type | |
3570 | # undef machine_arch_type | |
3571 | # define machine_arch_type __machine_arch_type | |
3572 | # else | |
3573 | # define machine_arch_type MACH_TYPE_SAM2400 | |
3574 | # endif | |
3575 | # define machine_is_sam2400() (machine_arch_type == MACH_TYPE_SAM2400) | |
3576 | #else | |
3577 | # define machine_is_sam2400() (0) | |
3578 | #endif | |
3579 | ||
3580 | #ifdef CONFIG_SA1100_JORNADA56X | |
3581 | # ifdef machine_arch_type | |
3582 | # undef machine_arch_type | |
3583 | # define machine_arch_type __machine_arch_type | |
3584 | # else | |
3585 | # define machine_arch_type MACH_TYPE_JORNADA56X | |
3586 | # endif | |
3587 | # define machine_is_jornada56x() (machine_arch_type == MACH_TYPE_JORNADA56X) | |
3588 | #else | |
3589 | # define machine_is_jornada56x() (0) | |
3590 | #endif | |
3591 | ||
3592 | #ifdef CONFIG_SA1100_ACTIVE | |
3593 | # ifdef machine_arch_type | |
3594 | # undef machine_arch_type | |
3595 | # define machine_arch_type __machine_arch_type | |
3596 | # else | |
3597 | # define machine_arch_type MACH_TYPE_ACTIVE | |
3598 | # endif | |
3599 | # define machine_is_active() (machine_arch_type == MACH_TYPE_ACTIVE) | |
3600 | #else | |
3601 | # define machine_is_active() (0) | |
3602 | #endif | |
3603 | ||
3604 | #ifdef CONFIG_ARCH_IQ80321 | |
3605 | # ifdef machine_arch_type | |
3606 | # undef machine_arch_type | |
3607 | # define machine_arch_type __machine_arch_type | |
3608 | # else | |
3609 | # define machine_arch_type MACH_TYPE_IQ80321 | |
3610 | # endif | |
3611 | # define machine_is_iq80321() (machine_arch_type == MACH_TYPE_IQ80321) | |
3612 | #else | |
3613 | # define machine_is_iq80321() (0) | |
3614 | #endif | |
3615 | ||
3616 | #ifdef CONFIG_SA1100_WID | |
3617 | # ifdef machine_arch_type | |
3618 | # undef machine_arch_type | |
3619 | # define machine_arch_type __machine_arch_type | |
3620 | # else | |
3621 | # define machine_arch_type MACH_TYPE_WID | |
3622 | # endif | |
3623 | # define machine_is_wid() (machine_arch_type == MACH_TYPE_WID) | |
3624 | #else | |
3625 | # define machine_is_wid() (0) | |
3626 | #endif | |
3627 | ||
3628 | #ifdef CONFIG_ARCH_SABINAL | |
3629 | # ifdef machine_arch_type | |
3630 | # undef machine_arch_type | |
3631 | # define machine_arch_type __machine_arch_type | |
3632 | # else | |
3633 | # define machine_arch_type MACH_TYPE_SABINAL | |
3634 | # endif | |
3635 | # define machine_is_sabinal() (machine_arch_type == MACH_TYPE_SABINAL) | |
3636 | #else | |
3637 | # define machine_is_sabinal() (0) | |
3638 | #endif | |
3639 | ||
3640 | #ifdef CONFIG_ARCH_IXP425_MATACUMBE | |
3641 | # ifdef machine_arch_type | |
3642 | # undef machine_arch_type | |
3643 | # define machine_arch_type __machine_arch_type | |
3644 | # else | |
3645 | # define machine_arch_type MACH_TYPE_IXP425_MATACUMBE | |
3646 | # endif | |
3647 | # define machine_is_ixp425_matacumbe() (machine_arch_type == MACH_TYPE_IXP425_MATACUMBE) | |
3648 | #else | |
3649 | # define machine_is_ixp425_matacumbe() (0) | |
3650 | #endif | |
3651 | ||
3652 | #ifdef CONFIG_SA1100_MINIPRINT | |
3653 | # ifdef machine_arch_type | |
3654 | # undef machine_arch_type | |
3655 | # define machine_arch_type __machine_arch_type | |
3656 | # else | |
3657 | # define machine_arch_type MACH_TYPE_MINIPRINT | |
3658 | # endif | |
3659 | # define machine_is_miniprint() (machine_arch_type == MACH_TYPE_MINIPRINT) | |
3660 | #else | |
3661 | # define machine_is_miniprint() (0) | |
3662 | #endif | |
3663 | ||
3664 | #ifdef CONFIG_ARCH_ADM510X | |
3665 | # ifdef machine_arch_type | |
3666 | # undef machine_arch_type | |
3667 | # define machine_arch_type __machine_arch_type | |
3668 | # else | |
3669 | # define machine_arch_type MACH_TYPE_ADM510X | |
3670 | # endif | |
3671 | # define machine_is_adm510x() (machine_arch_type == MACH_TYPE_ADM510X) | |
3672 | #else | |
3673 | # define machine_is_adm510x() (0) | |
3674 | #endif | |
3675 | ||
3676 | #ifdef CONFIG_SA1100_SVS200 | |
3677 | # ifdef machine_arch_type | |
3678 | # undef machine_arch_type | |
3679 | # define machine_arch_type __machine_arch_type | |
3680 | # else | |
3681 | # define machine_arch_type MACH_TYPE_SVS200 | |
3682 | # endif | |
3683 | # define machine_is_svs200() (machine_arch_type == MACH_TYPE_SVS200) | |
3684 | #else | |
3685 | # define machine_is_svs200() (0) | |
3686 | #endif | |
3687 | ||
3688 | #ifdef CONFIG_ARCH_ATG_TCU | |
3689 | # ifdef machine_arch_type | |
3690 | # undef machine_arch_type | |
3691 | # define machine_arch_type __machine_arch_type | |
3692 | # else | |
3693 | # define machine_arch_type MACH_TYPE_ATG_TCU | |
3694 | # endif | |
3695 | # define machine_is_atg_tcu() (machine_arch_type == MACH_TYPE_ATG_TCU) | |
3696 | #else | |
3697 | # define machine_is_atg_tcu() (0) | |
3698 | #endif | |
3699 | ||
3700 | #ifdef CONFIG_SA1100_JORNADA820 | |
3701 | # ifdef machine_arch_type | |
3702 | # undef machine_arch_type | |
3703 | # define machine_arch_type __machine_arch_type | |
3704 | # else | |
3705 | # define machine_arch_type MACH_TYPE_JORNADA820 | |
3706 | # endif | |
3707 | # define machine_is_jornada820() (machine_arch_type == MACH_TYPE_JORNADA820) | |
3708 | #else | |
3709 | # define machine_is_jornada820() (0) | |
3710 | #endif | |
3711 | ||
3712 | #ifdef CONFIG_ARCH_S3C44B0 | |
3713 | # ifdef machine_arch_type | |
3714 | # undef machine_arch_type | |
3715 | # define machine_arch_type __machine_arch_type | |
3716 | # else | |
3717 | # define machine_arch_type MACH_TYPE_S3C44B0 | |
3718 | # endif | |
3719 | # define machine_is_s3c44b0() (machine_arch_type == MACH_TYPE_S3C44B0) | |
3720 | #else | |
3721 | # define machine_is_s3c44b0() (0) | |
3722 | #endif | |
3723 | ||
3724 | #ifdef CONFIG_ARCH_MARGIS2 | |
3725 | # ifdef machine_arch_type | |
3726 | # undef machine_arch_type | |
3727 | # define machine_arch_type __machine_arch_type | |
3728 | # else | |
3729 | # define machine_arch_type MACH_TYPE_MARGIS2 | |
3730 | # endif | |
3731 | # define machine_is_margis2() (machine_arch_type == MACH_TYPE_MARGIS2) | |
3732 | #else | |
3733 | # define machine_is_margis2() (0) | |
3734 | #endif | |
3735 | ||
3736 | #ifdef CONFIG_ARCH_KS8695 | |
3737 | # ifdef machine_arch_type | |
3738 | # undef machine_arch_type | |
3739 | # define machine_arch_type __machine_arch_type | |
3740 | # else | |
3741 | # define machine_arch_type MACH_TYPE_KS8695 | |
3742 | # endif | |
3743 | # define machine_is_ks8695() (machine_arch_type == MACH_TYPE_KS8695) | |
3744 | #else | |
3745 | # define machine_is_ks8695() (0) | |
3746 | #endif | |
3747 | ||
3748 | #ifdef CONFIG_ARCH_BRH | |
3749 | # ifdef machine_arch_type | |
3750 | # undef machine_arch_type | |
3751 | # define machine_arch_type __machine_arch_type | |
3752 | # else | |
3753 | # define machine_arch_type MACH_TYPE_BRH | |
3754 | # endif | |
3755 | # define machine_is_brh() (machine_arch_type == MACH_TYPE_BRH) | |
3756 | #else | |
3757 | # define machine_is_brh() (0) | |
3758 | #endif | |
3759 | ||
3760 | #ifdef CONFIG_ARCH_S3C2410 | |
3761 | # ifdef machine_arch_type | |
3762 | # undef machine_arch_type | |
3763 | # define machine_arch_type __machine_arch_type | |
3764 | # else | |
3765 | # define machine_arch_type MACH_TYPE_S3C2410 | |
3766 | # endif | |
3767 | # define machine_is_s3c2410() (machine_arch_type == MACH_TYPE_S3C2410) | |
3768 | #else | |
3769 | # define machine_is_s3c2410() (0) | |
3770 | #endif | |
3771 | ||
3772 | #ifdef CONFIG_ARCH_POSSIO_PX30 | |
3773 | # ifdef machine_arch_type | |
3774 | # undef machine_arch_type | |
3775 | # define machine_arch_type __machine_arch_type | |
3776 | # else | |
3777 | # define machine_arch_type MACH_TYPE_POSSIO_PX30 | |
3778 | # endif | |
3779 | # define machine_is_possio_px30() (machine_arch_type == MACH_TYPE_POSSIO_PX30) | |
3780 | #else | |
3781 | # define machine_is_possio_px30() (0) | |
3782 | #endif | |
3783 | ||
3784 | #ifdef CONFIG_ARCH_S3C2800 | |
3785 | # ifdef machine_arch_type | |
3786 | # undef machine_arch_type | |
3787 | # define machine_arch_type __machine_arch_type | |
3788 | # else | |
3789 | # define machine_arch_type MACH_TYPE_S3C2800 | |
3790 | # endif | |
3791 | # define machine_is_s3c2800() (machine_arch_type == MACH_TYPE_S3C2800) | |
3792 | #else | |
3793 | # define machine_is_s3c2800() (0) | |
3794 | #endif | |
3795 | ||
3796 | #ifdef CONFIG_SA1100_FLEETWOOD | |
3797 | # ifdef machine_arch_type | |
3798 | # undef machine_arch_type | |
3799 | # define machine_arch_type __machine_arch_type | |
3800 | # else | |
3801 | # define machine_arch_type MACH_TYPE_FLEETWOOD | |
3802 | # endif | |
3803 | # define machine_is_fleetwood() (machine_arch_type == MACH_TYPE_FLEETWOOD) | |
3804 | #else | |
3805 | # define machine_is_fleetwood() (0) | |
3806 | #endif | |
3807 | ||
3808 | #ifdef CONFIG_ARCH_OMAHA | |
3809 | # ifdef machine_arch_type | |
3810 | # undef machine_arch_type | |
3811 | # define machine_arch_type __machine_arch_type | |
3812 | # else | |
3813 | # define machine_arch_type MACH_TYPE_OMAHA | |
3814 | # endif | |
3815 | # define machine_is_omaha() (machine_arch_type == MACH_TYPE_OMAHA) | |
3816 | #else | |
3817 | # define machine_is_omaha() (0) | |
3818 | #endif | |
3819 | ||
3820 | #ifdef CONFIG_ARCH_TA7 | |
3821 | # ifdef machine_arch_type | |
3822 | # undef machine_arch_type | |
3823 | # define machine_arch_type __machine_arch_type | |
3824 | # else | |
3825 | # define machine_arch_type MACH_TYPE_TA7 | |
3826 | # endif | |
3827 | # define machine_is_ta7() (machine_arch_type == MACH_TYPE_TA7) | |
3828 | #else | |
3829 | # define machine_is_ta7() (0) | |
3830 | #endif | |
3831 | ||
3832 | #ifdef CONFIG_SA1100_NOVA | |
3833 | # ifdef machine_arch_type | |
3834 | # undef machine_arch_type | |
3835 | # define machine_arch_type __machine_arch_type | |
3836 | # else | |
3837 | # define machine_arch_type MACH_TYPE_NOVA | |
3838 | # endif | |
3839 | # define machine_is_nova() (machine_arch_type == MACH_TYPE_NOVA) | |
3840 | #else | |
3841 | # define machine_is_nova() (0) | |
3842 | #endif | |
3843 | ||
3844 | #ifdef CONFIG_ARCH_HMK | |
3845 | # ifdef machine_arch_type | |
3846 | # undef machine_arch_type | |
3847 | # define machine_arch_type __machine_arch_type | |
3848 | # else | |
3849 | # define machine_arch_type MACH_TYPE_HMK | |
3850 | # endif | |
3851 | # define machine_is_hmk() (machine_arch_type == MACH_TYPE_HMK) | |
3852 | #else | |
3853 | # define machine_is_hmk() (0) | |
3854 | #endif | |
3855 | ||
52f52c14 | 3856 | #ifdef CONFIG_ARCH_KARO |
1cb8e980 WD |
3857 | # ifdef machine_arch_type |
3858 | # undef machine_arch_type | |
3859 | # define machine_arch_type __machine_arch_type | |
3860 | # else | |
52f52c14 | 3861 | # define machine_arch_type MACH_TYPE_KARO |
1cb8e980 | 3862 | # endif |
52f52c14 | 3863 | # define machine_is_karo() (machine_arch_type == MACH_TYPE_KARO) |
1cb8e980 | 3864 | #else |
52f52c14 | 3865 | # define machine_is_karo() (0) |
1cb8e980 WD |
3866 | #endif |
3867 | ||
3868 | #ifdef CONFIG_SA1100_FESTER | |
3869 | # ifdef machine_arch_type | |
3870 | # undef machine_arch_type | |
3871 | # define machine_arch_type __machine_arch_type | |
3872 | # else | |
3873 | # define machine_arch_type MACH_TYPE_FESTER | |
3874 | # endif | |
3875 | # define machine_is_fester() (machine_arch_type == MACH_TYPE_FESTER) | |
3876 | #else | |
3877 | # define machine_is_fester() (0) | |
3878 | #endif | |
3879 | ||
3880 | #ifdef CONFIG_ARCH_GPI | |
3881 | # ifdef machine_arch_type | |
3882 | # undef machine_arch_type | |
3883 | # define machine_arch_type __machine_arch_type | |
3884 | # else | |
3885 | # define machine_arch_type MACH_TYPE_GPI | |
3886 | # endif | |
3887 | # define machine_is_gpi() (machine_arch_type == MACH_TYPE_GPI) | |
3888 | #else | |
3889 | # define machine_is_gpi() (0) | |
3890 | #endif | |
3891 | ||
3892 | #ifdef CONFIG_ARCH_SMDK2410 | |
3893 | # ifdef machine_arch_type | |
3894 | # undef machine_arch_type | |
3895 | # define machine_arch_type __machine_arch_type | |
3896 | # else | |
3897 | # define machine_arch_type MACH_TYPE_SMDK2410 | |
3898 | # endif | |
3899 | # define machine_is_smdk2410() (machine_arch_type == MACH_TYPE_SMDK2410) | |
3900 | #else | |
3901 | # define machine_is_smdk2410() (0) | |
3902 | #endif | |
3903 | ||
a1f4a3dd | 3904 | #ifdef CONFIG_ARCH_I519 |
1cb8e980 WD |
3905 | # ifdef machine_arch_type |
3906 | # undef machine_arch_type | |
3907 | # define machine_arch_type __machine_arch_type | |
3908 | # else | |
a1f4a3dd | 3909 | # define machine_arch_type MACH_TYPE_I519 |
1cb8e980 | 3910 | # endif |
a1f4a3dd | 3911 | # define machine_is_i519() (machine_arch_type == MACH_TYPE_I519) |
1cb8e980 | 3912 | #else |
a1f4a3dd | 3913 | # define machine_is_i519() (0) |
1cb8e980 WD |
3914 | #endif |
3915 | ||
3916 | #ifdef CONFIG_SA1100_NEXIO | |
3917 | # ifdef machine_arch_type | |
3918 | # undef machine_arch_type | |
3919 | # define machine_arch_type __machine_arch_type | |
3920 | # else | |
3921 | # define machine_arch_type MACH_TYPE_NEXIO | |
3922 | # endif | |
3923 | # define machine_is_nexio() (machine_arch_type == MACH_TYPE_NEXIO) | |
3924 | #else | |
3925 | # define machine_is_nexio() (0) | |
3926 | #endif | |
3927 | ||
3928 | #ifdef CONFIG_SA1100_BITBOX | |
3929 | # ifdef machine_arch_type | |
3930 | # undef machine_arch_type | |
3931 | # define machine_arch_type __machine_arch_type | |
3932 | # else | |
3933 | # define machine_arch_type MACH_TYPE_BITBOX | |
3934 | # endif | |
3935 | # define machine_is_bitbox() (machine_arch_type == MACH_TYPE_BITBOX) | |
3936 | #else | |
3937 | # define machine_is_bitbox() (0) | |
3938 | #endif | |
3939 | ||
3940 | #ifdef CONFIG_SA1100_G200 | |
3941 | # ifdef machine_arch_type | |
3942 | # undef machine_arch_type | |
3943 | # define machine_arch_type __machine_arch_type | |
3944 | # else | |
3945 | # define machine_arch_type MACH_TYPE_G200 | |
3946 | # endif | |
3947 | # define machine_is_g200() (machine_arch_type == MACH_TYPE_G200) | |
3948 | #else | |
3949 | # define machine_is_g200() (0) | |
3950 | #endif | |
3951 | ||
3952 | #ifdef CONFIG_SA1100_GILL | |
3953 | # ifdef machine_arch_type | |
3954 | # undef machine_arch_type | |
3955 | # define machine_arch_type __machine_arch_type | |
3956 | # else | |
3957 | # define machine_arch_type MACH_TYPE_GILL | |
3958 | # endif | |
3959 | # define machine_is_gill() (machine_arch_type == MACH_TYPE_GILL) | |
3960 | #else | |
3961 | # define machine_is_gill() (0) | |
3962 | #endif | |
3963 | ||
3964 | #ifdef CONFIG_ARCH_PXA_MERCURY | |
3965 | # ifdef machine_arch_type | |
3966 | # undef machine_arch_type | |
3967 | # define machine_arch_type __machine_arch_type | |
3968 | # else | |
3969 | # define machine_arch_type MACH_TYPE_PXA_MERCURY | |
3970 | # endif | |
3971 | # define machine_is_pxa_mercury() (machine_arch_type == MACH_TYPE_PXA_MERCURY) | |
3972 | #else | |
3973 | # define machine_is_pxa_mercury() (0) | |
3974 | #endif | |
3975 | ||
3976 | #ifdef CONFIG_ARCH_CEIVA | |
3977 | # ifdef machine_arch_type | |
3978 | # undef machine_arch_type | |
3979 | # define machine_arch_type __machine_arch_type | |
3980 | # else | |
3981 | # define machine_arch_type MACH_TYPE_CEIVA | |
3982 | # endif | |
3983 | # define machine_is_ceiva() (machine_arch_type == MACH_TYPE_CEIVA) | |
3984 | #else | |
3985 | # define machine_is_ceiva() (0) | |
3986 | #endif | |
3987 | ||
3988 | #ifdef CONFIG_SA1100_FRET | |
3989 | # ifdef machine_arch_type | |
3990 | # undef machine_arch_type | |
3991 | # define machine_arch_type __machine_arch_type | |
3992 | # else | |
3993 | # define machine_arch_type MACH_TYPE_FRET | |
3994 | # endif | |
3995 | # define machine_is_fret() (machine_arch_type == MACH_TYPE_FRET) | |
3996 | #else | |
3997 | # define machine_is_fret() (0) | |
3998 | #endif | |
3999 | ||
4000 | #ifdef CONFIG_SA1100_EMAILPHONE | |
4001 | # ifdef machine_arch_type | |
4002 | # undef machine_arch_type | |
4003 | # define machine_arch_type __machine_arch_type | |
4004 | # else | |
4005 | # define machine_arch_type MACH_TYPE_EMAILPHONE | |
4006 | # endif | |
4007 | # define machine_is_emailphone() (machine_arch_type == MACH_TYPE_EMAILPHONE) | |
4008 | #else | |
4009 | # define machine_is_emailphone() (0) | |
4010 | #endif | |
4011 | ||
4012 | #ifdef CONFIG_ARCH_H3900 | |
4013 | # ifdef machine_arch_type | |
4014 | # undef machine_arch_type | |
4015 | # define machine_arch_type __machine_arch_type | |
4016 | # else | |
4017 | # define machine_arch_type MACH_TYPE_H3900 | |
4018 | # endif | |
4019 | # define machine_is_h3900() (machine_arch_type == MACH_TYPE_H3900) | |
4020 | #else | |
4021 | # define machine_is_h3900() (0) | |
4022 | #endif | |
4023 | ||
4024 | #ifdef CONFIG_ARCH_PXA1 | |
4025 | # ifdef machine_arch_type | |
4026 | # undef machine_arch_type | |
4027 | # define machine_arch_type __machine_arch_type | |
4028 | # else | |
4029 | # define machine_arch_type MACH_TYPE_PXA1 | |
4030 | # endif | |
4031 | # define machine_is_pxa1() (machine_arch_type == MACH_TYPE_PXA1) | |
4032 | #else | |
4033 | # define machine_is_pxa1() (0) | |
4034 | #endif | |
4035 | ||
4036 | #ifdef CONFIG_SA1100_KOAN369 | |
4037 | # ifdef machine_arch_type | |
4038 | # undef machine_arch_type | |
4039 | # define machine_arch_type __machine_arch_type | |
4040 | # else | |
4041 | # define machine_arch_type MACH_TYPE_KOAN369 | |
4042 | # endif | |
4043 | # define machine_is_koan369() (machine_arch_type == MACH_TYPE_KOAN369) | |
4044 | #else | |
4045 | # define machine_is_koan369() (0) | |
4046 | #endif | |
4047 | ||
4048 | #ifdef CONFIG_ARCH_COGENT | |
4049 | # ifdef machine_arch_type | |
4050 | # undef machine_arch_type | |
4051 | # define machine_arch_type __machine_arch_type | |
4052 | # else | |
4053 | # define machine_arch_type MACH_TYPE_COGENT | |
4054 | # endif | |
4055 | # define machine_is_cogent() (machine_arch_type == MACH_TYPE_COGENT) | |
4056 | #else | |
4057 | # define machine_is_cogent() (0) | |
4058 | #endif | |
4059 | ||
4060 | #ifdef CONFIG_ARCH_ESL_SIMPUTER | |
4061 | # ifdef machine_arch_type | |
4062 | # undef machine_arch_type | |
4063 | # define machine_arch_type __machine_arch_type | |
4064 | # else | |
4065 | # define machine_arch_type MACH_TYPE_ESL_SIMPUTER | |
4066 | # endif | |
4067 | # define machine_is_esl_simputer() (machine_arch_type == MACH_TYPE_ESL_SIMPUTER) | |
4068 | #else | |
4069 | # define machine_is_esl_simputer() (0) | |
4070 | #endif | |
4071 | ||
4072 | #ifdef CONFIG_ARCH_ESL_SIMPUTER_CLR | |
4073 | # ifdef machine_arch_type | |
4074 | # undef machine_arch_type | |
4075 | # define machine_arch_type __machine_arch_type | |
4076 | # else | |
4077 | # define machine_arch_type MACH_TYPE_ESL_SIMPUTER_CLR | |
4078 | # endif | |
4079 | # define machine_is_esl_simputer_clr() (machine_arch_type == MACH_TYPE_ESL_SIMPUTER_CLR) | |
4080 | #else | |
4081 | # define machine_is_esl_simputer_clr() (0) | |
4082 | #endif | |
4083 | ||
4084 | #ifdef CONFIG_ARCH_ESL_SIMPUTER_BW | |
4085 | # ifdef machine_arch_type | |
4086 | # undef machine_arch_type | |
4087 | # define machine_arch_type __machine_arch_type | |
4088 | # else | |
4089 | # define machine_arch_type MACH_TYPE_ESL_SIMPUTER_BW | |
4090 | # endif | |
4091 | # define machine_is_esl_simputer_bw() (machine_arch_type == MACH_TYPE_ESL_SIMPUTER_BW) | |
4092 | #else | |
4093 | # define machine_is_esl_simputer_bw() (0) | |
4094 | #endif | |
4095 | ||
4096 | #ifdef CONFIG_ARCH_HHP_CRADLE | |
4097 | # ifdef machine_arch_type | |
4098 | # undef machine_arch_type | |
4099 | # define machine_arch_type __machine_arch_type | |
4100 | # else | |
4101 | # define machine_arch_type MACH_TYPE_HHP_CRADLE | |
4102 | # endif | |
4103 | # define machine_is_hhp_cradle() (machine_arch_type == MACH_TYPE_HHP_CRADLE) | |
4104 | #else | |
4105 | # define machine_is_hhp_cradle() (0) | |
4106 | #endif | |
4107 | ||
4108 | #ifdef CONFIG_ARCH_HE500 | |
4109 | # ifdef machine_arch_type | |
4110 | # undef machine_arch_type | |
4111 | # define machine_arch_type __machine_arch_type | |
4112 | # else | |
4113 | # define machine_arch_type MACH_TYPE_HE500 | |
4114 | # endif | |
4115 | # define machine_is_he500() (machine_arch_type == MACH_TYPE_HE500) | |
4116 | #else | |
4117 | # define machine_is_he500() (0) | |
4118 | #endif | |
4119 | ||
4120 | #ifdef CONFIG_SA1100_INHANDELF2 | |
4121 | # ifdef machine_arch_type | |
4122 | # undef machine_arch_type | |
4123 | # define machine_arch_type __machine_arch_type | |
4124 | # else | |
4125 | # define machine_arch_type MACH_TYPE_INHANDELF2 | |
4126 | # endif | |
4127 | # define machine_is_inhandelf2() (machine_arch_type == MACH_TYPE_INHANDELF2) | |
4128 | #else | |
4129 | # define machine_is_inhandelf2() (0) | |
4130 | #endif | |
4131 | ||
4132 | #ifdef CONFIG_SA1100_INHANDFTIP | |
4133 | # ifdef machine_arch_type | |
4134 | # undef machine_arch_type | |
4135 | # define machine_arch_type __machine_arch_type | |
4136 | # else | |
4137 | # define machine_arch_type MACH_TYPE_INHANDFTIP | |
4138 | # endif | |
4139 | # define machine_is_inhandftip() (machine_arch_type == MACH_TYPE_INHANDFTIP) | |
4140 | #else | |
4141 | # define machine_is_inhandftip() (0) | |
4142 | #endif | |
4143 | ||
4144 | #ifdef CONFIG_SA1100_DNP1110 | |
4145 | # ifdef machine_arch_type | |
4146 | # undef machine_arch_type | |
4147 | # define machine_arch_type __machine_arch_type | |
4148 | # else | |
4149 | # define machine_arch_type MACH_TYPE_DNP1110 | |
4150 | # endif | |
4151 | # define machine_is_dnp1110() (machine_arch_type == MACH_TYPE_DNP1110) | |
4152 | #else | |
4153 | # define machine_is_dnp1110() (0) | |
4154 | #endif | |
4155 | ||
4156 | #ifdef CONFIG_SA1100_PNP1110 | |
4157 | # ifdef machine_arch_type | |
4158 | # undef machine_arch_type | |
4159 | # define machine_arch_type __machine_arch_type | |
4160 | # else | |
4161 | # define machine_arch_type MACH_TYPE_PNP1110 | |
4162 | # endif | |
4163 | # define machine_is_pnp1110() (machine_arch_type == MACH_TYPE_PNP1110) | |
4164 | #else | |
4165 | # define machine_is_pnp1110() (0) | |
4166 | #endif | |
4167 | ||
4168 | #ifdef CONFIG_ARCH_CSB226 | |
4169 | # ifdef machine_arch_type | |
4170 | # undef machine_arch_type | |
4171 | # define machine_arch_type __machine_arch_type | |
4172 | # else | |
4173 | # define machine_arch_type MACH_TYPE_CSB226 | |
4174 | # endif | |
4175 | # define machine_is_csb226() (machine_arch_type == MACH_TYPE_CSB226) | |
4176 | #else | |
4177 | # define machine_is_csb226() (0) | |
4178 | #endif | |
4179 | ||
4180 | #ifdef CONFIG_SA1100_ARNOLD | |
4181 | # ifdef machine_arch_type | |
4182 | # undef machine_arch_type | |
4183 | # define machine_arch_type __machine_arch_type | |
4184 | # else | |
4185 | # define machine_arch_type MACH_TYPE_ARNOLD | |
4186 | # endif | |
4187 | # define machine_is_arnold() (machine_arch_type == MACH_TYPE_ARNOLD) | |
4188 | #else | |
4189 | # define machine_is_arnold() (0) | |
4190 | #endif | |
4191 | ||
98404649 | 4192 | #ifdef CONFIG_MACH_VOICEBLUE |
1cb8e980 WD |
4193 | # ifdef machine_arch_type |
4194 | # undef machine_arch_type | |
4195 | # define machine_arch_type __machine_arch_type | |
4196 | # else | |
98404649 | 4197 | # define machine_arch_type MACH_TYPE_VOICEBLUE |
1cb8e980 | 4198 | # endif |
98404649 | 4199 | # define machine_is_voiceblue() (machine_arch_type == MACH_TYPE_VOICEBLUE) |
1cb8e980 | 4200 | #else |
98404649 | 4201 | # define machine_is_voiceblue() (0) |
1cb8e980 WD |
4202 | #endif |
4203 | ||
4204 | #ifdef CONFIG_ARCH_JZ8028 | |
4205 | # ifdef machine_arch_type | |
4206 | # undef machine_arch_type | |
4207 | # define machine_arch_type __machine_arch_type | |
4208 | # else | |
4209 | # define machine_arch_type MACH_TYPE_JZ8028 | |
4210 | # endif | |
4211 | # define machine_is_jz8028() (machine_arch_type == MACH_TYPE_JZ8028) | |
4212 | #else | |
4213 | # define machine_is_jz8028() (0) | |
4214 | #endif | |
4215 | ||
a1f4a3dd | 4216 | #ifdef CONFIG_ARCH_H5400 |
1cb8e980 WD |
4217 | # ifdef machine_arch_type |
4218 | # undef machine_arch_type | |
4219 | # define machine_arch_type __machine_arch_type | |
4220 | # else | |
a1f4a3dd | 4221 | # define machine_arch_type MACH_TYPE_H5400 |
1cb8e980 | 4222 | # endif |
a1f4a3dd | 4223 | # define machine_is_h5400() (machine_arch_type == MACH_TYPE_H5400) |
1cb8e980 | 4224 | #else |
52f52c14 | 4225 | # define machine_is_h5400() (0) |
1cb8e980 WD |
4226 | #endif |
4227 | ||
4228 | #ifdef CONFIG_SA1100_FORTE | |
4229 | # ifdef machine_arch_type | |
4230 | # undef machine_arch_type | |
4231 | # define machine_arch_type __machine_arch_type | |
4232 | # else | |
4233 | # define machine_arch_type MACH_TYPE_FORTE | |
4234 | # endif | |
4235 | # define machine_is_forte() (machine_arch_type == MACH_TYPE_FORTE) | |
4236 | #else | |
4237 | # define machine_is_forte() (0) | |
4238 | #endif | |
4239 | ||
4240 | #ifdef CONFIG_SA1100_ACAM | |
4241 | # ifdef machine_arch_type | |
4242 | # undef machine_arch_type | |
4243 | # define machine_arch_type __machine_arch_type | |
4244 | # else | |
4245 | # define machine_arch_type MACH_TYPE_ACAM | |
4246 | # endif | |
4247 | # define machine_is_acam() (machine_arch_type == MACH_TYPE_ACAM) | |
4248 | #else | |
4249 | # define machine_is_acam() (0) | |
4250 | #endif | |
4251 | ||
4252 | #ifdef CONFIG_SA1100_ABOX | |
4253 | # ifdef machine_arch_type | |
4254 | # undef machine_arch_type | |
4255 | # define machine_arch_type __machine_arch_type | |
4256 | # else | |
4257 | # define machine_arch_type MACH_TYPE_ABOX | |
4258 | # endif | |
4259 | # define machine_is_abox() (machine_arch_type == MACH_TYPE_ABOX) | |
4260 | #else | |
4261 | # define machine_is_abox() (0) | |
4262 | #endif | |
4263 | ||
4264 | #ifdef CONFIG_ARCH_ATMEL | |
4265 | # ifdef machine_arch_type | |
4266 | # undef machine_arch_type | |
4267 | # define machine_arch_type __machine_arch_type | |
4268 | # else | |
4269 | # define machine_arch_type MACH_TYPE_ATMEL | |
4270 | # endif | |
4271 | # define machine_is_atmel() (machine_arch_type == MACH_TYPE_ATMEL) | |
4272 | #else | |
4273 | # define machine_is_atmel() (0) | |
4274 | #endif | |
4275 | ||
4276 | #ifdef CONFIG_ARCH_SITSANG | |
4277 | # ifdef machine_arch_type | |
4278 | # undef machine_arch_type | |
4279 | # define machine_arch_type __machine_arch_type | |
4280 | # else | |
4281 | # define machine_arch_type MACH_TYPE_SITSANG | |
4282 | # endif | |
4283 | # define machine_is_sitsang() (machine_arch_type == MACH_TYPE_SITSANG) | |
4284 | #else | |
4285 | # define machine_is_sitsang() (0) | |
4286 | #endif | |
4287 | ||
4288 | #ifdef CONFIG_SA1100_CPU1110LCDNET | |
4289 | # ifdef machine_arch_type | |
4290 | # undef machine_arch_type | |
4291 | # define machine_arch_type __machine_arch_type | |
4292 | # else | |
4293 | # define machine_arch_type MACH_TYPE_CPU1110LCDNET | |
4294 | # endif | |
4295 | # define machine_is_cpu1110lcdnet() (machine_arch_type == MACH_TYPE_CPU1110LCDNET) | |
4296 | #else | |
4297 | # define machine_is_cpu1110lcdnet() (0) | |
4298 | #endif | |
4299 | ||
4300 | #ifdef CONFIG_ARCH_MPL_VCMA9 | |
4301 | # ifdef machine_arch_type | |
4302 | # undef machine_arch_type | |
4303 | # define machine_arch_type __machine_arch_type | |
4304 | # else | |
4305 | # define machine_arch_type MACH_TYPE_MPL_VCMA9 | |
4306 | # endif | |
4307 | # define machine_is_mpl_vcma9() (machine_arch_type == MACH_TYPE_MPL_VCMA9) | |
4308 | #else | |
4309 | # define machine_is_mpl_vcma9() (0) | |
4310 | #endif | |
4311 | ||
4312 | #ifdef CONFIG_ARCH_OPUS_A1 | |
4313 | # ifdef machine_arch_type | |
4314 | # undef machine_arch_type | |
4315 | # define machine_arch_type __machine_arch_type | |
4316 | # else | |
4317 | # define machine_arch_type MACH_TYPE_OPUS_A1 | |
4318 | # endif | |
4319 | # define machine_is_opus_a1() (machine_arch_type == MACH_TYPE_OPUS_A1) | |
4320 | #else | |
4321 | # define machine_is_opus_a1() (0) | |
4322 | #endif | |
4323 | ||
4324 | #ifdef CONFIG_ARCH_DAYTONA | |
4325 | # ifdef machine_arch_type | |
4326 | # undef machine_arch_type | |
4327 | # define machine_arch_type __machine_arch_type | |
4328 | # else | |
4329 | # define machine_arch_type MACH_TYPE_DAYTONA | |
4330 | # endif | |
4331 | # define machine_is_daytona() (machine_arch_type == MACH_TYPE_DAYTONA) | |
4332 | #else | |
4333 | # define machine_is_daytona() (0) | |
4334 | #endif | |
4335 | ||
4336 | #ifdef CONFIG_SA1100_KILLBEAR | |
4337 | # ifdef machine_arch_type | |
4338 | # undef machine_arch_type | |
4339 | # define machine_arch_type __machine_arch_type | |
4340 | # else | |
4341 | # define machine_arch_type MACH_TYPE_KILLBEAR | |
4342 | # endif | |
4343 | # define machine_is_killbear() (machine_arch_type == MACH_TYPE_KILLBEAR) | |
4344 | #else | |
4345 | # define machine_is_killbear() (0) | |
4346 | #endif | |
4347 | ||
4348 | #ifdef CONFIG_ARCH_YOHO | |
4349 | # ifdef machine_arch_type | |
4350 | # undef machine_arch_type | |
4351 | # define machine_arch_type __machine_arch_type | |
4352 | # else | |
4353 | # define machine_arch_type MACH_TYPE_YOHO | |
4354 | # endif | |
4355 | # define machine_is_yoho() (machine_arch_type == MACH_TYPE_YOHO) | |
4356 | #else | |
4357 | # define machine_is_yoho() (0) | |
4358 | #endif | |
4359 | ||
4360 | #ifdef CONFIG_ARCH_JASPER | |
4361 | # ifdef machine_arch_type | |
4362 | # undef machine_arch_type | |
4363 | # define machine_arch_type __machine_arch_type | |
4364 | # else | |
4365 | # define machine_arch_type MACH_TYPE_JASPER | |
4366 | # endif | |
4367 | # define machine_is_jasper() (machine_arch_type == MACH_TYPE_JASPER) | |
4368 | #else | |
4369 | # define machine_is_jasper() (0) | |
4370 | #endif | |
4371 | ||
4372 | #ifdef CONFIG_ARCH_DSC25 | |
4373 | # ifdef machine_arch_type | |
4374 | # undef machine_arch_type | |
4375 | # define machine_arch_type __machine_arch_type | |
4376 | # else | |
4377 | # define machine_arch_type MACH_TYPE_DSC25 | |
4378 | # endif | |
4379 | # define machine_is_dsc25() (machine_arch_type == MACH_TYPE_DSC25) | |
4380 | #else | |
4381 | # define machine_is_dsc25() (0) | |
4382 | #endif | |
4383 | ||
a1f4a3dd | 4384 | #ifdef CONFIG_MACH_OMAP_INNOVATOR |
1cb8e980 WD |
4385 | # ifdef machine_arch_type |
4386 | # undef machine_arch_type | |
4387 | # define machine_arch_type __machine_arch_type | |
4388 | # else | |
a1f4a3dd | 4389 | # define machine_arch_type MACH_TYPE_OMAP_INNOVATOR |
1cb8e980 | 4390 | # endif |
a1f4a3dd | 4391 | # define machine_is_omap_innovator() (machine_arch_type == MACH_TYPE_OMAP_INNOVATOR) |
1cb8e980 | 4392 | #else |
a1f4a3dd | 4393 | # define machine_is_omap_innovator() (0) |
1cb8e980 WD |
4394 | #endif |
4395 | ||
4396 | #ifdef CONFIG_ARCH_RAMSES | |
4397 | # ifdef machine_arch_type | |
4398 | # undef machine_arch_type | |
4399 | # define machine_arch_type __machine_arch_type | |
4400 | # else | |
4401 | # define machine_arch_type MACH_TYPE_RAMSES | |
4402 | # endif | |
f43ad539 | 4403 | # define machine_is_mnci() (machine_arch_type == MACH_TYPE_RAMSES) |
1cb8e980 | 4404 | #else |
f43ad539 | 4405 | # define machine_is_mnci() (0) |
1cb8e980 WD |
4406 | #endif |
4407 | ||
4408 | #ifdef CONFIG_ARCH_S28X | |
4409 | # ifdef machine_arch_type | |
4410 | # undef machine_arch_type | |
4411 | # define machine_arch_type __machine_arch_type | |
4412 | # else | |
4413 | # define machine_arch_type MACH_TYPE_S28X | |
4414 | # endif | |
4415 | # define machine_is_s28x() (machine_arch_type == MACH_TYPE_S28X) | |
4416 | #else | |
4417 | # define machine_is_s28x() (0) | |
4418 | #endif | |
4419 | ||
4420 | #ifdef CONFIG_ARCH_MPORT3 | |
4421 | # ifdef machine_arch_type | |
4422 | # undef machine_arch_type | |
4423 | # define machine_arch_type __machine_arch_type | |
4424 | # else | |
4425 | # define machine_arch_type MACH_TYPE_MPORT3 | |
4426 | # endif | |
4427 | # define machine_is_mport3() (machine_arch_type == MACH_TYPE_MPORT3) | |
4428 | #else | |
4429 | # define machine_is_mport3() (0) | |
4430 | #endif | |
4431 | ||
4432 | #ifdef CONFIG_ARCH_PXA_EAGLE250 | |
4433 | # ifdef machine_arch_type | |
4434 | # undef machine_arch_type | |
4435 | # define machine_arch_type __machine_arch_type | |
4436 | # else | |
4437 | # define machine_arch_type MACH_TYPE_PXA_EAGLE250 | |
4438 | # endif | |
4439 | # define machine_is_pxa_eagle250() (machine_arch_type == MACH_TYPE_PXA_EAGLE250) | |
4440 | #else | |
4441 | # define machine_is_pxa_eagle250() (0) | |
4442 | #endif | |
4443 | ||
4444 | #ifdef CONFIG_ARCH_PDB | |
4445 | # ifdef machine_arch_type | |
4446 | # undef machine_arch_type | |
4447 | # define machine_arch_type __machine_arch_type | |
4448 | # else | |
4449 | # define machine_arch_type MACH_TYPE_PDB | |
4450 | # endif | |
4451 | # define machine_is_pdb() (machine_arch_type == MACH_TYPE_PDB) | |
4452 | #else | |
4453 | # define machine_is_pdb() (0) | |
4454 | #endif | |
4455 | ||
4456 | #ifdef CONFIG_SA1100_BLUE_2G | |
4457 | # ifdef machine_arch_type | |
4458 | # undef machine_arch_type | |
4459 | # define machine_arch_type __machine_arch_type | |
4460 | # else | |
4461 | # define machine_arch_type MACH_TYPE_BLUE_2G | |
4462 | # endif | |
4463 | # define machine_is_blue_2g() (machine_arch_type == MACH_TYPE_BLUE_2G) | |
4464 | #else | |
4465 | # define machine_is_blue_2g() (0) | |
4466 | #endif | |
4467 | ||
4468 | #ifdef CONFIG_SA1100_BLUEARCH | |
4469 | # ifdef machine_arch_type | |
4470 | # undef machine_arch_type | |
4471 | # define machine_arch_type __machine_arch_type | |
4472 | # else | |
4473 | # define machine_arch_type MACH_TYPE_BLUEARCH | |
4474 | # endif | |
4475 | # define machine_is_bluearch() (machine_arch_type == MACH_TYPE_BLUEARCH) | |
4476 | #else | |
4477 | # define machine_is_bluearch() (0) | |
4478 | #endif | |
4479 | ||
98404649 | 4480 | #ifdef CONFIG_ARCH_IXDP2400 |
1cb8e980 WD |
4481 | # ifdef machine_arch_type |
4482 | # undef machine_arch_type | |
4483 | # define machine_arch_type __machine_arch_type | |
4484 | # else | |
98404649 | 4485 | # define machine_arch_type MACH_TYPE_IXDP2400 |
1cb8e980 | 4486 | # endif |
98404649 | 4487 | # define machine_is_ixdp2400() (machine_arch_type == MACH_TYPE_IXDP2400) |
1cb8e980 WD |
4488 | #else |
4489 | # define machine_is_ixdp2400() (0) | |
4490 | #endif | |
4491 | ||
98404649 | 4492 | #ifdef CONFIG_ARCH_IXDP2800 |
1cb8e980 WD |
4493 | # ifdef machine_arch_type |
4494 | # undef machine_arch_type | |
4495 | # define machine_arch_type __machine_arch_type | |
4496 | # else | |
98404649 | 4497 | # define machine_arch_type MACH_TYPE_IXDP2800 |
1cb8e980 | 4498 | # endif |
98404649 | 4499 | # define machine_is_ixdp2800() (machine_arch_type == MACH_TYPE_IXDP2800) |
1cb8e980 WD |
4500 | #else |
4501 | # define machine_is_ixdp2800() (0) | |
4502 | #endif | |
4503 | ||
4504 | #ifdef CONFIG_SA1100_EXPLORER | |
4505 | # ifdef machine_arch_type | |
4506 | # undef machine_arch_type | |
4507 | # define machine_arch_type __machine_arch_type | |
4508 | # else | |
4509 | # define machine_arch_type MACH_TYPE_EXPLORER | |
4510 | # endif | |
4511 | # define machine_is_explorer() (machine_arch_type == MACH_TYPE_EXPLORER) | |
4512 | #else | |
4513 | # define machine_is_explorer() (0) | |
4514 | #endif | |
4515 | ||
4516 | #ifdef CONFIG_ARCH_IXDP425 | |
4517 | # ifdef machine_arch_type | |
4518 | # undef machine_arch_type | |
4519 | # define machine_arch_type __machine_arch_type | |
4520 | # else | |
4521 | # define machine_arch_type MACH_TYPE_IXDP425 | |
4522 | # endif | |
4523 | # define machine_is_ixdp425() (machine_arch_type == MACH_TYPE_IXDP425) | |
4524 | #else | |
4525 | # define machine_is_ixdp425() (0) | |
4526 | #endif | |
4527 | ||
4528 | #ifdef CONFIG_ARCH_CHIMP | |
4529 | # ifdef machine_arch_type | |
4530 | # undef machine_arch_type | |
4531 | # define machine_arch_type __machine_arch_type | |
4532 | # else | |
4533 | # define machine_arch_type MACH_TYPE_CHIMP | |
4534 | # endif | |
4535 | # define machine_is_chimp() (machine_arch_type == MACH_TYPE_CHIMP) | |
4536 | #else | |
4537 | # define machine_is_chimp() (0) | |
4538 | #endif | |
4539 | ||
4540 | #ifdef CONFIG_ARCH_STORK_NEST | |
4541 | # ifdef machine_arch_type | |
4542 | # undef machine_arch_type | |
4543 | # define machine_arch_type __machine_arch_type | |
4544 | # else | |
4545 | # define machine_arch_type MACH_TYPE_STORK_NEST | |
4546 | # endif | |
4547 | # define machine_is_stork_nest() (machine_arch_type == MACH_TYPE_STORK_NEST) | |
4548 | #else | |
4549 | # define machine_is_stork_nest() (0) | |
4550 | #endif | |
4551 | ||
4552 | #ifdef CONFIG_ARCH_STORK_EGG | |
4553 | # ifdef machine_arch_type | |
4554 | # undef machine_arch_type | |
4555 | # define machine_arch_type __machine_arch_type | |
4556 | # else | |
4557 | # define machine_arch_type MACH_TYPE_STORK_EGG | |
4558 | # endif | |
4559 | # define machine_is_stork_egg() (machine_arch_type == MACH_TYPE_STORK_EGG) | |
4560 | #else | |
4561 | # define machine_is_stork_egg() (0) | |
4562 | #endif | |
4563 | ||
4564 | #ifdef CONFIG_SA1100_WISMO | |
4565 | # ifdef machine_arch_type | |
4566 | # undef machine_arch_type | |
4567 | # define machine_arch_type __machine_arch_type | |
4568 | # else | |
4569 | # define machine_arch_type MACH_TYPE_WISMO | |
4570 | # endif | |
4571 | # define machine_is_wismo() (machine_arch_type == MACH_TYPE_WISMO) | |
4572 | #else | |
4573 | # define machine_is_wismo() (0) | |
4574 | #endif | |
4575 | ||
4576 | #ifdef CONFIG_ARCH_EZLINX | |
4577 | # ifdef machine_arch_type | |
4578 | # undef machine_arch_type | |
4579 | # define machine_arch_type __machine_arch_type | |
4580 | # else | |
4581 | # define machine_arch_type MACH_TYPE_EZLINX | |
4582 | # endif | |
4583 | # define machine_is_ezlinx() (machine_arch_type == MACH_TYPE_EZLINX) | |
4584 | #else | |
4585 | # define machine_is_ezlinx() (0) | |
4586 | #endif | |
4587 | ||
a1f4a3dd | 4588 | #ifdef CONFIG_ARCH_AT91RM9200 |
1cb8e980 WD |
4589 | # ifdef machine_arch_type |
4590 | # undef machine_arch_type | |
4591 | # define machine_arch_type __machine_arch_type | |
4592 | # else | |
a1f4a3dd | 4593 | # define machine_arch_type MACH_TYPE_AT91RM9200 |
1cb8e980 | 4594 | # endif |
a1f4a3dd | 4595 | # define machine_is_at91rm9200() (machine_arch_type == MACH_TYPE_AT91RM9200) |
1cb8e980 | 4596 | #else |
52f52c14 | 4597 | # define machine_is_at91rm9200() (0) |
1cb8e980 WD |
4598 | #endif |
4599 | ||
799891ef | 4600 | #ifdef CONFIG_ARCH_ADTECH_ORION |
1cb8e980 WD |
4601 | # ifdef machine_arch_type |
4602 | # undef machine_arch_type | |
4603 | # define machine_arch_type __machine_arch_type | |
4604 | # else | |
799891ef | 4605 | # define machine_arch_type MACH_TYPE_ADTECH_ORION |
1cb8e980 | 4606 | # endif |
799891ef | 4607 | # define machine_is_adtech_orion() (machine_arch_type == MACH_TYPE_ADTECH_ORION) |
1cb8e980 | 4608 | #else |
799891ef | 4609 | # define machine_is_adtech_orion() (0) |
1cb8e980 WD |
4610 | #endif |
4611 | ||
4612 | #ifdef CONFIG_ARCH_NEPTUNE | |
4613 | # ifdef machine_arch_type | |
4614 | # undef machine_arch_type | |
4615 | # define machine_arch_type __machine_arch_type | |
4616 | # else | |
4617 | # define machine_arch_type MACH_TYPE_NEPTUNE | |
4618 | # endif | |
4619 | # define machine_is_neptune() (machine_arch_type == MACH_TYPE_NEPTUNE) | |
4620 | #else | |
4621 | # define machine_is_neptune() (0) | |
4622 | #endif | |
4623 | ||
4624 | #ifdef CONFIG_SA1100_HACKKIT | |
4625 | # ifdef machine_arch_type | |
4626 | # undef machine_arch_type | |
4627 | # define machine_arch_type __machine_arch_type | |
4628 | # else | |
4629 | # define machine_arch_type MACH_TYPE_HACKKIT | |
4630 | # endif | |
4631 | # define machine_is_hackkit() (machine_arch_type == MACH_TYPE_HACKKIT) | |
4632 | #else | |
4633 | # define machine_is_hackkit() (0) | |
4634 | #endif | |
4635 | ||
4636 | #ifdef CONFIG_ARCH_PXA_WINS30 | |
4637 | # ifdef machine_arch_type | |
4638 | # undef machine_arch_type | |
4639 | # define machine_arch_type __machine_arch_type | |
4640 | # else | |
4641 | # define machine_arch_type MACH_TYPE_PXA_WINS30 | |
4642 | # endif | |
4643 | # define machine_is_pxa_wins30() (machine_arch_type == MACH_TYPE_PXA_WINS30) | |
4644 | #else | |
4645 | # define machine_is_pxa_wins30() (0) | |
4646 | #endif | |
4647 | ||
4648 | #ifdef CONFIG_SA1100_LAVINNA | |
4649 | # ifdef machine_arch_type | |
4650 | # undef machine_arch_type | |
4651 | # define machine_arch_type __machine_arch_type | |
4652 | # else | |
4653 | # define machine_arch_type MACH_TYPE_LAVINNA | |
4654 | # endif | |
4655 | # define machine_is_lavinna() (machine_arch_type == MACH_TYPE_LAVINNA) | |
4656 | #else | |
4657 | # define machine_is_lavinna() (0) | |
4658 | #endif | |
4659 | ||
4660 | #ifdef CONFIG_ARCH_PXA_UENGINE | |
4661 | # ifdef machine_arch_type | |
4662 | # undef machine_arch_type | |
4663 | # define machine_arch_type __machine_arch_type | |
4664 | # else | |
4665 | # define machine_arch_type MACH_TYPE_PXA_UENGINE | |
4666 | # endif | |
4667 | # define machine_is_pxa_uengine() (machine_arch_type == MACH_TYPE_PXA_UENGINE) | |
4668 | #else | |
4669 | # define machine_is_pxa_uengine() (0) | |
4670 | #endif | |
4671 | ||
4672 | #ifdef CONFIG_ARCH_INNOKOM | |
4673 | # ifdef machine_arch_type | |
4674 | # undef machine_arch_type | |
4675 | # define machine_arch_type __machine_arch_type | |
4676 | # else | |
4677 | # define machine_arch_type MACH_TYPE_INNOKOM | |
4678 | # endif | |
4679 | # define machine_is_innokom() (machine_arch_type == MACH_TYPE_INNOKOM) | |
4680 | #else | |
4681 | # define machine_is_innokom() (0) | |
4682 | #endif | |
4683 | ||
52f52c14 WD |
4684 | #ifdef CONFIG_ARCH_BMS |
4685 | # ifdef machine_arch_type | |
4686 | # undef machine_arch_type | |
4687 | # define machine_arch_type __machine_arch_type | |
4688 | # else | |
4689 | # define machine_arch_type MACH_TYPE_BMS | |
4690 | # endif | |
4691 | # define machine_is_bms() (machine_arch_type == MACH_TYPE_BMS) | |
4692 | #else | |
4693 | # define machine_is_bms() (0) | |
4694 | #endif | |
4695 | ||
4696 | #ifdef CONFIG_ARCH_IXCDP1100 | |
4697 | # ifdef machine_arch_type | |
4698 | # undef machine_arch_type | |
4699 | # define machine_arch_type __machine_arch_type | |
4700 | # else | |
4701 | # define machine_arch_type MACH_TYPE_IXCDP1100 | |
4702 | # endif | |
4703 | # define machine_is_ixcdp1100() (machine_arch_type == MACH_TYPE_IXCDP1100) | |
4704 | #else | |
4705 | # define machine_is_ixcdp1100() (0) | |
4706 | #endif | |
4707 | ||
4708 | #ifdef CONFIG_ARCH_PRPMC1100 | |
4709 | # ifdef machine_arch_type | |
4710 | # undef machine_arch_type | |
4711 | # define machine_arch_type __machine_arch_type | |
4712 | # else | |
4713 | # define machine_arch_type MACH_TYPE_PRPMC1100 | |
4714 | # endif | |
4715 | # define machine_is_prpmc1100() (machine_arch_type == MACH_TYPE_PRPMC1100) | |
4716 | #else | |
4717 | # define machine_is_prpmc1100() (0) | |
4718 | #endif | |
4719 | ||
4720 | #ifdef CONFIG_ARCH_AT91RM9200DK | |
4721 | # ifdef machine_arch_type | |
4722 | # undef machine_arch_type | |
4723 | # define machine_arch_type __machine_arch_type | |
4724 | # else | |
4725 | # define machine_arch_type MACH_TYPE_AT91RM9200DK | |
4726 | # endif | |
4727 | # define machine_is_at91rm9200dk() (machine_arch_type == MACH_TYPE_AT91RM9200DK) | |
4728 | #else | |
4729 | # define machine_is_at91rm9200dk() (0) | |
4730 | #endif | |
4731 | ||
4732 | #ifdef CONFIG_ARCH_ARMSTICK | |
4733 | # ifdef machine_arch_type | |
4734 | # undef machine_arch_type | |
4735 | # define machine_arch_type __machine_arch_type | |
4736 | # else | |
4737 | # define machine_arch_type MACH_TYPE_ARMSTICK | |
4738 | # endif | |
4739 | # define machine_is_armstick() (machine_arch_type == MACH_TYPE_ARMSTICK) | |
4740 | #else | |
4741 | # define machine_is_armstick() (0) | |
4742 | #endif | |
4743 | ||
4744 | #ifdef CONFIG_ARCH_ARMONIE | |
4745 | # ifdef machine_arch_type | |
4746 | # undef machine_arch_type | |
4747 | # define machine_arch_type __machine_arch_type | |
4748 | # else | |
4749 | # define machine_arch_type MACH_TYPE_ARMONIE | |
4750 | # endif | |
4751 | # define machine_is_armonie() (machine_arch_type == MACH_TYPE_ARMONIE) | |
4752 | #else | |
4753 | # define machine_is_armonie() (0) | |
4754 | #endif | |
4755 | ||
4756 | #ifdef CONFIG_ARCH_MPORT1 | |
4757 | # ifdef machine_arch_type | |
4758 | # undef machine_arch_type | |
4759 | # define machine_arch_type __machine_arch_type | |
4760 | # else | |
4761 | # define machine_arch_type MACH_TYPE_MPORT1 | |
4762 | # endif | |
4763 | # define machine_is_mport1() (machine_arch_type == MACH_TYPE_MPORT1) | |
4764 | #else | |
4765 | # define machine_is_mport1() (0) | |
4766 | #endif | |
4767 | ||
4768 | #ifdef CONFIG_ARCH_S3C5410 | |
4769 | # ifdef machine_arch_type | |
4770 | # undef machine_arch_type | |
4771 | # define machine_arch_type __machine_arch_type | |
4772 | # else | |
4773 | # define machine_arch_type MACH_TYPE_S3C5410 | |
4774 | # endif | |
4775 | # define machine_is_s3c5410() (machine_arch_type == MACH_TYPE_S3C5410) | |
4776 | #else | |
4777 | # define machine_is_s3c5410() (0) | |
4778 | #endif | |
4779 | ||
4780 | #ifdef CONFIG_ARCH_ZCP320A | |
4781 | # ifdef machine_arch_type | |
4782 | # undef machine_arch_type | |
4783 | # define machine_arch_type __machine_arch_type | |
4784 | # else | |
4785 | # define machine_arch_type MACH_TYPE_ZCP320A | |
4786 | # endif | |
4787 | # define machine_is_zcp320a() (machine_arch_type == MACH_TYPE_ZCP320A) | |
4788 | #else | |
4789 | # define machine_is_zcp320a() (0) | |
4790 | #endif | |
4791 | ||
4792 | #ifdef CONFIG_ARCH_I_BOX | |
4793 | # ifdef machine_arch_type | |
4794 | # undef machine_arch_type | |
4795 | # define machine_arch_type __machine_arch_type | |
4796 | # else | |
4797 | # define machine_arch_type MACH_TYPE_I_BOX | |
4798 | # endif | |
4799 | # define machine_is_i_box() (machine_arch_type == MACH_TYPE_I_BOX) | |
4800 | #else | |
4801 | # define machine_is_i_box() (0) | |
4802 | #endif | |
4803 | ||
4804 | #ifdef CONFIG_ARCH_STLC1502 | |
4805 | # ifdef machine_arch_type | |
4806 | # undef machine_arch_type | |
4807 | # define machine_arch_type __machine_arch_type | |
4808 | # else | |
4809 | # define machine_arch_type MACH_TYPE_STLC1502 | |
4810 | # endif | |
4811 | # define machine_is_stlc1502() (machine_arch_type == MACH_TYPE_STLC1502) | |
4812 | #else | |
4813 | # define machine_is_stlc1502() (0) | |
4814 | #endif | |
4815 | ||
4816 | #ifdef CONFIG_ARCH_SIREN | |
4817 | # ifdef machine_arch_type | |
4818 | # undef machine_arch_type | |
4819 | # define machine_arch_type __machine_arch_type | |
4820 | # else | |
4821 | # define machine_arch_type MACH_TYPE_SIREN | |
4822 | # endif | |
4823 | # define machine_is_siren() (machine_arch_type == MACH_TYPE_SIREN) | |
4824 | #else | |
4825 | # define machine_is_siren() (0) | |
4826 | #endif | |
4827 | ||
4828 | #ifdef CONFIG_ARCH_GREENLAKE | |
4829 | # ifdef machine_arch_type | |
4830 | # undef machine_arch_type | |
4831 | # define machine_arch_type __machine_arch_type | |
4832 | # else | |
4833 | # define machine_arch_type MACH_TYPE_GREENLAKE | |
4834 | # endif | |
4835 | # define machine_is_greenlake() (machine_arch_type == MACH_TYPE_GREENLAKE) | |
4836 | #else | |
4837 | # define machine_is_greenlake() (0) | |
4838 | #endif | |
4839 | ||
4840 | #ifdef CONFIG_ARCH_ARGUS | |
4841 | # ifdef machine_arch_type | |
4842 | # undef machine_arch_type | |
4843 | # define machine_arch_type __machine_arch_type | |
4844 | # else | |
4845 | # define machine_arch_type MACH_TYPE_ARGUS | |
4846 | # endif | |
4847 | # define machine_is_argus() (machine_arch_type == MACH_TYPE_ARGUS) | |
4848 | #else | |
4849 | # define machine_is_argus() (0) | |
4850 | #endif | |
4851 | ||
4852 | #ifdef CONFIG_SA1100_COMBADGE | |
4853 | # ifdef machine_arch_type | |
4854 | # undef machine_arch_type | |
4855 | # define machine_arch_type __machine_arch_type | |
4856 | # else | |
4857 | # define machine_arch_type MACH_TYPE_COMBADGE | |
4858 | # endif | |
4859 | # define machine_is_combadge() (machine_arch_type == MACH_TYPE_COMBADGE) | |
4860 | #else | |
4861 | # define machine_is_combadge() (0) | |
4862 | #endif | |
4863 | ||
4864 | #ifdef CONFIG_ARCH_ROKEPXA | |
4865 | # ifdef machine_arch_type | |
4866 | # undef machine_arch_type | |
4867 | # define machine_arch_type __machine_arch_type | |
4868 | # else | |
4869 | # define machine_arch_type MACH_TYPE_ROKEPXA | |
4870 | # endif | |
4871 | # define machine_is_rokepxa() (machine_arch_type == MACH_TYPE_ROKEPXA) | |
4872 | #else | |
4873 | # define machine_is_rokepxa() (0) | |
4874 | #endif | |
4875 | ||
4876 | #ifdef CONFIG_ARCH_CINTEGRATOR | |
4877 | # ifdef machine_arch_type | |
4878 | # undef machine_arch_type | |
4879 | # define machine_arch_type __machine_arch_type | |
4880 | # else | |
4881 | # define machine_arch_type MACH_TYPE_CINTEGRATOR | |
4882 | # endif | |
4883 | # define machine_is_cintegrator() (machine_arch_type == MACH_TYPE_CINTEGRATOR) | |
4884 | #else | |
4885 | # define machine_is_cintegrator() (0) | |
4886 | #endif | |
4887 | ||
4888 | #ifdef CONFIG_ARCH_GUIDEA07 | |
4889 | # ifdef machine_arch_type | |
4890 | # undef machine_arch_type | |
4891 | # define machine_arch_type __machine_arch_type | |
4892 | # else | |
4893 | # define machine_arch_type MACH_TYPE_GUIDEA07 | |
4894 | # endif | |
4895 | # define machine_is_guidea07() (machine_arch_type == MACH_TYPE_GUIDEA07) | |
4896 | #else | |
4897 | # define machine_is_guidea07() (0) | |
4898 | #endif | |
4899 | ||
4900 | #ifdef CONFIG_ARCH_TAT257 | |
4901 | # ifdef machine_arch_type | |
4902 | # undef machine_arch_type | |
4903 | # define machine_arch_type __machine_arch_type | |
4904 | # else | |
4905 | # define machine_arch_type MACH_TYPE_TAT257 | |
4906 | # endif | |
4907 | # define machine_is_tat257() (machine_arch_type == MACH_TYPE_TAT257) | |
4908 | #else | |
4909 | # define machine_is_tat257() (0) | |
4910 | #endif | |
4911 | ||
4912 | #ifdef CONFIG_ARCH_IGP2425 | |
4913 | # ifdef machine_arch_type | |
4914 | # undef machine_arch_type | |
4915 | # define machine_arch_type __machine_arch_type | |
4916 | # else | |
4917 | # define machine_arch_type MACH_TYPE_IGP2425 | |
4918 | # endif | |
4919 | # define machine_is_igp2425() (machine_arch_type == MACH_TYPE_IGP2425) | |
4920 | #else | |
4921 | # define machine_is_igp2425() (0) | |
4922 | #endif | |
4923 | ||
4924 | #ifdef CONFIG_ARCH_BLUEGRAMMA | |
4925 | # ifdef machine_arch_type | |
4926 | # undef machine_arch_type | |
4927 | # define machine_arch_type __machine_arch_type | |
4928 | # else | |
4929 | # define machine_arch_type MACH_TYPE_BLUEGRAMMA | |
4930 | # endif | |
4931 | # define machine_is_bluegrama() (machine_arch_type == MACH_TYPE_BLUEGRAMMA) | |
4932 | #else | |
4933 | # define machine_is_bluegrama() (0) | |
4934 | #endif | |
4935 | ||
4936 | #ifdef CONFIG_ARCH_IPOD | |
4937 | # ifdef machine_arch_type | |
4938 | # undef machine_arch_type | |
4939 | # define machine_arch_type __machine_arch_type | |
4940 | # else | |
4941 | # define machine_arch_type MACH_TYPE_IPOD | |
4942 | # endif | |
4943 | # define machine_is_ipod() (machine_arch_type == MACH_TYPE_IPOD) | |
4944 | #else | |
4945 | # define machine_is_ipod() (0) | |
4946 | #endif | |
4947 | ||
4948 | #ifdef CONFIG_ARCH_ADSBITSYX | |
4949 | # ifdef machine_arch_type | |
4950 | # undef machine_arch_type | |
4951 | # define machine_arch_type __machine_arch_type | |
4952 | # else | |
4953 | # define machine_arch_type MACH_TYPE_ADSBITSYX | |
4954 | # endif | |
4955 | # define machine_is_adsbitsyx() (machine_arch_type == MACH_TYPE_ADSBITSYX) | |
4956 | #else | |
4957 | # define machine_is_adsbitsyx() (0) | |
4958 | #endif | |
4959 | ||
4960 | #ifdef CONFIG_ARCH_TRIZEPS2 | |
4961 | # ifdef machine_arch_type | |
4962 | # undef machine_arch_type | |
4963 | # define machine_arch_type __machine_arch_type | |
4964 | # else | |
4965 | # define machine_arch_type MACH_TYPE_TRIZEPS2 | |
4966 | # endif | |
4967 | # define machine_is_trizeps2() (machine_arch_type == MACH_TYPE_TRIZEPS2) | |
4968 | #else | |
4969 | # define machine_is_trizeps2() (0) | |
4970 | #endif | |
4971 | ||
4972 | #ifdef CONFIG_ARCH_VIPER | |
4973 | # ifdef machine_arch_type | |
4974 | # undef machine_arch_type | |
4975 | # define machine_arch_type __machine_arch_type | |
4976 | # else | |
4977 | # define machine_arch_type MACH_TYPE_VIPER | |
4978 | # endif | |
4979 | # define machine_is_viper() (machine_arch_type == MACH_TYPE_VIPER) | |
4980 | #else | |
4981 | # define machine_is_viper() (0) | |
4982 | #endif | |
4983 | ||
4984 | #ifdef CONFIG_SA1100_ADSBITSYPLUS | |
4985 | # ifdef machine_arch_type | |
4986 | # undef machine_arch_type | |
4987 | # define machine_arch_type __machine_arch_type | |
4988 | # else | |
4989 | # define machine_arch_type MACH_TYPE_ADSBITSYPLUS | |
4990 | # endif | |
4991 | # define machine_is_adsbitsyplus() (machine_arch_type == MACH_TYPE_ADSBITSYPLUS) | |
4992 | #else | |
4993 | # define machine_is_adsbitsyplus() (0) | |
4994 | #endif | |
4995 | ||
4996 | #ifdef CONFIG_SA1100_ADSAGC | |
4997 | # ifdef machine_arch_type | |
4998 | # undef machine_arch_type | |
4999 | # define machine_arch_type __machine_arch_type | |
5000 | # else | |
5001 | # define machine_arch_type MACH_TYPE_ADSAGC | |
5002 | # endif | |
5003 | # define machine_is_adsagc() (machine_arch_type == MACH_TYPE_ADSAGC) | |
5004 | #else | |
5005 | # define machine_is_adsagc() (0) | |
5006 | #endif | |
5007 | ||
5008 | #ifdef CONFIG_ARCH_STP7312 | |
5009 | # ifdef machine_arch_type | |
5010 | # undef machine_arch_type | |
5011 | # define machine_arch_type __machine_arch_type | |
5012 | # else | |
5013 | # define machine_arch_type MACH_TYPE_STP7312 | |
5014 | # endif | |
5015 | # define machine_is_stp7312() (machine_arch_type == MACH_TYPE_STP7312) | |
5016 | #else | |
5017 | # define machine_is_stp7312() (0) | |
5018 | #endif | |
5019 | ||
a1f4a3dd | 5020 | #ifdef CONFIG_MACH_NX_PHNX |
52f52c14 WD |
5021 | # ifdef machine_arch_type |
5022 | # undef machine_arch_type | |
5023 | # define machine_arch_type __machine_arch_type | |
5024 | # else | |
a1f4a3dd | 5025 | # define machine_arch_type MACH_TYPE_NX_PHNX |
52f52c14 | 5026 | # endif |
a1f4a3dd | 5027 | # define machine_is_nx_phnx() (machine_arch_type == MACH_TYPE_NX_PHNX) |
52f52c14 WD |
5028 | #else |
5029 | # define machine_is_nx_phnx() (0) | |
5030 | #endif | |
5031 | ||
5032 | #ifdef CONFIG_ARCH_WEP_EP250 | |
5033 | # ifdef machine_arch_type | |
5034 | # undef machine_arch_type | |
5035 | # define machine_arch_type __machine_arch_type | |
5036 | # else | |
5037 | # define machine_arch_type MACH_TYPE_WEP_EP250 | |
5038 | # endif | |
5039 | # define machine_is_wep_ep250() (machine_arch_type == MACH_TYPE_WEP_EP250) | |
5040 | #else | |
5041 | # define machine_is_wep_ep250() (0) | |
5042 | #endif | |
5043 | ||
5044 | #ifdef CONFIG_ARCH_INHANDELF3 | |
5045 | # ifdef machine_arch_type | |
5046 | # undef machine_arch_type | |
5047 | # define machine_arch_type __machine_arch_type | |
5048 | # else | |
5049 | # define machine_arch_type MACH_TYPE_INHANDELF3 | |
5050 | # endif | |
5051 | # define machine_is_inhandelf3() (machine_arch_type == MACH_TYPE_INHANDELF3) | |
5052 | #else | |
5053 | # define machine_is_inhandelf3() (0) | |
5054 | #endif | |
5055 | ||
5056 | #ifdef CONFIG_ARCH_ADI_COYOTE | |
5057 | # ifdef machine_arch_type | |
5058 | # undef machine_arch_type | |
5059 | # define machine_arch_type __machine_arch_type | |
5060 | # else | |
5061 | # define machine_arch_type MACH_TYPE_ADI_COYOTE | |
5062 | # endif | |
5063 | # define machine_is_adi_coyote() (machine_arch_type == MACH_TYPE_ADI_COYOTE) | |
5064 | #else | |
5065 | # define machine_is_adi_coyote() (0) | |
5066 | #endif | |
5067 | ||
5068 | #ifdef CONFIG_ARCH_IYONIX | |
5069 | # ifdef machine_arch_type | |
5070 | # undef machine_arch_type | |
5071 | # define machine_arch_type __machine_arch_type | |
5072 | # else | |
5073 | # define machine_arch_type MACH_TYPE_IYONIX | |
5074 | # endif | |
5075 | # define machine_is_iyonix() (machine_arch_type == MACH_TYPE_IYONIX) | |
5076 | #else | |
5077 | # define machine_is_iyonix() (0) | |
5078 | #endif | |
5079 | ||
5080 | #ifdef CONFIG_ARCH_DAMICAM_SA1110 | |
5081 | # ifdef machine_arch_type | |
5082 | # undef machine_arch_type | |
5083 | # define machine_arch_type __machine_arch_type | |
5084 | # else | |
5085 | # define machine_arch_type MACH_TYPE_DAMICAM_SA1110 | |
5086 | # endif | |
a1f4a3dd | 5087 | # define machine_is_damicam1() (machine_arch_type == MACH_TYPE_DAMICAM_SA1110) |
52f52c14 | 5088 | #else |
a1f4a3dd | 5089 | # define machine_is_damicam1() (0) |
52f52c14 WD |
5090 | #endif |
5091 | ||
5092 | #ifdef CONFIG_ARCH_MEG03 | |
5093 | # ifdef machine_arch_type | |
5094 | # undef machine_arch_type | |
5095 | # define machine_arch_type __machine_arch_type | |
5096 | # else | |
5097 | # define machine_arch_type MACH_TYPE_MEG03 | |
5098 | # endif | |
5099 | # define machine_is_meg03() (machine_arch_type == MACH_TYPE_MEG03) | |
5100 | #else | |
5101 | # define machine_is_meg03() (0) | |
5102 | #endif | |
5103 | ||
5104 | #ifdef CONFIG_ARCH_PXA_WHITECHAPEL | |
5105 | # ifdef machine_arch_type | |
5106 | # undef machine_arch_type | |
5107 | # define machine_arch_type __machine_arch_type | |
5108 | # else | |
5109 | # define machine_arch_type MACH_TYPE_PXA_WHITECHAPEL | |
5110 | # endif | |
5111 | # define machine_is_pxa_whitechapel() (machine_arch_type == MACH_TYPE_PXA_WHITECHAPEL) | |
5112 | #else | |
5113 | # define machine_is_pxa_whitechapel() (0) | |
5114 | #endif | |
5115 | ||
5116 | #ifdef CONFIG_ARCH_NWSC | |
5117 | # ifdef machine_arch_type | |
5118 | # undef machine_arch_type | |
5119 | # define machine_arch_type __machine_arch_type | |
5120 | # else | |
5121 | # define machine_arch_type MACH_TYPE_NWSC | |
5122 | # endif | |
5123 | # define machine_is_nwsc() (machine_arch_type == MACH_TYPE_NWSC) | |
5124 | #else | |
5125 | # define machine_is_nwsc() (0) | |
5126 | #endif | |
5127 | ||
5128 | #ifdef CONFIG_ARCH_NWLARM | |
5129 | # ifdef machine_arch_type | |
5130 | # undef machine_arch_type | |
5131 | # define machine_arch_type __machine_arch_type | |
5132 | # else | |
5133 | # define machine_arch_type MACH_TYPE_NWLARM | |
5134 | # endif | |
5135 | # define machine_is_nwlarm() (machine_arch_type == MACH_TYPE_NWLARM) | |
5136 | #else | |
5137 | # define machine_is_nwlarm() (0) | |
5138 | #endif | |
5139 | ||
5140 | #ifdef CONFIG_ARCH_IXP425_MGUARD | |
5141 | # ifdef machine_arch_type | |
5142 | # undef machine_arch_type | |
5143 | # define machine_arch_type __machine_arch_type | |
5144 | # else | |
5145 | # define machine_arch_type MACH_TYPE_IXP425_MGUARD | |
5146 | # endif | |
5147 | # define machine_is_ixp425_mguard() (machine_arch_type == MACH_TYPE_IXP425_MGUARD) | |
5148 | #else | |
5149 | # define machine_is_ixp425_mguard() (0) | |
5150 | #endif | |
5151 | ||
5152 | #ifdef CONFIG_ARCH_PXA_NETDCU4 | |
5153 | # ifdef machine_arch_type | |
5154 | # undef machine_arch_type | |
5155 | # define machine_arch_type __machine_arch_type | |
5156 | # else | |
5157 | # define machine_arch_type MACH_TYPE_PXA_NETDCU4 | |
5158 | # endif | |
5159 | # define machine_is_pxa_netdcu4() (machine_arch_type == MACH_TYPE_PXA_NETDCU4) | |
5160 | #else | |
5161 | # define machine_is_pxa_netdcu4() (0) | |
5162 | #endif | |
5163 | ||
5164 | #ifdef CONFIG_ARCH_IXDP2401 | |
5165 | # ifdef machine_arch_type | |
5166 | # undef machine_arch_type | |
5167 | # define machine_arch_type __machine_arch_type | |
5168 | # else | |
5169 | # define machine_arch_type MACH_TYPE_IXDP2401 | |
5170 | # endif | |
5171 | # define machine_is_ixdp2401() (machine_arch_type == MACH_TYPE_IXDP2401) | |
5172 | #else | |
5173 | # define machine_is_ixdp2401() (0) | |
5174 | #endif | |
5175 | ||
5176 | #ifdef CONFIG_ARCH_IXDP2801 | |
5177 | # ifdef machine_arch_type | |
5178 | # undef machine_arch_type | |
5179 | # define machine_arch_type __machine_arch_type | |
5180 | # else | |
5181 | # define machine_arch_type MACH_TYPE_IXDP2801 | |
5182 | # endif | |
5183 | # define machine_is_ixdp2801() (machine_arch_type == MACH_TYPE_IXDP2801) | |
5184 | #else | |
5185 | # define machine_is_ixdp2801() (0) | |
5186 | #endif | |
5187 | ||
5188 | #ifdef CONFIG_ARCH_ZODIAC | |
5189 | # ifdef machine_arch_type | |
5190 | # undef machine_arch_type | |
5191 | # define machine_arch_type __machine_arch_type | |
5192 | # else | |
5193 | # define machine_arch_type MACH_TYPE_ZODIAC | |
5194 | # endif | |
5195 | # define machine_is_zodiac() (machine_arch_type == MACH_TYPE_ZODIAC) | |
5196 | #else | |
5197 | # define machine_is_zodiac() (0) | |
5198 | #endif | |
5199 | ||
5200 | #ifdef CONFIG_ARCH_ARMMODUL | |
5201 | # ifdef machine_arch_type | |
5202 | # undef machine_arch_type | |
5203 | # define machine_arch_type __machine_arch_type | |
5204 | # else | |
5205 | # define machine_arch_type MACH_TYPE_ARMMODUL | |
5206 | # endif | |
5207 | # define machine_is_armmodul() (machine_arch_type == MACH_TYPE_ARMMODUL) | |
5208 | #else | |
5209 | # define machine_is_armmodul() (0) | |
5210 | #endif | |
5211 | ||
5212 | #ifdef CONFIG_SA1100_KETOP | |
5213 | # ifdef machine_arch_type | |
5214 | # undef machine_arch_type | |
5215 | # define machine_arch_type __machine_arch_type | |
5216 | # else | |
5217 | # define machine_arch_type MACH_TYPE_KETOP | |
5218 | # endif | |
5219 | # define machine_is_ketop() (machine_arch_type == MACH_TYPE_KETOP) | |
5220 | #else | |
5221 | # define machine_is_ketop() (0) | |
5222 | #endif | |
5223 | ||
5224 | #ifdef CONFIG_ARCH_AV7200 | |
5225 | # ifdef machine_arch_type | |
5226 | # undef machine_arch_type | |
5227 | # define machine_arch_type __machine_arch_type | |
5228 | # else | |
5229 | # define machine_arch_type MACH_TYPE_AV7200 | |
5230 | # endif | |
5231 | # define machine_is_av7200() (machine_arch_type == MACH_TYPE_AV7200) | |
5232 | #else | |
5233 | # define machine_is_av7200() (0) | |
5234 | #endif | |
5235 | ||
5236 | #ifdef CONFIG_ARCH_ARCH_TI925 | |
5237 | # ifdef machine_arch_type | |
5238 | # undef machine_arch_type | |
5239 | # define machine_arch_type __machine_arch_type | |
5240 | # else | |
5241 | # define machine_arch_type MACH_TYPE_ARCH_TI925 | |
5242 | # endif | |
5243 | # define machine_is_arch_ti925() (machine_arch_type == MACH_TYPE_ARCH_TI925) | |
5244 | #else | |
5245 | # define machine_is_arch_ti925() (0) | |
5246 | #endif | |
5247 | ||
5248 | #ifdef CONFIG_ARCH_ACQ200 | |
5249 | # ifdef machine_arch_type | |
5250 | # undef machine_arch_type | |
5251 | # define machine_arch_type __machine_arch_type | |
5252 | # else | |
5253 | # define machine_arch_type MACH_TYPE_ACQ200 | |
5254 | # endif | |
5255 | # define machine_is_acq200() (machine_arch_type == MACH_TYPE_ACQ200) | |
5256 | #else | |
5257 | # define machine_is_acq200() (0) | |
5258 | #endif | |
5259 | ||
5260 | #ifdef CONFIG_SA1100_PT_DAFIT | |
5261 | # ifdef machine_arch_type | |
5262 | # undef machine_arch_type | |
5263 | # define machine_arch_type __machine_arch_type | |
5264 | # else | |
5265 | # define machine_arch_type MACH_TYPE_PT_DAFIT | |
5266 | # endif | |
5267 | # define machine_is_pt_dafit() (machine_arch_type == MACH_TYPE_PT_DAFIT) | |
5268 | #else | |
5269 | # define machine_is_pt_dafit() (0) | |
5270 | #endif | |
5271 | ||
5272 | #ifdef CONFIG_ARCH_IHBA | |
5273 | # ifdef machine_arch_type | |
5274 | # undef machine_arch_type | |
5275 | # define machine_arch_type __machine_arch_type | |
5276 | # else | |
5277 | # define machine_arch_type MACH_TYPE_IHBA | |
5278 | # endif | |
5279 | # define machine_is_ihba() (machine_arch_type == MACH_TYPE_IHBA) | |
5280 | #else | |
5281 | # define machine_is_ihba() (0) | |
5282 | #endif | |
5283 | ||
5284 | #ifdef CONFIG_ARCH_QUINQUE | |
5285 | # ifdef machine_arch_type | |
5286 | # undef machine_arch_type | |
5287 | # define machine_arch_type __machine_arch_type | |
5288 | # else | |
5289 | # define machine_arch_type MACH_TYPE_QUINQUE | |
5290 | # endif | |
5291 | # define machine_is_quinque() (machine_arch_type == MACH_TYPE_QUINQUE) | |
5292 | #else | |
5293 | # define machine_is_quinque() (0) | |
5294 | #endif | |
5295 | ||
5296 | #ifdef CONFIG_ARCH_NIMBRAONE | |
5297 | # ifdef machine_arch_type | |
5298 | # undef machine_arch_type | |
5299 | # define machine_arch_type __machine_arch_type | |
5300 | # else | |
5301 | # define machine_arch_type MACH_TYPE_NIMBRAONE | |
5302 | # endif | |
5303 | # define machine_is_nimbraone() (machine_arch_type == MACH_TYPE_NIMBRAONE) | |
5304 | #else | |
5305 | # define machine_is_nimbraone() (0) | |
5306 | #endif | |
5307 | ||
5308 | #ifdef CONFIG_ARCH_NIMBRA29X | |
5309 | # ifdef machine_arch_type | |
5310 | # undef machine_arch_type | |
5311 | # define machine_arch_type __machine_arch_type | |
5312 | # else | |
5313 | # define machine_arch_type MACH_TYPE_NIMBRA29X | |
5314 | # endif | |
5315 | # define machine_is_nimbra29x() (machine_arch_type == MACH_TYPE_NIMBRA29X) | |
5316 | #else | |
5317 | # define machine_is_nimbra29x() (0) | |
5318 | #endif | |
5319 | ||
5320 | #ifdef CONFIG_ARCH_NIMBRA210 | |
5321 | # ifdef machine_arch_type | |
5322 | # undef machine_arch_type | |
5323 | # define machine_arch_type __machine_arch_type | |
5324 | # else | |
5325 | # define machine_arch_type MACH_TYPE_NIMBRA210 | |
5326 | # endif | |
5327 | # define machine_is_nimbra210() (machine_arch_type == MACH_TYPE_NIMBRA210) | |
5328 | #else | |
5329 | # define machine_is_nimbra210() (0) | |
5330 | #endif | |
5331 | ||
5332 | #ifdef CONFIG_ARCH_HHP_D95XX | |
5333 | # ifdef machine_arch_type | |
5334 | # undef machine_arch_type | |
5335 | # define machine_arch_type __machine_arch_type | |
5336 | # else | |
5337 | # define machine_arch_type MACH_TYPE_HHP_D95XX | |
5338 | # endif | |
5339 | # define machine_is_hhp_d95xx() (machine_arch_type == MACH_TYPE_HHP_D95XX) | |
5340 | #else | |
5341 | # define machine_is_hhp_d95xx() (0) | |
5342 | #endif | |
5343 | ||
5344 | #ifdef CONFIG_ARCH_LABARM | |
5345 | # ifdef machine_arch_type | |
5346 | # undef machine_arch_type | |
5347 | # define machine_arch_type __machine_arch_type | |
5348 | # else | |
5349 | # define machine_arch_type MACH_TYPE_LABARM | |
5350 | # endif | |
5351 | # define machine_is_labarm() (machine_arch_type == MACH_TYPE_LABARM) | |
5352 | #else | |
5353 | # define machine_is_labarm() (0) | |
5354 | #endif | |
5355 | ||
5356 | #ifdef CONFIG_ARCH_M825XX | |
5357 | # ifdef machine_arch_type | |
5358 | # undef machine_arch_type | |
5359 | # define machine_arch_type __machine_arch_type | |
5360 | # else | |
5361 | # define machine_arch_type MACH_TYPE_M825XX | |
5362 | # endif | |
5363 | # define machine_is_m825xx() (machine_arch_type == MACH_TYPE_M825XX) | |
5364 | #else | |
5365 | # define machine_is_m825xx() (0) | |
5366 | #endif | |
5367 | ||
5368 | #ifdef CONFIG_SA1100_M7100 | |
5369 | # ifdef machine_arch_type | |
5370 | # undef machine_arch_type | |
5371 | # define machine_arch_type __machine_arch_type | |
5372 | # else | |
5373 | # define machine_arch_type MACH_TYPE_M7100 | |
5374 | # endif | |
5375 | # define machine_is_m7100() (machine_arch_type == MACH_TYPE_M7100) | |
5376 | #else | |
5377 | # define machine_is_m7100() (0) | |
5378 | #endif | |
5379 | ||
5380 | #ifdef CONFIG_ARCH_NIPC2 | |
5381 | # ifdef machine_arch_type | |
5382 | # undef machine_arch_type | |
5383 | # define machine_arch_type __machine_arch_type | |
5384 | # else | |
5385 | # define machine_arch_type MACH_TYPE_NIPC2 | |
5386 | # endif | |
5387 | # define machine_is_nipc2() (machine_arch_type == MACH_TYPE_NIPC2) | |
5388 | #else | |
5389 | # define machine_is_nipc2() (0) | |
5390 | #endif | |
5391 | ||
5392 | #ifdef CONFIG_ARCH_FU7202 | |
5393 | # ifdef machine_arch_type | |
5394 | # undef machine_arch_type | |
5395 | # define machine_arch_type __machine_arch_type | |
5396 | # else | |
5397 | # define machine_arch_type MACH_TYPE_FU7202 | |
5398 | # endif | |
5399 | # define machine_is_fu7202() (machine_arch_type == MACH_TYPE_FU7202) | |
5400 | #else | |
5401 | # define machine_is_fu7202() (0) | |
5402 | #endif | |
5403 | ||
5404 | #ifdef CONFIG_ARCH_ADSAGX | |
5405 | # ifdef machine_arch_type | |
5406 | # undef machine_arch_type | |
5407 | # define machine_arch_type __machine_arch_type | |
5408 | # else | |
5409 | # define machine_arch_type MACH_TYPE_ADSAGX | |
5410 | # endif | |
5411 | # define machine_is_adsagx() (machine_arch_type == MACH_TYPE_ADSAGX) | |
5412 | #else | |
5413 | # define machine_is_adsagx() (0) | |
5414 | #endif | |
5415 | ||
5416 | #ifdef CONFIG_ARCH_PXA_POOH | |
5417 | # ifdef machine_arch_type | |
5418 | # undef machine_arch_type | |
5419 | # define machine_arch_type __machine_arch_type | |
5420 | # else | |
5421 | # define machine_arch_type MACH_TYPE_PXA_POOH | |
5422 | # endif | |
5423 | # define machine_is_pxa_pooh() (machine_arch_type == MACH_TYPE_PXA_POOH) | |
5424 | #else | |
5425 | # define machine_is_pxa_pooh() (0) | |
5426 | #endif | |
5427 | ||
5428 | #ifdef CONFIG_ARCH_BANDON | |
5429 | # ifdef machine_arch_type | |
5430 | # undef machine_arch_type | |
5431 | # define machine_arch_type __machine_arch_type | |
5432 | # else | |
5433 | # define machine_arch_type MACH_TYPE_BANDON | |
5434 | # endif | |
5435 | # define machine_is_bandon() (machine_arch_type == MACH_TYPE_BANDON) | |
5436 | #else | |
5437 | # define machine_is_bandon() (0) | |
5438 | #endif | |
5439 | ||
5440 | #ifdef CONFIG_ARCH_PCM7210 | |
5441 | # ifdef machine_arch_type | |
5442 | # undef machine_arch_type | |
5443 | # define machine_arch_type __machine_arch_type | |
5444 | # else | |
5445 | # define machine_arch_type MACH_TYPE_PCM7210 | |
5446 | # endif | |
5447 | # define machine_is_pcm7210() (machine_arch_type == MACH_TYPE_PCM7210) | |
5448 | #else | |
5449 | # define machine_is_pcm7210() (0) | |
5450 | #endif | |
5451 | ||
5452 | #ifdef CONFIG_ARCH_NMS9200 | |
5453 | # ifdef machine_arch_type | |
5454 | # undef machine_arch_type | |
5455 | # define machine_arch_type __machine_arch_type | |
5456 | # else | |
5457 | # define machine_arch_type MACH_TYPE_NMS9200 | |
5458 | # endif | |
5459 | # define machine_is_nms9200() (machine_arch_type == MACH_TYPE_NMS9200) | |
5460 | #else | |
5461 | # define machine_is_nms9200() (0) | |
5462 | #endif | |
5463 | ||
5464 | #ifdef CONFIG_ARCH_LOGODL | |
5465 | # ifdef machine_arch_type | |
5466 | # undef machine_arch_type | |
5467 | # define machine_arch_type __machine_arch_type | |
5468 | # else | |
5469 | # define machine_arch_type MACH_TYPE_LOGODL | |
5470 | # endif | |
5471 | # define machine_is_logodl() (machine_arch_type == MACH_TYPE_LOGODL) | |
5472 | #else | |
5473 | # define machine_is_logodl() (0) | |
5474 | #endif | |
5475 | ||
5476 | #ifdef CONFIG_SA1100_M7140 | |
5477 | # ifdef machine_arch_type | |
5478 | # undef machine_arch_type | |
5479 | # define machine_arch_type __machine_arch_type | |
5480 | # else | |
5481 | # define machine_arch_type MACH_TYPE_M7140 | |
5482 | # endif | |
5483 | # define machine_is_m7140() (machine_arch_type == MACH_TYPE_M7140) | |
5484 | #else | |
5485 | # define machine_is_m7140() (0) | |
5486 | #endif | |
5487 | ||
5488 | #ifdef CONFIG_ARCH_KOREBOT | |
5489 | # ifdef machine_arch_type | |
5490 | # undef machine_arch_type | |
5491 | # define machine_arch_type __machine_arch_type | |
5492 | # else | |
5493 | # define machine_arch_type MACH_TYPE_KOREBOT | |
5494 | # endif | |
5495 | # define machine_is_korebot() (machine_arch_type == MACH_TYPE_KOREBOT) | |
5496 | #else | |
5497 | # define machine_is_korebot() (0) | |
5498 | #endif | |
5499 | ||
5500 | #ifdef CONFIG_ARCH_IQ31244 | |
5501 | # ifdef machine_arch_type | |
5502 | # undef machine_arch_type | |
5503 | # define machine_arch_type __machine_arch_type | |
5504 | # else | |
5505 | # define machine_arch_type MACH_TYPE_IQ31244 | |
5506 | # endif | |
5507 | # define machine_is_iq31244() (machine_arch_type == MACH_TYPE_IQ31244) | |
5508 | #else | |
5509 | # define machine_is_iq31244() (0) | |
5510 | #endif | |
5511 | ||
5512 | #ifdef CONFIG_SA1100_KOAN393 | |
5513 | # ifdef machine_arch_type | |
5514 | # undef machine_arch_type | |
5515 | # define machine_arch_type __machine_arch_type | |
5516 | # else | |
5517 | # define machine_arch_type MACH_TYPE_KOAN393 | |
5518 | # endif | |
5519 | # define machine_is_koan393() (machine_arch_type == MACH_TYPE_KOAN393) | |
5520 | #else | |
5521 | # define machine_is_koan393() (0) | |
5522 | #endif | |
5523 | ||
5524 | #ifdef CONFIG_ARCH_INHANDFTIP3 | |
5525 | # ifdef machine_arch_type | |
5526 | # undef machine_arch_type | |
5527 | # define machine_arch_type __machine_arch_type | |
5528 | # else | |
5529 | # define machine_arch_type MACH_TYPE_INHANDFTIP3 | |
5530 | # endif | |
5531 | # define machine_is_inhandftip3() (machine_arch_type == MACH_TYPE_INHANDFTIP3) | |
5532 | #else | |
5533 | # define machine_is_inhandftip3() (0) | |
5534 | #endif | |
5535 | ||
5536 | #ifdef CONFIG_ARCH_GONZO | |
5537 | # ifdef machine_arch_type | |
5538 | # undef machine_arch_type | |
5539 | # define machine_arch_type __machine_arch_type | |
5540 | # else | |
5541 | # define machine_arch_type MACH_TYPE_GONZO | |
5542 | # endif | |
5543 | # define machine_is_gonzo() (machine_arch_type == MACH_TYPE_GONZO) | |
5544 | #else | |
5545 | # define machine_is_gonzo() (0) | |
5546 | #endif | |
5547 | ||
5548 | #ifdef CONFIG_ARCH_BAST | |
5549 | # ifdef machine_arch_type | |
5550 | # undef machine_arch_type | |
5551 | # define machine_arch_type __machine_arch_type | |
5552 | # else | |
5553 | # define machine_arch_type MACH_TYPE_BAST | |
5554 | # endif | |
5555 | # define machine_is_bast() (machine_arch_type == MACH_TYPE_BAST) | |
5556 | #else | |
5557 | # define machine_is_bast() (0) | |
5558 | #endif | |
5559 | ||
5560 | #ifdef CONFIG_ARCH_SCANPASS | |
5561 | # ifdef machine_arch_type | |
5562 | # undef machine_arch_type | |
5563 | # define machine_arch_type __machine_arch_type | |
5564 | # else | |
5565 | # define machine_arch_type MACH_TYPE_SCANPASS | |
5566 | # endif | |
5567 | # define machine_is_scanpass() (machine_arch_type == MACH_TYPE_SCANPASS) | |
5568 | #else | |
5569 | # define machine_is_scanpass() (0) | |
5570 | #endif | |
5571 | ||
5572 | #ifdef CONFIG_ARCH_EP7312_POOH | |
5573 | # ifdef machine_arch_type | |
5574 | # undef machine_arch_type | |
5575 | # define machine_arch_type __machine_arch_type | |
5576 | # else | |
5577 | # define machine_arch_type MACH_TYPE_EP7312_POOH | |
5578 | # endif | |
5579 | # define machine_is_ep7312_pooh() (machine_arch_type == MACH_TYPE_EP7312_POOH) | |
5580 | #else | |
5581 | # define machine_is_ep7312_pooh() (0) | |
5582 | #endif | |
5583 | ||
5584 | #ifdef CONFIG_ARCH_TA7S | |
5585 | # ifdef machine_arch_type | |
5586 | # undef machine_arch_type | |
5587 | # define machine_arch_type __machine_arch_type | |
5588 | # else | |
5589 | # define machine_arch_type MACH_TYPE_TA7S | |
5590 | # endif | |
5591 | # define machine_is_ta7s() (machine_arch_type == MACH_TYPE_TA7S) | |
5592 | #else | |
5593 | # define machine_is_ta7s() (0) | |
5594 | #endif | |
5595 | ||
5596 | #ifdef CONFIG_ARCH_TA7V | |
5597 | # ifdef machine_arch_type | |
5598 | # undef machine_arch_type | |
5599 | # define machine_arch_type __machine_arch_type | |
5600 | # else | |
5601 | # define machine_arch_type MACH_TYPE_TA7V | |
5602 | # endif | |
5603 | # define machine_is_ta7v() (machine_arch_type == MACH_TYPE_TA7V) | |
5604 | #else | |
5605 | # define machine_is_ta7v() (0) | |
5606 | #endif | |
5607 | ||
5608 | #ifdef CONFIG_SA1100_ICARUS | |
5609 | # ifdef machine_arch_type | |
5610 | # undef machine_arch_type | |
5611 | # define machine_arch_type __machine_arch_type | |
5612 | # else | |
5613 | # define machine_arch_type MACH_TYPE_ICARUS | |
5614 | # endif | |
5615 | # define machine_is_icarus() (machine_arch_type == MACH_TYPE_ICARUS) | |
5616 | #else | |
5617 | # define machine_is_icarus() (0) | |
5618 | #endif | |
5619 | ||
5620 | #ifdef CONFIG_ARCH_H1900 | |
5621 | # ifdef machine_arch_type | |
5622 | # undef machine_arch_type | |
5623 | # define machine_arch_type __machine_arch_type | |
5624 | # else | |
5625 | # define machine_arch_type MACH_TYPE_H1900 | |
5626 | # endif | |
5627 | # define machine_is_h1900() (machine_arch_type == MACH_TYPE_H1900) | |
5628 | #else | |
5629 | # define machine_is_h1900() (0) | |
5630 | #endif | |
5631 | ||
5632 | #ifdef CONFIG_SA1100_GEMINI | |
5633 | # ifdef machine_arch_type | |
5634 | # undef machine_arch_type | |
5635 | # define machine_arch_type __machine_arch_type | |
5636 | # else | |
5637 | # define machine_arch_type MACH_TYPE_GEMINI | |
5638 | # endif | |
5639 | # define machine_is_gemini() (machine_arch_type == MACH_TYPE_GEMINI) | |
5640 | #else | |
5641 | # define machine_is_gemini() (0) | |
5642 | #endif | |
5643 | ||
5644 | #ifdef CONFIG_ARCH_AXIM | |
5645 | # ifdef machine_arch_type | |
5646 | # undef machine_arch_type | |
5647 | # define machine_arch_type __machine_arch_type | |
5648 | # else | |
5649 | # define machine_arch_type MACH_TYPE_AXIM | |
5650 | # endif | |
5651 | # define machine_is_axim() (machine_arch_type == MACH_TYPE_AXIM) | |
5652 | #else | |
5653 | # define machine_is_axim() (0) | |
5654 | #endif | |
5655 | ||
5656 | #ifdef CONFIG_ARCH_AUDIOTRON | |
5657 | # ifdef machine_arch_type | |
5658 | # undef machine_arch_type | |
5659 | # define machine_arch_type __machine_arch_type | |
5660 | # else | |
5661 | # define machine_arch_type MACH_TYPE_AUDIOTRON | |
5662 | # endif | |
5663 | # define machine_is_audiotron() (machine_arch_type == MACH_TYPE_AUDIOTRON) | |
5664 | #else | |
5665 | # define machine_is_audiotron() (0) | |
5666 | #endif | |
5667 | ||
5668 | #ifdef CONFIG_ARCH_H2200 | |
5669 | # ifdef machine_arch_type | |
5670 | # undef machine_arch_type | |
5671 | # define machine_arch_type __machine_arch_type | |
5672 | # else | |
5673 | # define machine_arch_type MACH_TYPE_H2200 | |
5674 | # endif | |
5675 | # define machine_is_h2200() (machine_arch_type == MACH_TYPE_H2200) | |
5676 | #else | |
5677 | # define machine_is_h2200() (0) | |
5678 | #endif | |
5679 | ||
5680 | #ifdef CONFIG_ARCH_LOOX600 | |
5681 | # ifdef machine_arch_type | |
5682 | # undef machine_arch_type | |
5683 | # define machine_arch_type __machine_arch_type | |
5684 | # else | |
5685 | # define machine_arch_type MACH_TYPE_LOOX600 | |
5686 | # endif | |
5687 | # define machine_is_loox600() (machine_arch_type == MACH_TYPE_LOOX600) | |
5688 | #else | |
5689 | # define machine_is_loox600() (0) | |
5690 | #endif | |
5691 | ||
5692 | #ifdef CONFIG_ARCH_NIOP | |
5693 | # ifdef machine_arch_type | |
5694 | # undef machine_arch_type | |
5695 | # define machine_arch_type __machine_arch_type | |
5696 | # else | |
5697 | # define machine_arch_type MACH_TYPE_NIOP | |
5698 | # endif | |
5699 | # define machine_is_niop() (machine_arch_type == MACH_TYPE_NIOP) | |
5700 | #else | |
5701 | # define machine_is_niop() (0) | |
5702 | #endif | |
5703 | ||
5704 | #ifdef CONFIG_ARCH_DM310 | |
5705 | # ifdef machine_arch_type | |
5706 | # undef machine_arch_type | |
5707 | # define machine_arch_type __machine_arch_type | |
5708 | # else | |
5709 | # define machine_arch_type MACH_TYPE_DM310 | |
5710 | # endif | |
5711 | # define machine_is_dm310() (machine_arch_type == MACH_TYPE_DM310) | |
5712 | #else | |
5713 | # define machine_is_dm310() (0) | |
5714 | #endif | |
5715 | ||
a1f4a3dd WD |
5716 | #ifdef CONFIG_ARCH_SEEDPXA_C2 |
5717 | # ifdef machine_arch_type | |
5718 | # undef machine_arch_type | |
5719 | # define machine_arch_type __machine_arch_type | |
5720 | # else | |
5721 | # define machine_arch_type MACH_TYPE_SEEDPXA_C2 | |
5722 | # endif | |
5723 | # define machine_is_seedpxa_c2() (machine_arch_type == MACH_TYPE_SEEDPXA_C2) | |
5724 | #else | |
5725 | # define machine_is_seedpxa_c2() (0) | |
5726 | #endif | |
5727 | ||
5728 | #ifdef CONFIG_ARCH_IXP4XX_MGUARD_PCI | |
5729 | # ifdef machine_arch_type | |
5730 | # undef machine_arch_type | |
5731 | # define machine_arch_type __machine_arch_type | |
5732 | # else | |
5733 | # define machine_arch_type MACH_TYPE_IXP4XX_MGUARD_PCI | |
5734 | # endif | |
5735 | # define machine_is_ixp4xx_mguardpci() (machine_arch_type == MACH_TYPE_IXP4XX_MGUARD_PCI) | |
5736 | #else | |
5737 | # define machine_is_ixp4xx_mguardpci() (0) | |
5738 | #endif | |
5739 | ||
5740 | #ifdef CONFIG_ARCH_H1940 | |
5741 | # ifdef machine_arch_type | |
5742 | # undef machine_arch_type | |
5743 | # define machine_arch_type __machine_arch_type | |
5744 | # else | |
5745 | # define machine_arch_type MACH_TYPE_H1940 | |
5746 | # endif | |
5747 | # define machine_is_h1940() (machine_arch_type == MACH_TYPE_H1940) | |
5748 | #else | |
5749 | # define machine_is_h1940() (0) | |
5750 | #endif | |
5751 | ||
5752 | #ifdef CONFIG_ARCH_SCORPIO | |
5753 | # ifdef machine_arch_type | |
5754 | # undef machine_arch_type | |
5755 | # define machine_arch_type __machine_arch_type | |
5756 | # else | |
5757 | # define machine_arch_type MACH_TYPE_SCORPIO | |
5758 | # endif | |
5759 | # define machine_is_scorpio() (machine_arch_type == MACH_TYPE_SCORPIO) | |
5760 | #else | |
5761 | # define machine_is_scorpio() (0) | |
5762 | #endif | |
5763 | ||
5764 | #ifdef CONFIG_ARCH_VIVA | |
5765 | # ifdef machine_arch_type | |
5766 | # undef machine_arch_type | |
5767 | # define machine_arch_type __machine_arch_type | |
5768 | # else | |
5769 | # define machine_arch_type MACH_TYPE_VIVA | |
5770 | # endif | |
5771 | # define machine_is_viva() (machine_arch_type == MACH_TYPE_VIVA) | |
5772 | #else | |
5773 | # define machine_is_viva() (0) | |
5774 | #endif | |
5775 | ||
5776 | #ifdef CONFIG_ARCH_PXA_XCARD | |
5777 | # ifdef machine_arch_type | |
5778 | # undef machine_arch_type | |
5779 | # define machine_arch_type __machine_arch_type | |
5780 | # else | |
5781 | # define machine_arch_type MACH_TYPE_PXA_XCARD | |
5782 | # endif | |
5783 | # define machine_is_pxa_xcard() (machine_arch_type == MACH_TYPE_PXA_XCARD) | |
5784 | #else | |
5785 | # define machine_is_pxa_xcard() (0) | |
5786 | #endif | |
5787 | ||
5788 | #ifdef CONFIG_ARCH_CSB335 | |
5789 | # ifdef machine_arch_type | |
5790 | # undef machine_arch_type | |
5791 | # define machine_arch_type __machine_arch_type | |
5792 | # else | |
5793 | # define machine_arch_type MACH_TYPE_CSB335 | |
5794 | # endif | |
5795 | # define machine_is_csb335() (machine_arch_type == MACH_TYPE_CSB335) | |
5796 | #else | |
5797 | # define machine_is_csb335() (0) | |
5798 | #endif | |
5799 | ||
5800 | #ifdef CONFIG_ARCH_IXRD425 | |
5801 | # ifdef machine_arch_type | |
5802 | # undef machine_arch_type | |
5803 | # define machine_arch_type __machine_arch_type | |
5804 | # else | |
5805 | # define machine_arch_type MACH_TYPE_IXRD425 | |
5806 | # endif | |
5807 | # define machine_is_ixrd425() (machine_arch_type == MACH_TYPE_IXRD425) | |
5808 | #else | |
5809 | # define machine_is_ixrd425() (0) | |
5810 | #endif | |
5811 | ||
5812 | #ifdef CONFIG_ARCH_IQ80315 | |
5813 | # ifdef machine_arch_type | |
5814 | # undef machine_arch_type | |
5815 | # define machine_arch_type __machine_arch_type | |
5816 | # else | |
5817 | # define machine_arch_type MACH_TYPE_IQ80315 | |
5818 | # endif | |
5819 | # define machine_is_iq80315() (machine_arch_type == MACH_TYPE_IQ80315) | |
5820 | #else | |
5821 | # define machine_is_iq80315() (0) | |
5822 | #endif | |
5823 | ||
5824 | #ifdef CONFIG_ARCH_NMP7312 | |
5825 | # ifdef machine_arch_type | |
5826 | # undef machine_arch_type | |
5827 | # define machine_arch_type __machine_arch_type | |
5828 | # else | |
5829 | # define machine_arch_type MACH_TYPE_NMP7312 | |
5830 | # endif | |
5831 | # define machine_is_nmp7312() (machine_arch_type == MACH_TYPE_NMP7312) | |
5832 | #else | |
5833 | # define machine_is_nmp7312() (0) | |
5834 | #endif | |
5835 | ||
5836 | #ifdef CONFIG_ARCH_CX861XX | |
5837 | # ifdef machine_arch_type | |
5838 | # undef machine_arch_type | |
5839 | # define machine_arch_type __machine_arch_type | |
5840 | # else | |
5841 | # define machine_arch_type MACH_TYPE_CX861XX | |
5842 | # endif | |
5843 | # define machine_is_cx861xx() (machine_arch_type == MACH_TYPE_CX861XX) | |
5844 | #else | |
5845 | # define machine_is_cx861xx() (0) | |
5846 | #endif | |
5847 | ||
5848 | #ifdef CONFIG_ARCH_ENP2611 | |
5849 | # ifdef machine_arch_type | |
5850 | # undef machine_arch_type | |
5851 | # define machine_arch_type __machine_arch_type | |
5852 | # else | |
5853 | # define machine_arch_type MACH_TYPE_ENP2611 | |
5854 | # endif | |
5855 | # define machine_is_enp2611() (machine_arch_type == MACH_TYPE_ENP2611) | |
5856 | #else | |
5857 | # define machine_is_enp2611() (0) | |
5858 | #endif | |
5859 | ||
5860 | #ifdef CONFIG_SA1100_XDA | |
5861 | # ifdef machine_arch_type | |
5862 | # undef machine_arch_type | |
5863 | # define machine_arch_type __machine_arch_type | |
5864 | # else | |
5865 | # define machine_arch_type MACH_TYPE_XDA | |
5866 | # endif | |
5867 | # define machine_is_xda() (machine_arch_type == MACH_TYPE_XDA) | |
5868 | #else | |
5869 | # define machine_is_xda() (0) | |
5870 | #endif | |
5871 | ||
5872 | #ifdef CONFIG_ARCH_CSIR_IMS | |
5873 | # ifdef machine_arch_type | |
5874 | # undef machine_arch_type | |
5875 | # define machine_arch_type __machine_arch_type | |
5876 | # else | |
5877 | # define machine_arch_type MACH_TYPE_CSIR_IMS | |
5878 | # endif | |
5879 | # define machine_is_csir_ims() (machine_arch_type == MACH_TYPE_CSIR_IMS) | |
5880 | #else | |
5881 | # define machine_is_csir_ims() (0) | |
5882 | #endif | |
5883 | ||
5884 | #ifdef CONFIG_ARCH_IXP421_DNAEETH | |
5885 | # ifdef machine_arch_type | |
5886 | # undef machine_arch_type | |
5887 | # define machine_arch_type __machine_arch_type | |
5888 | # else | |
5889 | # define machine_arch_type MACH_TYPE_IXP421_DNAEETH | |
5890 | # endif | |
5891 | # define machine_is_ixp421_dnaeeth() (machine_arch_type == MACH_TYPE_IXP421_DNAEETH) | |
5892 | #else | |
5893 | # define machine_is_ixp421_dnaeeth() (0) | |
5894 | #endif | |
5895 | ||
5896 | #ifdef CONFIG_ARCH_POCKETSERV9200 | |
5897 | # ifdef machine_arch_type | |
5898 | # undef machine_arch_type | |
5899 | # define machine_arch_type __machine_arch_type | |
5900 | # else | |
5901 | # define machine_arch_type MACH_TYPE_POCKETSERV9200 | |
5902 | # endif | |
5903 | # define machine_is_pocketserv9200() (machine_arch_type == MACH_TYPE_POCKETSERV9200) | |
5904 | #else | |
5905 | # define machine_is_pocketserv9200() (0) | |
5906 | #endif | |
5907 | ||
5908 | #ifdef CONFIG_ARCH_TOTO | |
5909 | # ifdef machine_arch_type | |
5910 | # undef machine_arch_type | |
5911 | # define machine_arch_type __machine_arch_type | |
5912 | # else | |
5913 | # define machine_arch_type MACH_TYPE_TOTO | |
5914 | # endif | |
5915 | # define machine_is_toto() (machine_arch_type == MACH_TYPE_TOTO) | |
5916 | #else | |
5917 | # define machine_is_toto() (0) | |
5918 | #endif | |
5919 | ||
5920 | #ifdef CONFIG_ARCH_S3C2440 | |
5921 | # ifdef machine_arch_type | |
5922 | # undef machine_arch_type | |
5923 | # define machine_arch_type __machine_arch_type | |
5924 | # else | |
5925 | # define machine_arch_type MACH_TYPE_S3C2440 | |
5926 | # endif | |
5927 | # define machine_is_s3c2440() (machine_arch_type == MACH_TYPE_S3C2440) | |
5928 | #else | |
5929 | # define machine_is_s3c2440() (0) | |
5930 | #endif | |
5931 | ||
5932 | #ifdef CONFIG_ARCH_KS8695P | |
5933 | # ifdef machine_arch_type | |
5934 | # undef machine_arch_type | |
5935 | # define machine_arch_type __machine_arch_type | |
5936 | # else | |
5937 | # define machine_arch_type MACH_TYPE_KS8695P | |
5938 | # endif | |
5939 | # define machine_is_ks8695p() (machine_arch_type == MACH_TYPE_KS8695P) | |
5940 | #else | |
5941 | # define machine_is_ks8695p() (0) | |
5942 | #endif | |
5943 | ||
5944 | #ifdef CONFIG_ARCH_SE4000 | |
5945 | # ifdef machine_arch_type | |
5946 | # undef machine_arch_type | |
5947 | # define machine_arch_type __machine_arch_type | |
5948 | # else | |
5949 | # define machine_arch_type MACH_TYPE_SE4000 | |
5950 | # endif | |
5951 | # define machine_is_se4000() (machine_arch_type == MACH_TYPE_SE4000) | |
5952 | #else | |
5953 | # define machine_is_se4000() (0) | |
5954 | #endif | |
5955 | ||
5956 | #ifdef CONFIG_ARCH_QUADRICEPS | |
5957 | # ifdef machine_arch_type | |
5958 | # undef machine_arch_type | |
5959 | # define machine_arch_type __machine_arch_type | |
5960 | # else | |
5961 | # define machine_arch_type MACH_TYPE_QUADRICEPS | |
5962 | # endif | |
5963 | # define machine_is_quadriceps() (machine_arch_type == MACH_TYPE_QUADRICEPS) | |
5964 | #else | |
5965 | # define machine_is_quadriceps() (0) | |
5966 | #endif | |
5967 | ||
5968 | #ifdef CONFIG_ARCH_BRONCO | |
5969 | # ifdef machine_arch_type | |
5970 | # undef machine_arch_type | |
5971 | # define machine_arch_type __machine_arch_type | |
5972 | # else | |
5973 | # define machine_arch_type MACH_TYPE_BRONCO | |
5974 | # endif | |
5975 | # define machine_is_bronco() (machine_arch_type == MACH_TYPE_BRONCO) | |
5976 | #else | |
5977 | # define machine_is_bronco() (0) | |
5978 | #endif | |
5979 | ||
5980 | #ifdef CONFIG_ARCH_ESL_SOFCOMP | |
5981 | # ifdef machine_arch_type | |
5982 | # undef machine_arch_type | |
5983 | # define machine_arch_type __machine_arch_type | |
5984 | # else | |
5985 | # define machine_arch_type MACH_TYPE_ESL_SOFCOMP | |
5986 | # endif | |
5987 | # define machine_is_esl_sofcomp() (machine_arch_type == MACH_TYPE_ESL_SOFCOMP) | |
5988 | #else | |
5989 | # define machine_is_esl_sofcomp() (0) | |
5990 | #endif | |
5991 | ||
5992 | #ifdef CONFIG_ARCH_S5C7375 | |
5993 | # ifdef machine_arch_type | |
5994 | # undef machine_arch_type | |
5995 | # define machine_arch_type __machine_arch_type | |
5996 | # else | |
5997 | # define machine_arch_type MACH_TYPE_S5C7375 | |
5998 | # endif | |
5999 | # define machine_is_s5c7375() (machine_arch_type == MACH_TYPE_S5C7375) | |
6000 | #else | |
6001 | # define machine_is_s5c7375() (0) | |
6002 | #endif | |
6003 | ||
6004 | #ifdef CONFIG_ARCH_SPEARHEAD | |
6005 | # ifdef machine_arch_type | |
6006 | # undef machine_arch_type | |
6007 | # define machine_arch_type __machine_arch_type | |
6008 | # else | |
6009 | # define machine_arch_type MACH_TYPE_SPEARHEAD | |
6010 | # endif | |
6011 | # define machine_is_spearhead() (machine_arch_type == MACH_TYPE_SPEARHEAD) | |
6012 | #else | |
6013 | # define machine_is_spearhead() (0) | |
6014 | #endif | |
6015 | ||
6016 | #ifdef CONFIG_ARCH_PANTERA | |
6017 | # ifdef machine_arch_type | |
6018 | # undef machine_arch_type | |
6019 | # define machine_arch_type __machine_arch_type | |
6020 | # else | |
6021 | # define machine_arch_type MACH_TYPE_PANTERA | |
6022 | # endif | |
6023 | # define machine_is_pantera() (machine_arch_type == MACH_TYPE_PANTERA) | |
6024 | #else | |
6025 | # define machine_is_pantera() (0) | |
6026 | #endif | |
6027 | ||
6028 | #ifdef CONFIG_ARCH_PRAYOGLITE | |
6029 | # ifdef machine_arch_type | |
6030 | # undef machine_arch_type | |
6031 | # define machine_arch_type __machine_arch_type | |
6032 | # else | |
6033 | # define machine_arch_type MACH_TYPE_PRAYOGLITE | |
6034 | # endif | |
6035 | # define machine_is_prayoglite() (machine_arch_type == MACH_TYPE_PRAYOGLITE) | |
6036 | #else | |
6037 | # define machine_is_prayoglite() (0) | |
6038 | #endif | |
6039 | ||
6040 | #ifdef CONFIG_ARCH_GUMSTIK | |
6041 | # ifdef machine_arch_type | |
6042 | # undef machine_arch_type | |
6043 | # define machine_arch_type __machine_arch_type | |
6044 | # else | |
6045 | # define machine_arch_type MACH_TYPE_GUMSTIK | |
6046 | # endif | |
98404649 | 6047 | # define machine_is_gumstix() (machine_arch_type == MACH_TYPE_GUMSTIK) |
a1f4a3dd | 6048 | #else |
98404649 | 6049 | # define machine_is_gumstix() (0) |
a1f4a3dd WD |
6050 | #endif |
6051 | ||
6052 | #ifdef CONFIG_ARCH_RCUBE | |
6053 | # ifdef machine_arch_type | |
6054 | # undef machine_arch_type | |
6055 | # define machine_arch_type __machine_arch_type | |
6056 | # else | |
6057 | # define machine_arch_type MACH_TYPE_RCUBE | |
6058 | # endif | |
6059 | # define machine_is_rcube() (machine_arch_type == MACH_TYPE_RCUBE) | |
6060 | #else | |
6061 | # define machine_is_rcube() (0) | |
6062 | #endif | |
6063 | ||
6064 | #ifdef CONFIG_ARCH_REA_OLV | |
6065 | # ifdef machine_arch_type | |
6066 | # undef machine_arch_type | |
6067 | # define machine_arch_type __machine_arch_type | |
6068 | # else | |
6069 | # define machine_arch_type MACH_TYPE_REA_OLV | |
6070 | # endif | |
6071 | # define machine_is_rea_olv() (machine_arch_type == MACH_TYPE_REA_OLV) | |
6072 | #else | |
6073 | # define machine_is_rea_olv() (0) | |
6074 | #endif | |
6075 | ||
6076 | #ifdef CONFIG_ARCH_PXA_IPHONE | |
6077 | # ifdef machine_arch_type | |
6078 | # undef machine_arch_type | |
6079 | # define machine_arch_type __machine_arch_type | |
6080 | # else | |
6081 | # define machine_arch_type MACH_TYPE_PXA_IPHONE | |
6082 | # endif | |
6083 | # define machine_is_pxa_iphone() (machine_arch_type == MACH_TYPE_PXA_IPHONE) | |
6084 | #else | |
6085 | # define machine_is_pxa_iphone() (0) | |
6086 | #endif | |
6087 | ||
6088 | #ifdef CONFIG_ARCH_S3C3410 | |
6089 | # ifdef machine_arch_type | |
6090 | # undef machine_arch_type | |
6091 | # define machine_arch_type __machine_arch_type | |
6092 | # else | |
6093 | # define machine_arch_type MACH_TYPE_S3C3410 | |
6094 | # endif | |
6095 | # define machine_is_s3c3410() (machine_arch_type == MACH_TYPE_S3C3410) | |
6096 | #else | |
6097 | # define machine_is_s3c3410() (0) | |
6098 | #endif | |
6099 | ||
6100 | #ifdef CONFIG_ARCH_ESPD_4510B | |
6101 | # ifdef machine_arch_type | |
6102 | # undef machine_arch_type | |
6103 | # define machine_arch_type __machine_arch_type | |
6104 | # else | |
6105 | # define machine_arch_type MACH_TYPE_ESPD_4510B | |
6106 | # endif | |
6107 | # define machine_is_espd_4510b() (machine_arch_type == MACH_TYPE_ESPD_4510B) | |
6108 | #else | |
6109 | # define machine_is_espd_4510b() (0) | |
6110 | #endif | |
6111 | ||
6112 | #ifdef CONFIG_ARCH_MP1X | |
6113 | # ifdef machine_arch_type | |
6114 | # undef machine_arch_type | |
6115 | # define machine_arch_type __machine_arch_type | |
6116 | # else | |
6117 | # define machine_arch_type MACH_TYPE_MP1X | |
6118 | # endif | |
6119 | # define machine_is_mp1x() (machine_arch_type == MACH_TYPE_MP1X) | |
6120 | #else | |
6121 | # define machine_is_mp1x() (0) | |
6122 | #endif | |
6123 | ||
6124 | #ifdef CONFIG_ARCH_AT91RM9200TB | |
6125 | # ifdef machine_arch_type | |
6126 | # undef machine_arch_type | |
6127 | # define machine_arch_type __machine_arch_type | |
6128 | # else | |
6129 | # define machine_arch_type MACH_TYPE_AT91RM9200TB | |
6130 | # endif | |
6131 | # define machine_is_at91rm9200tb() (machine_arch_type == MACH_TYPE_AT91RM9200TB) | |
6132 | #else | |
6133 | # define machine_is_at91rm9200tb() (0) | |
6134 | #endif | |
6135 | ||
6136 | #ifdef CONFIG_ARCH_ADSVGX | |
6137 | # ifdef machine_arch_type | |
6138 | # undef machine_arch_type | |
6139 | # define machine_arch_type __machine_arch_type | |
6140 | # else | |
6141 | # define machine_arch_type MACH_TYPE_ADSVGX | |
6142 | # endif | |
6143 | # define machine_is_adsvgx() (machine_arch_type == MACH_TYPE_ADSVGX) | |
6144 | #else | |
6145 | # define machine_is_adsvgx() (0) | |
6146 | #endif | |
6147 | ||
6148 | #ifdef CONFIG_MACH_OMAP_H2 | |
6149 | # ifdef machine_arch_type | |
6150 | # undef machine_arch_type | |
6151 | # define machine_arch_type __machine_arch_type | |
6152 | # else | |
6153 | # define machine_arch_type MACH_TYPE_OMAP_H2 | |
6154 | # endif | |
6155 | # define machine_is_omap_h2() (machine_arch_type == MACH_TYPE_OMAP_H2) | |
6156 | #else | |
6157 | # define machine_is_omap_h2() (0) | |
6158 | #endif | |
6159 | ||
6160 | #ifdef CONFIG_ARCH_PELEE | |
6161 | # ifdef machine_arch_type | |
6162 | # undef machine_arch_type | |
6163 | # define machine_arch_type __machine_arch_type | |
6164 | # else | |
6165 | # define machine_arch_type MACH_TYPE_PELEE | |
6166 | # endif | |
6167 | # define machine_is_pelee() (machine_arch_type == MACH_TYPE_PELEE) | |
6168 | #else | |
6169 | # define machine_is_pelee() (0) | |
6170 | #endif | |
6171 | ||
6172 | #ifdef CONFIG_MACH_E740 | |
6173 | # ifdef machine_arch_type | |
6174 | # undef machine_arch_type | |
6175 | # define machine_arch_type __machine_arch_type | |
6176 | # else | |
6177 | # define machine_arch_type MACH_TYPE_E740 | |
6178 | # endif | |
6179 | # define machine_is_e740() (machine_arch_type == MACH_TYPE_E740) | |
6180 | #else | |
6181 | # define machine_is_e740() (0) | |
6182 | #endif | |
6183 | ||
6184 | #ifdef CONFIG_ARCH_IQ80331 | |
6185 | # ifdef machine_arch_type | |
6186 | # undef machine_arch_type | |
6187 | # define machine_arch_type __machine_arch_type | |
6188 | # else | |
6189 | # define machine_arch_type MACH_TYPE_IQ80331 | |
6190 | # endif | |
6191 | # define machine_is_iq80331() (machine_arch_type == MACH_TYPE_IQ80331) | |
6192 | #else | |
6193 | # define machine_is_iq80331() (0) | |
6194 | #endif | |
6195 | ||
6196 | #ifdef CONFIG_ARCH_VERSATILE_PB | |
6197 | # ifdef machine_arch_type | |
6198 | # undef machine_arch_type | |
6199 | # define machine_arch_type __machine_arch_type | |
6200 | # else | |
6201 | # define machine_arch_type MACH_TYPE_VERSATILE_PB | |
6202 | # endif | |
6203 | # define machine_is_versatile_pb() (machine_arch_type == MACH_TYPE_VERSATILE_PB) | |
6204 | #else | |
6205 | # define machine_is_versatile_pb() (0) | |
6206 | #endif | |
6207 | ||
6208 | #ifdef CONFIG_MACH_KEV7A400 | |
6209 | # ifdef machine_arch_type | |
6210 | # undef machine_arch_type | |
6211 | # define machine_arch_type __machine_arch_type | |
6212 | # else | |
6213 | # define machine_arch_type MACH_TYPE_KEV7A400 | |
6214 | # endif | |
6215 | # define machine_is_kev7a400() (machine_arch_type == MACH_TYPE_KEV7A400) | |
6216 | #else | |
6217 | # define machine_is_kev7a400() (0) | |
6218 | #endif | |
6219 | ||
6220 | #ifdef CONFIG_MACH_LPD7A400 | |
f832d8a1 WD |
6221 | # ifdef machine_arch_type |
6222 | # undef machine_arch_type | |
6223 | # define machine_arch_type __machine_arch_type | |
6224 | # else | |
6225 | # define machine_arch_type MACH_TYPE_LPD7A400 | |
6226 | # endif | |
a1f4a3dd WD |
6227 | # define machine_is_lpd7a400() (machine_arch_type == MACH_TYPE_LPD7A400) |
6228 | #else | |
6229 | # define machine_is_lpd7a400() (0) | |
6230 | #endif | |
6231 | ||
6232 | #ifdef CONFIG_MACH_LPD7A404 | |
6233 | # ifdef machine_arch_type | |
6234 | # undef machine_arch_type | |
6235 | # define machine_arch_type __machine_arch_type | |
6236 | # else | |
6237 | # define machine_arch_type MACH_TYPE_LPD7A404 | |
6238 | # endif | |
6239 | # define machine_is_lpd7a404() (machine_arch_type == MACH_TYPE_LPD7A404) | |
6240 | #else | |
6241 | # define machine_is_lpd7a404() (0) | |
6242 | #endif | |
6243 | ||
6244 | #ifdef CONFIG_ARCH_FUJITSU_CAMELOT | |
6245 | # ifdef machine_arch_type | |
6246 | # undef machine_arch_type | |
6247 | # define machine_arch_type __machine_arch_type | |
6248 | # else | |
6249 | # define machine_arch_type MACH_TYPE_FUJITSU_CAMELOT | |
6250 | # endif | |
6251 | # define machine_is_fujitsu_camelot() (machine_arch_type == MACH_TYPE_FUJITSU_CAMELOT) | |
6252 | #else | |
6253 | # define machine_is_fujitsu_camelot() (0) | |
6254 | #endif | |
6255 | ||
6256 | #ifdef CONFIG_ARCH_JANUS2M | |
6257 | # ifdef machine_arch_type | |
6258 | # undef machine_arch_type | |
6259 | # define machine_arch_type __machine_arch_type | |
6260 | # else | |
6261 | # define machine_arch_type MACH_TYPE_JANUS2M | |
6262 | # endif | |
6263 | # define machine_is_janus2m() (machine_arch_type == MACH_TYPE_JANUS2M) | |
6264 | #else | |
6265 | # define machine_is_janus2m() (0) | |
6266 | #endif | |
6267 | ||
6268 | #ifdef CONFIG_MACH_EMBTF | |
6269 | # ifdef machine_arch_type | |
6270 | # undef machine_arch_type | |
6271 | # define machine_arch_type __machine_arch_type | |
6272 | # else | |
6273 | # define machine_arch_type MACH_TYPE_EMBTF | |
6274 | # endif | |
6275 | # define machine_is_embtf() (machine_arch_type == MACH_TYPE_EMBTF) | |
6276 | #else | |
6277 | # define machine_is_embtf() (0) | |
6278 | #endif | |
6279 | ||
6280 | #ifdef CONFIG_MACH_HPM | |
6281 | # ifdef machine_arch_type | |
6282 | # undef machine_arch_type | |
6283 | # define machine_arch_type __machine_arch_type | |
6284 | # else | |
6285 | # define machine_arch_type MACH_TYPE_HPM | |
6286 | # endif | |
6287 | # define machine_is_hpm() (machine_arch_type == MACH_TYPE_HPM) | |
6288 | #else | |
6289 | # define machine_is_hpm() (0) | |
6290 | #endif | |
6291 | ||
6292 | #ifdef CONFIG_MACH_SMDK2410TK | |
6293 | # ifdef machine_arch_type | |
6294 | # undef machine_arch_type | |
6295 | # define machine_arch_type __machine_arch_type | |
6296 | # else | |
6297 | # define machine_arch_type MACH_TYPE_SMDK2410TK | |
6298 | # endif | |
6299 | # define machine_is_smdk2410tk() (machine_arch_type == MACH_TYPE_SMDK2410TK) | |
6300 | #else | |
6301 | # define machine_is_smdk2410tk() (0) | |
6302 | #endif | |
6303 | ||
6304 | #ifdef CONFIG_MACH_SMDK2410AJ | |
6305 | # ifdef machine_arch_type | |
6306 | # undef machine_arch_type | |
6307 | # define machine_arch_type __machine_arch_type | |
6308 | # else | |
6309 | # define machine_arch_type MACH_TYPE_SMDK2410AJ | |
6310 | # endif | |
6311 | # define machine_is_smdk2410aj() (machine_arch_type == MACH_TYPE_SMDK2410AJ) | |
6312 | #else | |
6313 | # define machine_is_smdk2410aj() (0) | |
6314 | #endif | |
6315 | ||
6316 | #ifdef CONFIG_MACH_STREETRACER | |
6317 | # ifdef machine_arch_type | |
6318 | # undef machine_arch_type | |
6319 | # define machine_arch_type __machine_arch_type | |
6320 | # else | |
6321 | # define machine_arch_type MACH_TYPE_STREETRACER | |
6322 | # endif | |
6323 | # define machine_is_streetracer() (machine_arch_type == MACH_TYPE_STREETRACER) | |
6324 | #else | |
6325 | # define machine_is_streetracer() (0) | |
6326 | #endif | |
6327 | ||
6328 | #ifdef CONFIG_MACH_EFRAME | |
6329 | # ifdef machine_arch_type | |
6330 | # undef machine_arch_type | |
6331 | # define machine_arch_type __machine_arch_type | |
6332 | # else | |
6333 | # define machine_arch_type MACH_TYPE_EFRAME | |
6334 | # endif | |
6335 | # define machine_is_eframe() (machine_arch_type == MACH_TYPE_EFRAME) | |
6336 | #else | |
6337 | # define machine_is_eframe() (0) | |
6338 | #endif | |
6339 | ||
6340 | #ifdef CONFIG_MACH_CSB337 | |
6341 | # ifdef machine_arch_type | |
6342 | # undef machine_arch_type | |
6343 | # define machine_arch_type __machine_arch_type | |
6344 | # else | |
6345 | # define machine_arch_type MACH_TYPE_CSB337 | |
6346 | # endif | |
6347 | # define machine_is_csb337() (machine_arch_type == MACH_TYPE_CSB337) | |
6348 | #else | |
6349 | # define machine_is_csb337() (0) | |
6350 | #endif | |
6351 | ||
6352 | #ifdef CONFIG_MACH_PXA_LARK | |
6353 | # ifdef machine_arch_type | |
6354 | # undef machine_arch_type | |
6355 | # define machine_arch_type __machine_arch_type | |
6356 | # else | |
6357 | # define machine_arch_type MACH_TYPE_PXA_LARK | |
6358 | # endif | |
6359 | # define machine_is_pxa_lark() (machine_arch_type == MACH_TYPE_PXA_LARK) | |
6360 | #else | |
6361 | # define machine_is_pxa_lark() (0) | |
6362 | #endif | |
6363 | ||
6364 | #ifdef CONFIG_MACH_PNP2110 | |
6365 | # ifdef machine_arch_type | |
6366 | # undef machine_arch_type | |
6367 | # define machine_arch_type __machine_arch_type | |
6368 | # else | |
6369 | # define machine_arch_type MACH_TYPE_PNP2110 | |
6370 | # endif | |
6371 | # define machine_is_pxa_pnp2110() (machine_arch_type == MACH_TYPE_PNP2110) | |
6372 | #else | |
6373 | # define machine_is_pxa_pnp2110() (0) | |
6374 | #endif | |
6375 | ||
6376 | #ifdef CONFIG_MACH_TCC72X | |
6377 | # ifdef machine_arch_type | |
6378 | # undef machine_arch_type | |
6379 | # define machine_arch_type __machine_arch_type | |
6380 | # else | |
6381 | # define machine_arch_type MACH_TYPE_TCC72X | |
6382 | # endif | |
6383 | # define machine_is_tcc72x() (machine_arch_type == MACH_TYPE_TCC72X) | |
6384 | #else | |
6385 | # define machine_is_tcc72x() (0) | |
6386 | #endif | |
6387 | ||
6388 | #ifdef CONFIG_MACH_ALTAIR | |
6389 | # ifdef machine_arch_type | |
6390 | # undef machine_arch_type | |
6391 | # define machine_arch_type __machine_arch_type | |
6392 | # else | |
6393 | # define machine_arch_type MACH_TYPE_ALTAIR | |
6394 | # endif | |
6395 | # define machine_is_altair() (machine_arch_type == MACH_TYPE_ALTAIR) | |
6396 | #else | |
6397 | # define machine_is_altair() (0) | |
6398 | #endif | |
6399 | ||
6400 | #ifdef CONFIG_MACH_KC3 | |
6401 | # ifdef machine_arch_type | |
6402 | # undef machine_arch_type | |
6403 | # define machine_arch_type __machine_arch_type | |
6404 | # else | |
6405 | # define machine_arch_type MACH_TYPE_KC3 | |
6406 | # endif | |
6407 | # define machine_is_kc3() (machine_arch_type == MACH_TYPE_KC3) | |
6408 | #else | |
6409 | # define machine_is_kc3() (0) | |
6410 | #endif | |
6411 | ||
6412 | #ifdef CONFIG_MACH_SINTEFTD | |
6413 | # ifdef machine_arch_type | |
6414 | # undef machine_arch_type | |
6415 | # define machine_arch_type __machine_arch_type | |
6416 | # else | |
6417 | # define machine_arch_type MACH_TYPE_SINTEFTD | |
6418 | # endif | |
6419 | # define machine_is_sinteftd() (machine_arch_type == MACH_TYPE_SINTEFTD) | |
6420 | #else | |
6421 | # define machine_is_sinteftd() (0) | |
6422 | #endif | |
6423 | ||
6424 | #ifdef CONFIG_MACH_MAINSTONE | |
6425 | # ifdef machine_arch_type | |
6426 | # undef machine_arch_type | |
6427 | # define machine_arch_type __machine_arch_type | |
6428 | # else | |
6429 | # define machine_arch_type MACH_TYPE_MAINSTONE | |
6430 | # endif | |
6431 | # define machine_is_mainstone() (machine_arch_type == MACH_TYPE_MAINSTONE) | |
6432 | #else | |
6433 | # define machine_is_mainstone() (0) | |
6434 | #endif | |
6435 | ||
6436 | #ifdef CONFIG_MACH_ADAY4X | |
6437 | # ifdef machine_arch_type | |
6438 | # undef machine_arch_type | |
6439 | # define machine_arch_type __machine_arch_type | |
6440 | # else | |
6441 | # define machine_arch_type MACH_TYPE_ADAY4X | |
6442 | # endif | |
6443 | # define machine_is_aday4x() (machine_arch_type == MACH_TYPE_ADAY4X) | |
6444 | #else | |
6445 | # define machine_is_aday4x() (0) | |
6446 | #endif | |
6447 | ||
6448 | #ifdef CONFIG_MACH_LITE300 | |
6449 | # ifdef machine_arch_type | |
6450 | # undef machine_arch_type | |
6451 | # define machine_arch_type __machine_arch_type | |
6452 | # else | |
6453 | # define machine_arch_type MACH_TYPE_LITE300 | |
6454 | # endif | |
6455 | # define machine_is_lite300() (machine_arch_type == MACH_TYPE_LITE300) | |
6456 | #else | |
6457 | # define machine_is_lite300() (0) | |
6458 | #endif | |
6459 | ||
6460 | #ifdef CONFIG_MACH_S5C7376 | |
6461 | # ifdef machine_arch_type | |
6462 | # undef machine_arch_type | |
6463 | # define machine_arch_type __machine_arch_type | |
6464 | # else | |
6465 | # define machine_arch_type MACH_TYPE_S5C7376 | |
6466 | # endif | |
6467 | # define machine_is_s5c7376() (machine_arch_type == MACH_TYPE_S5C7376) | |
6468 | #else | |
6469 | # define machine_is_s5c7376() (0) | |
6470 | #endif | |
6471 | ||
6472 | #ifdef CONFIG_MACH_MT02 | |
6473 | # ifdef machine_arch_type | |
6474 | # undef machine_arch_type | |
6475 | # define machine_arch_type __machine_arch_type | |
6476 | # else | |
6477 | # define machine_arch_type MACH_TYPE_MT02 | |
6478 | # endif | |
6479 | # define machine_is_mt02() (machine_arch_type == MACH_TYPE_MT02) | |
6480 | #else | |
6481 | # define machine_is_mt02() (0) | |
6482 | #endif | |
6483 | ||
6484 | #ifdef CONFIG_MACH_MPORT3S | |
6485 | # ifdef machine_arch_type | |
6486 | # undef machine_arch_type | |
6487 | # define machine_arch_type __machine_arch_type | |
6488 | # else | |
6489 | # define machine_arch_type MACH_TYPE_MPORT3S | |
6490 | # endif | |
6491 | # define machine_is_mport3s() (machine_arch_type == MACH_TYPE_MPORT3S) | |
6492 | #else | |
6493 | # define machine_is_mport3s() (0) | |
6494 | #endif | |
6495 | ||
6496 | #ifdef CONFIG_MACH_RA_ALPHA | |
6497 | # ifdef machine_arch_type | |
6498 | # undef machine_arch_type | |
6499 | # define machine_arch_type __machine_arch_type | |
6500 | # else | |
6501 | # define machine_arch_type MACH_TYPE_RA_ALPHA | |
6502 | # endif | |
6503 | # define machine_is_ra_alpha() (machine_arch_type == MACH_TYPE_RA_ALPHA) | |
6504 | #else | |
6505 | # define machine_is_ra_alpha() (0) | |
6506 | #endif | |
6507 | ||
6508 | #ifdef CONFIG_MACH_XCEP | |
6509 | # ifdef machine_arch_type | |
6510 | # undef machine_arch_type | |
6511 | # define machine_arch_type __machine_arch_type | |
6512 | # else | |
6513 | # define machine_arch_type MACH_TYPE_XCEP | |
6514 | # endif | |
6515 | # define machine_is_xcep() (machine_arch_type == MACH_TYPE_XCEP) | |
6516 | #else | |
6517 | # define machine_is_xcep() (0) | |
6518 | #endif | |
6519 | ||
f43ad539 | 6520 | #ifdef CONFIG_MACH_ARCOM_VULCAN |
a1f4a3dd WD |
6521 | # ifdef machine_arch_type |
6522 | # undef machine_arch_type | |
6523 | # define machine_arch_type __machine_arch_type | |
6524 | # else | |
f43ad539 | 6525 | # define machine_arch_type MACH_TYPE_ARCOM_VULCAN |
a1f4a3dd | 6526 | # endif |
f43ad539 | 6527 | # define machine_is_arcom_vulcan() (machine_arch_type == MACH_TYPE_ARCOM_VULCAN) |
a1f4a3dd | 6528 | #else |
f43ad539 | 6529 | # define machine_is_arcom_vulcan() (0) |
a1f4a3dd WD |
6530 | #endif |
6531 | ||
6532 | #ifdef CONFIG_MACH_STARGATE | |
6533 | # ifdef machine_arch_type | |
6534 | # undef machine_arch_type | |
6535 | # define machine_arch_type __machine_arch_type | |
6536 | # else | |
6537 | # define machine_arch_type MACH_TYPE_STARGATE | |
6538 | # endif | |
6539 | # define machine_is_stargate() (machine_arch_type == MACH_TYPE_STARGATE) | |
6540 | #else | |
6541 | # define machine_is_stargate() (0) | |
6542 | #endif | |
6543 | ||
6544 | #ifdef CONFIG_MACH_ARMADILLOJ | |
6545 | # ifdef machine_arch_type | |
6546 | # undef machine_arch_type | |
6547 | # define machine_arch_type __machine_arch_type | |
6548 | # else | |
6549 | # define machine_arch_type MACH_TYPE_ARMADILLOJ | |
6550 | # endif | |
6551 | # define machine_is_armadilloj() (machine_arch_type == MACH_TYPE_ARMADILLOJ) | |
6552 | #else | |
6553 | # define machine_is_armadilloj() (0) | |
6554 | #endif | |
6555 | ||
6556 | #ifdef CONFIG_MACH_ELROY_JACK | |
6557 | # ifdef machine_arch_type | |
6558 | # undef machine_arch_type | |
6559 | # define machine_arch_type __machine_arch_type | |
6560 | # else | |
6561 | # define machine_arch_type MACH_TYPE_ELROY_JACK | |
6562 | # endif | |
6563 | # define machine_is_elroy_jack() (machine_arch_type == MACH_TYPE_ELROY_JACK) | |
6564 | #else | |
6565 | # define machine_is_elroy_jack() (0) | |
6566 | #endif | |
6567 | ||
6568 | #ifdef CONFIG_MACH_BACKEND | |
6569 | # ifdef machine_arch_type | |
6570 | # undef machine_arch_type | |
6571 | # define machine_arch_type __machine_arch_type | |
6572 | # else | |
6573 | # define machine_arch_type MACH_TYPE_BACKEND | |
6574 | # endif | |
6575 | # define machine_is_backend() (machine_arch_type == MACH_TYPE_BACKEND) | |
6576 | #else | |
6577 | # define machine_is_backend() (0) | |
6578 | #endif | |
6579 | ||
6580 | #ifdef CONFIG_MACH_S5LINBOX | |
6581 | # ifdef machine_arch_type | |
6582 | # undef machine_arch_type | |
6583 | # define machine_arch_type __machine_arch_type | |
6584 | # else | |
6585 | # define machine_arch_type MACH_TYPE_S5LINBOX | |
6586 | # endif | |
6587 | # define machine_is_s5linbox() (machine_arch_type == MACH_TYPE_S5LINBOX) | |
6588 | #else | |
6589 | # define machine_is_s5linbox() (0) | |
6590 | #endif | |
6591 | ||
6592 | #ifdef CONFIG_MACH_NOMADIK | |
6593 | # ifdef machine_arch_type | |
6594 | # undef machine_arch_type | |
6595 | # define machine_arch_type __machine_arch_type | |
6596 | # else | |
6597 | # define machine_arch_type MACH_TYPE_NOMADIK | |
6598 | # endif | |
6599 | # define machine_is_nomadik() (machine_arch_type == MACH_TYPE_NOMADIK) | |
6600 | #else | |
6601 | # define machine_is_nomadik() (0) | |
6602 | #endif | |
6603 | ||
6604 | #ifdef CONFIG_MACH_IA_CPU_9200 | |
6605 | # ifdef machine_arch_type | |
6606 | # undef machine_arch_type | |
6607 | # define machine_arch_type __machine_arch_type | |
6608 | # else | |
6609 | # define machine_arch_type MACH_TYPE_IA_CPU_9200 | |
6610 | # endif | |
6611 | # define machine_is_ia_cpu_9200() (machine_arch_type == MACH_TYPE_IA_CPU_9200) | |
6612 | #else | |
6613 | # define machine_is_ia_cpu_9200() (0) | |
6614 | #endif | |
6615 | ||
6616 | #ifdef CONFIG_MACH_AT91_BJA1 | |
6617 | # ifdef machine_arch_type | |
6618 | # undef machine_arch_type | |
6619 | # define machine_arch_type __machine_arch_type | |
6620 | # else | |
6621 | # define machine_arch_type MACH_TYPE_AT91_BJA1 | |
6622 | # endif | |
6623 | # define machine_is_at91_bja1() (machine_arch_type == MACH_TYPE_AT91_BJA1) | |
6624 | #else | |
6625 | # define machine_is_at91_bja1() (0) | |
6626 | #endif | |
6627 | ||
6628 | #ifdef CONFIG_MACH_CORGI | |
6629 | # ifdef machine_arch_type | |
6630 | # undef machine_arch_type | |
6631 | # define machine_arch_type __machine_arch_type | |
6632 | # else | |
6633 | # define machine_arch_type MACH_TYPE_CORGI | |
6634 | # endif | |
6635 | # define machine_is_corgi() (machine_arch_type == MACH_TYPE_CORGI) | |
6636 | #else | |
6637 | # define machine_is_corgi() (0) | |
6638 | #endif | |
6639 | ||
6640 | #ifdef CONFIG_MACH_POODLE | |
6641 | # ifdef machine_arch_type | |
6642 | # undef machine_arch_type | |
6643 | # define machine_arch_type __machine_arch_type | |
6644 | # else | |
6645 | # define machine_arch_type MACH_TYPE_POODLE | |
6646 | # endif | |
6647 | # define machine_is_poodle() (machine_arch_type == MACH_TYPE_POODLE) | |
6648 | #else | |
6649 | # define machine_is_poodle() (0) | |
6650 | #endif | |
6651 | ||
6652 | #ifdef CONFIG_MACH_TEN | |
6653 | # ifdef machine_arch_type | |
6654 | # undef machine_arch_type | |
6655 | # define machine_arch_type __machine_arch_type | |
6656 | # else | |
6657 | # define machine_arch_type MACH_TYPE_TEN | |
6658 | # endif | |
6659 | # define machine_is_ten() (machine_arch_type == MACH_TYPE_TEN) | |
6660 | #else | |
6661 | # define machine_is_ten() (0) | |
6662 | #endif | |
6663 | ||
6664 | #ifdef CONFIG_MACH_ROVERP5P | |
6665 | # ifdef machine_arch_type | |
6666 | # undef machine_arch_type | |
6667 | # define machine_arch_type __machine_arch_type | |
6668 | # else | |
6669 | # define machine_arch_type MACH_TYPE_ROVERP5P | |
6670 | # endif | |
6671 | # define machine_is_roverp5p() (machine_arch_type == MACH_TYPE_ROVERP5P) | |
6672 | #else | |
6673 | # define machine_is_roverp5p() (0) | |
6674 | #endif | |
6675 | ||
6676 | #ifdef CONFIG_MACH_SC2700 | |
6677 | # ifdef machine_arch_type | |
6678 | # undef machine_arch_type | |
6679 | # define machine_arch_type __machine_arch_type | |
6680 | # else | |
6681 | # define machine_arch_type MACH_TYPE_SC2700 | |
6682 | # endif | |
6683 | # define machine_is_sc2700() (machine_arch_type == MACH_TYPE_SC2700) | |
6684 | #else | |
6685 | # define machine_is_sc2700() (0) | |
6686 | #endif | |
6687 | ||
6688 | #ifdef CONFIG_MACH_EX_EAGLE | |
6689 | # ifdef machine_arch_type | |
6690 | # undef machine_arch_type | |
6691 | # define machine_arch_type __machine_arch_type | |
6692 | # else | |
6693 | # define machine_arch_type MACH_TYPE_EX_EAGLE | |
6694 | # endif | |
6695 | # define machine_is_ex_eagle() (machine_arch_type == MACH_TYPE_EX_EAGLE) | |
6696 | #else | |
6697 | # define machine_is_ex_eagle() (0) | |
6698 | #endif | |
6699 | ||
6700 | #ifdef CONFIG_MACH_NX_PXA12 | |
6701 | # ifdef machine_arch_type | |
6702 | # undef machine_arch_type | |
6703 | # define machine_arch_type __machine_arch_type | |
6704 | # else | |
6705 | # define machine_arch_type MACH_TYPE_NX_PXA12 | |
6706 | # endif | |
6707 | # define machine_is_nx_pxa12() (machine_arch_type == MACH_TYPE_NX_PXA12) | |
6708 | #else | |
6709 | # define machine_is_nx_pxa12() (0) | |
6710 | #endif | |
6711 | ||
6712 | #ifdef CONFIG_MACH_NX_PXA5 | |
6713 | # ifdef machine_arch_type | |
6714 | # undef machine_arch_type | |
6715 | # define machine_arch_type __machine_arch_type | |
6716 | # else | |
6717 | # define machine_arch_type MACH_TYPE_NX_PXA5 | |
6718 | # endif | |
6719 | # define machine_is_nx_pxa5() (machine_arch_type == MACH_TYPE_NX_PXA5) | |
6720 | #else | |
6721 | # define machine_is_nx_pxa5() (0) | |
6722 | #endif | |
6723 | ||
6724 | #ifdef CONFIG_MACH_BLACKBOARD2 | |
6725 | # ifdef machine_arch_type | |
6726 | # undef machine_arch_type | |
6727 | # define machine_arch_type __machine_arch_type | |
6728 | # else | |
6729 | # define machine_arch_type MACH_TYPE_BLACKBOARD2 | |
6730 | # endif | |
6731 | # define machine_is_blackboard2() (machine_arch_type == MACH_TYPE_BLACKBOARD2) | |
6732 | #else | |
6733 | # define machine_is_blackboard2() (0) | |
6734 | #endif | |
6735 | ||
6736 | #ifdef CONFIG_MACH_I819 | |
6737 | # ifdef machine_arch_type | |
6738 | # undef machine_arch_type | |
6739 | # define machine_arch_type __machine_arch_type | |
6740 | # else | |
6741 | # define machine_arch_type MACH_TYPE_I819 | |
6742 | # endif | |
6743 | # define machine_is_i819() (machine_arch_type == MACH_TYPE_I819) | |
6744 | #else | |
6745 | # define machine_is_i819() (0) | |
6746 | #endif | |
6747 | ||
6748 | #ifdef CONFIG_MACH_IXMB995E | |
6749 | # ifdef machine_arch_type | |
6750 | # undef machine_arch_type | |
6751 | # define machine_arch_type __machine_arch_type | |
6752 | # else | |
6753 | # define machine_arch_type MACH_TYPE_IXMB995E | |
6754 | # endif | |
6755 | # define machine_is_ixmb995e() (machine_arch_type == MACH_TYPE_IXMB995E) | |
6756 | #else | |
6757 | # define machine_is_ixmb995e() (0) | |
6758 | #endif | |
6759 | ||
6760 | #ifdef CONFIG_MACH_SKYRIDER | |
6761 | # ifdef machine_arch_type | |
6762 | # undef machine_arch_type | |
6763 | # define machine_arch_type __machine_arch_type | |
6764 | # else | |
6765 | # define machine_arch_type MACH_TYPE_SKYRIDER | |
6766 | # endif | |
6767 | # define machine_is_skyrider() (machine_arch_type == MACH_TYPE_SKYRIDER) | |
6768 | #else | |
6769 | # define machine_is_skyrider() (0) | |
6770 | #endif | |
6771 | ||
6772 | #ifdef CONFIG_MACH_SKYHAWK | |
6773 | # ifdef machine_arch_type | |
6774 | # undef machine_arch_type | |
6775 | # define machine_arch_type __machine_arch_type | |
6776 | # else | |
6777 | # define machine_arch_type MACH_TYPE_SKYHAWK | |
6778 | # endif | |
6779 | # define machine_is_skyhawk() (machine_arch_type == MACH_TYPE_SKYHAWK) | |
6780 | #else | |
6781 | # define machine_is_skyhawk() (0) | |
6782 | #endif | |
6783 | ||
6784 | #ifdef CONFIG_MACH_ENTERPRISE | |
6785 | # ifdef machine_arch_type | |
6786 | # undef machine_arch_type | |
6787 | # define machine_arch_type __machine_arch_type | |
6788 | # else | |
6789 | # define machine_arch_type MACH_TYPE_ENTERPRISE | |
6790 | # endif | |
6791 | # define machine_is_enterprise() (machine_arch_type == MACH_TYPE_ENTERPRISE) | |
6792 | #else | |
6793 | # define machine_is_enterprise() (0) | |
6794 | #endif | |
6795 | ||
6796 | #ifdef CONFIG_MACH_DEP2410 | |
6797 | # ifdef machine_arch_type | |
6798 | # undef machine_arch_type | |
6799 | # define machine_arch_type __machine_arch_type | |
6800 | # else | |
6801 | # define machine_arch_type MACH_TYPE_DEP2410 | |
6802 | # endif | |
6803 | # define machine_is_dep2410() (machine_arch_type == MACH_TYPE_DEP2410) | |
6804 | #else | |
6805 | # define machine_is_dep2410() (0) | |
6806 | #endif | |
6807 | ||
6808 | #ifdef CONFIG_MACH_ARMCORE | |
6809 | # ifdef machine_arch_type | |
6810 | # undef machine_arch_type | |
6811 | # define machine_arch_type __machine_arch_type | |
6812 | # else | |
6813 | # define machine_arch_type MACH_TYPE_ARMCORE | |
6814 | # endif | |
6815 | # define machine_is_armcore() (machine_arch_type == MACH_TYPE_ARMCORE) | |
6816 | #else | |
6817 | # define machine_is_armcore() (0) | |
6818 | #endif | |
6819 | ||
6820 | #ifdef CONFIG_MACH_HOBBIT | |
6821 | # ifdef machine_arch_type | |
6822 | # undef machine_arch_type | |
6823 | # define machine_arch_type __machine_arch_type | |
6824 | # else | |
6825 | # define machine_arch_type MACH_TYPE_HOBBIT | |
6826 | # endif | |
6827 | # define machine_is_hobbit() (machine_arch_type == MACH_TYPE_HOBBIT) | |
6828 | #else | |
6829 | # define machine_is_hobbit() (0) | |
6830 | #endif | |
6831 | ||
6832 | #ifdef CONFIG_MACH_H7210 | |
6833 | # ifdef machine_arch_type | |
6834 | # undef machine_arch_type | |
6835 | # define machine_arch_type __machine_arch_type | |
6836 | # else | |
6837 | # define machine_arch_type MACH_TYPE_H7210 | |
6838 | # endif | |
6839 | # define machine_is_h7210() (machine_arch_type == MACH_TYPE_H7210) | |
6840 | #else | |
6841 | # define machine_is_h7210() (0) | |
6842 | #endif | |
6843 | ||
6844 | #ifdef CONFIG_MACH_PXA_NETDCU5 | |
6845 | # ifdef machine_arch_type | |
6846 | # undef machine_arch_type | |
6847 | # define machine_arch_type __machine_arch_type | |
6848 | # else | |
6849 | # define machine_arch_type MACH_TYPE_PXA_NETDCU5 | |
6850 | # endif | |
6851 | # define machine_is_pxa_netdcu5() (machine_arch_type == MACH_TYPE_PXA_NETDCU5) | |
6852 | #else | |
6853 | # define machine_is_pxa_netdcu5() (0) | |
6854 | #endif | |
6855 | ||
6856 | #ifdef CONFIG_MACH_ACC | |
6857 | # ifdef machine_arch_type | |
6858 | # undef machine_arch_type | |
6859 | # define machine_arch_type __machine_arch_type | |
6860 | # else | |
6861 | # define machine_arch_type MACH_TYPE_ACC | |
6862 | # endif | |
6863 | # define machine_is_acc() (machine_arch_type == MACH_TYPE_ACC) | |
6864 | #else | |
6865 | # define machine_is_acc() (0) | |
6866 | #endif | |
6867 | ||
6868 | #ifdef CONFIG_MACH_ESL_SARVA | |
6869 | # ifdef machine_arch_type | |
6870 | # undef machine_arch_type | |
6871 | # define machine_arch_type __machine_arch_type | |
6872 | # else | |
6873 | # define machine_arch_type MACH_TYPE_ESL_SARVA | |
6874 | # endif | |
6875 | # define machine_is_esl_sarva() (machine_arch_type == MACH_TYPE_ESL_SARVA) | |
6876 | #else | |
6877 | # define machine_is_esl_sarva() (0) | |
6878 | #endif | |
6879 | ||
6880 | #ifdef CONFIG_MACH_XM250 | |
6881 | # ifdef machine_arch_type | |
6882 | # undef machine_arch_type | |
6883 | # define machine_arch_type __machine_arch_type | |
6884 | # else | |
6885 | # define machine_arch_type MACH_TYPE_XM250 | |
6886 | # endif | |
6887 | # define machine_is_xm250() (machine_arch_type == MACH_TYPE_XM250) | |
6888 | #else | |
6889 | # define machine_is_xm250() (0) | |
6890 | #endif | |
6891 | ||
6892 | #ifdef CONFIG_MACH_T6TC1XB | |
6893 | # ifdef machine_arch_type | |
6894 | # undef machine_arch_type | |
6895 | # define machine_arch_type __machine_arch_type | |
6896 | # else | |
6897 | # define machine_arch_type MACH_TYPE_T6TC1XB | |
6898 | # endif | |
6899 | # define machine_is_t6tc1xb() (machine_arch_type == MACH_TYPE_T6TC1XB) | |
6900 | #else | |
6901 | # define machine_is_t6tc1xb() (0) | |
6902 | #endif | |
6903 | ||
6904 | #ifdef CONFIG_MACH_ESS710 | |
6905 | # ifdef machine_arch_type | |
6906 | # undef machine_arch_type | |
6907 | # define machine_arch_type __machine_arch_type | |
6908 | # else | |
6909 | # define machine_arch_type MACH_TYPE_ESS710 | |
6910 | # endif | |
6911 | # define machine_is_ess710() (machine_arch_type == MACH_TYPE_ESS710) | |
6912 | #else | |
6913 | # define machine_is_ess710() (0) | |
6914 | #endif | |
6915 | ||
f43ad539 | 6916 | #ifdef CONFIG_MACH_MX31ADS |
a1f4a3dd WD |
6917 | # ifdef machine_arch_type |
6918 | # undef machine_arch_type | |
6919 | # define machine_arch_type __machine_arch_type | |
6920 | # else | |
f43ad539 | 6921 | # define machine_arch_type MACH_TYPE_MX31ADS |
a1f4a3dd | 6922 | # endif |
f43ad539 | 6923 | # define machine_is_mx31ads() (machine_arch_type == MACH_TYPE_MX31ADS) |
a1f4a3dd | 6924 | #else |
f43ad539 | 6925 | # define machine_is_mx31ads() (0) |
a1f4a3dd WD |
6926 | #endif |
6927 | ||
6928 | #ifdef CONFIG_MACH_HIMALAYA | |
6929 | # ifdef machine_arch_type | |
6930 | # undef machine_arch_type | |
6931 | # define machine_arch_type __machine_arch_type | |
6932 | # else | |
6933 | # define machine_arch_type MACH_TYPE_HIMALAYA | |
6934 | # endif | |
6935 | # define machine_is_himalaya() (machine_arch_type == MACH_TYPE_HIMALAYA) | |
6936 | #else | |
6937 | # define machine_is_himalaya() (0) | |
6938 | #endif | |
6939 | ||
6940 | #ifdef CONFIG_MACH_BOLFENK | |
6941 | # ifdef machine_arch_type | |
6942 | # undef machine_arch_type | |
6943 | # define machine_arch_type __machine_arch_type | |
6944 | # else | |
6945 | # define machine_arch_type MACH_TYPE_BOLFENK | |
6946 | # endif | |
6947 | # define machine_is_bolfenk() (machine_arch_type == MACH_TYPE_BOLFENK) | |
6948 | #else | |
6949 | # define machine_is_bolfenk() (0) | |
6950 | #endif | |
6951 | ||
6952 | #ifdef CONFIG_MACH_AT91RM9200KR | |
6953 | # ifdef machine_arch_type | |
6954 | # undef machine_arch_type | |
6955 | # define machine_arch_type __machine_arch_type | |
6956 | # else | |
6957 | # define machine_arch_type MACH_TYPE_AT91RM9200KR | |
6958 | # endif | |
6959 | # define machine_is_at91rm9200kr() (machine_arch_type == MACH_TYPE_AT91RM9200KR) | |
6960 | #else | |
6961 | # define machine_is_at91rm9200kr() (0) | |
6962 | #endif | |
6963 | ||
6964 | #ifdef CONFIG_MACH_EDB9312 | |
6965 | # ifdef machine_arch_type | |
6966 | # undef machine_arch_type | |
6967 | # define machine_arch_type __machine_arch_type | |
6968 | # else | |
6969 | # define machine_arch_type MACH_TYPE_EDB9312 | |
6970 | # endif | |
6971 | # define machine_is_edb9312() (machine_arch_type == MACH_TYPE_EDB9312) | |
6972 | #else | |
6973 | # define machine_is_edb9312() (0) | |
6974 | #endif | |
6975 | ||
6976 | #ifdef CONFIG_MACH_OMAP_GENERIC | |
6977 | # ifdef machine_arch_type | |
6978 | # undef machine_arch_type | |
6979 | # define machine_arch_type __machine_arch_type | |
6980 | # else | |
6981 | # define machine_arch_type MACH_TYPE_OMAP_GENERIC | |
6982 | # endif | |
6983 | # define machine_is_omap_generic() (machine_arch_type == MACH_TYPE_OMAP_GENERIC) | |
6984 | #else | |
6985 | # define machine_is_omap_generic() (0) | |
6986 | #endif | |
6987 | ||
6988 | #ifdef CONFIG_MACH_AXIMX3 | |
6989 | # ifdef machine_arch_type | |
6990 | # undef machine_arch_type | |
6991 | # define machine_arch_type __machine_arch_type | |
6992 | # else | |
6993 | # define machine_arch_type MACH_TYPE_AXIMX3 | |
6994 | # endif | |
6995 | # define machine_is_aximx3() (machine_arch_type == MACH_TYPE_AXIMX3) | |
6996 | #else | |
6997 | # define machine_is_aximx3() (0) | |
6998 | #endif | |
6999 | ||
7000 | #ifdef CONFIG_MACH_EB67XDIP | |
7001 | # ifdef machine_arch_type | |
7002 | # undef machine_arch_type | |
7003 | # define machine_arch_type __machine_arch_type | |
7004 | # else | |
7005 | # define machine_arch_type MACH_TYPE_EB67XDIP | |
7006 | # endif | |
7007 | # define machine_is_eb67xdip() (machine_arch_type == MACH_TYPE_EB67XDIP) | |
7008 | #else | |
7009 | # define machine_is_eb67xdip() (0) | |
7010 | #endif | |
7011 | ||
7012 | #ifdef CONFIG_MACH_WEBTXS | |
7013 | # ifdef machine_arch_type | |
7014 | # undef machine_arch_type | |
7015 | # define machine_arch_type __machine_arch_type | |
7016 | # else | |
7017 | # define machine_arch_type MACH_TYPE_WEBTXS | |
7018 | # endif | |
7019 | # define machine_is_webtxs() (machine_arch_type == MACH_TYPE_WEBTXS) | |
7020 | #else | |
7021 | # define machine_is_webtxs() (0) | |
7022 | #endif | |
7023 | ||
7024 | #ifdef CONFIG_MACH_HAWK | |
7025 | # ifdef machine_arch_type | |
7026 | # undef machine_arch_type | |
7027 | # define machine_arch_type __machine_arch_type | |
7028 | # else | |
7029 | # define machine_arch_type MACH_TYPE_HAWK | |
7030 | # endif | |
7031 | # define machine_is_hawk() (machine_arch_type == MACH_TYPE_HAWK) | |
7032 | #else | |
7033 | # define machine_is_hawk() (0) | |
7034 | #endif | |
7035 | ||
7036 | #ifdef CONFIG_MACH_CCAT91SBC001 | |
7037 | # ifdef machine_arch_type | |
7038 | # undef machine_arch_type | |
7039 | # define machine_arch_type __machine_arch_type | |
7040 | # else | |
7041 | # define machine_arch_type MACH_TYPE_CCAT91SBC001 | |
7042 | # endif | |
7043 | # define machine_is_ccat91sbc001() (machine_arch_type == MACH_TYPE_CCAT91SBC001) | |
7044 | #else | |
7045 | # define machine_is_ccat91sbc001() (0) | |
7046 | #endif | |
7047 | ||
7048 | #ifdef CONFIG_MACH_EXPRESSO | |
7049 | # ifdef machine_arch_type | |
7050 | # undef machine_arch_type | |
7051 | # define machine_arch_type __machine_arch_type | |
7052 | # else | |
7053 | # define machine_arch_type MACH_TYPE_EXPRESSO | |
7054 | # endif | |
7055 | # define machine_is_expresso() (machine_arch_type == MACH_TYPE_EXPRESSO) | |
7056 | #else | |
7057 | # define machine_is_expresso() (0) | |
7058 | #endif | |
7059 | ||
7060 | #ifdef CONFIG_MACH_H4000 | |
7061 | # ifdef machine_arch_type | |
7062 | # undef machine_arch_type | |
7063 | # define machine_arch_type __machine_arch_type | |
7064 | # else | |
7065 | # define machine_arch_type MACH_TYPE_H4000 | |
7066 | # endif | |
7067 | # define machine_is_h4000() (machine_arch_type == MACH_TYPE_H4000) | |
7068 | #else | |
7069 | # define machine_is_h4000() (0) | |
7070 | #endif | |
7071 | ||
7072 | #ifdef CONFIG_MACH_DINO | |
7073 | # ifdef machine_arch_type | |
7074 | # undef machine_arch_type | |
7075 | # define machine_arch_type __machine_arch_type | |
7076 | # else | |
7077 | # define machine_arch_type MACH_TYPE_DINO | |
7078 | # endif | |
7079 | # define machine_is_dino() (machine_arch_type == MACH_TYPE_DINO) | |
7080 | #else | |
7081 | # define machine_is_dino() (0) | |
7082 | #endif | |
7083 | ||
7084 | #ifdef CONFIG_MACH_ML675K | |
7085 | # ifdef machine_arch_type | |
7086 | # undef machine_arch_type | |
7087 | # define machine_arch_type __machine_arch_type | |
7088 | # else | |
7089 | # define machine_arch_type MACH_TYPE_ML675K | |
7090 | # endif | |
7091 | # define machine_is_ml675k() (machine_arch_type == MACH_TYPE_ML675K) | |
7092 | #else | |
7093 | # define machine_is_ml675k() (0) | |
7094 | #endif | |
7095 | ||
7096 | #ifdef CONFIG_MACH_EDB9301 | |
7097 | # ifdef machine_arch_type | |
7098 | # undef machine_arch_type | |
7099 | # define machine_arch_type __machine_arch_type | |
7100 | # else | |
7101 | # define machine_arch_type MACH_TYPE_EDB9301 | |
7102 | # endif | |
7103 | # define machine_is_edb9301() (machine_arch_type == MACH_TYPE_EDB9301) | |
7104 | #else | |
7105 | # define machine_is_edb9301() (0) | |
7106 | #endif | |
7107 | ||
7108 | #ifdef CONFIG_MACH_EDB9315 | |
7109 | # ifdef machine_arch_type | |
7110 | # undef machine_arch_type | |
7111 | # define machine_arch_type __machine_arch_type | |
7112 | # else | |
7113 | # define machine_arch_type MACH_TYPE_EDB9315 | |
7114 | # endif | |
7115 | # define machine_is_edb9315() (machine_arch_type == MACH_TYPE_EDB9315) | |
7116 | #else | |
7117 | # define machine_is_edb9315() (0) | |
7118 | #endif | |
7119 | ||
7120 | #ifdef CONFIG_MACH_RECIVA_TT | |
7121 | # ifdef machine_arch_type | |
7122 | # undef machine_arch_type | |
7123 | # define machine_arch_type __machine_arch_type | |
7124 | # else | |
7125 | # define machine_arch_type MACH_TYPE_RECIVA_TT | |
7126 | # endif | |
7127 | # define machine_is_reciva_tt() (machine_arch_type == MACH_TYPE_RECIVA_TT) | |
7128 | #else | |
7129 | # define machine_is_reciva_tt() (0) | |
7130 | #endif | |
7131 | ||
7132 | #ifdef CONFIG_MACH_CSTCB01 | |
7133 | # ifdef machine_arch_type | |
7134 | # undef machine_arch_type | |
7135 | # define machine_arch_type __machine_arch_type | |
7136 | # else | |
7137 | # define machine_arch_type MACH_TYPE_CSTCB01 | |
7138 | # endif | |
7139 | # define machine_is_cstcb01() (machine_arch_type == MACH_TYPE_CSTCB01) | |
7140 | #else | |
7141 | # define machine_is_cstcb01() (0) | |
7142 | #endif | |
7143 | ||
7144 | #ifdef CONFIG_MACH_CSTCB1 | |
7145 | # ifdef machine_arch_type | |
7146 | # undef machine_arch_type | |
7147 | # define machine_arch_type __machine_arch_type | |
7148 | # else | |
7149 | # define machine_arch_type MACH_TYPE_CSTCB1 | |
7150 | # endif | |
7151 | # define machine_is_cstcb1() (machine_arch_type == MACH_TYPE_CSTCB1) | |
7152 | #else | |
7153 | # define machine_is_cstcb1() (0) | |
7154 | #endif | |
7155 | ||
7156 | #ifdef CONFIG_MACH_SHADWELL | |
7157 | # ifdef machine_arch_type | |
7158 | # undef machine_arch_type | |
7159 | # define machine_arch_type __machine_arch_type | |
7160 | # else | |
7161 | # define machine_arch_type MACH_TYPE_SHADWELL | |
7162 | # endif | |
7163 | # define machine_is_shadwell() (machine_arch_type == MACH_TYPE_SHADWELL) | |
7164 | #else | |
7165 | # define machine_is_shadwell() (0) | |
7166 | #endif | |
7167 | ||
7168 | #ifdef CONFIG_MACH_GOEPEL263 | |
7169 | # ifdef machine_arch_type | |
7170 | # undef machine_arch_type | |
7171 | # define machine_arch_type __machine_arch_type | |
7172 | # else | |
7173 | # define machine_arch_type MACH_TYPE_GOEPEL263 | |
7174 | # endif | |
7175 | # define machine_is_goepel263() (machine_arch_type == MACH_TYPE_GOEPEL263) | |
7176 | #else | |
7177 | # define machine_is_goepel263() (0) | |
7178 | #endif | |
7179 | ||
7180 | #ifdef CONFIG_MACH_ACQ100 | |
7181 | # ifdef machine_arch_type | |
7182 | # undef machine_arch_type | |
7183 | # define machine_arch_type __machine_arch_type | |
7184 | # else | |
7185 | # define machine_arch_type MACH_TYPE_ACQ100 | |
7186 | # endif | |
7187 | # define machine_is_acq100() (machine_arch_type == MACH_TYPE_ACQ100) | |
7188 | #else | |
7189 | # define machine_is_acq100() (0) | |
7190 | #endif | |
7191 | ||
7192 | #ifdef CONFIG_MACH_MX1FS2 | |
7193 | # ifdef machine_arch_type | |
7194 | # undef machine_arch_type | |
7195 | # define machine_arch_type __machine_arch_type | |
7196 | # else | |
7197 | # define machine_arch_type MACH_TYPE_MX1FS2 | |
7198 | # endif | |
7199 | # define machine_is_mx1fs2() (machine_arch_type == MACH_TYPE_MX1FS2) | |
7200 | #else | |
7201 | # define machine_is_mx1fs2() (0) | |
7202 | #endif | |
7203 | ||
7204 | #ifdef CONFIG_MACH_HIPTOP_G1 | |
7205 | # ifdef machine_arch_type | |
7206 | # undef machine_arch_type | |
7207 | # define machine_arch_type __machine_arch_type | |
7208 | # else | |
7209 | # define machine_arch_type MACH_TYPE_HIPTOP_G1 | |
7210 | # endif | |
7211 | # define machine_is_hiptop_g1() (machine_arch_type == MACH_TYPE_HIPTOP_G1) | |
7212 | #else | |
7213 | # define machine_is_hiptop_g1() (0) | |
7214 | #endif | |
7215 | ||
7216 | #ifdef CONFIG_MACH_SPARKY | |
7217 | # ifdef machine_arch_type | |
7218 | # undef machine_arch_type | |
7219 | # define machine_arch_type __machine_arch_type | |
7220 | # else | |
7221 | # define machine_arch_type MACH_TYPE_SPARKY | |
7222 | # endif | |
7223 | # define machine_is_sparky() (machine_arch_type == MACH_TYPE_SPARKY) | |
7224 | #else | |
7225 | # define machine_is_sparky() (0) | |
7226 | #endif | |
7227 | ||
7228 | #ifdef CONFIG_MACH_NS9750 | |
7229 | # ifdef machine_arch_type | |
7230 | # undef machine_arch_type | |
7231 | # define machine_arch_type __machine_arch_type | |
7232 | # else | |
7233 | # define machine_arch_type MACH_TYPE_NS9750 | |
7234 | # endif | |
7235 | # define machine_is_ns9750() (machine_arch_type == MACH_TYPE_NS9750) | |
7236 | #else | |
7237 | # define machine_is_ns9750() (0) | |
7238 | #endif | |
7239 | ||
7240 | #ifdef CONFIG_MACH_PHOENIX | |
7241 | # ifdef machine_arch_type | |
7242 | # undef machine_arch_type | |
7243 | # define machine_arch_type __machine_arch_type | |
7244 | # else | |
7245 | # define machine_arch_type MACH_TYPE_PHOENIX | |
7246 | # endif | |
7247 | # define machine_is_phoenix() (machine_arch_type == MACH_TYPE_PHOENIX) | |
7248 | #else | |
7249 | # define machine_is_phoenix() (0) | |
7250 | #endif | |
7251 | ||
7252 | #ifdef CONFIG_MACH_VR1000 | |
7253 | # ifdef machine_arch_type | |
7254 | # undef machine_arch_type | |
7255 | # define machine_arch_type __machine_arch_type | |
7256 | # else | |
7257 | # define machine_arch_type MACH_TYPE_VR1000 | |
7258 | # endif | |
7259 | # define machine_is_vr1000() (machine_arch_type == MACH_TYPE_VR1000) | |
7260 | #else | |
7261 | # define machine_is_vr1000() (0) | |
7262 | #endif | |
7263 | ||
7264 | #ifdef CONFIG_MACH_DEISTERPXA | |
7265 | # ifdef machine_arch_type | |
7266 | # undef machine_arch_type | |
7267 | # define machine_arch_type __machine_arch_type | |
7268 | # else | |
7269 | # define machine_arch_type MACH_TYPE_DEISTERPXA | |
7270 | # endif | |
7271 | # define machine_is_deisterpxa() (machine_arch_type == MACH_TYPE_DEISTERPXA) | |
7272 | #else | |
7273 | # define machine_is_deisterpxa() (0) | |
7274 | #endif | |
7275 | ||
7276 | #ifdef CONFIG_MACH_BCM1160 | |
7277 | # ifdef machine_arch_type | |
7278 | # undef machine_arch_type | |
7279 | # define machine_arch_type __machine_arch_type | |
7280 | # else | |
7281 | # define machine_arch_type MACH_TYPE_BCM1160 | |
7282 | # endif | |
7283 | # define machine_is_bcm1160() (machine_arch_type == MACH_TYPE_BCM1160) | |
7284 | #else | |
7285 | # define machine_is_bcm1160() (0) | |
7286 | #endif | |
7287 | ||
7288 | #ifdef CONFIG_MACH_PCM022 | |
7289 | # ifdef machine_arch_type | |
7290 | # undef machine_arch_type | |
7291 | # define machine_arch_type __machine_arch_type | |
7292 | # else | |
7293 | # define machine_arch_type MACH_TYPE_PCM022 | |
7294 | # endif | |
7295 | # define machine_is_pcm022() (machine_arch_type == MACH_TYPE_PCM022) | |
7296 | #else | |
7297 | # define machine_is_pcm022() (0) | |
7298 | #endif | |
7299 | ||
7300 | #ifdef CONFIG_MACH_ADSGCX | |
7301 | # ifdef machine_arch_type | |
7302 | # undef machine_arch_type | |
7303 | # define machine_arch_type __machine_arch_type | |
7304 | # else | |
7305 | # define machine_arch_type MACH_TYPE_ADSGCX | |
7306 | # endif | |
7307 | # define machine_is_adsgcx() (machine_arch_type == MACH_TYPE_ADSGCX) | |
7308 | #else | |
7309 | # define machine_is_adsgcx() (0) | |
7310 | #endif | |
7311 | ||
7312 | #ifdef CONFIG_MACH_DREADNAUGHT | |
7313 | # ifdef machine_arch_type | |
7314 | # undef machine_arch_type | |
7315 | # define machine_arch_type __machine_arch_type | |
7316 | # else | |
7317 | # define machine_arch_type MACH_TYPE_DREADNAUGHT | |
7318 | # endif | |
7319 | # define machine_is_dreadnaught() (machine_arch_type == MACH_TYPE_DREADNAUGHT) | |
7320 | #else | |
7321 | # define machine_is_dreadnaught() (0) | |
7322 | #endif | |
7323 | ||
7324 | #ifdef CONFIG_MACH_DM320 | |
7325 | # ifdef machine_arch_type | |
7326 | # undef machine_arch_type | |
7327 | # define machine_arch_type __machine_arch_type | |
7328 | # else | |
7329 | # define machine_arch_type MACH_TYPE_DM320 | |
7330 | # endif | |
7331 | # define machine_is_dm320() (machine_arch_type == MACH_TYPE_DM320) | |
7332 | #else | |
7333 | # define machine_is_dm320() (0) | |
7334 | #endif | |
7335 | ||
7336 | #ifdef CONFIG_MACH_MARKOV | |
7337 | # ifdef machine_arch_type | |
7338 | # undef machine_arch_type | |
7339 | # define machine_arch_type __machine_arch_type | |
7340 | # else | |
7341 | # define machine_arch_type MACH_TYPE_MARKOV | |
7342 | # endif | |
7343 | # define machine_is_markov() (machine_arch_type == MACH_TYPE_MARKOV) | |
7344 | #else | |
7345 | # define machine_is_markov() (0) | |
7346 | #endif | |
7347 | ||
7348 | #ifdef CONFIG_MACH_COS7A400 | |
7349 | # ifdef machine_arch_type | |
7350 | # undef machine_arch_type | |
7351 | # define machine_arch_type __machine_arch_type | |
7352 | # else | |
7353 | # define machine_arch_type MACH_TYPE_COS7A400 | |
7354 | # endif | |
7355 | # define machine_is_cos7a400() (machine_arch_type == MACH_TYPE_COS7A400) | |
7356 | #else | |
7357 | # define machine_is_cos7a400() (0) | |
7358 | #endif | |
7359 | ||
7360 | #ifdef CONFIG_MACH_MILANO | |
7361 | # ifdef machine_arch_type | |
7362 | # undef machine_arch_type | |
7363 | # define machine_arch_type __machine_arch_type | |
7364 | # else | |
7365 | # define machine_arch_type MACH_TYPE_MILANO | |
7366 | # endif | |
7367 | # define machine_is_milano() (machine_arch_type == MACH_TYPE_MILANO) | |
7368 | #else | |
7369 | # define machine_is_milano() (0) | |
7370 | #endif | |
7371 | ||
7372 | #ifdef CONFIG_MACH_UE9328 | |
7373 | # ifdef machine_arch_type | |
7374 | # undef machine_arch_type | |
7375 | # define machine_arch_type __machine_arch_type | |
7376 | # else | |
7377 | # define machine_arch_type MACH_TYPE_UE9328 | |
7378 | # endif | |
7379 | # define machine_is_ue9328() (machine_arch_type == MACH_TYPE_UE9328) | |
7380 | #else | |
7381 | # define machine_is_ue9328() (0) | |
7382 | #endif | |
7383 | ||
7384 | #ifdef CONFIG_MACH_UEX255 | |
7385 | # ifdef machine_arch_type | |
7386 | # undef machine_arch_type | |
7387 | # define machine_arch_type __machine_arch_type | |
7388 | # else | |
7389 | # define machine_arch_type MACH_TYPE_UEX255 | |
7390 | # endif | |
7391 | # define machine_is_uex255() (machine_arch_type == MACH_TYPE_UEX255) | |
7392 | #else | |
7393 | # define machine_is_uex255() (0) | |
7394 | #endif | |
7395 | ||
7396 | #ifdef CONFIG_MACH_UE2410 | |
7397 | # ifdef machine_arch_type | |
7398 | # undef machine_arch_type | |
7399 | # define machine_arch_type __machine_arch_type | |
7400 | # else | |
7401 | # define machine_arch_type MACH_TYPE_UE2410 | |
7402 | # endif | |
7403 | # define machine_is_ue2410() (machine_arch_type == MACH_TYPE_UE2410) | |
7404 | #else | |
7405 | # define machine_is_ue2410() (0) | |
7406 | #endif | |
7407 | ||
7408 | #ifdef CONFIG_MACH_A620 | |
7409 | # ifdef machine_arch_type | |
7410 | # undef machine_arch_type | |
7411 | # define machine_arch_type __machine_arch_type | |
7412 | # else | |
7413 | # define machine_arch_type MACH_TYPE_A620 | |
7414 | # endif | |
7415 | # define machine_is_a620() (machine_arch_type == MACH_TYPE_A620) | |
7416 | #else | |
7417 | # define machine_is_a620() (0) | |
7418 | #endif | |
7419 | ||
7420 | #ifdef CONFIG_MACH_OCELOT | |
7421 | # ifdef machine_arch_type | |
7422 | # undef machine_arch_type | |
7423 | # define machine_arch_type __machine_arch_type | |
7424 | # else | |
7425 | # define machine_arch_type MACH_TYPE_OCELOT | |
7426 | # endif | |
7427 | # define machine_is_ocelot() (machine_arch_type == MACH_TYPE_OCELOT) | |
7428 | #else | |
7429 | # define machine_is_ocelot() (0) | |
7430 | #endif | |
7431 | ||
7432 | #ifdef CONFIG_MACH_CHEETAH | |
7433 | # ifdef machine_arch_type | |
7434 | # undef machine_arch_type | |
7435 | # define machine_arch_type __machine_arch_type | |
7436 | # else | |
7437 | # define machine_arch_type MACH_TYPE_CHEETAH | |
7438 | # endif | |
7439 | # define machine_is_cheetah() (machine_arch_type == MACH_TYPE_CHEETAH) | |
7440 | #else | |
7441 | # define machine_is_cheetah() (0) | |
7442 | #endif | |
7443 | ||
7444 | #ifdef CONFIG_MACH_OMAP_PERSEUS2 | |
7445 | # ifdef machine_arch_type | |
7446 | # undef machine_arch_type | |
7447 | # define machine_arch_type __machine_arch_type | |
7448 | # else | |
7449 | # define machine_arch_type MACH_TYPE_OMAP_PERSEUS2 | |
7450 | # endif | |
7451 | # define machine_is_omap_perseus2() (machine_arch_type == MACH_TYPE_OMAP_PERSEUS2) | |
7452 | #else | |
7453 | # define machine_is_omap_perseus2() (0) | |
7454 | #endif | |
7455 | ||
7456 | #ifdef CONFIG_MACH_ZVUE | |
7457 | # ifdef machine_arch_type | |
7458 | # undef machine_arch_type | |
7459 | # define machine_arch_type __machine_arch_type | |
7460 | # else | |
7461 | # define machine_arch_type MACH_TYPE_ZVUE | |
7462 | # endif | |
7463 | # define machine_is_zvue() (machine_arch_type == MACH_TYPE_ZVUE) | |
7464 | #else | |
7465 | # define machine_is_zvue() (0) | |
7466 | #endif | |
7467 | ||
7468 | #ifdef CONFIG_MACH_ROVERP1 | |
7469 | # ifdef machine_arch_type | |
7470 | # undef machine_arch_type | |
7471 | # define machine_arch_type __machine_arch_type | |
7472 | # else | |
7473 | # define machine_arch_type MACH_TYPE_ROVERP1 | |
7474 | # endif | |
7475 | # define machine_is_roverp1() (machine_arch_type == MACH_TYPE_ROVERP1) | |
7476 | #else | |
7477 | # define machine_is_roverp1() (0) | |
7478 | #endif | |
7479 | ||
7480 | #ifdef CONFIG_MACH_ASIDIAL2 | |
7481 | # ifdef machine_arch_type | |
7482 | # undef machine_arch_type | |
7483 | # define machine_arch_type __machine_arch_type | |
7484 | # else | |
7485 | # define machine_arch_type MACH_TYPE_ASIDIAL2 | |
7486 | # endif | |
7487 | # define machine_is_asidial2() (machine_arch_type == MACH_TYPE_ASIDIAL2) | |
7488 | #else | |
7489 | # define machine_is_asidial2() (0) | |
7490 | #endif | |
7491 | ||
7492 | #ifdef CONFIG_MACH_S3C24A0 | |
7493 | # ifdef machine_arch_type | |
7494 | # undef machine_arch_type | |
7495 | # define machine_arch_type __machine_arch_type | |
7496 | # else | |
7497 | # define machine_arch_type MACH_TYPE_S3C24A0 | |
7498 | # endif | |
7499 | # define machine_is_s3c24a0() (machine_arch_type == MACH_TYPE_S3C24A0) | |
7500 | #else | |
7501 | # define machine_is_s3c24a0() (0) | |
7502 | #endif | |
7503 | ||
7504 | #ifdef CONFIG_MACH_E800 | |
7505 | # ifdef machine_arch_type | |
7506 | # undef machine_arch_type | |
7507 | # define machine_arch_type __machine_arch_type | |
7508 | # else | |
7509 | # define machine_arch_type MACH_TYPE_E800 | |
7510 | # endif | |
7511 | # define machine_is_e800() (machine_arch_type == MACH_TYPE_E800) | |
7512 | #else | |
7513 | # define machine_is_e800() (0) | |
7514 | #endif | |
7515 | ||
7516 | #ifdef CONFIG_MACH_E750 | |
7517 | # ifdef machine_arch_type | |
7518 | # undef machine_arch_type | |
7519 | # define machine_arch_type __machine_arch_type | |
7520 | # else | |
7521 | # define machine_arch_type MACH_TYPE_E750 | |
7522 | # endif | |
7523 | # define machine_is_e750() (machine_arch_type == MACH_TYPE_E750) | |
7524 | #else | |
7525 | # define machine_is_e750() (0) | |
7526 | #endif | |
7527 | ||
7528 | #ifdef CONFIG_MACH_S3C5500 | |
7529 | # ifdef machine_arch_type | |
7530 | # undef machine_arch_type | |
7531 | # define machine_arch_type __machine_arch_type | |
7532 | # else | |
7533 | # define machine_arch_type MACH_TYPE_S3C5500 | |
7534 | # endif | |
7535 | # define machine_is_s3c5500() (machine_arch_type == MACH_TYPE_S3C5500) | |
7536 | #else | |
7537 | # define machine_is_s3c5500() (0) | |
7538 | #endif | |
7539 | ||
7540 | #ifdef CONFIG_MACH_SMDK5500 | |
7541 | # ifdef machine_arch_type | |
7542 | # undef machine_arch_type | |
7543 | # define machine_arch_type __machine_arch_type | |
7544 | # else | |
7545 | # define machine_arch_type MACH_TYPE_SMDK5500 | |
7546 | # endif | |
7547 | # define machine_is_smdk5500() (machine_arch_type == MACH_TYPE_SMDK5500) | |
7548 | #else | |
7549 | # define machine_is_smdk5500() (0) | |
7550 | #endif | |
7551 | ||
7552 | #ifdef CONFIG_MACH_SIGNALSYNC | |
7553 | # ifdef machine_arch_type | |
7554 | # undef machine_arch_type | |
7555 | # define machine_arch_type __machine_arch_type | |
7556 | # else | |
7557 | # define machine_arch_type MACH_TYPE_SIGNALSYNC | |
7558 | # endif | |
7559 | # define machine_is_signalsync() (machine_arch_type == MACH_TYPE_SIGNALSYNC) | |
7560 | #else | |
7561 | # define machine_is_signalsync() (0) | |
7562 | #endif | |
7563 | ||
7564 | #ifdef CONFIG_MACH_NBC | |
7565 | # ifdef machine_arch_type | |
7566 | # undef machine_arch_type | |
7567 | # define machine_arch_type __machine_arch_type | |
7568 | # else | |
7569 | # define machine_arch_type MACH_TYPE_NBC | |
7570 | # endif | |
7571 | # define machine_is_nbc() (machine_arch_type == MACH_TYPE_NBC) | |
7572 | #else | |
7573 | # define machine_is_nbc() (0) | |
7574 | #endif | |
7575 | ||
7576 | #ifdef CONFIG_MACH_KODIAK | |
7577 | # ifdef machine_arch_type | |
7578 | # undef machine_arch_type | |
7579 | # define machine_arch_type __machine_arch_type | |
7580 | # else | |
7581 | # define machine_arch_type MACH_TYPE_KODIAK | |
7582 | # endif | |
7583 | # define machine_is_kodiak() (machine_arch_type == MACH_TYPE_KODIAK) | |
7584 | #else | |
7585 | # define machine_is_kodiak() (0) | |
7586 | #endif | |
7587 | ||
7588 | #ifdef CONFIG_MACH_NETBOOKPRO | |
7589 | # ifdef machine_arch_type | |
7590 | # undef machine_arch_type | |
7591 | # define machine_arch_type __machine_arch_type | |
7592 | # else | |
7593 | # define machine_arch_type MACH_TYPE_NETBOOKPRO | |
7594 | # endif | |
7595 | # define machine_is_netbookpro() (machine_arch_type == MACH_TYPE_NETBOOKPRO) | |
7596 | #else | |
7597 | # define machine_is_netbookpro() (0) | |
7598 | #endif | |
7599 | ||
7600 | #ifdef CONFIG_MACH_HW90200 | |
7601 | # ifdef machine_arch_type | |
7602 | # undef machine_arch_type | |
7603 | # define machine_arch_type __machine_arch_type | |
7604 | # else | |
7605 | # define machine_arch_type MACH_TYPE_HW90200 | |
7606 | # endif | |
7607 | # define machine_is_hw90200() (machine_arch_type == MACH_TYPE_HW90200) | |
7608 | #else | |
7609 | # define machine_is_hw90200() (0) | |
7610 | #endif | |
7611 | ||
7612 | #ifdef CONFIG_MACH_CONDOR | |
7613 | # ifdef machine_arch_type | |
7614 | # undef machine_arch_type | |
7615 | # define machine_arch_type __machine_arch_type | |
7616 | # else | |
7617 | # define machine_arch_type MACH_TYPE_CONDOR | |
7618 | # endif | |
7619 | # define machine_is_condor() (machine_arch_type == MACH_TYPE_CONDOR) | |
7620 | #else | |
7621 | # define machine_is_condor() (0) | |
7622 | #endif | |
7623 | ||
7624 | #ifdef CONFIG_MACH_CUP | |
7625 | # ifdef machine_arch_type | |
7626 | # undef machine_arch_type | |
7627 | # define machine_arch_type __machine_arch_type | |
7628 | # else | |
7629 | # define machine_arch_type MACH_TYPE_CUP | |
7630 | # endif | |
7631 | # define machine_is_cup() (machine_arch_type == MACH_TYPE_CUP) | |
7632 | #else | |
7633 | # define machine_is_cup() (0) | |
7634 | #endif | |
7635 | ||
7636 | #ifdef CONFIG_MACH_KITE | |
7637 | # ifdef machine_arch_type | |
7638 | # undef machine_arch_type | |
7639 | # define machine_arch_type __machine_arch_type | |
7640 | # else | |
7641 | # define machine_arch_type MACH_TYPE_KITE | |
7642 | # endif | |
7643 | # define machine_is_kite() (machine_arch_type == MACH_TYPE_KITE) | |
7644 | #else | |
7645 | # define machine_is_kite() (0) | |
7646 | #endif | |
7647 | ||
7648 | #ifdef CONFIG_MACH_SCB9328 | |
7649 | # ifdef machine_arch_type | |
7650 | # undef machine_arch_type | |
7651 | # define machine_arch_type __machine_arch_type | |
7652 | # else | |
7653 | # define machine_arch_type MACH_TYPE_SCB9328 | |
7654 | # endif | |
7655 | # define machine_is_scb9328() (machine_arch_type == MACH_TYPE_SCB9328) | |
7656 | #else | |
7657 | # define machine_is_scb9328() (0) | |
7658 | #endif | |
7659 | ||
7660 | #ifdef CONFIG_MACH_OMAP_H3 | |
7661 | # ifdef machine_arch_type | |
7662 | # undef machine_arch_type | |
7663 | # define machine_arch_type __machine_arch_type | |
7664 | # else | |
7665 | # define machine_arch_type MACH_TYPE_OMAP_H3 | |
7666 | # endif | |
7667 | # define machine_is_omap_h3() (machine_arch_type == MACH_TYPE_OMAP_H3) | |
7668 | #else | |
7669 | # define machine_is_omap_h3() (0) | |
7670 | #endif | |
7671 | ||
7672 | #ifdef CONFIG_MACH_OMAP_H4 | |
7673 | # ifdef machine_arch_type | |
7674 | # undef machine_arch_type | |
7675 | # define machine_arch_type __machine_arch_type | |
7676 | # else | |
7677 | # define machine_arch_type MACH_TYPE_OMAP_H4 | |
7678 | # endif | |
7679 | # define machine_is_omap_h4() (machine_arch_type == MACH_TYPE_OMAP_H4) | |
7680 | #else | |
7681 | # define machine_is_omap_h4() (0) | |
7682 | #endif | |
7683 | ||
7684 | #ifdef CONFIG_MACH_N10 | |
7685 | # ifdef machine_arch_type | |
7686 | # undef machine_arch_type | |
7687 | # define machine_arch_type __machine_arch_type | |
7688 | # else | |
7689 | # define machine_arch_type MACH_TYPE_N10 | |
7690 | # endif | |
7691 | # define machine_is_n10() (machine_arch_type == MACH_TYPE_N10) | |
7692 | #else | |
7693 | # define machine_is_n10() (0) | |
7694 | #endif | |
7695 | ||
7696 | #ifdef CONFIG_MACH_MONTAJADE | |
7697 | # ifdef machine_arch_type | |
7698 | # undef machine_arch_type | |
7699 | # define machine_arch_type __machine_arch_type | |
7700 | # else | |
7701 | # define machine_arch_type MACH_TYPE_MONTAJADE | |
7702 | # endif | |
731215eb | 7703 | # define machine_is_montejade() (machine_arch_type == MACH_TYPE_MONTAJADE) |
a1f4a3dd | 7704 | #else |
731215eb | 7705 | # define machine_is_montejade() (0) |
a1f4a3dd WD |
7706 | #endif |
7707 | ||
7708 | #ifdef CONFIG_MACH_SG560 | |
7709 | # ifdef machine_arch_type | |
7710 | # undef machine_arch_type | |
7711 | # define machine_arch_type __machine_arch_type | |
7712 | # else | |
7713 | # define machine_arch_type MACH_TYPE_SG560 | |
7714 | # endif | |
7715 | # define machine_is_sg560() (machine_arch_type == MACH_TYPE_SG560) | |
7716 | #else | |
7717 | # define machine_is_sg560() (0) | |
7718 | #endif | |
7719 | ||
7720 | #ifdef CONFIG_MACH_DP1000 | |
7721 | # ifdef machine_arch_type | |
7722 | # undef machine_arch_type | |
7723 | # define machine_arch_type __machine_arch_type | |
7724 | # else | |
7725 | # define machine_arch_type MACH_TYPE_DP1000 | |
7726 | # endif | |
7727 | # define machine_is_dp1000() (machine_arch_type == MACH_TYPE_DP1000) | |
7728 | #else | |
7729 | # define machine_is_dp1000() (0) | |
7730 | #endif | |
7731 | ||
7732 | #ifdef CONFIG_MACH_OMAP_OSK | |
7733 | # ifdef machine_arch_type | |
7734 | # undef machine_arch_type | |
7735 | # define machine_arch_type __machine_arch_type | |
7736 | # else | |
7737 | # define machine_arch_type MACH_TYPE_OMAP_OSK | |
7738 | # endif | |
7739 | # define machine_is_omap_osk() (machine_arch_type == MACH_TYPE_OMAP_OSK) | |
7740 | #else | |
7741 | # define machine_is_omap_osk() (0) | |
7742 | #endif | |
7743 | ||
7744 | #ifdef CONFIG_MACH_RG100V3 | |
7745 | # ifdef machine_arch_type | |
7746 | # undef machine_arch_type | |
7747 | # define machine_arch_type __machine_arch_type | |
7748 | # else | |
7749 | # define machine_arch_type MACH_TYPE_RG100V3 | |
7750 | # endif | |
7751 | # define machine_is_rg100v3() (machine_arch_type == MACH_TYPE_RG100V3) | |
7752 | #else | |
7753 | # define machine_is_rg100v3() (0) | |
7754 | #endif | |
7755 | ||
7756 | #ifdef CONFIG_MACH_MX2ADS | |
7757 | # ifdef machine_arch_type | |
7758 | # undef machine_arch_type | |
7759 | # define machine_arch_type __machine_arch_type | |
7760 | # else | |
7761 | # define machine_arch_type MACH_TYPE_MX2ADS | |
7762 | # endif | |
7763 | # define machine_is_mx2ads() (machine_arch_type == MACH_TYPE_MX2ADS) | |
7764 | #else | |
7765 | # define machine_is_mx2ads() (0) | |
7766 | #endif | |
7767 | ||
7768 | #ifdef CONFIG_MACH_PXA_KILO | |
7769 | # ifdef machine_arch_type | |
7770 | # undef machine_arch_type | |
7771 | # define machine_arch_type __machine_arch_type | |
7772 | # else | |
7773 | # define machine_arch_type MACH_TYPE_PXA_KILO | |
7774 | # endif | |
7775 | # define machine_is_pxa_kilo() (machine_arch_type == MACH_TYPE_PXA_KILO) | |
7776 | #else | |
7777 | # define machine_is_pxa_kilo() (0) | |
7778 | #endif | |
7779 | ||
7780 | #ifdef CONFIG_MACH_IXP4XX_EAGLE | |
7781 | # ifdef machine_arch_type | |
7782 | # undef machine_arch_type | |
7783 | # define machine_arch_type __machine_arch_type | |
7784 | # else | |
7785 | # define machine_arch_type MACH_TYPE_IXP4XX_EAGLE | |
7786 | # endif | |
7787 | # define machine_is_ixp4xx_eagle() (machine_arch_type == MACH_TYPE_IXP4XX_EAGLE) | |
7788 | #else | |
7789 | # define machine_is_ixp4xx_eagle() (0) | |
7790 | #endif | |
7791 | ||
7792 | #ifdef CONFIG_MACH_TOSA | |
7793 | # ifdef machine_arch_type | |
7794 | # undef machine_arch_type | |
7795 | # define machine_arch_type __machine_arch_type | |
7796 | # else | |
7797 | # define machine_arch_type MACH_TYPE_TOSA | |
7798 | # endif | |
7799 | # define machine_is_tosa() (machine_arch_type == MACH_TYPE_TOSA) | |
7800 | #else | |
7801 | # define machine_is_tosa() (0) | |
7802 | #endif | |
7803 | ||
7804 | #ifdef CONFIG_MACH_MB2520F | |
7805 | # ifdef machine_arch_type | |
7806 | # undef machine_arch_type | |
7807 | # define machine_arch_type __machine_arch_type | |
7808 | # else | |
7809 | # define machine_arch_type MACH_TYPE_MB2520F | |
7810 | # endif | |
7811 | # define machine_is_mb2520f() (machine_arch_type == MACH_TYPE_MB2520F) | |
7812 | #else | |
7813 | # define machine_is_mb2520f() (0) | |
7814 | #endif | |
7815 | ||
7816 | #ifdef CONFIG_MACH_EMC1000 | |
7817 | # ifdef machine_arch_type | |
7818 | # undef machine_arch_type | |
7819 | # define machine_arch_type __machine_arch_type | |
7820 | # else | |
7821 | # define machine_arch_type MACH_TYPE_EMC1000 | |
7822 | # endif | |
7823 | # define machine_is_emc1000() (machine_arch_type == MACH_TYPE_EMC1000) | |
f832d8a1 | 7824 | #else |
a1f4a3dd | 7825 | # define machine_is_emc1000() (0) |
f832d8a1 WD |
7826 | #endif |
7827 | ||
a1f4a3dd | 7828 | #ifdef CONFIG_MACH_TIDSC25 |
f832d8a1 WD |
7829 | # ifdef machine_arch_type |
7830 | # undef machine_arch_type | |
7831 | # define machine_arch_type __machine_arch_type | |
7832 | # else | |
a1f4a3dd | 7833 | # define machine_arch_type MACH_TYPE_TIDSC25 |
f832d8a1 | 7834 | # endif |
a1f4a3dd | 7835 | # define machine_is_tidsc25() (machine_arch_type == MACH_TYPE_TIDSC25) |
f832d8a1 | 7836 | #else |
a1f4a3dd WD |
7837 | # define machine_is_tidsc25() (0) |
7838 | #endif | |
7839 | ||
7840 | #ifdef CONFIG_MACH_AKCPMXL | |
7841 | # ifdef machine_arch_type | |
7842 | # undef machine_arch_type | |
7843 | # define machine_arch_type __machine_arch_type | |
7844 | # else | |
7845 | # define machine_arch_type MACH_TYPE_AKCPMXL | |
7846 | # endif | |
7847 | # define machine_is_akcpmxl() (machine_arch_type == MACH_TYPE_AKCPMXL) | |
7848 | #else | |
7849 | # define machine_is_akcpmxl() (0) | |
7850 | #endif | |
7851 | ||
7852 | #ifdef CONFIG_MACH_AV3XX | |
7853 | # ifdef machine_arch_type | |
7854 | # undef machine_arch_type | |
7855 | # define machine_arch_type __machine_arch_type | |
7856 | # else | |
7857 | # define machine_arch_type MACH_TYPE_AV3XX | |
7858 | # endif | |
7859 | # define machine_is_av3xx() (machine_arch_type == MACH_TYPE_AV3XX) | |
7860 | #else | |
7861 | # define machine_is_av3xx() (0) | |
7862 | #endif | |
7863 | ||
7864 | #ifdef CONFIG_MACH_AVILA | |
7865 | # ifdef machine_arch_type | |
7866 | # undef machine_arch_type | |
7867 | # define machine_arch_type __machine_arch_type | |
7868 | # else | |
7869 | # define machine_arch_type MACH_TYPE_AVILA | |
7870 | # endif | |
7871 | # define machine_is_avila() (machine_arch_type == MACH_TYPE_AVILA) | |
7872 | #else | |
7873 | # define machine_is_avila() (0) | |
7874 | #endif | |
7875 | ||
7876 | #ifdef CONFIG_MACH_PXA_MPM10 | |
7877 | # ifdef machine_arch_type | |
7878 | # undef machine_arch_type | |
7879 | # define machine_arch_type __machine_arch_type | |
7880 | # else | |
7881 | # define machine_arch_type MACH_TYPE_PXA_MPM10 | |
7882 | # endif | |
7883 | # define machine_is_pxa_mpm10() (machine_arch_type == MACH_TYPE_PXA_MPM10) | |
7884 | #else | |
7885 | # define machine_is_pxa_mpm10() (0) | |
7886 | #endif | |
7887 | ||
7888 | #ifdef CONFIG_MACH_PXA_KYANITE | |
7889 | # ifdef machine_arch_type | |
7890 | # undef machine_arch_type | |
7891 | # define machine_arch_type __machine_arch_type | |
7892 | # else | |
7893 | # define machine_arch_type MACH_TYPE_PXA_KYANITE | |
7894 | # endif | |
7895 | # define machine_is_pxa_kyanite() (machine_arch_type == MACH_TYPE_PXA_KYANITE) | |
7896 | #else | |
7897 | # define machine_is_pxa_kyanite() (0) | |
7898 | #endif | |
7899 | ||
7900 | #ifdef CONFIG_MACH_SGOLD | |
7901 | # ifdef machine_arch_type | |
7902 | # undef machine_arch_type | |
7903 | # define machine_arch_type __machine_arch_type | |
7904 | # else | |
7905 | # define machine_arch_type MACH_TYPE_SGOLD | |
7906 | # endif | |
7907 | # define machine_is_sgold() (machine_arch_type == MACH_TYPE_SGOLD) | |
7908 | #else | |
7909 | # define machine_is_sgold() (0) | |
7910 | #endif | |
7911 | ||
7912 | #ifdef CONFIG_MACH_OSCAR | |
7913 | # ifdef machine_arch_type | |
7914 | # undef machine_arch_type | |
7915 | # define machine_arch_type __machine_arch_type | |
7916 | # else | |
7917 | # define machine_arch_type MACH_TYPE_OSCAR | |
7918 | # endif | |
7919 | # define machine_is_oscar() (machine_arch_type == MACH_TYPE_OSCAR) | |
7920 | #else | |
7921 | # define machine_is_oscar() (0) | |
7922 | #endif | |
7923 | ||
7924 | #ifdef CONFIG_MACH_EPXA4USB2 | |
7925 | # ifdef machine_arch_type | |
7926 | # undef machine_arch_type | |
7927 | # define machine_arch_type __machine_arch_type | |
7928 | # else | |
7929 | # define machine_arch_type MACH_TYPE_EPXA4USB2 | |
7930 | # endif | |
7931 | # define machine_is_epxa4usb2() (machine_arch_type == MACH_TYPE_EPXA4USB2) | |
7932 | #else | |
7933 | # define machine_is_epxa4usb2() (0) | |
7934 | #endif | |
7935 | ||
7936 | #ifdef CONFIG_MACH_XSENGINE | |
7937 | # ifdef machine_arch_type | |
7938 | # undef machine_arch_type | |
7939 | # define machine_arch_type __machine_arch_type | |
7940 | # else | |
7941 | # define machine_arch_type MACH_TYPE_XSENGINE | |
7942 | # endif | |
7943 | # define machine_is_xsengine() (machine_arch_type == MACH_TYPE_XSENGINE) | |
7944 | #else | |
7945 | # define machine_is_xsengine() (0) | |
7946 | #endif | |
7947 | ||
7948 | #ifdef CONFIG_MACH_IP600 | |
7949 | # ifdef machine_arch_type | |
7950 | # undef machine_arch_type | |
7951 | # define machine_arch_type __machine_arch_type | |
7952 | # else | |
7953 | # define machine_arch_type MACH_TYPE_IP600 | |
7954 | # endif | |
7955 | # define machine_is_ip600() (machine_arch_type == MACH_TYPE_IP600) | |
7956 | #else | |
7957 | # define machine_is_ip600() (0) | |
7958 | #endif | |
7959 | ||
7960 | #ifdef CONFIG_MACH_MCAN2 | |
7961 | # ifdef machine_arch_type | |
7962 | # undef machine_arch_type | |
7963 | # define machine_arch_type __machine_arch_type | |
7964 | # else | |
7965 | # define machine_arch_type MACH_TYPE_MCAN2 | |
7966 | # endif | |
7967 | # define machine_is_mcan2() (machine_arch_type == MACH_TYPE_MCAN2) | |
7968 | #else | |
7969 | # define machine_is_mcan2() (0) | |
7970 | #endif | |
7971 | ||
7972 | #ifdef CONFIG_MACH_DDI_BLUERIDGE | |
7973 | # ifdef machine_arch_type | |
7974 | # undef machine_arch_type | |
7975 | # define machine_arch_type __machine_arch_type | |
7976 | # else | |
7977 | # define machine_arch_type MACH_TYPE_DDI_BLUERIDGE | |
7978 | # endif | |
7979 | # define machine_is_ddi_blueridge() (machine_arch_type == MACH_TYPE_DDI_BLUERIDGE) | |
7980 | #else | |
7981 | # define machine_is_ddi_blueridge() (0) | |
7982 | #endif | |
7983 | ||
7984 | #ifdef CONFIG_MACH_SKYMINDER | |
7985 | # ifdef machine_arch_type | |
7986 | # undef machine_arch_type | |
7987 | # define machine_arch_type __machine_arch_type | |
7988 | # else | |
7989 | # define machine_arch_type MACH_TYPE_SKYMINDER | |
7990 | # endif | |
7991 | # define machine_is_skyminder() (machine_arch_type == MACH_TYPE_SKYMINDER) | |
7992 | #else | |
7993 | # define machine_is_skyminder() (0) | |
7994 | #endif | |
7995 | ||
7996 | #ifdef CONFIG_MACH_LPD79520 | |
7997 | # ifdef machine_arch_type | |
7998 | # undef machine_arch_type | |
7999 | # define machine_arch_type __machine_arch_type | |
8000 | # else | |
8001 | # define machine_arch_type MACH_TYPE_LPD79520 | |
8002 | # endif | |
8003 | # define machine_is_lpd79520() (machine_arch_type == MACH_TYPE_LPD79520) | |
8004 | #else | |
8005 | # define machine_is_lpd79520() (0) | |
8006 | #endif | |
8007 | ||
8008 | #ifdef CONFIG_MACH_EDB9302 | |
8009 | # ifdef machine_arch_type | |
8010 | # undef machine_arch_type | |
8011 | # define machine_arch_type __machine_arch_type | |
8012 | # else | |
8013 | # define machine_arch_type MACH_TYPE_EDB9302 | |
8014 | # endif | |
8015 | # define machine_is_edb9302() (machine_arch_type == MACH_TYPE_EDB9302) | |
8016 | #else | |
8017 | # define machine_is_edb9302() (0) | |
8018 | #endif | |
8019 | ||
8020 | #ifdef CONFIG_MACH_HW90340 | |
8021 | # ifdef machine_arch_type | |
8022 | # undef machine_arch_type | |
8023 | # define machine_arch_type __machine_arch_type | |
8024 | # else | |
8025 | # define machine_arch_type MACH_TYPE_HW90340 | |
8026 | # endif | |
8027 | # define machine_is_hw90340() (machine_arch_type == MACH_TYPE_HW90340) | |
8028 | #else | |
8029 | # define machine_is_hw90340() (0) | |
8030 | #endif | |
8031 | ||
8032 | #ifdef CONFIG_MACH_CIP_BOX | |
8033 | # ifdef machine_arch_type | |
8034 | # undef machine_arch_type | |
8035 | # define machine_arch_type __machine_arch_type | |
8036 | # else | |
8037 | # define machine_arch_type MACH_TYPE_CIP_BOX | |
8038 | # endif | |
8039 | # define machine_is_cip_box() (machine_arch_type == MACH_TYPE_CIP_BOX) | |
8040 | #else | |
8041 | # define machine_is_cip_box() (0) | |
8042 | #endif | |
8043 | ||
8044 | #ifdef CONFIG_MACH_IVPN | |
8045 | # ifdef machine_arch_type | |
8046 | # undef machine_arch_type | |
8047 | # define machine_arch_type __machine_arch_type | |
8048 | # else | |
8049 | # define machine_arch_type MACH_TYPE_IVPN | |
8050 | # endif | |
8051 | # define machine_is_ivpn() (machine_arch_type == MACH_TYPE_IVPN) | |
8052 | #else | |
8053 | # define machine_is_ivpn() (0) | |
8054 | #endif | |
8055 | ||
8056 | #ifdef CONFIG_MACH_RSOC2 | |
8057 | # ifdef machine_arch_type | |
8058 | # undef machine_arch_type | |
8059 | # define machine_arch_type __machine_arch_type | |
8060 | # else | |
8061 | # define machine_arch_type MACH_TYPE_RSOC2 | |
8062 | # endif | |
8063 | # define machine_is_rsoc2() (machine_arch_type == MACH_TYPE_RSOC2) | |
8064 | #else | |
8065 | # define machine_is_rsoc2() (0) | |
8066 | #endif | |
8067 | ||
8068 | #ifdef CONFIG_MACH_HUSKY | |
8069 | # ifdef machine_arch_type | |
8070 | # undef machine_arch_type | |
8071 | # define machine_arch_type __machine_arch_type | |
8072 | # else | |
8073 | # define machine_arch_type MACH_TYPE_HUSKY | |
8074 | # endif | |
8075 | # define machine_is_husky() (machine_arch_type == MACH_TYPE_HUSKY) | |
8076 | #else | |
8077 | # define machine_is_husky() (0) | |
8078 | #endif | |
8079 | ||
8080 | #ifdef CONFIG_MACH_BOXER | |
8081 | # ifdef machine_arch_type | |
8082 | # undef machine_arch_type | |
8083 | # define machine_arch_type __machine_arch_type | |
8084 | # else | |
8085 | # define machine_arch_type MACH_TYPE_BOXER | |
8086 | # endif | |
8087 | # define machine_is_boxer() (machine_arch_type == MACH_TYPE_BOXER) | |
8088 | #else | |
8089 | # define machine_is_boxer() (0) | |
8090 | #endif | |
8091 | ||
8092 | #ifdef CONFIG_MACH_SHEPHERD | |
8093 | # ifdef machine_arch_type | |
8094 | # undef machine_arch_type | |
8095 | # define machine_arch_type __machine_arch_type | |
8096 | # else | |
8097 | # define machine_arch_type MACH_TYPE_SHEPHERD | |
8098 | # endif | |
8099 | # define machine_is_shepherd() (machine_arch_type == MACH_TYPE_SHEPHERD) | |
8100 | #else | |
8101 | # define machine_is_shepherd() (0) | |
8102 | #endif | |
8103 | ||
8104 | #ifdef CONFIG_MACH_AML42800AA | |
8105 | # ifdef machine_arch_type | |
8106 | # undef machine_arch_type | |
8107 | # define machine_arch_type __machine_arch_type | |
8108 | # else | |
8109 | # define machine_arch_type MACH_TYPE_AML42800AA | |
8110 | # endif | |
8111 | # define machine_is_aml42800aa() (machine_arch_type == MACH_TYPE_AML42800AA) | |
8112 | #else | |
8113 | # define machine_is_aml42800aa() (0) | |
8114 | #endif | |
8115 | ||
8116 | #ifdef CONFIG_MACH_MACH_TYPE_ML674001 | |
8117 | # ifdef machine_arch_type | |
8118 | # undef machine_arch_type | |
8119 | # define machine_arch_type __machine_arch_type | |
8120 | # else | |
8121 | # define machine_arch_type MACH_TYPE_MACH_TYPE_ML674001 | |
8122 | # endif | |
8123 | # define machine_is_ml674001() (machine_arch_type == MACH_TYPE_MACH_TYPE_ML674001) | |
8124 | #else | |
8125 | # define machine_is_ml674001() (0) | |
8126 | #endif | |
8127 | ||
8128 | #ifdef CONFIG_MACH_LPC2294 | |
8129 | # ifdef machine_arch_type | |
8130 | # undef machine_arch_type | |
8131 | # define machine_arch_type __machine_arch_type | |
8132 | # else | |
8133 | # define machine_arch_type MACH_TYPE_LPC2294 | |
8134 | # endif | |
8135 | # define machine_is_lpc2294() (machine_arch_type == MACH_TYPE_LPC2294) | |
8136 | #else | |
8137 | # define machine_is_lpc2294() (0) | |
8138 | #endif | |
8139 | ||
8140 | #ifdef CONFIG_MACH_SWITCHGRASS | |
8141 | # ifdef machine_arch_type | |
8142 | # undef machine_arch_type | |
8143 | # define machine_arch_type __machine_arch_type | |
8144 | # else | |
8145 | # define machine_arch_type MACH_TYPE_SWITCHGRASS | |
8146 | # endif | |
8147 | # define machine_is_switchgrass() (machine_arch_type == MACH_TYPE_SWITCHGRASS) | |
8148 | #else | |
8149 | # define machine_is_switchgrass() (0) | |
8150 | #endif | |
8151 | ||
8152 | #ifdef CONFIG_MACH_ENS_CMU | |
8153 | # ifdef machine_arch_type | |
8154 | # undef machine_arch_type | |
8155 | # define machine_arch_type __machine_arch_type | |
8156 | # else | |
8157 | # define machine_arch_type MACH_TYPE_ENS_CMU | |
8158 | # endif | |
8159 | # define machine_is_ens_cmu() (machine_arch_type == MACH_TYPE_ENS_CMU) | |
8160 | #else | |
8161 | # define machine_is_ens_cmu() (0) | |
8162 | #endif | |
8163 | ||
8164 | #ifdef CONFIG_MACH_MM6_SDB | |
8165 | # ifdef machine_arch_type | |
8166 | # undef machine_arch_type | |
8167 | # define machine_arch_type __machine_arch_type | |
8168 | # else | |
8169 | # define machine_arch_type MACH_TYPE_MM6_SDB | |
8170 | # endif | |
8171 | # define machine_is_mm6_sdb() (machine_arch_type == MACH_TYPE_MM6_SDB) | |
8172 | #else | |
8173 | # define machine_is_mm6_sdb() (0) | |
8174 | #endif | |
8175 | ||
8176 | #ifdef CONFIG_MACH_SATURN | |
8177 | # ifdef machine_arch_type | |
8178 | # undef machine_arch_type | |
8179 | # define machine_arch_type __machine_arch_type | |
8180 | # else | |
8181 | # define machine_arch_type MACH_TYPE_SATURN | |
8182 | # endif | |
8183 | # define machine_is_saturn() (machine_arch_type == MACH_TYPE_SATURN) | |
8184 | #else | |
8185 | # define machine_is_saturn() (0) | |
8186 | #endif | |
8187 | ||
f43ad539 | 8188 | #ifdef CONFIG_MACH_I30030EVB |
a1f4a3dd WD |
8189 | # ifdef machine_arch_type |
8190 | # undef machine_arch_type | |
8191 | # define machine_arch_type __machine_arch_type | |
8192 | # else | |
f43ad539 | 8193 | # define machine_arch_type MACH_TYPE_I30030EVB |
a1f4a3dd | 8194 | # endif |
f43ad539 | 8195 | # define machine_is_i30030evb() (machine_arch_type == MACH_TYPE_I30030EVB) |
a1f4a3dd | 8196 | #else |
f43ad539 | 8197 | # define machine_is_i30030evb() (0) |
a1f4a3dd WD |
8198 | #endif |
8199 | ||
f43ad539 | 8200 | #ifdef CONFIG_MACH_MXC27530EVB |
a1f4a3dd WD |
8201 | # ifdef machine_arch_type |
8202 | # undef machine_arch_type | |
8203 | # define machine_arch_type __machine_arch_type | |
8204 | # else | |
f43ad539 | 8205 | # define machine_arch_type MACH_TYPE_MXC27530EVB |
a1f4a3dd | 8206 | # endif |
f43ad539 | 8207 | # define machine_is_mxc27530evb() (machine_arch_type == MACH_TYPE_MXC27530EVB) |
a1f4a3dd | 8208 | #else |
f43ad539 | 8209 | # define machine_is_mxc27530evb() (0) |
f832d8a1 WD |
8210 | #endif |
8211 | ||
731215eb WD |
8212 | #ifdef CONFIG_MACH_SMDK2800 |
8213 | # ifdef machine_arch_type | |
8214 | # undef machine_arch_type | |
8215 | # define machine_arch_type __machine_arch_type | |
8216 | # else | |
8217 | # define machine_arch_type MACH_TYPE_SMDK2800 | |
8218 | # endif | |
8219 | # define machine_is_smdk2800() (machine_arch_type == MACH_TYPE_SMDK2800) | |
8220 | #else | |
8221 | # define machine_is_smdk2800() (0) | |
8222 | #endif | |
8223 | ||
8224 | #ifdef CONFIG_MACH_MTWILSON | |
8225 | # ifdef machine_arch_type | |
8226 | # undef machine_arch_type | |
8227 | # define machine_arch_type __machine_arch_type | |
8228 | # else | |
8229 | # define machine_arch_type MACH_TYPE_MTWILSON | |
8230 | # endif | |
8231 | # define machine_is_mtwilson() (machine_arch_type == MACH_TYPE_MTWILSON) | |
8232 | #else | |
8233 | # define machine_is_mtwilson() (0) | |
8234 | #endif | |
8235 | ||
8236 | #ifdef CONFIG_MACH_ZITI | |
8237 | # ifdef machine_arch_type | |
8238 | # undef machine_arch_type | |
8239 | # define machine_arch_type __machine_arch_type | |
8240 | # else | |
8241 | # define machine_arch_type MACH_TYPE_ZITI | |
8242 | # endif | |
8243 | # define machine_is_ziti() (machine_arch_type == MACH_TYPE_ZITI) | |
8244 | #else | |
8245 | # define machine_is_ziti() (0) | |
8246 | #endif | |
8247 | ||
8248 | #ifdef CONFIG_MACH_GRANDFATHER | |
8249 | # ifdef machine_arch_type | |
8250 | # undef machine_arch_type | |
8251 | # define machine_arch_type __machine_arch_type | |
8252 | # else | |
8253 | # define machine_arch_type MACH_TYPE_GRANDFATHER | |
8254 | # endif | |
8255 | # define machine_is_grandfather() (machine_arch_type == MACH_TYPE_GRANDFATHER) | |
8256 | #else | |
8257 | # define machine_is_grandfather() (0) | |
8258 | #endif | |
8259 | ||
8260 | #ifdef CONFIG_MACH_TENGINE | |
8261 | # ifdef machine_arch_type | |
8262 | # undef machine_arch_type | |
8263 | # define machine_arch_type __machine_arch_type | |
8264 | # else | |
8265 | # define machine_arch_type MACH_TYPE_TENGINE | |
8266 | # endif | |
8267 | # define machine_is_tengine() (machine_arch_type == MACH_TYPE_TENGINE) | |
8268 | #else | |
8269 | # define machine_is_tengine() (0) | |
8270 | #endif | |
8271 | ||
8272 | #ifdef CONFIG_MACH_S3C2460 | |
8273 | # ifdef machine_arch_type | |
8274 | # undef machine_arch_type | |
8275 | # define machine_arch_type __machine_arch_type | |
8276 | # else | |
8277 | # define machine_arch_type MACH_TYPE_S3C2460 | |
8278 | # endif | |
8279 | # define machine_is_s3c2460() (machine_arch_type == MACH_TYPE_S3C2460) | |
8280 | #else | |
8281 | # define machine_is_s3c2460() (0) | |
8282 | #endif | |
8283 | ||
8284 | #ifdef CONFIG_MACH_PDM | |
8285 | # ifdef machine_arch_type | |
8286 | # undef machine_arch_type | |
8287 | # define machine_arch_type __machine_arch_type | |
8288 | # else | |
8289 | # define machine_arch_type MACH_TYPE_PDM | |
8290 | # endif | |
8291 | # define machine_is_pdm() (machine_arch_type == MACH_TYPE_PDM) | |
8292 | #else | |
8293 | # define machine_is_pdm() (0) | |
8294 | #endif | |
8295 | ||
8296 | #ifdef CONFIG_MACH_H4700 | |
8297 | # ifdef machine_arch_type | |
8298 | # undef machine_arch_type | |
8299 | # define machine_arch_type __machine_arch_type | |
8300 | # else | |
8301 | # define machine_arch_type MACH_TYPE_H4700 | |
8302 | # endif | |
8303 | # define machine_is_h4700() (machine_arch_type == MACH_TYPE_H4700) | |
8304 | #else | |
8305 | # define machine_is_h4700() (0) | |
8306 | #endif | |
8307 | ||
8308 | #ifdef CONFIG_MACH_H6300 | |
8309 | # ifdef machine_arch_type | |
8310 | # undef machine_arch_type | |
8311 | # define machine_arch_type __machine_arch_type | |
8312 | # else | |
8313 | # define machine_arch_type MACH_TYPE_H6300 | |
8314 | # endif | |
8315 | # define machine_is_h6300() (machine_arch_type == MACH_TYPE_H6300) | |
8316 | #else | |
8317 | # define machine_is_h6300() (0) | |
8318 | #endif | |
8319 | ||
8320 | #ifdef CONFIG_MACH_RZ1700 | |
8321 | # ifdef machine_arch_type | |
8322 | # undef machine_arch_type | |
8323 | # define machine_arch_type __machine_arch_type | |
8324 | # else | |
8325 | # define machine_arch_type MACH_TYPE_RZ1700 | |
8326 | # endif | |
8327 | # define machine_is_rz1700() (machine_arch_type == MACH_TYPE_RZ1700) | |
8328 | #else | |
8329 | # define machine_is_rz1700() (0) | |
8330 | #endif | |
8331 | ||
8332 | #ifdef CONFIG_MACH_A716 | |
8333 | # ifdef machine_arch_type | |
8334 | # undef machine_arch_type | |
8335 | # define machine_arch_type __machine_arch_type | |
8336 | # else | |
8337 | # define machine_arch_type MACH_TYPE_A716 | |
8338 | # endif | |
8339 | # define machine_is_a716() (machine_arch_type == MACH_TYPE_A716) | |
8340 | #else | |
8341 | # define machine_is_a716() (0) | |
8342 | #endif | |
8343 | ||
8344 | #ifdef CONFIG_MACH_ESTK2440A | |
8345 | # ifdef machine_arch_type | |
8346 | # undef machine_arch_type | |
8347 | # define machine_arch_type __machine_arch_type | |
8348 | # else | |
8349 | # define machine_arch_type MACH_TYPE_ESTK2440A | |
8350 | # endif | |
8351 | # define machine_is_estk2440a() (machine_arch_type == MACH_TYPE_ESTK2440A) | |
8352 | #else | |
8353 | # define machine_is_estk2440a() (0) | |
8354 | #endif | |
8355 | ||
8356 | #ifdef CONFIG_MACH_ATWIXP425 | |
8357 | # ifdef machine_arch_type | |
8358 | # undef machine_arch_type | |
8359 | # define machine_arch_type __machine_arch_type | |
8360 | # else | |
8361 | # define machine_arch_type MACH_TYPE_ATWIXP425 | |
8362 | # endif | |
8363 | # define machine_is_atwixp425() (machine_arch_type == MACH_TYPE_ATWIXP425) | |
8364 | #else | |
8365 | # define machine_is_atwixp425() (0) | |
8366 | #endif | |
8367 | ||
8368 | #ifdef CONFIG_MACH_CSB336 | |
8369 | # ifdef machine_arch_type | |
8370 | # undef machine_arch_type | |
8371 | # define machine_arch_type __machine_arch_type | |
8372 | # else | |
8373 | # define machine_arch_type MACH_TYPE_CSB336 | |
8374 | # endif | |
8375 | # define machine_is_csb336() (machine_arch_type == MACH_TYPE_CSB336) | |
8376 | #else | |
8377 | # define machine_is_csb336() (0) | |
8378 | #endif | |
8379 | ||
8380 | #ifdef CONFIG_MACH_RIRM2 | |
8381 | # ifdef machine_arch_type | |
8382 | # undef machine_arch_type | |
8383 | # define machine_arch_type __machine_arch_type | |
8384 | # else | |
8385 | # define machine_arch_type MACH_TYPE_RIRM2 | |
8386 | # endif | |
8387 | # define machine_is_rirm2() (machine_arch_type == MACH_TYPE_RIRM2) | |
8388 | #else | |
8389 | # define machine_is_rirm2() (0) | |
8390 | #endif | |
8391 | ||
8392 | #ifdef CONFIG_MACH_CX23518 | |
8393 | # ifdef machine_arch_type | |
8394 | # undef machine_arch_type | |
8395 | # define machine_arch_type __machine_arch_type | |
8396 | # else | |
8397 | # define machine_arch_type MACH_TYPE_CX23518 | |
8398 | # endif | |
8399 | # define machine_is_cx23518() (machine_arch_type == MACH_TYPE_CX23518) | |
8400 | #else | |
8401 | # define machine_is_cx23518() (0) | |
8402 | #endif | |
8403 | ||
8404 | #ifdef CONFIG_MACH_CX2351X | |
8405 | # ifdef machine_arch_type | |
8406 | # undef machine_arch_type | |
8407 | # define machine_arch_type __machine_arch_type | |
8408 | # else | |
8409 | # define machine_arch_type MACH_TYPE_CX2351X | |
8410 | # endif | |
8411 | # define machine_is_cx2351x() (machine_arch_type == MACH_TYPE_CX2351X) | |
8412 | #else | |
8413 | # define machine_is_cx2351x() (0) | |
8414 | #endif | |
8415 | ||
8416 | #ifdef CONFIG_MACH_COMPUTIME | |
8417 | # ifdef machine_arch_type | |
8418 | # undef machine_arch_type | |
8419 | # define machine_arch_type __machine_arch_type | |
8420 | # else | |
8421 | # define machine_arch_type MACH_TYPE_COMPUTIME | |
8422 | # endif | |
8423 | # define machine_is_computime() (machine_arch_type == MACH_TYPE_COMPUTIME) | |
8424 | #else | |
8425 | # define machine_is_computime() (0) | |
8426 | #endif | |
8427 | ||
8428 | #ifdef CONFIG_MACH_IZARUS | |
8429 | # ifdef machine_arch_type | |
8430 | # undef machine_arch_type | |
8431 | # define machine_arch_type __machine_arch_type | |
8432 | # else | |
8433 | # define machine_arch_type MACH_TYPE_IZARUS | |
8434 | # endif | |
8435 | # define machine_is_izarus() (machine_arch_type == MACH_TYPE_IZARUS) | |
8436 | #else | |
8437 | # define machine_is_izarus() (0) | |
8438 | #endif | |
8439 | ||
8440 | #ifdef CONFIG_MACH_RTS | |
8441 | # ifdef machine_arch_type | |
8442 | # undef machine_arch_type | |
8443 | # define machine_arch_type __machine_arch_type | |
8444 | # else | |
8445 | # define machine_arch_type MACH_TYPE_RTS | |
8446 | # endif | |
8447 | # define machine_is_pxa_rts() (machine_arch_type == MACH_TYPE_RTS) | |
8448 | #else | |
8449 | # define machine_is_pxa_rts() (0) | |
8450 | #endif | |
8451 | ||
8452 | #ifdef CONFIG_MACH_SE5100 | |
8453 | # ifdef machine_arch_type | |
8454 | # undef machine_arch_type | |
8455 | # define machine_arch_type __machine_arch_type | |
8456 | # else | |
8457 | # define machine_arch_type MACH_TYPE_SE5100 | |
8458 | # endif | |
8459 | # define machine_is_se5100() (machine_arch_type == MACH_TYPE_SE5100) | |
8460 | #else | |
8461 | # define machine_is_se5100() (0) | |
8462 | #endif | |
8463 | ||
8464 | #ifdef CONFIG_MACH_S3C2510 | |
8465 | # ifdef machine_arch_type | |
8466 | # undef machine_arch_type | |
8467 | # define machine_arch_type __machine_arch_type | |
8468 | # else | |
8469 | # define machine_arch_type MACH_TYPE_S3C2510 | |
8470 | # endif | |
8471 | # define machine_is_s3c2510() (machine_arch_type == MACH_TYPE_S3C2510) | |
8472 | #else | |
8473 | # define machine_is_s3c2510() (0) | |
8474 | #endif | |
8475 | ||
8476 | #ifdef CONFIG_MACH_CSB437TL | |
8477 | # ifdef machine_arch_type | |
8478 | # undef machine_arch_type | |
8479 | # define machine_arch_type __machine_arch_type | |
8480 | # else | |
8481 | # define machine_arch_type MACH_TYPE_CSB437TL | |
8482 | # endif | |
8483 | # define machine_is_csb437tl() (machine_arch_type == MACH_TYPE_CSB437TL) | |
8484 | #else | |
8485 | # define machine_is_csb437tl() (0) | |
8486 | #endif | |
8487 | ||
8488 | #ifdef CONFIG_MACH_SLAUSON | |
8489 | # ifdef machine_arch_type | |
8490 | # undef machine_arch_type | |
8491 | # define machine_arch_type __machine_arch_type | |
8492 | # else | |
8493 | # define machine_arch_type MACH_TYPE_SLAUSON | |
8494 | # endif | |
8495 | # define machine_is_slauson() (machine_arch_type == MACH_TYPE_SLAUSON) | |
8496 | #else | |
8497 | # define machine_is_slauson() (0) | |
8498 | #endif | |
8499 | ||
8500 | #ifdef CONFIG_MACH_PEARLRIVER | |
8501 | # ifdef machine_arch_type | |
8502 | # undef machine_arch_type | |
8503 | # define machine_arch_type __machine_arch_type | |
8504 | # else | |
8505 | # define machine_arch_type MACH_TYPE_PEARLRIVER | |
8506 | # endif | |
8507 | # define machine_is_pearlriver() (machine_arch_type == MACH_TYPE_PEARLRIVER) | |
8508 | #else | |
8509 | # define machine_is_pearlriver() (0) | |
8510 | #endif | |
8511 | ||
8512 | #ifdef CONFIG_MACH_TDC_P210 | |
8513 | # ifdef machine_arch_type | |
8514 | # undef machine_arch_type | |
8515 | # define machine_arch_type __machine_arch_type | |
8516 | # else | |
8517 | # define machine_arch_type MACH_TYPE_TDC_P210 | |
8518 | # endif | |
8519 | # define machine_is_tdc_p210() (machine_arch_type == MACH_TYPE_TDC_P210) | |
8520 | #else | |
8521 | # define machine_is_tdc_p210() (0) | |
8522 | #endif | |
8523 | ||
8524 | #ifdef CONFIG_MACH_SG580 | |
8525 | # ifdef machine_arch_type | |
8526 | # undef machine_arch_type | |
8527 | # define machine_arch_type __machine_arch_type | |
8528 | # else | |
8529 | # define machine_arch_type MACH_TYPE_SG580 | |
8530 | # endif | |
8531 | # define machine_is_sg580() (machine_arch_type == MACH_TYPE_SG580) | |
8532 | #else | |
8533 | # define machine_is_sg580() (0) | |
8534 | #endif | |
8535 | ||
8536 | #ifdef CONFIG_MACH_WRSBCARM7 | |
8537 | # ifdef machine_arch_type | |
8538 | # undef machine_arch_type | |
8539 | # define machine_arch_type __machine_arch_type | |
8540 | # else | |
8541 | # define machine_arch_type MACH_TYPE_WRSBCARM7 | |
8542 | # endif | |
8543 | # define machine_is_wrsbcarm7() (machine_arch_type == MACH_TYPE_WRSBCARM7) | |
8544 | #else | |
8545 | # define machine_is_wrsbcarm7() (0) | |
8546 | #endif | |
8547 | ||
8548 | #ifdef CONFIG_MACH_IPD | |
8549 | # ifdef machine_arch_type | |
8550 | # undef machine_arch_type | |
8551 | # define machine_arch_type __machine_arch_type | |
8552 | # else | |
8553 | # define machine_arch_type MACH_TYPE_IPD | |
8554 | # endif | |
8555 | # define machine_is_ipd() (machine_arch_type == MACH_TYPE_IPD) | |
8556 | #else | |
8557 | # define machine_is_ipd() (0) | |
8558 | #endif | |
8559 | ||
8560 | #ifdef CONFIG_MACH_PXA_DNP2110 | |
8561 | # ifdef machine_arch_type | |
8562 | # undef machine_arch_type | |
8563 | # define machine_arch_type __machine_arch_type | |
8564 | # else | |
8565 | # define machine_arch_type MACH_TYPE_PXA_DNP2110 | |
8566 | # endif | |
8567 | # define machine_is_pxa_dnp2110() (machine_arch_type == MACH_TYPE_PXA_DNP2110) | |
8568 | #else | |
8569 | # define machine_is_pxa_dnp2110() (0) | |
8570 | #endif | |
8571 | ||
8572 | #ifdef CONFIG_MACH_XAENIAX | |
8573 | # ifdef machine_arch_type | |
8574 | # undef machine_arch_type | |
8575 | # define machine_arch_type __machine_arch_type | |
8576 | # else | |
8577 | # define machine_arch_type MACH_TYPE_XAENIAX | |
8578 | # endif | |
8579 | # define machine_is_xaeniax() (machine_arch_type == MACH_TYPE_XAENIAX) | |
8580 | #else | |
8581 | # define machine_is_xaeniax() (0) | |
8582 | #endif | |
8583 | ||
8584 | #ifdef CONFIG_MACH_SOMN4250 | |
8585 | # ifdef machine_arch_type | |
8586 | # undef machine_arch_type | |
8587 | # define machine_arch_type __machine_arch_type | |
8588 | # else | |
8589 | # define machine_arch_type MACH_TYPE_SOMN4250 | |
8590 | # endif | |
8591 | # define machine_is_somn4250() (machine_arch_type == MACH_TYPE_SOMN4250) | |
8592 | #else | |
8593 | # define machine_is_somn4250() (0) | |
8594 | #endif | |
8595 | ||
8596 | #ifdef CONFIG_MACH_PLEB2 | |
8597 | # ifdef machine_arch_type | |
8598 | # undef machine_arch_type | |
8599 | # define machine_arch_type __machine_arch_type | |
8600 | # else | |
8601 | # define machine_arch_type MACH_TYPE_PLEB2 | |
8602 | # endif | |
8603 | # define machine_is_pleb2() (machine_arch_type == MACH_TYPE_PLEB2) | |
8604 | #else | |
8605 | # define machine_is_pleb2() (0) | |
8606 | #endif | |
8607 | ||
98404649 | 8608 | #ifdef CONFIG_MACH_CORNWALLIS |
731215eb WD |
8609 | # ifdef machine_arch_type |
8610 | # undef machine_arch_type | |
8611 | # define machine_arch_type __machine_arch_type | |
8612 | # else | |
98404649 | 8613 | # define machine_arch_type MACH_TYPE_CORNWALLIS |
731215eb | 8614 | # endif |
98404649 | 8615 | # define machine_is_cornwallis() (machine_arch_type == MACH_TYPE_CORNWALLIS) |
731215eb | 8616 | #else |
98404649 | 8617 | # define machine_is_cornwallis() (0) |
731215eb WD |
8618 | #endif |
8619 | ||
98404649 | 8620 | #ifdef CONFIG_MACH_GURNEY_DRV |
731215eb WD |
8621 | # ifdef machine_arch_type |
8622 | # undef machine_arch_type | |
8623 | # define machine_arch_type __machine_arch_type | |
8624 | # else | |
98404649 | 8625 | # define machine_arch_type MACH_TYPE_GURNEY_DRV |
731215eb | 8626 | # endif |
98404649 | 8627 | # define machine_is_gurney_drv() (machine_arch_type == MACH_TYPE_GURNEY_DRV) |
731215eb | 8628 | #else |
98404649 | 8629 | # define machine_is_gurney_drv() (0) |
731215eb WD |
8630 | #endif |
8631 | ||
8632 | #ifdef CONFIG_MACH_CHAFFEE | |
8633 | # ifdef machine_arch_type | |
8634 | # undef machine_arch_type | |
8635 | # define machine_arch_type __machine_arch_type | |
8636 | # else | |
8637 | # define machine_arch_type MACH_TYPE_CHAFFEE | |
8638 | # endif | |
8639 | # define machine_is_chaffee() (machine_arch_type == MACH_TYPE_CHAFFEE) | |
8640 | #else | |
8641 | # define machine_is_chaffee() (0) | |
8642 | #endif | |
8643 | ||
8644 | #ifdef CONFIG_MACH_RMS101 | |
8645 | # ifdef machine_arch_type | |
8646 | # undef machine_arch_type | |
8647 | # define machine_arch_type __machine_arch_type | |
8648 | # else | |
8649 | # define machine_arch_type MACH_TYPE_RMS101 | |
8650 | # endif | |
8651 | # define machine_is_rms101() (machine_arch_type == MACH_TYPE_RMS101) | |
8652 | #else | |
8653 | # define machine_is_rms101() (0) | |
8654 | #endif | |
8655 | ||
8656 | #ifdef CONFIG_MACH_RX3715 | |
8657 | # ifdef machine_arch_type | |
8658 | # undef machine_arch_type | |
8659 | # define machine_arch_type __machine_arch_type | |
8660 | # else | |
8661 | # define machine_arch_type MACH_TYPE_RX3715 | |
8662 | # endif | |
8663 | # define machine_is_rx3715() (machine_arch_type == MACH_TYPE_RX3715) | |
8664 | #else | |
8665 | # define machine_is_rx3715() (0) | |
8666 | #endif | |
8667 | ||
8668 | #ifdef CONFIG_MACH_SWIFT | |
8669 | # ifdef machine_arch_type | |
8670 | # undef machine_arch_type | |
8671 | # define machine_arch_type __machine_arch_type | |
8672 | # else | |
8673 | # define machine_arch_type MACH_TYPE_SWIFT | |
8674 | # endif | |
8675 | # define machine_is_swift() (machine_arch_type == MACH_TYPE_SWIFT) | |
8676 | #else | |
8677 | # define machine_is_swift() (0) | |
8678 | #endif | |
8679 | ||
8680 | #ifdef CONFIG_MACH_ROVERP7 | |
8681 | # ifdef machine_arch_type | |
8682 | # undef machine_arch_type | |
8683 | # define machine_arch_type __machine_arch_type | |
8684 | # else | |
8685 | # define machine_arch_type MACH_TYPE_ROVERP7 | |
8686 | # endif | |
8687 | # define machine_is_roverp7() (machine_arch_type == MACH_TYPE_ROVERP7) | |
8688 | #else | |
8689 | # define machine_is_roverp7() (0) | |
8690 | #endif | |
8691 | ||
8692 | #ifdef CONFIG_MACH_PR818S | |
8693 | # ifdef machine_arch_type | |
8694 | # undef machine_arch_type | |
8695 | # define machine_arch_type __machine_arch_type | |
8696 | # else | |
8697 | # define machine_arch_type MACH_TYPE_PR818S | |
8698 | # endif | |
8699 | # define machine_is_pr818s() (machine_arch_type == MACH_TYPE_PR818S) | |
8700 | #else | |
8701 | # define machine_is_pr818s() (0) | |
8702 | #endif | |
8703 | ||
8704 | #ifdef CONFIG_MACH_TRXPRO | |
8705 | # ifdef machine_arch_type | |
8706 | # undef machine_arch_type | |
8707 | # define machine_arch_type __machine_arch_type | |
8708 | # else | |
8709 | # define machine_arch_type MACH_TYPE_TRXPRO | |
8710 | # endif | |
8711 | # define machine_is_trxpro() (machine_arch_type == MACH_TYPE_TRXPRO) | |
8712 | #else | |
8713 | # define machine_is_trxpro() (0) | |
8714 | #endif | |
8715 | ||
8716 | #ifdef CONFIG_MACH_NSLU2 | |
8717 | # ifdef machine_arch_type | |
8718 | # undef machine_arch_type | |
8719 | # define machine_arch_type __machine_arch_type | |
8720 | # else | |
8721 | # define machine_arch_type MACH_TYPE_NSLU2 | |
8722 | # endif | |
8723 | # define machine_is_nslu2() (machine_arch_type == MACH_TYPE_NSLU2) | |
8724 | #else | |
8725 | # define machine_is_nslu2() (0) | |
8726 | #endif | |
8727 | ||
8728 | #ifdef CONFIG_MACH_E400 | |
8729 | # ifdef machine_arch_type | |
8730 | # undef machine_arch_type | |
8731 | # define machine_arch_type __machine_arch_type | |
8732 | # else | |
8733 | # define machine_arch_type MACH_TYPE_E400 | |
8734 | # endif | |
8735 | # define machine_is_e400() (machine_arch_type == MACH_TYPE_E400) | |
8736 | #else | |
8737 | # define machine_is_e400() (0) | |
8738 | #endif | |
8739 | ||
8740 | #ifdef CONFIG_MACH_TRAB | |
8741 | # ifdef machine_arch_type | |
8742 | # undef machine_arch_type | |
8743 | # define machine_arch_type __machine_arch_type | |
8744 | # else | |
8745 | # define machine_arch_type MACH_TYPE_TRAB | |
8746 | # endif | |
8747 | # define machine_is_trab() (machine_arch_type == MACH_TYPE_TRAB) | |
8748 | #else | |
8749 | # define machine_is_trab() (0) | |
8750 | #endif | |
8751 | ||
8752 | #ifdef CONFIG_MACH_CMC_PU2 | |
8753 | # ifdef machine_arch_type | |
8754 | # undef machine_arch_type | |
8755 | # define machine_arch_type __machine_arch_type | |
8756 | # else | |
8757 | # define machine_arch_type MACH_TYPE_CMC_PU2 | |
8758 | # endif | |
8759 | # define machine_is_cmc_pu2() (machine_arch_type == MACH_TYPE_CMC_PU2) | |
8760 | #else | |
8761 | # define machine_is_cmc_pu2() (0) | |
8762 | #endif | |
8763 | ||
8764 | #ifdef CONFIG_MACH_FULCRUM | |
8765 | # ifdef machine_arch_type | |
8766 | # undef machine_arch_type | |
8767 | # define machine_arch_type __machine_arch_type | |
8768 | # else | |
8769 | # define machine_arch_type MACH_TYPE_FULCRUM | |
8770 | # endif | |
8771 | # define machine_is_fulcrum() (machine_arch_type == MACH_TYPE_FULCRUM) | |
8772 | #else | |
8773 | # define machine_is_fulcrum() (0) | |
8774 | #endif | |
8775 | ||
8776 | #ifdef CONFIG_MACH_NETGATE42X | |
8777 | # ifdef machine_arch_type | |
8778 | # undef machine_arch_type | |
8779 | # define machine_arch_type __machine_arch_type | |
8780 | # else | |
8781 | # define machine_arch_type MACH_TYPE_NETGATE42X | |
8782 | # endif | |
8783 | # define machine_is_netgate42x() (machine_arch_type == MACH_TYPE_NETGATE42X) | |
8784 | #else | |
8785 | # define machine_is_netgate42x() (0) | |
8786 | #endif | |
8787 | ||
8788 | #ifdef CONFIG_MACH_STR710 | |
8789 | # ifdef machine_arch_type | |
8790 | # undef machine_arch_type | |
8791 | # define machine_arch_type __machine_arch_type | |
8792 | # else | |
8793 | # define machine_arch_type MACH_TYPE_STR710 | |
8794 | # endif | |
8795 | # define machine_is_str710() (machine_arch_type == MACH_TYPE_STR710) | |
8796 | #else | |
8797 | # define machine_is_str710() (0) | |
8798 | #endif | |
8799 | ||
8800 | #ifdef CONFIG_MACH_IXDPG425 | |
8801 | # ifdef machine_arch_type | |
8802 | # undef machine_arch_type | |
8803 | # define machine_arch_type __machine_arch_type | |
8804 | # else | |
8805 | # define machine_arch_type MACH_TYPE_IXDPG425 | |
8806 | # endif | |
8807 | # define machine_is_ixdpg425() (machine_arch_type == MACH_TYPE_IXDPG425) | |
8808 | #else | |
8809 | # define machine_is_ixdpg425() (0) | |
8810 | #endif | |
8811 | ||
8812 | #ifdef CONFIG_MACH_TOMTOMGO | |
8813 | # ifdef machine_arch_type | |
8814 | # undef machine_arch_type | |
8815 | # define machine_arch_type __machine_arch_type | |
8816 | # else | |
8817 | # define machine_arch_type MACH_TYPE_TOMTOMGO | |
8818 | # endif | |
8819 | # define machine_is_tomtomgo() (machine_arch_type == MACH_TYPE_TOMTOMGO) | |
8820 | #else | |
8821 | # define machine_is_tomtomgo() (0) | |
8822 | #endif | |
8823 | ||
8824 | #ifdef CONFIG_MACH_VERSATILE_AB | |
8825 | # ifdef machine_arch_type | |
8826 | # undef machine_arch_type | |
8827 | # define machine_arch_type __machine_arch_type | |
8828 | # else | |
8829 | # define machine_arch_type MACH_TYPE_VERSATILE_AB | |
8830 | # endif | |
8831 | # define machine_is_versatile_ab() (machine_arch_type == MACH_TYPE_VERSATILE_AB) | |
8832 | #else | |
8833 | # define machine_is_versatile_ab() (0) | |
8834 | #endif | |
8835 | ||
8836 | #ifdef CONFIG_MACH_EDB9307 | |
8837 | # ifdef machine_arch_type | |
8838 | # undef machine_arch_type | |
8839 | # define machine_arch_type __machine_arch_type | |
8840 | # else | |
8841 | # define machine_arch_type MACH_TYPE_EDB9307 | |
8842 | # endif | |
8843 | # define machine_is_edb9307() (machine_arch_type == MACH_TYPE_EDB9307) | |
8844 | #else | |
8845 | # define machine_is_edb9307() (0) | |
8846 | #endif | |
8847 | ||
8848 | #ifdef CONFIG_MACH_SG565 | |
8849 | # ifdef machine_arch_type | |
8850 | # undef machine_arch_type | |
8851 | # define machine_arch_type __machine_arch_type | |
8852 | # else | |
8853 | # define machine_arch_type MACH_TYPE_SG565 | |
8854 | # endif | |
8855 | # define machine_is_sg565() (machine_arch_type == MACH_TYPE_SG565) | |
8856 | #else | |
8857 | # define machine_is_sg565() (0) | |
8858 | #endif | |
8859 | ||
8860 | #ifdef CONFIG_MACH_LPD79524 | |
8861 | # ifdef machine_arch_type | |
8862 | # undef machine_arch_type | |
8863 | # define machine_arch_type __machine_arch_type | |
8864 | # else | |
8865 | # define machine_arch_type MACH_TYPE_LPD79524 | |
8866 | # endif | |
8867 | # define machine_is_lpd79524() (machine_arch_type == MACH_TYPE_LPD79524) | |
8868 | #else | |
8869 | # define machine_is_lpd79524() (0) | |
8870 | #endif | |
8871 | ||
8872 | #ifdef CONFIG_MACH_LPD79525 | |
8873 | # ifdef machine_arch_type | |
8874 | # undef machine_arch_type | |
8875 | # define machine_arch_type __machine_arch_type | |
8876 | # else | |
8877 | # define machine_arch_type MACH_TYPE_LPD79525 | |
8878 | # endif | |
8879 | # define machine_is_lpd79525() (machine_arch_type == MACH_TYPE_LPD79525) | |
8880 | #else | |
8881 | # define machine_is_lpd79525() (0) | |
8882 | #endif | |
8883 | ||
8884 | #ifdef CONFIG_MACH_RMS100 | |
8885 | # ifdef machine_arch_type | |
8886 | # undef machine_arch_type | |
8887 | # define machine_arch_type __machine_arch_type | |
8888 | # else | |
8889 | # define machine_arch_type MACH_TYPE_RMS100 | |
8890 | # endif | |
8891 | # define machine_is_rms100() (machine_arch_type == MACH_TYPE_RMS100) | |
8892 | #else | |
8893 | # define machine_is_rms100() (0) | |
8894 | #endif | |
8895 | ||
8896 | #ifdef CONFIG_MACH_KB9200 | |
8897 | # ifdef machine_arch_type | |
8898 | # undef machine_arch_type | |
8899 | # define machine_arch_type __machine_arch_type | |
8900 | # else | |
8901 | # define machine_arch_type MACH_TYPE_KB9200 | |
8902 | # endif | |
8903 | # define machine_is_kb9200() (machine_arch_type == MACH_TYPE_KB9200) | |
8904 | #else | |
8905 | # define machine_is_kb9200() (0) | |
8906 | #endif | |
8907 | ||
8908 | #ifdef CONFIG_MACH_SX1 | |
8909 | # ifdef machine_arch_type | |
8910 | # undef machine_arch_type | |
8911 | # define machine_arch_type __machine_arch_type | |
8912 | # else | |
8913 | # define machine_arch_type MACH_TYPE_SX1 | |
8914 | # endif | |
8915 | # define machine_is_sx1() (machine_arch_type == MACH_TYPE_SX1) | |
8916 | #else | |
8917 | # define machine_is_sx1() (0) | |
8918 | #endif | |
8919 | ||
98404649 WD |
8920 | #ifdef CONFIG_MACH_HMS39C7092 |
8921 | # ifdef machine_arch_type | |
8922 | # undef machine_arch_type | |
8923 | # define machine_arch_type __machine_arch_type | |
8924 | # else | |
8925 | # define machine_arch_type MACH_TYPE_HMS39C7092 | |
8926 | # endif | |
8927 | # define machine_is_hms39c7092() (machine_arch_type == MACH_TYPE_HMS39C7092) | |
8928 | #else | |
8929 | # define machine_is_hms39c7092() (0) | |
8930 | #endif | |
8931 | ||
8932 | #ifdef CONFIG_MACH_ARMADILLO | |
8933 | # ifdef machine_arch_type | |
8934 | # undef machine_arch_type | |
8935 | # define machine_arch_type __machine_arch_type | |
8936 | # else | |
8937 | # define machine_arch_type MACH_TYPE_ARMADILLO | |
8938 | # endif | |
8939 | # define machine_is_armadillo() (machine_arch_type == MACH_TYPE_ARMADILLO) | |
8940 | #else | |
8941 | # define machine_is_armadillo() (0) | |
8942 | #endif | |
8943 | ||
8944 | #ifdef CONFIG_MACH_IPCU | |
8945 | # ifdef machine_arch_type | |
8946 | # undef machine_arch_type | |
8947 | # define machine_arch_type __machine_arch_type | |
8948 | # else | |
8949 | # define machine_arch_type MACH_TYPE_IPCU | |
8950 | # endif | |
8951 | # define machine_is_ipcu() (machine_arch_type == MACH_TYPE_IPCU) | |
8952 | #else | |
8953 | # define machine_is_ipcu() (0) | |
8954 | #endif | |
8955 | ||
8956 | #ifdef CONFIG_MACH_LOOX720 | |
8957 | # ifdef machine_arch_type | |
8958 | # undef machine_arch_type | |
8959 | # define machine_arch_type __machine_arch_type | |
8960 | # else | |
8961 | # define machine_arch_type MACH_TYPE_LOOX720 | |
8962 | # endif | |
8963 | # define machine_is_loox720() (machine_arch_type == MACH_TYPE_LOOX720) | |
8964 | #else | |
8965 | # define machine_is_loox720() (0) | |
8966 | #endif | |
8967 | ||
8968 | #ifdef CONFIG_MACH_IXDP465 | |
8969 | # ifdef machine_arch_type | |
8970 | # undef machine_arch_type | |
8971 | # define machine_arch_type __machine_arch_type | |
8972 | # else | |
8973 | # define machine_arch_type MACH_TYPE_IXDP465 | |
8974 | # endif | |
8975 | # define machine_is_ixdp465() (machine_arch_type == MACH_TYPE_IXDP465) | |
8976 | #else | |
8977 | # define machine_is_ixdp465() (0) | |
8978 | #endif | |
8979 | ||
8980 | #ifdef CONFIG_MACH_IXDP2351 | |
8981 | # ifdef machine_arch_type | |
8982 | # undef machine_arch_type | |
8983 | # define machine_arch_type __machine_arch_type | |
8984 | # else | |
8985 | # define machine_arch_type MACH_TYPE_IXDP2351 | |
8986 | # endif | |
8987 | # define machine_is_ixdp2351() (machine_arch_type == MACH_TYPE_IXDP2351) | |
8988 | #else | |
8989 | # define machine_is_ixdp2351() (0) | |
8990 | #endif | |
8991 | ||
8992 | #ifdef CONFIG_MACH_ADSVIX | |
8993 | # ifdef machine_arch_type | |
8994 | # undef machine_arch_type | |
8995 | # define machine_arch_type __machine_arch_type | |
8996 | # else | |
8997 | # define machine_arch_type MACH_TYPE_ADSVIX | |
8998 | # endif | |
8999 | # define machine_is_adsvix() (machine_arch_type == MACH_TYPE_ADSVIX) | |
9000 | #else | |
9001 | # define machine_is_adsvix() (0) | |
9002 | #endif | |
9003 | ||
9004 | #ifdef CONFIG_MACH_DM270 | |
9005 | # ifdef machine_arch_type | |
9006 | # undef machine_arch_type | |
9007 | # define machine_arch_type __machine_arch_type | |
9008 | # else | |
9009 | # define machine_arch_type MACH_TYPE_DM270 | |
9010 | # endif | |
9011 | # define machine_is_dm270() (machine_arch_type == MACH_TYPE_DM270) | |
9012 | #else | |
9013 | # define machine_is_dm270() (0) | |
9014 | #endif | |
9015 | ||
9016 | #ifdef CONFIG_MACH_SOCLTPLUS | |
9017 | # ifdef machine_arch_type | |
9018 | # undef machine_arch_type | |
9019 | # define machine_arch_type __machine_arch_type | |
9020 | # else | |
9021 | # define machine_arch_type MACH_TYPE_SOCLTPLUS | |
9022 | # endif | |
9023 | # define machine_is_socltplus() (machine_arch_type == MACH_TYPE_SOCLTPLUS) | |
9024 | #else | |
9025 | # define machine_is_socltplus() (0) | |
9026 | #endif | |
9027 | ||
9028 | #ifdef CONFIG_MACH_ECIA | |
9029 | # ifdef machine_arch_type | |
9030 | # undef machine_arch_type | |
9031 | # define machine_arch_type __machine_arch_type | |
9032 | # else | |
9033 | # define machine_arch_type MACH_TYPE_ECIA | |
9034 | # endif | |
9035 | # define machine_is_ecia() (machine_arch_type == MACH_TYPE_ECIA) | |
9036 | #else | |
9037 | # define machine_is_ecia() (0) | |
9038 | #endif | |
9039 | ||
9040 | #ifdef CONFIG_MACH_CM4008 | |
9041 | # ifdef machine_arch_type | |
9042 | # undef machine_arch_type | |
9043 | # define machine_arch_type __machine_arch_type | |
9044 | # else | |
9045 | # define machine_arch_type MACH_TYPE_CM4008 | |
9046 | # endif | |
9047 | # define machine_is_cm4008() (machine_arch_type == MACH_TYPE_CM4008) | |
9048 | #else | |
9049 | # define machine_is_cm4008() (0) | |
9050 | #endif | |
9051 | ||
9052 | #ifdef CONFIG_MACH_P2001 | |
9053 | # ifdef machine_arch_type | |
9054 | # undef machine_arch_type | |
9055 | # define machine_arch_type __machine_arch_type | |
9056 | # else | |
9057 | # define machine_arch_type MACH_TYPE_P2001 | |
9058 | # endif | |
9059 | # define machine_is_p2001() (machine_arch_type == MACH_TYPE_P2001) | |
9060 | #else | |
9061 | # define machine_is_p2001() (0) | |
9062 | #endif | |
9063 | ||
9064 | #ifdef CONFIG_MACH_TWISTER | |
9065 | # ifdef machine_arch_type | |
9066 | # undef machine_arch_type | |
9067 | # define machine_arch_type __machine_arch_type | |
9068 | # else | |
9069 | # define machine_arch_type MACH_TYPE_TWISTER | |
9070 | # endif | |
9071 | # define machine_is_twister() (machine_arch_type == MACH_TYPE_TWISTER) | |
9072 | #else | |
9073 | # define machine_is_twister() (0) | |
9074 | #endif | |
9075 | ||
9076 | #ifdef CONFIG_MACH_MUDSHARK | |
9077 | # ifdef machine_arch_type | |
9078 | # undef machine_arch_type | |
9079 | # define machine_arch_type __machine_arch_type | |
9080 | # else | |
9081 | # define machine_arch_type MACH_TYPE_MUDSHARK | |
9082 | # endif | |
9083 | # define machine_is_mudshark() (machine_arch_type == MACH_TYPE_MUDSHARK) | |
9084 | #else | |
9085 | # define machine_is_mudshark() (0) | |
9086 | #endif | |
9087 | ||
9088 | #ifdef CONFIG_MACH_HB2 | |
9089 | # ifdef machine_arch_type | |
9090 | # undef machine_arch_type | |
9091 | # define machine_arch_type __machine_arch_type | |
9092 | # else | |
9093 | # define machine_arch_type MACH_TYPE_HB2 | |
9094 | # endif | |
9095 | # define machine_is_hb2() (machine_arch_type == MACH_TYPE_HB2) | |
9096 | #else | |
9097 | # define machine_is_hb2() (0) | |
9098 | #endif | |
9099 | ||
9100 | #ifdef CONFIG_MACH_IQ80332 | |
9101 | # ifdef machine_arch_type | |
9102 | # undef machine_arch_type | |
9103 | # define machine_arch_type __machine_arch_type | |
9104 | # else | |
9105 | # define machine_arch_type MACH_TYPE_IQ80332 | |
9106 | # endif | |
9107 | # define machine_is_iq80332() (machine_arch_type == MACH_TYPE_IQ80332) | |
9108 | #else | |
9109 | # define machine_is_iq80332() (0) | |
9110 | #endif | |
9111 | ||
9112 | #ifdef CONFIG_MACH_SENDT | |
9113 | # ifdef machine_arch_type | |
9114 | # undef machine_arch_type | |
9115 | # define machine_arch_type __machine_arch_type | |
9116 | # else | |
9117 | # define machine_arch_type MACH_TYPE_SENDT | |
9118 | # endif | |
9119 | # define machine_is_sendt() (machine_arch_type == MACH_TYPE_SENDT) | |
9120 | #else | |
9121 | # define machine_is_sendt() (0) | |
9122 | #endif | |
9123 | ||
9124 | #ifdef CONFIG_MACH_MX2JAZZ | |
9125 | # ifdef machine_arch_type | |
9126 | # undef machine_arch_type | |
9127 | # define machine_arch_type __machine_arch_type | |
9128 | # else | |
9129 | # define machine_arch_type MACH_TYPE_MX2JAZZ | |
9130 | # endif | |
9131 | # define machine_is_mx2jazz() (machine_arch_type == MACH_TYPE_MX2JAZZ) | |
9132 | #else | |
9133 | # define machine_is_mx2jazz() (0) | |
9134 | #endif | |
9135 | ||
9136 | #ifdef CONFIG_MACH_MULTIIO | |
9137 | # ifdef machine_arch_type | |
9138 | # undef machine_arch_type | |
9139 | # define machine_arch_type __machine_arch_type | |
9140 | # else | |
9141 | # define machine_arch_type MACH_TYPE_MULTIIO | |
9142 | # endif | |
9143 | # define machine_is_multiio() (machine_arch_type == MACH_TYPE_MULTIIO) | |
9144 | #else | |
9145 | # define machine_is_multiio() (0) | |
9146 | #endif | |
9147 | ||
9148 | #ifdef CONFIG_MACH_HRDISPLAY | |
9149 | # ifdef machine_arch_type | |
9150 | # undef machine_arch_type | |
9151 | # define machine_arch_type __machine_arch_type | |
9152 | # else | |
9153 | # define machine_arch_type MACH_TYPE_HRDISPLAY | |
9154 | # endif | |
9155 | # define machine_is_hrdisplay() (machine_arch_type == MACH_TYPE_HRDISPLAY) | |
9156 | #else | |
9157 | # define machine_is_hrdisplay() (0) | |
9158 | #endif | |
9159 | ||
f43ad539 | 9160 | #ifdef CONFIG_MACH_MXC27530ADS |
98404649 WD |
9161 | # ifdef machine_arch_type |
9162 | # undef machine_arch_type | |
9163 | # define machine_arch_type __machine_arch_type | |
9164 | # else | |
f43ad539 | 9165 | # define machine_arch_type MACH_TYPE_MXC27530ADS |
98404649 | 9166 | # endif |
f43ad539 | 9167 | # define machine_is_mxc27530ads() (machine_arch_type == MACH_TYPE_MXC27530ADS) |
98404649 | 9168 | #else |
f43ad539 | 9169 | # define machine_is_mxc27530ads() (0) |
98404649 WD |
9170 | #endif |
9171 | ||
9172 | #ifdef CONFIG_MACH_TRIZEPS3 | |
9173 | # ifdef machine_arch_type | |
9174 | # undef machine_arch_type | |
9175 | # define machine_arch_type __machine_arch_type | |
9176 | # else | |
9177 | # define machine_arch_type MACH_TYPE_TRIZEPS3 | |
9178 | # endif | |
9179 | # define machine_is_trizeps3() (machine_arch_type == MACH_TYPE_TRIZEPS3) | |
9180 | #else | |
9181 | # define machine_is_trizeps3() (0) | |
9182 | #endif | |
9183 | ||
9184 | #ifdef CONFIG_MACH_ZEFEERDZA | |
9185 | # ifdef machine_arch_type | |
9186 | # undef machine_arch_type | |
9187 | # define machine_arch_type __machine_arch_type | |
9188 | # else | |
9189 | # define machine_arch_type MACH_TYPE_ZEFEERDZA | |
9190 | # endif | |
9191 | # define machine_is_zefeerdza() (machine_arch_type == MACH_TYPE_ZEFEERDZA) | |
9192 | #else | |
9193 | # define machine_is_zefeerdza() (0) | |
9194 | #endif | |
9195 | ||
9196 | #ifdef CONFIG_MACH_ZEFEERDZB | |
9197 | # ifdef machine_arch_type | |
9198 | # undef machine_arch_type | |
9199 | # define machine_arch_type __machine_arch_type | |
9200 | # else | |
9201 | # define machine_arch_type MACH_TYPE_ZEFEERDZB | |
9202 | # endif | |
9203 | # define machine_is_zefeerdzb() (machine_arch_type == MACH_TYPE_ZEFEERDZB) | |
9204 | #else | |
9205 | # define machine_is_zefeerdzb() (0) | |
9206 | #endif | |
9207 | ||
9208 | #ifdef CONFIG_MACH_ZEFEERDZG | |
9209 | # ifdef machine_arch_type | |
9210 | # undef machine_arch_type | |
9211 | # define machine_arch_type __machine_arch_type | |
9212 | # else | |
9213 | # define machine_arch_type MACH_TYPE_ZEFEERDZG | |
9214 | # endif | |
9215 | # define machine_is_zefeerdzg() (machine_arch_type == MACH_TYPE_ZEFEERDZG) | |
9216 | #else | |
9217 | # define machine_is_zefeerdzg() (0) | |
9218 | #endif | |
9219 | ||
9220 | #ifdef CONFIG_MACH_ZEFEERDZN | |
9221 | # ifdef machine_arch_type | |
9222 | # undef machine_arch_type | |
9223 | # define machine_arch_type __machine_arch_type | |
9224 | # else | |
9225 | # define machine_arch_type MACH_TYPE_ZEFEERDZN | |
9226 | # endif | |
9227 | # define machine_is_zefeerdzn() (machine_arch_type == MACH_TYPE_ZEFEERDZN) | |
9228 | #else | |
9229 | # define machine_is_zefeerdzn() (0) | |
9230 | #endif | |
9231 | ||
9232 | #ifdef CONFIG_MACH_ZEFEERDZQ | |
9233 | # ifdef machine_arch_type | |
9234 | # undef machine_arch_type | |
9235 | # define machine_arch_type __machine_arch_type | |
9236 | # else | |
9237 | # define machine_arch_type MACH_TYPE_ZEFEERDZQ | |
9238 | # endif | |
9239 | # define machine_is_zefeerdzq() (machine_arch_type == MACH_TYPE_ZEFEERDZQ) | |
9240 | #else | |
9241 | # define machine_is_zefeerdzq() (0) | |
9242 | #endif | |
9243 | ||
9244 | #ifdef CONFIG_MACH_GTWX5715 | |
9245 | # ifdef machine_arch_type | |
9246 | # undef machine_arch_type | |
9247 | # define machine_arch_type __machine_arch_type | |
9248 | # else | |
9249 | # define machine_arch_type MACH_TYPE_GTWX5715 | |
9250 | # endif | |
9251 | # define machine_is_gtwx5715() (machine_arch_type == MACH_TYPE_GTWX5715) | |
9252 | #else | |
9253 | # define machine_is_gtwx5715() (0) | |
9254 | #endif | |
9255 | ||
9256 | #ifdef CONFIG_MACH_ASTRO_JACK | |
9257 | # ifdef machine_arch_type | |
9258 | # undef machine_arch_type | |
9259 | # define machine_arch_type __machine_arch_type | |
9260 | # else | |
9261 | # define machine_arch_type MACH_TYPE_ASTRO_JACK | |
9262 | # endif | |
9263 | # define machine_is_astro_jack() (machine_arch_type == MACH_TYPE_ASTRO_JACK) | |
9264 | #else | |
9265 | # define machine_is_astro_jack() (0) | |
9266 | #endif | |
9267 | ||
9268 | #ifdef CONFIG_MACH_TIP03 | |
9269 | # ifdef machine_arch_type | |
9270 | # undef machine_arch_type | |
9271 | # define machine_arch_type __machine_arch_type | |
9272 | # else | |
9273 | # define machine_arch_type MACH_TYPE_TIP03 | |
9274 | # endif | |
9275 | # define machine_is_tip03() (machine_arch_type == MACH_TYPE_TIP03) | |
9276 | #else | |
9277 | # define machine_is_tip03() (0) | |
9278 | #endif | |
9279 | ||
9280 | #ifdef CONFIG_MACH_A9200EC | |
9281 | # ifdef machine_arch_type | |
9282 | # undef machine_arch_type | |
9283 | # define machine_arch_type __machine_arch_type | |
9284 | # else | |
9285 | # define machine_arch_type MACH_TYPE_A9200EC | |
9286 | # endif | |
9287 | # define machine_is_a9200ec() (machine_arch_type == MACH_TYPE_A9200EC) | |
9288 | #else | |
9289 | # define machine_is_a9200ec() (0) | |
9290 | #endif | |
9291 | ||
9292 | #ifdef CONFIG_MACH_PNX0105 | |
9293 | # ifdef machine_arch_type | |
9294 | # undef machine_arch_type | |
9295 | # define machine_arch_type __machine_arch_type | |
9296 | # else | |
9297 | # define machine_arch_type MACH_TYPE_PNX0105 | |
9298 | # endif | |
9299 | # define machine_is_pnx0105() (machine_arch_type == MACH_TYPE_PNX0105) | |
9300 | #else | |
9301 | # define machine_is_pnx0105() (0) | |
9302 | #endif | |
9303 | ||
9304 | #ifdef CONFIG_MACH_ADCPOECPU | |
9305 | # ifdef machine_arch_type | |
9306 | # undef machine_arch_type | |
9307 | # define machine_arch_type __machine_arch_type | |
9308 | # else | |
9309 | # define machine_arch_type MACH_TYPE_ADCPOECPU | |
9310 | # endif | |
9311 | # define machine_is_adcpoecpu() (machine_arch_type == MACH_TYPE_ADCPOECPU) | |
9312 | #else | |
9313 | # define machine_is_adcpoecpu() (0) | |
9314 | #endif | |
9315 | ||
9316 | #ifdef CONFIG_MACH_CSB637 | |
9317 | # ifdef machine_arch_type | |
9318 | # undef machine_arch_type | |
9319 | # define machine_arch_type __machine_arch_type | |
9320 | # else | |
9321 | # define machine_arch_type MACH_TYPE_CSB637 | |
9322 | # endif | |
9323 | # define machine_is_csb637() (machine_arch_type == MACH_TYPE_CSB637) | |
9324 | #else | |
9325 | # define machine_is_csb637() (0) | |
9326 | #endif | |
9327 | ||
98404649 WD |
9328 | #ifdef CONFIG_MACH_MB9200 |
9329 | # ifdef machine_arch_type | |
9330 | # undef machine_arch_type | |
9331 | # define machine_arch_type __machine_arch_type | |
9332 | # else | |
9333 | # define machine_arch_type MACH_TYPE_MB9200 | |
9334 | # endif | |
9335 | # define machine_is_mb9200() (machine_arch_type == MACH_TYPE_MB9200) | |
9336 | #else | |
9337 | # define machine_is_mb9200() (0) | |
9338 | #endif | |
9339 | ||
9340 | #ifdef CONFIG_MACH_KULUN | |
9341 | # ifdef machine_arch_type | |
9342 | # undef machine_arch_type | |
9343 | # define machine_arch_type __machine_arch_type | |
9344 | # else | |
9345 | # define machine_arch_type MACH_TYPE_KULUN | |
9346 | # endif | |
9347 | # define machine_is_kulun() (machine_arch_type == MACH_TYPE_KULUN) | |
9348 | #else | |
9349 | # define machine_is_kulun() (0) | |
9350 | #endif | |
9351 | ||
9352 | #ifdef CONFIG_MACH_SNAPPER | |
9353 | # ifdef machine_arch_type | |
9354 | # undef machine_arch_type | |
9355 | # define machine_arch_type __machine_arch_type | |
9356 | # else | |
9357 | # define machine_arch_type MACH_TYPE_SNAPPER | |
9358 | # endif | |
9359 | # define machine_is_snapper() (machine_arch_type == MACH_TYPE_SNAPPER) | |
9360 | #else | |
9361 | # define machine_is_snapper() (0) | |
9362 | #endif | |
9363 | ||
9364 | #ifdef CONFIG_MACH_OPTIMA | |
9365 | # ifdef machine_arch_type | |
9366 | # undef machine_arch_type | |
9367 | # define machine_arch_type __machine_arch_type | |
9368 | # else | |
9369 | # define machine_arch_type MACH_TYPE_OPTIMA | |
9370 | # endif | |
9371 | # define machine_is_optima() (machine_arch_type == MACH_TYPE_OPTIMA) | |
9372 | #else | |
9373 | # define machine_is_optima() (0) | |
9374 | #endif | |
9375 | ||
9376 | #ifdef CONFIG_MACH_DLHSBC | |
9377 | # ifdef machine_arch_type | |
9378 | # undef machine_arch_type | |
9379 | # define machine_arch_type __machine_arch_type | |
9380 | # else | |
9381 | # define machine_arch_type MACH_TYPE_DLHSBC | |
9382 | # endif | |
9383 | # define machine_is_dlhsbc() (machine_arch_type == MACH_TYPE_DLHSBC) | |
9384 | #else | |
9385 | # define machine_is_dlhsbc() (0) | |
9386 | #endif | |
9387 | ||
9388 | #ifdef CONFIG_MACH_X30 | |
9389 | # ifdef machine_arch_type | |
9390 | # undef machine_arch_type | |
9391 | # define machine_arch_type __machine_arch_type | |
9392 | # else | |
9393 | # define machine_arch_type MACH_TYPE_X30 | |
9394 | # endif | |
9395 | # define machine_is_x30() (machine_arch_type == MACH_TYPE_X30) | |
9396 | #else | |
9397 | # define machine_is_x30() (0) | |
9398 | #endif | |
9399 | ||
9400 | #ifdef CONFIG_MACH_N30 | |
9401 | # ifdef machine_arch_type | |
9402 | # undef machine_arch_type | |
9403 | # define machine_arch_type __machine_arch_type | |
9404 | # else | |
9405 | # define machine_arch_type MACH_TYPE_N30 | |
9406 | # endif | |
9407 | # define machine_is_n30() (machine_arch_type == MACH_TYPE_N30) | |
9408 | #else | |
9409 | # define machine_is_n30() (0) | |
9410 | #endif | |
9411 | ||
9412 | #ifdef CONFIG_MACH_MANGA_KS8695 | |
9413 | # ifdef machine_arch_type | |
9414 | # undef machine_arch_type | |
9415 | # define machine_arch_type __machine_arch_type | |
9416 | # else | |
9417 | # define machine_arch_type MACH_TYPE_MANGA_KS8695 | |
9418 | # endif | |
9419 | # define machine_is_manga_ks8695() (machine_arch_type == MACH_TYPE_MANGA_KS8695) | |
9420 | #else | |
9421 | # define machine_is_manga_ks8695() (0) | |
9422 | #endif | |
9423 | ||
9424 | #ifdef CONFIG_MACH_AJAX | |
9425 | # ifdef machine_arch_type | |
9426 | # undef machine_arch_type | |
9427 | # define machine_arch_type __machine_arch_type | |
9428 | # else | |
9429 | # define machine_arch_type MACH_TYPE_AJAX | |
9430 | # endif | |
9431 | # define machine_is_ajax() (machine_arch_type == MACH_TYPE_AJAX) | |
9432 | #else | |
9433 | # define machine_is_ajax() (0) | |
9434 | #endif | |
9435 | ||
9436 | #ifdef CONFIG_MACH_NEC_MP900 | |
9437 | # ifdef machine_arch_type | |
9438 | # undef machine_arch_type | |
9439 | # define machine_arch_type __machine_arch_type | |
9440 | # else | |
9441 | # define machine_arch_type MACH_TYPE_NEC_MP900 | |
9442 | # endif | |
9443 | # define machine_is_nec_mp900() (machine_arch_type == MACH_TYPE_NEC_MP900) | |
9444 | #else | |
9445 | # define machine_is_nec_mp900() (0) | |
9446 | #endif | |
9447 | ||
9448 | #ifdef CONFIG_MACH_VVTK1000 | |
9449 | # ifdef machine_arch_type | |
9450 | # undef machine_arch_type | |
9451 | # define machine_arch_type __machine_arch_type | |
9452 | # else | |
9453 | # define machine_arch_type MACH_TYPE_VVTK1000 | |
9454 | # endif | |
9455 | # define machine_is_vvtk1000() (machine_arch_type == MACH_TYPE_VVTK1000) | |
9456 | #else | |
9457 | # define machine_is_vvtk1000() (0) | |
9458 | #endif | |
9459 | ||
9460 | #ifdef CONFIG_MACH_KAFA | |
9461 | # ifdef machine_arch_type | |
9462 | # undef machine_arch_type | |
9463 | # define machine_arch_type __machine_arch_type | |
9464 | # else | |
9465 | # define machine_arch_type MACH_TYPE_KAFA | |
9466 | # endif | |
9467 | # define machine_is_kafa() (machine_arch_type == MACH_TYPE_KAFA) | |
9468 | #else | |
9469 | # define machine_is_kafa() (0) | |
9470 | #endif | |
9471 | ||
9472 | #ifdef CONFIG_MACH_VVTK3000 | |
9473 | # ifdef machine_arch_type | |
9474 | # undef machine_arch_type | |
9475 | # define machine_arch_type __machine_arch_type | |
9476 | # else | |
9477 | # define machine_arch_type MACH_TYPE_VVTK3000 | |
9478 | # endif | |
9479 | # define machine_is_vvtk3000() (machine_arch_type == MACH_TYPE_VVTK3000) | |
9480 | #else | |
9481 | # define machine_is_vvtk3000() (0) | |
9482 | #endif | |
9483 | ||
9484 | #ifdef CONFIG_MACH_PIMX1 | |
9485 | # ifdef machine_arch_type | |
9486 | # undef machine_arch_type | |
9487 | # define machine_arch_type __machine_arch_type | |
9488 | # else | |
9489 | # define machine_arch_type MACH_TYPE_PIMX1 | |
9490 | # endif | |
9491 | # define machine_is_pimx1() (machine_arch_type == MACH_TYPE_PIMX1) | |
9492 | #else | |
9493 | # define machine_is_pimx1() (0) | |
9494 | #endif | |
9495 | ||
9496 | #ifdef CONFIG_MACH_OLLIE | |
9497 | # ifdef machine_arch_type | |
9498 | # undef machine_arch_type | |
9499 | # define machine_arch_type __machine_arch_type | |
9500 | # else | |
9501 | # define machine_arch_type MACH_TYPE_OLLIE | |
9502 | # endif | |
9503 | # define machine_is_ollie() (machine_arch_type == MACH_TYPE_OLLIE) | |
9504 | #else | |
9505 | # define machine_is_ollie() (0) | |
9506 | #endif | |
9507 | ||
9508 | #ifdef CONFIG_MACH_SKYMAX | |
9509 | # ifdef machine_arch_type | |
9510 | # undef machine_arch_type | |
9511 | # define machine_arch_type __machine_arch_type | |
9512 | # else | |
9513 | # define machine_arch_type MACH_TYPE_SKYMAX | |
9514 | # endif | |
9515 | # define machine_is_skymax() (machine_arch_type == MACH_TYPE_SKYMAX) | |
9516 | #else | |
9517 | # define machine_is_skymax() (0) | |
9518 | #endif | |
9519 | ||
9520 | #ifdef CONFIG_MACH_JAZZ | |
9521 | # ifdef machine_arch_type | |
9522 | # undef machine_arch_type | |
9523 | # define machine_arch_type __machine_arch_type | |
9524 | # else | |
9525 | # define machine_arch_type MACH_TYPE_JAZZ | |
9526 | # endif | |
9527 | # define machine_is_jazz() (machine_arch_type == MACH_TYPE_JAZZ) | |
9528 | #else | |
9529 | # define machine_is_jazz() (0) | |
9530 | #endif | |
9531 | ||
9532 | #ifdef CONFIG_MACH_TEL_T3 | |
9533 | # ifdef machine_arch_type | |
9534 | # undef machine_arch_type | |
9535 | # define machine_arch_type __machine_arch_type | |
9536 | # else | |
9537 | # define machine_arch_type MACH_TYPE_TEL_T3 | |
9538 | # endif | |
9539 | # define machine_is_tel_t3() (machine_arch_type == MACH_TYPE_TEL_T3) | |
9540 | #else | |
9541 | # define machine_is_tel_t3() (0) | |
9542 | #endif | |
9543 | ||
9544 | #ifdef CONFIG_MACH_AISINO_FCR255 | |
9545 | # ifdef machine_arch_type | |
9546 | # undef machine_arch_type | |
9547 | # define machine_arch_type __machine_arch_type | |
9548 | # else | |
9549 | # define machine_arch_type MACH_TYPE_AISINO_FCR255 | |
9550 | # endif | |
9551 | # define machine_is_aisino_fcr255() (machine_arch_type == MACH_TYPE_AISINO_FCR255) | |
9552 | #else | |
9553 | # define machine_is_aisino_fcr255() (0) | |
9554 | #endif | |
9555 | ||
9556 | #ifdef CONFIG_MACH_BTWEB | |
9557 | # ifdef machine_arch_type | |
9558 | # undef machine_arch_type | |
9559 | # define machine_arch_type __machine_arch_type | |
9560 | # else | |
9561 | # define machine_arch_type MACH_TYPE_BTWEB | |
9562 | # endif | |
9563 | # define machine_is_btweb() (machine_arch_type == MACH_TYPE_BTWEB) | |
9564 | #else | |
9565 | # define machine_is_btweb() (0) | |
9566 | #endif | |
9567 | ||
9568 | #ifdef CONFIG_MACH_DBG_LH79520 | |
9569 | # ifdef machine_arch_type | |
9570 | # undef machine_arch_type | |
9571 | # define machine_arch_type __machine_arch_type | |
9572 | # else | |
9573 | # define machine_arch_type MACH_TYPE_DBG_LH79520 | |
9574 | # endif | |
9575 | # define machine_is_dbg_lh79520() (machine_arch_type == MACH_TYPE_DBG_LH79520) | |
9576 | #else | |
9577 | # define machine_is_dbg_lh79520() (0) | |
9578 | #endif | |
9579 | ||
9580 | #ifdef CONFIG_MACH_CM41XX | |
9581 | # ifdef machine_arch_type | |
9582 | # undef machine_arch_type | |
9583 | # define machine_arch_type __machine_arch_type | |
9584 | # else | |
9585 | # define machine_arch_type MACH_TYPE_CM41XX | |
9586 | # endif | |
9587 | # define machine_is_cm41xx() (machine_arch_type == MACH_TYPE_CM41XX) | |
9588 | #else | |
9589 | # define machine_is_cm41xx() (0) | |
9590 | #endif | |
9591 | ||
9592 | #ifdef CONFIG_MACH_TS72XX | |
9593 | # ifdef machine_arch_type | |
9594 | # undef machine_arch_type | |
9595 | # define machine_arch_type __machine_arch_type | |
9596 | # else | |
9597 | # define machine_arch_type MACH_TYPE_TS72XX | |
9598 | # endif | |
9599 | # define machine_is_ts72xx() (machine_arch_type == MACH_TYPE_TS72XX) | |
9600 | #else | |
9601 | # define machine_is_ts72xx() (0) | |
9602 | #endif | |
9603 | ||
9604 | #ifdef CONFIG_MACH_NGGPXA | |
9605 | # ifdef machine_arch_type | |
9606 | # undef machine_arch_type | |
9607 | # define machine_arch_type __machine_arch_type | |
9608 | # else | |
9609 | # define machine_arch_type MACH_TYPE_NGGPXA | |
9610 | # endif | |
9611 | # define machine_is_nggpxa() (machine_arch_type == MACH_TYPE_NGGPXA) | |
9612 | #else | |
9613 | # define machine_is_nggpxa() (0) | |
9614 | #endif | |
9615 | ||
9616 | #ifdef CONFIG_MACH_CSB535 | |
9617 | # ifdef machine_arch_type | |
9618 | # undef machine_arch_type | |
9619 | # define machine_arch_type __machine_arch_type | |
9620 | # else | |
9621 | # define machine_arch_type MACH_TYPE_CSB535 | |
9622 | # endif | |
9623 | # define machine_is_csb535() (machine_arch_type == MACH_TYPE_CSB535) | |
9624 | #else | |
9625 | # define machine_is_csb535() (0) | |
9626 | #endif | |
9627 | ||
9628 | #ifdef CONFIG_MACH_CSB536 | |
9629 | # ifdef machine_arch_type | |
9630 | # undef machine_arch_type | |
9631 | # define machine_arch_type __machine_arch_type | |
9632 | # else | |
9633 | # define machine_arch_type MACH_TYPE_CSB536 | |
9634 | # endif | |
9635 | # define machine_is_csb536() (machine_arch_type == MACH_TYPE_CSB536) | |
9636 | #else | |
9637 | # define machine_is_csb536() (0) | |
9638 | #endif | |
9639 | ||
9640 | #ifdef CONFIG_MACH_PXA_TRAKPOD | |
9641 | # ifdef machine_arch_type | |
9642 | # undef machine_arch_type | |
9643 | # define machine_arch_type __machine_arch_type | |
9644 | # else | |
9645 | # define machine_arch_type MACH_TYPE_PXA_TRAKPOD | |
9646 | # endif | |
9647 | # define machine_is_pxa_trakpod() (machine_arch_type == MACH_TYPE_PXA_TRAKPOD) | |
9648 | #else | |
9649 | # define machine_is_pxa_trakpod() (0) | |
9650 | #endif | |
9651 | ||
9652 | #ifdef CONFIG_MACH_PRAXIS | |
9653 | # ifdef machine_arch_type | |
9654 | # undef machine_arch_type | |
9655 | # define machine_arch_type __machine_arch_type | |
9656 | # else | |
9657 | # define machine_arch_type MACH_TYPE_PRAXIS | |
9658 | # endif | |
9659 | # define machine_is_praxis() (machine_arch_type == MACH_TYPE_PRAXIS) | |
9660 | #else | |
9661 | # define machine_is_praxis() (0) | |
9662 | #endif | |
9663 | ||
9664 | #ifdef CONFIG_MACH_LH75411 | |
9665 | # ifdef machine_arch_type | |
9666 | # undef machine_arch_type | |
9667 | # define machine_arch_type __machine_arch_type | |
9668 | # else | |
9669 | # define machine_arch_type MACH_TYPE_LH75411 | |
9670 | # endif | |
9671 | # define machine_is_lh75411() (machine_arch_type == MACH_TYPE_LH75411) | |
9672 | #else | |
9673 | # define machine_is_lh75411() (0) | |
9674 | #endif | |
9675 | ||
9676 | #ifdef CONFIG_MACH_OTOM | |
9677 | # ifdef machine_arch_type | |
9678 | # undef machine_arch_type | |
9679 | # define machine_arch_type __machine_arch_type | |
9680 | # else | |
9681 | # define machine_arch_type MACH_TYPE_OTOM | |
9682 | # endif | |
9683 | # define machine_is_otom() (machine_arch_type == MACH_TYPE_OTOM) | |
9684 | #else | |
9685 | # define machine_is_otom() (0) | |
9686 | #endif | |
9687 | ||
9688 | #ifdef CONFIG_MACH_NEXCODER_2440 | |
9689 | # ifdef machine_arch_type | |
9690 | # undef machine_arch_type | |
9691 | # define machine_arch_type __machine_arch_type | |
9692 | # else | |
9693 | # define machine_arch_type MACH_TYPE_NEXCODER_2440 | |
9694 | # endif | |
9695 | # define machine_is_nexcoder_2440() (machine_arch_type == MACH_TYPE_NEXCODER_2440) | |
9696 | #else | |
9697 | # define machine_is_nexcoder_2440() (0) | |
9698 | #endif | |
9699 | ||
9700 | #ifdef CONFIG_MACH_LOOX410 | |
9701 | # ifdef machine_arch_type | |
9702 | # undef machine_arch_type | |
9703 | # define machine_arch_type __machine_arch_type | |
9704 | # else | |
9705 | # define machine_arch_type MACH_TYPE_LOOX410 | |
9706 | # endif | |
9707 | # define machine_is_loox410() (machine_arch_type == MACH_TYPE_LOOX410) | |
9708 | #else | |
9709 | # define machine_is_loox410() (0) | |
9710 | #endif | |
9711 | ||
9712 | #ifdef CONFIG_MACH_WESTLAKE | |
9713 | # ifdef machine_arch_type | |
9714 | # undef machine_arch_type | |
9715 | # define machine_arch_type __machine_arch_type | |
9716 | # else | |
9717 | # define machine_arch_type MACH_TYPE_WESTLAKE | |
9718 | # endif | |
9719 | # define machine_is_westlake() (machine_arch_type == MACH_TYPE_WESTLAKE) | |
9720 | #else | |
9721 | # define machine_is_westlake() (0) | |
9722 | #endif | |
9723 | ||
9724 | #ifdef CONFIG_MACH_NSB | |
9725 | # ifdef machine_arch_type | |
9726 | # undef machine_arch_type | |
9727 | # define machine_arch_type __machine_arch_type | |
9728 | # else | |
9729 | # define machine_arch_type MACH_TYPE_NSB | |
9730 | # endif | |
9731 | # define machine_is_nsb() (machine_arch_type == MACH_TYPE_NSB) | |
9732 | #else | |
9733 | # define machine_is_nsb() (0) | |
9734 | #endif | |
9735 | ||
9736 | #ifdef CONFIG_MACH_ESL_SARVA_STN | |
9737 | # ifdef machine_arch_type | |
9738 | # undef machine_arch_type | |
9739 | # define machine_arch_type __machine_arch_type | |
9740 | # else | |
9741 | # define machine_arch_type MACH_TYPE_ESL_SARVA_STN | |
9742 | # endif | |
9743 | # define machine_is_esl_sarva_stn() (machine_arch_type == MACH_TYPE_ESL_SARVA_STN) | |
9744 | #else | |
9745 | # define machine_is_esl_sarva_stn() (0) | |
9746 | #endif | |
9747 | ||
9748 | #ifdef CONFIG_MACH_ESL_SARVA_TFT | |
9749 | # ifdef machine_arch_type | |
9750 | # undef machine_arch_type | |
9751 | # define machine_arch_type __machine_arch_type | |
9752 | # else | |
9753 | # define machine_arch_type MACH_TYPE_ESL_SARVA_TFT | |
9754 | # endif | |
9755 | # define machine_is_esl_sarva_tft() (machine_arch_type == MACH_TYPE_ESL_SARVA_TFT) | |
9756 | #else | |
9757 | # define machine_is_esl_sarva_tft() (0) | |
9758 | #endif | |
9759 | ||
9760 | #ifdef CONFIG_MACH_ESL_SARVA_IAD | |
9761 | # ifdef machine_arch_type | |
9762 | # undef machine_arch_type | |
9763 | # define machine_arch_type __machine_arch_type | |
9764 | # else | |
9765 | # define machine_arch_type MACH_TYPE_ESL_SARVA_IAD | |
9766 | # endif | |
9767 | # define machine_is_esl_sarva_iad() (machine_arch_type == MACH_TYPE_ESL_SARVA_IAD) | |
9768 | #else | |
9769 | # define machine_is_esl_sarva_iad() (0) | |
9770 | #endif | |
9771 | ||
9772 | #ifdef CONFIG_MACH_ESL_SARVA_ACC | |
9773 | # ifdef machine_arch_type | |
9774 | # undef machine_arch_type | |
9775 | # define machine_arch_type __machine_arch_type | |
9776 | # else | |
9777 | # define machine_arch_type MACH_TYPE_ESL_SARVA_ACC | |
9778 | # endif | |
9779 | # define machine_is_esl_sarva_acc() (machine_arch_type == MACH_TYPE_ESL_SARVA_ACC) | |
9780 | #else | |
9781 | # define machine_is_esl_sarva_acc() (0) | |
9782 | #endif | |
9783 | ||
9784 | #ifdef CONFIG_MACH_TYPHOON | |
9785 | # ifdef machine_arch_type | |
9786 | # undef machine_arch_type | |
9787 | # define machine_arch_type __machine_arch_type | |
9788 | # else | |
9789 | # define machine_arch_type MACH_TYPE_TYPHOON | |
9790 | # endif | |
9791 | # define machine_is_typhoon() (machine_arch_type == MACH_TYPE_TYPHOON) | |
9792 | #else | |
9793 | # define machine_is_typhoon() (0) | |
9794 | #endif | |
9795 | ||
9796 | #ifdef CONFIG_MACH_CNAV | |
9797 | # ifdef machine_arch_type | |
9798 | # undef machine_arch_type | |
9799 | # define machine_arch_type __machine_arch_type | |
9800 | # else | |
9801 | # define machine_arch_type MACH_TYPE_CNAV | |
9802 | # endif | |
9803 | # define machine_is_cnav() (machine_arch_type == MACH_TYPE_CNAV) | |
9804 | #else | |
9805 | # define machine_is_cnav() (0) | |
9806 | #endif | |
9807 | ||
9808 | #ifdef CONFIG_MACH_A730 | |
9809 | # ifdef machine_arch_type | |
9810 | # undef machine_arch_type | |
9811 | # define machine_arch_type __machine_arch_type | |
9812 | # else | |
9813 | # define machine_arch_type MACH_TYPE_A730 | |
9814 | # endif | |
9815 | # define machine_is_a730() (machine_arch_type == MACH_TYPE_A730) | |
9816 | #else | |
9817 | # define machine_is_a730() (0) | |
9818 | #endif | |
9819 | ||
9820 | #ifdef CONFIG_MACH_NETSTAR | |
9821 | # ifdef machine_arch_type | |
9822 | # undef machine_arch_type | |
9823 | # define machine_arch_type __machine_arch_type | |
9824 | # else | |
9825 | # define machine_arch_type MACH_TYPE_NETSTAR | |
9826 | # endif | |
9827 | # define machine_is_netstar() (machine_arch_type == MACH_TYPE_NETSTAR) | |
9828 | #else | |
9829 | # define machine_is_netstar() (0) | |
9830 | #endif | |
9831 | ||
9832 | #ifdef CONFIG_MACH_PHASEFALE_SUPERCON | |
9833 | # ifdef machine_arch_type | |
9834 | # undef machine_arch_type | |
9835 | # define machine_arch_type __machine_arch_type | |
9836 | # else | |
9837 | # define machine_arch_type MACH_TYPE_PHASEFALE_SUPERCON | |
9838 | # endif | |
9839 | # define machine_is_supercon() (machine_arch_type == MACH_TYPE_PHASEFALE_SUPERCON) | |
9840 | #else | |
9841 | # define machine_is_supercon() (0) | |
9842 | #endif | |
9843 | ||
9844 | #ifdef CONFIG_MACH_SHIVA1100 | |
9845 | # ifdef machine_arch_type | |
9846 | # undef machine_arch_type | |
9847 | # define machine_arch_type __machine_arch_type | |
9848 | # else | |
9849 | # define machine_arch_type MACH_TYPE_SHIVA1100 | |
9850 | # endif | |
9851 | # define machine_is_shiva1100() (machine_arch_type == MACH_TYPE_SHIVA1100) | |
9852 | #else | |
9853 | # define machine_is_shiva1100() (0) | |
9854 | #endif | |
9855 | ||
9856 | #ifdef CONFIG_MACH_ETEXSC | |
9857 | # ifdef machine_arch_type | |
9858 | # undef machine_arch_type | |
9859 | # define machine_arch_type __machine_arch_type | |
9860 | # else | |
9861 | # define machine_arch_type MACH_TYPE_ETEXSC | |
9862 | # endif | |
9863 | # define machine_is_etexsc() (machine_arch_type == MACH_TYPE_ETEXSC) | |
9864 | #else | |
9865 | # define machine_is_etexsc() (0) | |
9866 | #endif | |
9867 | ||
9868 | #ifdef CONFIG_MACH_IXDPG465 | |
9869 | # ifdef machine_arch_type | |
9870 | # undef machine_arch_type | |
9871 | # define machine_arch_type __machine_arch_type | |
9872 | # else | |
9873 | # define machine_arch_type MACH_TYPE_IXDPG465 | |
9874 | # endif | |
9875 | # define machine_is_ixdpg465() (machine_arch_type == MACH_TYPE_IXDPG465) | |
9876 | #else | |
9877 | # define machine_is_ixdpg465() (0) | |
9878 | #endif | |
9879 | ||
9880 | #ifdef CONFIG_MACH_A9M2410 | |
9881 | # ifdef machine_arch_type | |
9882 | # undef machine_arch_type | |
9883 | # define machine_arch_type __machine_arch_type | |
9884 | # else | |
9885 | # define machine_arch_type MACH_TYPE_A9M2410 | |
9886 | # endif | |
9887 | # define machine_is_a9m2410() (machine_arch_type == MACH_TYPE_A9M2410) | |
9888 | #else | |
9889 | # define machine_is_a9m2410() (0) | |
9890 | #endif | |
9891 | ||
9892 | #ifdef CONFIG_MACH_A9M2440 | |
9893 | # ifdef machine_arch_type | |
9894 | # undef machine_arch_type | |
9895 | # define machine_arch_type __machine_arch_type | |
9896 | # else | |
9897 | # define machine_arch_type MACH_TYPE_A9M2440 | |
9898 | # endif | |
9899 | # define machine_is_a9m2440() (machine_arch_type == MACH_TYPE_A9M2440) | |
9900 | #else | |
9901 | # define machine_is_a9m2440() (0) | |
9902 | #endif | |
9903 | ||
9904 | #ifdef CONFIG_MACH_A9M9750 | |
9905 | # ifdef machine_arch_type | |
9906 | # undef machine_arch_type | |
9907 | # define machine_arch_type __machine_arch_type | |
9908 | # else | |
9909 | # define machine_arch_type MACH_TYPE_A9M9750 | |
9910 | # endif | |
9911 | # define machine_is_a9m9750() (machine_arch_type == MACH_TYPE_A9M9750) | |
9912 | #else | |
9913 | # define machine_is_a9m9750() (0) | |
9914 | #endif | |
9915 | ||
9916 | #ifdef CONFIG_MACH_A9M9360 | |
9917 | # ifdef machine_arch_type | |
9918 | # undef machine_arch_type | |
9919 | # define machine_arch_type __machine_arch_type | |
9920 | # else | |
9921 | # define machine_arch_type MACH_TYPE_A9M9360 | |
9922 | # endif | |
9923 | # define machine_is_a9m9360() (machine_arch_type == MACH_TYPE_A9M9360) | |
9924 | #else | |
9925 | # define machine_is_a9m9360() (0) | |
9926 | #endif | |
9927 | ||
9928 | #ifdef CONFIG_MACH_UNC90 | |
9929 | # ifdef machine_arch_type | |
9930 | # undef machine_arch_type | |
9931 | # define machine_arch_type __machine_arch_type | |
9932 | # else | |
9933 | # define machine_arch_type MACH_TYPE_UNC90 | |
9934 | # endif | |
9935 | # define machine_is_unc90() (machine_arch_type == MACH_TYPE_UNC90) | |
9936 | #else | |
9937 | # define machine_is_unc90() (0) | |
9938 | #endif | |
9939 | ||
9940 | #ifdef CONFIG_MACH_ECO920 | |
9941 | # ifdef machine_arch_type | |
9942 | # undef machine_arch_type | |
9943 | # define machine_arch_type __machine_arch_type | |
9944 | # else | |
9945 | # define machine_arch_type MACH_TYPE_ECO920 | |
9946 | # endif | |
9947 | # define machine_is_eco920() (machine_arch_type == MACH_TYPE_ECO920) | |
9948 | #else | |
9949 | # define machine_is_eco920() (0) | |
9950 | #endif | |
9951 | ||
9952 | #ifdef CONFIG_MACH_SATVIEW | |
9953 | # ifdef machine_arch_type | |
9954 | # undef machine_arch_type | |
9955 | # define machine_arch_type __machine_arch_type | |
9956 | # else | |
9957 | # define machine_arch_type MACH_TYPE_SATVIEW | |
9958 | # endif | |
9959 | # define machine_is_satview() (machine_arch_type == MACH_TYPE_SATVIEW) | |
9960 | #else | |
9961 | # define machine_is_satview() (0) | |
9962 | #endif | |
9963 | ||
9964 | #ifdef CONFIG_MACH_ROADRUNNER | |
9965 | # ifdef machine_arch_type | |
9966 | # undef machine_arch_type | |
9967 | # define machine_arch_type __machine_arch_type | |
9968 | # else | |
9969 | # define machine_arch_type MACH_TYPE_ROADRUNNER | |
9970 | # endif | |
9971 | # define machine_is_roadrunner() (machine_arch_type == MACH_TYPE_ROADRUNNER) | |
9972 | #else | |
9973 | # define machine_is_roadrunner() (0) | |
9974 | #endif | |
9975 | ||
9976 | #ifdef CONFIG_MACH_AT91RM9200EK | |
9977 | # ifdef machine_arch_type | |
9978 | # undef machine_arch_type | |
9979 | # define machine_arch_type __machine_arch_type | |
9980 | # else | |
9981 | # define machine_arch_type MACH_TYPE_AT91RM9200EK | |
9982 | # endif | |
9983 | # define machine_is_at91rm9200ek() (machine_arch_type == MACH_TYPE_AT91RM9200EK) | |
9984 | #else | |
9985 | # define machine_is_at91rm9200ek() (0) | |
9986 | #endif | |
9987 | ||
9988 | #ifdef CONFIG_MACH_GP32 | |
9989 | # ifdef machine_arch_type | |
9990 | # undef machine_arch_type | |
9991 | # define machine_arch_type __machine_arch_type | |
9992 | # else | |
9993 | # define machine_arch_type MACH_TYPE_GP32 | |
9994 | # endif | |
9995 | # define machine_is_gp32() (machine_arch_type == MACH_TYPE_GP32) | |
9996 | #else | |
9997 | # define machine_is_gp32() (0) | |
9998 | #endif | |
9999 | ||
10000 | #ifdef CONFIG_MACH_GEM | |
10001 | # ifdef machine_arch_type | |
10002 | # undef machine_arch_type | |
10003 | # define machine_arch_type __machine_arch_type | |
10004 | # else | |
10005 | # define machine_arch_type MACH_TYPE_GEM | |
10006 | # endif | |
10007 | # define machine_is_gem() (machine_arch_type == MACH_TYPE_GEM) | |
10008 | #else | |
10009 | # define machine_is_gem() (0) | |
10010 | #endif | |
10011 | ||
10012 | #ifdef CONFIG_MACH_I858 | |
10013 | # ifdef machine_arch_type | |
10014 | # undef machine_arch_type | |
10015 | # define machine_arch_type __machine_arch_type | |
10016 | # else | |
10017 | # define machine_arch_type MACH_TYPE_I858 | |
10018 | # endif | |
10019 | # define machine_is_i858() (machine_arch_type == MACH_TYPE_I858) | |
10020 | #else | |
10021 | # define machine_is_i858() (0) | |
10022 | #endif | |
10023 | ||
10024 | #ifdef CONFIG_MACH_HX2750 | |
10025 | # ifdef machine_arch_type | |
10026 | # undef machine_arch_type | |
10027 | # define machine_arch_type __machine_arch_type | |
10028 | # else | |
10029 | # define machine_arch_type MACH_TYPE_HX2750 | |
10030 | # endif | |
10031 | # define machine_is_hx2750() (machine_arch_type == MACH_TYPE_HX2750) | |
10032 | #else | |
10033 | # define machine_is_hx2750() (0) | |
10034 | #endif | |
10035 | ||
f43ad539 | 10036 | #ifdef CONFIG_MACH_MXC91131EVB |
98404649 WD |
10037 | # ifdef machine_arch_type |
10038 | # undef machine_arch_type | |
10039 | # define machine_arch_type __machine_arch_type | |
10040 | # else | |
f43ad539 | 10041 | # define machine_arch_type MACH_TYPE_MXC91131EVB |
98404649 | 10042 | # endif |
f43ad539 | 10043 | # define machine_is_mxc91131evb() (machine_arch_type == MACH_TYPE_MXC91131EVB) |
98404649 | 10044 | #else |
f43ad539 | 10045 | # define machine_is_mxc91131evb() (0) |
98404649 WD |
10046 | #endif |
10047 | ||
10048 | #ifdef CONFIG_MACH_P700 | |
10049 | # ifdef machine_arch_type | |
10050 | # undef machine_arch_type | |
10051 | # define machine_arch_type __machine_arch_type | |
10052 | # else | |
10053 | # define machine_arch_type MACH_TYPE_P700 | |
10054 | # endif | |
10055 | # define machine_is_p700() (machine_arch_type == MACH_TYPE_P700) | |
10056 | #else | |
10057 | # define machine_is_p700() (0) | |
10058 | #endif | |
10059 | ||
10060 | #ifdef CONFIG_MACH_CPE | |
10061 | # ifdef machine_arch_type | |
10062 | # undef machine_arch_type | |
10063 | # define machine_arch_type __machine_arch_type | |
10064 | # else | |
10065 | # define machine_arch_type MACH_TYPE_CPE | |
10066 | # endif | |
10067 | # define machine_is_cpe() (machine_arch_type == MACH_TYPE_CPE) | |
10068 | #else | |
10069 | # define machine_is_cpe() (0) | |
10070 | #endif | |
10071 | ||
10072 | #ifdef CONFIG_MACH_SPITZ | |
10073 | # ifdef machine_arch_type | |
10074 | # undef machine_arch_type | |
10075 | # define machine_arch_type __machine_arch_type | |
10076 | # else | |
10077 | # define machine_arch_type MACH_TYPE_SPITZ | |
10078 | # endif | |
10079 | # define machine_is_spitz() (machine_arch_type == MACH_TYPE_SPITZ) | |
10080 | #else | |
10081 | # define machine_is_spitz() (0) | |
10082 | #endif | |
10083 | ||
10084 | #ifdef CONFIG_MACH_NIMBRA340 | |
10085 | # ifdef machine_arch_type | |
10086 | # undef machine_arch_type | |
10087 | # define machine_arch_type __machine_arch_type | |
10088 | # else | |
10089 | # define machine_arch_type MACH_TYPE_NIMBRA340 | |
10090 | # endif | |
10091 | # define machine_is_nimbra340() (machine_arch_type == MACH_TYPE_NIMBRA340) | |
10092 | #else | |
10093 | # define machine_is_nimbra340() (0) | |
10094 | #endif | |
10095 | ||
10096 | #ifdef CONFIG_MACH_LPC22XX | |
10097 | # ifdef machine_arch_type | |
10098 | # undef machine_arch_type | |
10099 | # define machine_arch_type __machine_arch_type | |
10100 | # else | |
10101 | # define machine_arch_type MACH_TYPE_LPC22XX | |
10102 | # endif | |
10103 | # define machine_is_lpc22xx() (machine_arch_type == MACH_TYPE_LPC22XX) | |
10104 | #else | |
10105 | # define machine_is_lpc22xx() (0) | |
10106 | #endif | |
10107 | ||
10108 | #ifdef CONFIG_MACH_COMET3 | |
10109 | # ifdef machine_arch_type | |
10110 | # undef machine_arch_type | |
10111 | # define machine_arch_type __machine_arch_type | |
10112 | # else | |
10113 | # define machine_arch_type MACH_TYPE_COMET3 | |
10114 | # endif | |
10115 | # define machine_is_omap_comet3() (machine_arch_type == MACH_TYPE_COMET3) | |
10116 | #else | |
10117 | # define machine_is_omap_comet3() (0) | |
10118 | #endif | |
10119 | ||
10120 | #ifdef CONFIG_MACH_COMET4 | |
10121 | # ifdef machine_arch_type | |
10122 | # undef machine_arch_type | |
10123 | # define machine_arch_type __machine_arch_type | |
10124 | # else | |
10125 | # define machine_arch_type MACH_TYPE_COMET4 | |
10126 | # endif | |
10127 | # define machine_is_omap_comet4() (machine_arch_type == MACH_TYPE_COMET4) | |
10128 | #else | |
10129 | # define machine_is_omap_comet4() (0) | |
10130 | #endif | |
10131 | ||
10132 | #ifdef CONFIG_MACH_CSB625 | |
10133 | # ifdef machine_arch_type | |
10134 | # undef machine_arch_type | |
10135 | # define machine_arch_type __machine_arch_type | |
10136 | # else | |
10137 | # define machine_arch_type MACH_TYPE_CSB625 | |
10138 | # endif | |
10139 | # define machine_is_csb625() (machine_arch_type == MACH_TYPE_CSB625) | |
10140 | #else | |
10141 | # define machine_is_csb625() (0) | |
10142 | #endif | |
10143 | ||
10144 | #ifdef CONFIG_MACH_FORTUNET2 | |
10145 | # ifdef machine_arch_type | |
10146 | # undef machine_arch_type | |
10147 | # define machine_arch_type __machine_arch_type | |
10148 | # else | |
10149 | # define machine_arch_type MACH_TYPE_FORTUNET2 | |
10150 | # endif | |
10151 | # define machine_is_fortunet2() (machine_arch_type == MACH_TYPE_FORTUNET2) | |
10152 | #else | |
10153 | # define machine_is_fortunet2() (0) | |
10154 | #endif | |
10155 | ||
10156 | #ifdef CONFIG_MACH_S5H2200 | |
10157 | # ifdef machine_arch_type | |
10158 | # undef machine_arch_type | |
10159 | # define machine_arch_type __machine_arch_type | |
10160 | # else | |
10161 | # define machine_arch_type MACH_TYPE_S5H2200 | |
10162 | # endif | |
10163 | # define machine_is_s5h2200() (machine_arch_type == MACH_TYPE_S5H2200) | |
10164 | #else | |
10165 | # define machine_is_s5h2200() (0) | |
10166 | #endif | |
10167 | ||
10168 | #ifdef CONFIG_MACH_OPTORM920 | |
10169 | # ifdef machine_arch_type | |
10170 | # undef machine_arch_type | |
10171 | # define machine_arch_type __machine_arch_type | |
10172 | # else | |
10173 | # define machine_arch_type MACH_TYPE_OPTORM920 | |
10174 | # endif | |
10175 | # define machine_is_optorm920() (machine_arch_type == MACH_TYPE_OPTORM920) | |
10176 | #else | |
10177 | # define machine_is_optorm920() (0) | |
10178 | #endif | |
10179 | ||
10180 | #ifdef CONFIG_MACH_ADSBITSYXB | |
10181 | # ifdef machine_arch_type | |
10182 | # undef machine_arch_type | |
10183 | # define machine_arch_type __machine_arch_type | |
10184 | # else | |
10185 | # define machine_arch_type MACH_TYPE_ADSBITSYXB | |
10186 | # endif | |
10187 | # define machine_is_adsbitsyxb() (machine_arch_type == MACH_TYPE_ADSBITSYXB) | |
10188 | #else | |
10189 | # define machine_is_adsbitsyxb() (0) | |
10190 | #endif | |
10191 | ||
10192 | #ifdef CONFIG_MACH_ADSSPHERE | |
10193 | # ifdef machine_arch_type | |
10194 | # undef machine_arch_type | |
10195 | # define machine_arch_type __machine_arch_type | |
10196 | # else | |
10197 | # define machine_arch_type MACH_TYPE_ADSSPHERE | |
10198 | # endif | |
10199 | # define machine_is_adssphere() (machine_arch_type == MACH_TYPE_ADSSPHERE) | |
10200 | #else | |
10201 | # define machine_is_adssphere() (0) | |
10202 | #endif | |
10203 | ||
10204 | #ifdef CONFIG_MACH_ADSPORTAL | |
10205 | # ifdef machine_arch_type | |
10206 | # undef machine_arch_type | |
10207 | # define machine_arch_type __machine_arch_type | |
10208 | # else | |
10209 | # define machine_arch_type MACH_TYPE_ADSPORTAL | |
10210 | # endif | |
10211 | # define machine_is_adsportal() (machine_arch_type == MACH_TYPE_ADSPORTAL) | |
10212 | #else | |
10213 | # define machine_is_adsportal() (0) | |
10214 | #endif | |
10215 | ||
10216 | #ifdef CONFIG_MACH_LN2410SBC | |
10217 | # ifdef machine_arch_type | |
10218 | # undef machine_arch_type | |
10219 | # define machine_arch_type __machine_arch_type | |
10220 | # else | |
10221 | # define machine_arch_type MACH_TYPE_LN2410SBC | |
10222 | # endif | |
10223 | # define machine_is_ln2410sbc() (machine_arch_type == MACH_TYPE_LN2410SBC) | |
10224 | #else | |
10225 | # define machine_is_ln2410sbc() (0) | |
10226 | #endif | |
10227 | ||
10228 | #ifdef CONFIG_MACH_CB3RUFC | |
10229 | # ifdef machine_arch_type | |
10230 | # undef machine_arch_type | |
10231 | # define machine_arch_type __machine_arch_type | |
10232 | # else | |
10233 | # define machine_arch_type MACH_TYPE_CB3RUFC | |
10234 | # endif | |
10235 | # define machine_is_cb3rufc() (machine_arch_type == MACH_TYPE_CB3RUFC) | |
10236 | #else | |
10237 | # define machine_is_cb3rufc() (0) | |
10238 | #endif | |
10239 | ||
10240 | #ifdef CONFIG_MACH_MP2USB | |
10241 | # ifdef machine_arch_type | |
10242 | # undef machine_arch_type | |
10243 | # define machine_arch_type __machine_arch_type | |
10244 | # else | |
10245 | # define machine_arch_type MACH_TYPE_MP2USB | |
10246 | # endif | |
10247 | # define machine_is_mp2usb() (machine_arch_type == MACH_TYPE_MP2USB) | |
10248 | #else | |
10249 | # define machine_is_mp2usb() (0) | |
10250 | #endif | |
10251 | ||
f43ad539 | 10252 | #ifdef CONFIG_MACH_NTNP425C |
d4fc6012 PP |
10253 | # ifdef machine_arch_type |
10254 | # undef machine_arch_type | |
10255 | # define machine_arch_type __machine_arch_type | |
10256 | # else | |
f43ad539 | 10257 | # define machine_arch_type MACH_TYPE_NTNP425C |
d4fc6012 | 10258 | # endif |
f43ad539 | 10259 | # define machine_is_ntnp425c() (machine_arch_type == MACH_TYPE_NTNP425C) |
d4fc6012 | 10260 | #else |
f43ad539 | 10261 | # define machine_is_ntnp425c() (0) |
d4fc6012 PP |
10262 | #endif |
10263 | ||
f43ad539 | 10264 | #ifdef CONFIG_MACH_COLIBRI |
d4fc6012 PP |
10265 | # ifdef machine_arch_type |
10266 | # undef machine_arch_type | |
10267 | # define machine_arch_type __machine_arch_type | |
10268 | # else | |
f43ad539 | 10269 | # define machine_arch_type MACH_TYPE_COLIBRI |
d4fc6012 | 10270 | # endif |
f43ad539 | 10271 | # define machine_is_colibri() (machine_arch_type == MACH_TYPE_COLIBRI) |
d4fc6012 | 10272 | #else |
f43ad539 | 10273 | # define machine_is_colibri() (0) |
d4fc6012 PP |
10274 | #endif |
10275 | ||
f43ad539 | 10276 | #ifdef CONFIG_MACH_PCM7220 |
d4fc6012 PP |
10277 | # ifdef machine_arch_type |
10278 | # undef machine_arch_type | |
10279 | # define machine_arch_type __machine_arch_type | |
10280 | # else | |
f43ad539 | 10281 | # define machine_arch_type MACH_TYPE_PCM7220 |
d4fc6012 | 10282 | # endif |
f43ad539 | 10283 | # define machine_is_pcm7220() (machine_arch_type == MACH_TYPE_PCM7220) |
d4fc6012 | 10284 | #else |
f43ad539 | 10285 | # define machine_is_pcm7220() (0) |
d4fc6012 PP |
10286 | #endif |
10287 | ||
f43ad539 | 10288 | #ifdef CONFIG_MACH_GATEWAY7001 |
d4fc6012 PP |
10289 | # ifdef machine_arch_type |
10290 | # undef machine_arch_type | |
10291 | # define machine_arch_type __machine_arch_type | |
10292 | # else | |
f43ad539 | 10293 | # define machine_arch_type MACH_TYPE_GATEWAY7001 |
d4fc6012 | 10294 | # endif |
f43ad539 | 10295 | # define machine_is_gateway7001() (machine_arch_type == MACH_TYPE_GATEWAY7001) |
d4fc6012 | 10296 | #else |
f43ad539 | 10297 | # define machine_is_gateway7001() (0) |
d4fc6012 PP |
10298 | #endif |
10299 | ||
f43ad539 | 10300 | #ifdef CONFIG_MACH_PCM027 |
d4fc6012 PP |
10301 | # ifdef machine_arch_type |
10302 | # undef machine_arch_type | |
10303 | # define machine_arch_type __machine_arch_type | |
10304 | # else | |
f43ad539 | 10305 | # define machine_arch_type MACH_TYPE_PCM027 |
d4fc6012 | 10306 | # endif |
f43ad539 | 10307 | # define machine_is_pcm027() (machine_arch_type == MACH_TYPE_PCM027) |
d4fc6012 | 10308 | #else |
f43ad539 WD |
10309 | # define machine_is_pcm027() (0) |
10310 | #endif | |
10311 | ||
10312 | #ifdef CONFIG_MACH_CMPXA | |
10313 | # ifdef machine_arch_type | |
10314 | # undef machine_arch_type | |
10315 | # define machine_arch_type __machine_arch_type | |
10316 | # else | |
10317 | # define machine_arch_type MACH_TYPE_CMPXA | |
10318 | # endif | |
10319 | # define machine_is_cmpxa() (machine_arch_type == MACH_TYPE_CMPXA) | |
10320 | #else | |
10321 | # define machine_is_cmpxa() (0) | |
10322 | #endif | |
10323 | ||
10324 | #ifdef CONFIG_MACH_ANUBIS | |
10325 | # ifdef machine_arch_type | |
10326 | # undef machine_arch_type | |
10327 | # define machine_arch_type __machine_arch_type | |
10328 | # else | |
10329 | # define machine_arch_type MACH_TYPE_ANUBIS | |
10330 | # endif | |
10331 | # define machine_is_anubis() (machine_arch_type == MACH_TYPE_ANUBIS) | |
10332 | #else | |
10333 | # define machine_is_anubis() (0) | |
10334 | #endif | |
10335 | ||
10336 | #ifdef CONFIG_MACH_ITE8152 | |
10337 | # ifdef machine_arch_type | |
10338 | # undef machine_arch_type | |
10339 | # define machine_arch_type __machine_arch_type | |
10340 | # else | |
10341 | # define machine_arch_type MACH_TYPE_ITE8152 | |
10342 | # endif | |
10343 | # define machine_is_ite8152() (machine_arch_type == MACH_TYPE_ITE8152) | |
10344 | #else | |
10345 | # define machine_is_ite8152() (0) | |
10346 | #endif | |
10347 | ||
10348 | #ifdef CONFIG_MACH_LPC3XXX | |
10349 | # ifdef machine_arch_type | |
10350 | # undef machine_arch_type | |
10351 | # define machine_arch_type __machine_arch_type | |
10352 | # else | |
10353 | # define machine_arch_type MACH_TYPE_LPC3XXX | |
10354 | # endif | |
10355 | # define machine_is_lpc3xxx() (machine_arch_type == MACH_TYPE_LPC3XXX) | |
10356 | #else | |
10357 | # define machine_is_lpc3xxx() (0) | |
10358 | #endif | |
10359 | ||
10360 | #ifdef CONFIG_MACH_PUPPETEER | |
10361 | # ifdef machine_arch_type | |
10362 | # undef machine_arch_type | |
10363 | # define machine_arch_type __machine_arch_type | |
10364 | # else | |
10365 | # define machine_arch_type MACH_TYPE_PUPPETEER | |
10366 | # endif | |
10367 | # define machine_is_puppeteer() (machine_arch_type == MACH_TYPE_PUPPETEER) | |
10368 | #else | |
10369 | # define machine_is_puppeteer() (0) | |
10370 | #endif | |
10371 | ||
10372 | #ifdef CONFIG_MACH_MACH_VADATECH | |
10373 | # ifdef machine_arch_type | |
10374 | # undef machine_arch_type | |
10375 | # define machine_arch_type __machine_arch_type | |
10376 | # else | |
10377 | # define machine_arch_type MACH_TYPE_MACH_VADATECH | |
10378 | # endif | |
10379 | # define machine_is_vt001() (machine_arch_type == MACH_TYPE_MACH_VADATECH) | |
10380 | #else | |
10381 | # define machine_is_vt001() (0) | |
10382 | #endif | |
10383 | ||
10384 | #ifdef CONFIG_MACH_E570 | |
10385 | # ifdef machine_arch_type | |
10386 | # undef machine_arch_type | |
10387 | # define machine_arch_type __machine_arch_type | |
10388 | # else | |
10389 | # define machine_arch_type MACH_TYPE_E570 | |
10390 | # endif | |
10391 | # define machine_is_e570() (machine_arch_type == MACH_TYPE_E570) | |
10392 | #else | |
10393 | # define machine_is_e570() (0) | |
10394 | #endif | |
10395 | ||
10396 | #ifdef CONFIG_MACH_X50 | |
10397 | # ifdef machine_arch_type | |
10398 | # undef machine_arch_type | |
10399 | # define machine_arch_type __machine_arch_type | |
10400 | # else | |
10401 | # define machine_arch_type MACH_TYPE_X50 | |
10402 | # endif | |
10403 | # define machine_is_x50() (machine_arch_type == MACH_TYPE_X50) | |
10404 | #else | |
10405 | # define machine_is_x50() (0) | |
10406 | #endif | |
10407 | ||
10408 | #ifdef CONFIG_MACH_RECON | |
10409 | # ifdef machine_arch_type | |
10410 | # undef machine_arch_type | |
10411 | # define machine_arch_type __machine_arch_type | |
10412 | # else | |
10413 | # define machine_arch_type MACH_TYPE_RECON | |
10414 | # endif | |
10415 | # define machine_is_recon() (machine_arch_type == MACH_TYPE_RECON) | |
10416 | #else | |
10417 | # define machine_is_recon() (0) | |
10418 | #endif | |
10419 | ||
10420 | #ifdef CONFIG_MACH_XBOARDGP8 | |
10421 | # ifdef machine_arch_type | |
10422 | # undef machine_arch_type | |
10423 | # define machine_arch_type __machine_arch_type | |
10424 | # else | |
10425 | # define machine_arch_type MACH_TYPE_XBOARDGP8 | |
10426 | # endif | |
10427 | # define machine_is_xboardgp8() (machine_arch_type == MACH_TYPE_XBOARDGP8) | |
10428 | #else | |
10429 | # define machine_is_xboardgp8() (0) | |
10430 | #endif | |
10431 | ||
10432 | #ifdef CONFIG_MACH_FPIC2 | |
10433 | # ifdef machine_arch_type | |
10434 | # undef machine_arch_type | |
10435 | # define machine_arch_type __machine_arch_type | |
10436 | # else | |
10437 | # define machine_arch_type MACH_TYPE_FPIC2 | |
10438 | # endif | |
10439 | # define machine_is_fpic2() (machine_arch_type == MACH_TYPE_FPIC2) | |
10440 | #else | |
10441 | # define machine_is_fpic2() (0) | |
10442 | #endif | |
10443 | ||
10444 | #ifdef CONFIG_MACH_AKITA | |
10445 | # ifdef machine_arch_type | |
10446 | # undef machine_arch_type | |
10447 | # define machine_arch_type __machine_arch_type | |
10448 | # else | |
10449 | # define machine_arch_type MACH_TYPE_AKITA | |
10450 | # endif | |
10451 | # define machine_is_akita() (machine_arch_type == MACH_TYPE_AKITA) | |
10452 | #else | |
10453 | # define machine_is_akita() (0) | |
10454 | #endif | |
10455 | ||
10456 | #ifdef CONFIG_MACH_A81 | |
10457 | # ifdef machine_arch_type | |
10458 | # undef machine_arch_type | |
10459 | # define machine_arch_type __machine_arch_type | |
10460 | # else | |
10461 | # define machine_arch_type MACH_TYPE_A81 | |
10462 | # endif | |
10463 | # define machine_is_a81() (machine_arch_type == MACH_TYPE_A81) | |
10464 | #else | |
10465 | # define machine_is_a81() (0) | |
10466 | #endif | |
10467 | ||
10468 | #ifdef CONFIG_MACH_SVM_SC25X | |
10469 | # ifdef machine_arch_type | |
10470 | # undef machine_arch_type | |
10471 | # define machine_arch_type __machine_arch_type | |
10472 | # else | |
10473 | # define machine_arch_type MACH_TYPE_SVM_SC25X | |
10474 | # endif | |
10475 | # define machine_is_svm_sc25x() (machine_arch_type == MACH_TYPE_SVM_SC25X) | |
10476 | #else | |
10477 | # define machine_is_svm_sc25x() (0) | |
10478 | #endif | |
10479 | ||
10480 | #ifdef CONFIG_MACH_VADATECH020 | |
10481 | # ifdef machine_arch_type | |
10482 | # undef machine_arch_type | |
10483 | # define machine_arch_type __machine_arch_type | |
10484 | # else | |
10485 | # define machine_arch_type MACH_TYPE_VADATECH020 | |
10486 | # endif | |
10487 | # define machine_is_vt020() (machine_arch_type == MACH_TYPE_VADATECH020) | |
10488 | #else | |
10489 | # define machine_is_vt020() (0) | |
10490 | #endif | |
10491 | ||
10492 | #ifdef CONFIG_MACH_TLI | |
10493 | # ifdef machine_arch_type | |
10494 | # undef machine_arch_type | |
10495 | # define machine_arch_type __machine_arch_type | |
10496 | # else | |
10497 | # define machine_arch_type MACH_TYPE_TLI | |
10498 | # endif | |
10499 | # define machine_is_tli() (machine_arch_type == MACH_TYPE_TLI) | |
10500 | #else | |
10501 | # define machine_is_tli() (0) | |
10502 | #endif | |
10503 | ||
10504 | #ifdef CONFIG_MACH_EDB9315LC | |
10505 | # ifdef machine_arch_type | |
10506 | # undef machine_arch_type | |
10507 | # define machine_arch_type __machine_arch_type | |
10508 | # else | |
10509 | # define machine_arch_type MACH_TYPE_EDB9315LC | |
10510 | # endif | |
10511 | # define machine_is_edb9315lc() (machine_arch_type == MACH_TYPE_EDB9315LC) | |
10512 | #else | |
10513 | # define machine_is_edb9315lc() (0) | |
10514 | #endif | |
10515 | ||
10516 | #ifdef CONFIG_MACH_PASSEC | |
10517 | # ifdef machine_arch_type | |
10518 | # undef machine_arch_type | |
10519 | # define machine_arch_type __machine_arch_type | |
10520 | # else | |
10521 | # define machine_arch_type MACH_TYPE_PASSEC | |
10522 | # endif | |
10523 | # define machine_is_passec() (machine_arch_type == MACH_TYPE_PASSEC) | |
10524 | #else | |
10525 | # define machine_is_passec() (0) | |
10526 | #endif | |
10527 | ||
10528 | #ifdef CONFIG_MACH_DS_TIGER | |
10529 | # ifdef machine_arch_type | |
10530 | # undef machine_arch_type | |
10531 | # define machine_arch_type __machine_arch_type | |
10532 | # else | |
10533 | # define machine_arch_type MACH_TYPE_DS_TIGER | |
10534 | # endif | |
10535 | # define machine_is_ds_tiger() (machine_arch_type == MACH_TYPE_DS_TIGER) | |
10536 | #else | |
10537 | # define machine_is_ds_tiger() (0) | |
10538 | #endif | |
10539 | ||
10540 | #ifdef CONFIG_MACH_E310 | |
10541 | # ifdef machine_arch_type | |
10542 | # undef machine_arch_type | |
10543 | # define machine_arch_type __machine_arch_type | |
10544 | # else | |
10545 | # define machine_arch_type MACH_TYPE_E310 | |
10546 | # endif | |
10547 | # define machine_is_e310() (machine_arch_type == MACH_TYPE_E310) | |
10548 | #else | |
10549 | # define machine_is_e310() (0) | |
10550 | #endif | |
10551 | ||
10552 | #ifdef CONFIG_MACH_E330 | |
10553 | # ifdef machine_arch_type | |
10554 | # undef machine_arch_type | |
10555 | # define machine_arch_type __machine_arch_type | |
10556 | # else | |
10557 | # define machine_arch_type MACH_TYPE_E330 | |
10558 | # endif | |
10559 | # define machine_is_e330() (machine_arch_type == MACH_TYPE_E330) | |
10560 | #else | |
10561 | # define machine_is_e330() (0) | |
10562 | #endif | |
10563 | ||
10564 | #ifdef CONFIG_MACH_RT3000 | |
10565 | # ifdef machine_arch_type | |
10566 | # undef machine_arch_type | |
10567 | # define machine_arch_type __machine_arch_type | |
10568 | # else | |
10569 | # define machine_arch_type MACH_TYPE_RT3000 | |
10570 | # endif | |
10571 | # define machine_is_rt3000() (machine_arch_type == MACH_TYPE_RT3000) | |
10572 | #else | |
10573 | # define machine_is_rt3000() (0) | |
10574 | #endif | |
10575 | ||
10576 | #ifdef CONFIG_MACH_NOKIA770 | |
10577 | # ifdef machine_arch_type | |
10578 | # undef machine_arch_type | |
10579 | # define machine_arch_type __machine_arch_type | |
10580 | # else | |
10581 | # define machine_arch_type MACH_TYPE_NOKIA770 | |
10582 | # endif | |
10583 | # define machine_is_nokia770() (machine_arch_type == MACH_TYPE_NOKIA770) | |
10584 | #else | |
10585 | # define machine_is_nokia770() (0) | |
10586 | #endif | |
10587 | ||
10588 | #ifdef CONFIG_MACH_PNX0106 | |
10589 | # ifdef machine_arch_type | |
10590 | # undef machine_arch_type | |
10591 | # define machine_arch_type __machine_arch_type | |
10592 | # else | |
10593 | # define machine_arch_type MACH_TYPE_PNX0106 | |
10594 | # endif | |
10595 | # define machine_is_pnx0106() (machine_arch_type == MACH_TYPE_PNX0106) | |
10596 | #else | |
10597 | # define machine_is_pnx0106() (0) | |
10598 | #endif | |
10599 | ||
10600 | #ifdef CONFIG_MACH_HX21XX | |
10601 | # ifdef machine_arch_type | |
10602 | # undef machine_arch_type | |
10603 | # define machine_arch_type __machine_arch_type | |
10604 | # else | |
10605 | # define machine_arch_type MACH_TYPE_HX21XX | |
10606 | # endif | |
10607 | # define machine_is_hx21xx() (machine_arch_type == MACH_TYPE_HX21XX) | |
10608 | #else | |
10609 | # define machine_is_hx21xx() (0) | |
10610 | #endif | |
10611 | ||
10612 | #ifdef CONFIG_MACH_FARADAY | |
10613 | # ifdef machine_arch_type | |
10614 | # undef machine_arch_type | |
10615 | # define machine_arch_type __machine_arch_type | |
10616 | # else | |
10617 | # define machine_arch_type MACH_TYPE_FARADAY | |
10618 | # endif | |
10619 | # define machine_is_faraday() (machine_arch_type == MACH_TYPE_FARADAY) | |
10620 | #else | |
10621 | # define machine_is_faraday() (0) | |
10622 | #endif | |
10623 | ||
10624 | #ifdef CONFIG_MACH_SBC9312 | |
10625 | # ifdef machine_arch_type | |
10626 | # undef machine_arch_type | |
10627 | # define machine_arch_type __machine_arch_type | |
10628 | # else | |
10629 | # define machine_arch_type MACH_TYPE_SBC9312 | |
10630 | # endif | |
10631 | # define machine_is_sbc9312() (machine_arch_type == MACH_TYPE_SBC9312) | |
10632 | #else | |
10633 | # define machine_is_sbc9312() (0) | |
10634 | #endif | |
10635 | ||
10636 | #ifdef CONFIG_MACH_BATMAN | |
10637 | # ifdef machine_arch_type | |
10638 | # undef machine_arch_type | |
10639 | # define machine_arch_type __machine_arch_type | |
10640 | # else | |
10641 | # define machine_arch_type MACH_TYPE_BATMAN | |
10642 | # endif | |
10643 | # define machine_is_batman() (machine_arch_type == MACH_TYPE_BATMAN) | |
10644 | #else | |
10645 | # define machine_is_batman() (0) | |
10646 | #endif | |
10647 | ||
10648 | #ifdef CONFIG_MACH_JPD201 | |
10649 | # ifdef machine_arch_type | |
10650 | # undef machine_arch_type | |
10651 | # define machine_arch_type __machine_arch_type | |
10652 | # else | |
10653 | # define machine_arch_type MACH_TYPE_JPD201 | |
10654 | # endif | |
10655 | # define machine_is_jpd201() (machine_arch_type == MACH_TYPE_JPD201) | |
10656 | #else | |
10657 | # define machine_is_jpd201() (0) | |
10658 | #endif | |
10659 | ||
10660 | #ifdef CONFIG_MACH_MIPSA | |
10661 | # ifdef machine_arch_type | |
10662 | # undef machine_arch_type | |
10663 | # define machine_arch_type __machine_arch_type | |
10664 | # else | |
10665 | # define machine_arch_type MACH_TYPE_MIPSA | |
10666 | # endif | |
10667 | # define machine_is_mipsa() (machine_arch_type == MACH_TYPE_MIPSA) | |
10668 | #else | |
10669 | # define machine_is_mipsa() (0) | |
10670 | #endif | |
10671 | ||
10672 | #ifdef CONFIG_MACH_KACOM | |
10673 | # ifdef machine_arch_type | |
10674 | # undef machine_arch_type | |
10675 | # define machine_arch_type __machine_arch_type | |
10676 | # else | |
10677 | # define machine_arch_type MACH_TYPE_KACOM | |
10678 | # endif | |
10679 | # define machine_is_kacom() (machine_arch_type == MACH_TYPE_KACOM) | |
10680 | #else | |
10681 | # define machine_is_kacom() (0) | |
10682 | #endif | |
10683 | ||
10684 | #ifdef CONFIG_MACH_SWARCOCPU | |
10685 | # ifdef machine_arch_type | |
10686 | # undef machine_arch_type | |
10687 | # define machine_arch_type __machine_arch_type | |
10688 | # else | |
10689 | # define machine_arch_type MACH_TYPE_SWARCOCPU | |
10690 | # endif | |
10691 | # define machine_is_swarcocpu() (machine_arch_type == MACH_TYPE_SWARCOCPU) | |
10692 | #else | |
10693 | # define machine_is_swarcocpu() (0) | |
10694 | #endif | |
10695 | ||
10696 | #ifdef CONFIG_MACH_SWARCODSL | |
10697 | # ifdef machine_arch_type | |
10698 | # undef machine_arch_type | |
10699 | # define machine_arch_type __machine_arch_type | |
10700 | # else | |
10701 | # define machine_arch_type MACH_TYPE_SWARCODSL | |
10702 | # endif | |
10703 | # define machine_is_swarcodsl() (machine_arch_type == MACH_TYPE_SWARCODSL) | |
10704 | #else | |
10705 | # define machine_is_swarcodsl() (0) | |
10706 | #endif | |
10707 | ||
10708 | #ifdef CONFIG_MACH_BLUEANGEL | |
10709 | # ifdef machine_arch_type | |
10710 | # undef machine_arch_type | |
10711 | # define machine_arch_type __machine_arch_type | |
10712 | # else | |
10713 | # define machine_arch_type MACH_TYPE_BLUEANGEL | |
10714 | # endif | |
10715 | # define machine_is_blueangel() (machine_arch_type == MACH_TYPE_BLUEANGEL) | |
10716 | #else | |
10717 | # define machine_is_blueangel() (0) | |
10718 | #endif | |
10719 | ||
10720 | #ifdef CONFIG_MACH_HAIRYGRAMA | |
10721 | # ifdef machine_arch_type | |
10722 | # undef machine_arch_type | |
10723 | # define machine_arch_type __machine_arch_type | |
10724 | # else | |
10725 | # define machine_arch_type MACH_TYPE_HAIRYGRAMA | |
10726 | # endif | |
10727 | # define machine_is_hairygrama() (machine_arch_type == MACH_TYPE_HAIRYGRAMA) | |
10728 | #else | |
10729 | # define machine_is_hairygrama() (0) | |
10730 | #endif | |
10731 | ||
10732 | #ifdef CONFIG_MACH_BANFF | |
10733 | # ifdef machine_arch_type | |
10734 | # undef machine_arch_type | |
10735 | # define machine_arch_type __machine_arch_type | |
10736 | # else | |
10737 | # define machine_arch_type MACH_TYPE_BANFF | |
10738 | # endif | |
10739 | # define machine_is_banff() (machine_arch_type == MACH_TYPE_BANFF) | |
10740 | #else | |
10741 | # define machine_is_banff() (0) | |
10742 | #endif | |
10743 | ||
10744 | #ifdef CONFIG_MACH_CARMEVA | |
10745 | # ifdef machine_arch_type | |
10746 | # undef machine_arch_type | |
10747 | # define machine_arch_type __machine_arch_type | |
10748 | # else | |
10749 | # define machine_arch_type MACH_TYPE_CARMEVA | |
10750 | # endif | |
10751 | # define machine_is_carmeva() (machine_arch_type == MACH_TYPE_CARMEVA) | |
10752 | #else | |
10753 | # define machine_is_carmeva() (0) | |
10754 | #endif | |
10755 | ||
10756 | #ifdef CONFIG_MACH_SAM255 | |
10757 | # ifdef machine_arch_type | |
10758 | # undef machine_arch_type | |
10759 | # define machine_arch_type __machine_arch_type | |
10760 | # else | |
10761 | # define machine_arch_type MACH_TYPE_SAM255 | |
10762 | # endif | |
10763 | # define machine_is_sam255() (machine_arch_type == MACH_TYPE_SAM255) | |
10764 | #else | |
10765 | # define machine_is_sam255() (0) | |
10766 | #endif | |
10767 | ||
10768 | #ifdef CONFIG_MACH_PPM10 | |
10769 | # ifdef machine_arch_type | |
10770 | # undef machine_arch_type | |
10771 | # define machine_arch_type __machine_arch_type | |
10772 | # else | |
10773 | # define machine_arch_type MACH_TYPE_PPM10 | |
10774 | # endif | |
10775 | # define machine_is_ppm10() (machine_arch_type == MACH_TYPE_PPM10) | |
10776 | #else | |
10777 | # define machine_is_ppm10() (0) | |
10778 | #endif | |
10779 | ||
10780 | #ifdef CONFIG_MACH_EDB9315A | |
10781 | # ifdef machine_arch_type | |
10782 | # undef machine_arch_type | |
10783 | # define machine_arch_type __machine_arch_type | |
10784 | # else | |
10785 | # define machine_arch_type MACH_TYPE_EDB9315A | |
10786 | # endif | |
10787 | # define machine_is_edb9315a() (machine_arch_type == MACH_TYPE_EDB9315A) | |
10788 | #else | |
10789 | # define machine_is_edb9315a() (0) | |
10790 | #endif | |
10791 | ||
10792 | #ifdef CONFIG_MACH_SUNSET | |
10793 | # ifdef machine_arch_type | |
10794 | # undef machine_arch_type | |
10795 | # define machine_arch_type __machine_arch_type | |
10796 | # else | |
10797 | # define machine_arch_type MACH_TYPE_SUNSET | |
10798 | # endif | |
10799 | # define machine_is_sunset() (machine_arch_type == MACH_TYPE_SUNSET) | |
10800 | #else | |
10801 | # define machine_is_sunset() (0) | |
10802 | #endif | |
10803 | ||
10804 | #ifdef CONFIG_MACH_STARGATE2 | |
10805 | # ifdef machine_arch_type | |
10806 | # undef machine_arch_type | |
10807 | # define machine_arch_type __machine_arch_type | |
10808 | # else | |
10809 | # define machine_arch_type MACH_TYPE_STARGATE2 | |
10810 | # endif | |
10811 | # define machine_is_stargate2() (machine_arch_type == MACH_TYPE_STARGATE2) | |
10812 | #else | |
10813 | # define machine_is_stargate2() (0) | |
10814 | #endif | |
10815 | ||
10816 | #ifdef CONFIG_MACH_INTELMOTE2 | |
10817 | # ifdef machine_arch_type | |
10818 | # undef machine_arch_type | |
10819 | # define machine_arch_type __machine_arch_type | |
10820 | # else | |
10821 | # define machine_arch_type MACH_TYPE_INTELMOTE2 | |
10822 | # endif | |
10823 | # define machine_is_intelmote2() (machine_arch_type == MACH_TYPE_INTELMOTE2) | |
10824 | #else | |
10825 | # define machine_is_intelmote2() (0) | |
10826 | #endif | |
10827 | ||
10828 | #ifdef CONFIG_MACH_TRIZEPS4 | |
10829 | # ifdef machine_arch_type | |
10830 | # undef machine_arch_type | |
10831 | # define machine_arch_type __machine_arch_type | |
10832 | # else | |
10833 | # define machine_arch_type MACH_TYPE_TRIZEPS4 | |
10834 | # endif | |
10835 | # define machine_is_trizeps4() (machine_arch_type == MACH_TYPE_TRIZEPS4) | |
10836 | #else | |
10837 | # define machine_is_trizeps4() (0) | |
10838 | #endif | |
10839 | ||
10840 | #ifdef CONFIG_MACH_MAINSTONE2 | |
10841 | # ifdef machine_arch_type | |
10842 | # undef machine_arch_type | |
10843 | # define machine_arch_type __machine_arch_type | |
10844 | # else | |
10845 | # define machine_arch_type MACH_TYPE_MAINSTONE2 | |
10846 | # endif | |
10847 | # define machine_is_mainstone2() (machine_arch_type == MACH_TYPE_MAINSTONE2) | |
10848 | #else | |
10849 | # define machine_is_mainstone2() (0) | |
10850 | #endif | |
10851 | ||
10852 | #ifdef CONFIG_MACH_EZ_IXP42X | |
10853 | # ifdef machine_arch_type | |
10854 | # undef machine_arch_type | |
10855 | # define machine_arch_type __machine_arch_type | |
10856 | # else | |
10857 | # define machine_arch_type MACH_TYPE_EZ_IXP42X | |
10858 | # endif | |
10859 | # define machine_is_ez_ixp42x() (machine_arch_type == MACH_TYPE_EZ_IXP42X) | |
10860 | #else | |
10861 | # define machine_is_ez_ixp42x() (0) | |
10862 | #endif | |
10863 | ||
10864 | #ifdef CONFIG_MACH_TAPWAVE_ZODIAC | |
10865 | # ifdef machine_arch_type | |
10866 | # undef machine_arch_type | |
10867 | # define machine_arch_type __machine_arch_type | |
10868 | # else | |
10869 | # define machine_arch_type MACH_TYPE_TAPWAVE_ZODIAC | |
10870 | # endif | |
10871 | # define machine_is_tapwave_zodiac() (machine_arch_type == MACH_TYPE_TAPWAVE_ZODIAC) | |
10872 | #else | |
10873 | # define machine_is_tapwave_zodiac() (0) | |
10874 | #endif | |
10875 | ||
10876 | #ifdef CONFIG_MACH_UNIVERSALMETER | |
10877 | # ifdef machine_arch_type | |
10878 | # undef machine_arch_type | |
10879 | # define machine_arch_type __machine_arch_type | |
10880 | # else | |
10881 | # define machine_arch_type MACH_TYPE_UNIVERSALMETER | |
10882 | # endif | |
10883 | # define machine_is_universalmeter() (machine_arch_type == MACH_TYPE_UNIVERSALMETER) | |
10884 | #else | |
10885 | # define machine_is_universalmeter() (0) | |
10886 | #endif | |
10887 | ||
10888 | #ifdef CONFIG_MACH_HICOARM9 | |
10889 | # ifdef machine_arch_type | |
10890 | # undef machine_arch_type | |
10891 | # define machine_arch_type __machine_arch_type | |
10892 | # else | |
10893 | # define machine_arch_type MACH_TYPE_HICOARM9 | |
10894 | # endif | |
10895 | # define machine_is_hicoarm9() (machine_arch_type == MACH_TYPE_HICOARM9) | |
10896 | #else | |
10897 | # define machine_is_hicoarm9() (0) | |
10898 | #endif | |
10899 | ||
10900 | #ifdef CONFIG_MACH_PNX4008 | |
10901 | # ifdef machine_arch_type | |
10902 | # undef machine_arch_type | |
10903 | # define machine_arch_type __machine_arch_type | |
10904 | # else | |
10905 | # define machine_arch_type MACH_TYPE_PNX4008 | |
10906 | # endif | |
10907 | # define machine_is_pnx4008() (machine_arch_type == MACH_TYPE_PNX4008) | |
10908 | #else | |
10909 | # define machine_is_pnx4008() (0) | |
10910 | #endif | |
10911 | ||
10912 | #ifdef CONFIG_MACH_KWS6000 | |
10913 | # ifdef machine_arch_type | |
10914 | # undef machine_arch_type | |
10915 | # define machine_arch_type __machine_arch_type | |
10916 | # else | |
10917 | # define machine_arch_type MACH_TYPE_KWS6000 | |
10918 | # endif | |
10919 | # define machine_is_kws6000() (machine_arch_type == MACH_TYPE_KWS6000) | |
10920 | #else | |
10921 | # define machine_is_kws6000() (0) | |
10922 | #endif | |
10923 | ||
10924 | #ifdef CONFIG_MACH_PORTUX920T | |
10925 | # ifdef machine_arch_type | |
10926 | # undef machine_arch_type | |
10927 | # define machine_arch_type __machine_arch_type | |
10928 | # else | |
10929 | # define machine_arch_type MACH_TYPE_PORTUX920T | |
10930 | # endif | |
10931 | # define machine_is_portux920t() (machine_arch_type == MACH_TYPE_PORTUX920T) | |
10932 | #else | |
10933 | # define machine_is_portux920t() (0) | |
10934 | #endif | |
10935 | ||
10936 | #ifdef CONFIG_MACH_EZ_X5 | |
10937 | # ifdef machine_arch_type | |
10938 | # undef machine_arch_type | |
10939 | # define machine_arch_type __machine_arch_type | |
10940 | # else | |
10941 | # define machine_arch_type MACH_TYPE_EZ_X5 | |
10942 | # endif | |
10943 | # define machine_is_ez_x5() (machine_arch_type == MACH_TYPE_EZ_X5) | |
10944 | #else | |
10945 | # define machine_is_ez_x5() (0) | |
10946 | #endif | |
10947 | ||
10948 | #ifdef CONFIG_MACH_OMAP_RUDOLPH | |
10949 | # ifdef machine_arch_type | |
10950 | # undef machine_arch_type | |
10951 | # define machine_arch_type __machine_arch_type | |
10952 | # else | |
10953 | # define machine_arch_type MACH_TYPE_OMAP_RUDOLPH | |
10954 | # endif | |
10955 | # define machine_is_omap_rudolph() (machine_arch_type == MACH_TYPE_OMAP_RUDOLPH) | |
10956 | #else | |
10957 | # define machine_is_omap_rudolph() (0) | |
10958 | #endif | |
10959 | ||
10960 | #ifdef CONFIG_MACH_CPUAT91 | |
10961 | # ifdef machine_arch_type | |
10962 | # undef machine_arch_type | |
10963 | # define machine_arch_type __machine_arch_type | |
10964 | # else | |
10965 | # define machine_arch_type MACH_TYPE_CPUAT91 | |
10966 | # endif | |
10967 | # define machine_is_cpuat91() (machine_arch_type == MACH_TYPE_CPUAT91) | |
10968 | #else | |
10969 | # define machine_is_cpuat91() (0) | |
10970 | #endif | |
10971 | ||
10972 | #ifdef CONFIG_MACH_REA9200 | |
10973 | # ifdef machine_arch_type | |
10974 | # undef machine_arch_type | |
10975 | # define machine_arch_type __machine_arch_type | |
10976 | # else | |
10977 | # define machine_arch_type MACH_TYPE_REA9200 | |
10978 | # endif | |
10979 | # define machine_is_rea9200() (machine_arch_type == MACH_TYPE_REA9200) | |
10980 | #else | |
10981 | # define machine_is_rea9200() (0) | |
10982 | #endif | |
10983 | ||
10984 | #ifdef CONFIG_MACH_ACTS_PUNE_SA1110 | |
10985 | # ifdef machine_arch_type | |
10986 | # undef machine_arch_type | |
10987 | # define machine_arch_type __machine_arch_type | |
10988 | # else | |
10989 | # define machine_arch_type MACH_TYPE_ACTS_PUNE_SA1110 | |
10990 | # endif | |
10991 | # define machine_is_acts_pune_sa1110() (machine_arch_type == MACH_TYPE_ACTS_PUNE_SA1110) | |
10992 | #else | |
10993 | # define machine_is_acts_pune_sa1110() (0) | |
10994 | #endif | |
10995 | ||
10996 | #ifdef CONFIG_MACH_IXP425 | |
10997 | # ifdef machine_arch_type | |
10998 | # undef machine_arch_type | |
10999 | # define machine_arch_type __machine_arch_type | |
11000 | # else | |
11001 | # define machine_arch_type MACH_TYPE_IXP425 | |
11002 | # endif | |
11003 | # define machine_is_ixp425() (machine_arch_type == MACH_TYPE_IXP425) | |
11004 | #else | |
11005 | # define machine_is_ixp425() (0) | |
11006 | #endif | |
11007 | ||
11008 | #ifdef CONFIG_MACH_I30030ADS | |
11009 | # ifdef machine_arch_type | |
11010 | # undef machine_arch_type | |
11011 | # define machine_arch_type __machine_arch_type | |
11012 | # else | |
11013 | # define machine_arch_type MACH_TYPE_I30030ADS | |
11014 | # endif | |
11015 | # define machine_is_i30030ads() (machine_arch_type == MACH_TYPE_I30030ADS) | |
11016 | #else | |
11017 | # define machine_is_i30030ads() (0) | |
11018 | #endif | |
11019 | ||
11020 | #ifdef CONFIG_MACH_PERCH | |
11021 | # ifdef machine_arch_type | |
11022 | # undef machine_arch_type | |
11023 | # define machine_arch_type __machine_arch_type | |
11024 | # else | |
11025 | # define machine_arch_type MACH_TYPE_PERCH | |
11026 | # endif | |
11027 | # define machine_is_perch() (machine_arch_type == MACH_TYPE_PERCH) | |
11028 | #else | |
11029 | # define machine_is_perch() (0) | |
11030 | #endif | |
11031 | ||
11032 | #ifdef CONFIG_MACH_EIS05R1 | |
11033 | # ifdef machine_arch_type | |
11034 | # undef machine_arch_type | |
11035 | # define machine_arch_type __machine_arch_type | |
11036 | # else | |
11037 | # define machine_arch_type MACH_TYPE_EIS05R1 | |
11038 | # endif | |
11039 | # define machine_is_eis05r1() (machine_arch_type == MACH_TYPE_EIS05R1) | |
11040 | #else | |
11041 | # define machine_is_eis05r1() (0) | |
11042 | #endif | |
11043 | ||
11044 | #ifdef CONFIG_MACH_PEPPERPAD | |
11045 | # ifdef machine_arch_type | |
11046 | # undef machine_arch_type | |
11047 | # define machine_arch_type __machine_arch_type | |
11048 | # else | |
11049 | # define machine_arch_type MACH_TYPE_PEPPERPAD | |
11050 | # endif | |
11051 | # define machine_is_pepperpad() (machine_arch_type == MACH_TYPE_PEPPERPAD) | |
11052 | #else | |
11053 | # define machine_is_pepperpad() (0) | |
11054 | #endif | |
11055 | ||
11056 | #ifdef CONFIG_MACH_SB3010 | |
11057 | # ifdef machine_arch_type | |
11058 | # undef machine_arch_type | |
11059 | # define machine_arch_type __machine_arch_type | |
11060 | # else | |
11061 | # define machine_arch_type MACH_TYPE_SB3010 | |
11062 | # endif | |
11063 | # define machine_is_sb3010() (machine_arch_type == MACH_TYPE_SB3010) | |
11064 | #else | |
11065 | # define machine_is_sb3010() (0) | |
11066 | #endif | |
11067 | ||
11068 | #ifdef CONFIG_MACH_RM9200 | |
11069 | # ifdef machine_arch_type | |
11070 | # undef machine_arch_type | |
11071 | # define machine_arch_type __machine_arch_type | |
11072 | # else | |
11073 | # define machine_arch_type MACH_TYPE_RM9200 | |
11074 | # endif | |
11075 | # define machine_is_rm9200() (machine_arch_type == MACH_TYPE_RM9200) | |
11076 | #else | |
11077 | # define machine_is_rm9200() (0) | |
11078 | #endif | |
11079 | ||
11080 | #ifdef CONFIG_MACH_DMA03 | |
11081 | # ifdef machine_arch_type | |
11082 | # undef machine_arch_type | |
11083 | # define machine_arch_type __machine_arch_type | |
11084 | # else | |
11085 | # define machine_arch_type MACH_TYPE_DMA03 | |
11086 | # endif | |
11087 | # define machine_is_dma03() (machine_arch_type == MACH_TYPE_DMA03) | |
11088 | #else | |
11089 | # define machine_is_dma03() (0) | |
11090 | #endif | |
11091 | ||
11092 | #ifdef CONFIG_MACH_ROAD_S101 | |
11093 | # ifdef machine_arch_type | |
11094 | # undef machine_arch_type | |
11095 | # define machine_arch_type __machine_arch_type | |
11096 | # else | |
11097 | # define machine_arch_type MACH_TYPE_ROAD_S101 | |
11098 | # endif | |
11099 | # define machine_is_road_s101() (machine_arch_type == MACH_TYPE_ROAD_S101) | |
11100 | #else | |
11101 | # define machine_is_road_s101() (0) | |
11102 | #endif | |
11103 | ||
11104 | #ifdef CONFIG_MACH_IQ81340SC | |
11105 | # ifdef machine_arch_type | |
11106 | # undef machine_arch_type | |
11107 | # define machine_arch_type __machine_arch_type | |
11108 | # else | |
11109 | # define machine_arch_type MACH_TYPE_IQ81340SC | |
11110 | # endif | |
11111 | # define machine_is_iq81340sc() (machine_arch_type == MACH_TYPE_IQ81340SC) | |
11112 | #else | |
11113 | # define machine_is_iq81340sc() (0) | |
11114 | #endif | |
11115 | ||
11116 | #ifdef CONFIG_MACH_IQ_NEXTGEN_B | |
11117 | # ifdef machine_arch_type | |
11118 | # undef machine_arch_type | |
11119 | # define machine_arch_type __machine_arch_type | |
11120 | # else | |
11121 | # define machine_arch_type MACH_TYPE_IQ_NEXTGEN_B | |
11122 | # endif | |
11123 | # define machine_is_iq_nextgen_b() (machine_arch_type == MACH_TYPE_IQ_NEXTGEN_B) | |
11124 | #else | |
11125 | # define machine_is_iq_nextgen_b() (0) | |
11126 | #endif | |
11127 | ||
11128 | #ifdef CONFIG_MACH_IQ81340MC | |
11129 | # ifdef machine_arch_type | |
11130 | # undef machine_arch_type | |
11131 | # define machine_arch_type __machine_arch_type | |
11132 | # else | |
11133 | # define machine_arch_type MACH_TYPE_IQ81340MC | |
11134 | # endif | |
11135 | # define machine_is_iq81340mc() (machine_arch_type == MACH_TYPE_IQ81340MC) | |
11136 | #else | |
11137 | # define machine_is_iq81340mc() (0) | |
11138 | #endif | |
11139 | ||
11140 | #ifdef CONFIG_MACH_IQ_NEXTGEN_D | |
11141 | # ifdef machine_arch_type | |
11142 | # undef machine_arch_type | |
11143 | # define machine_arch_type __machine_arch_type | |
11144 | # else | |
11145 | # define machine_arch_type MACH_TYPE_IQ_NEXTGEN_D | |
11146 | # endif | |
11147 | # define machine_is_iq_nextgen_d() (machine_arch_type == MACH_TYPE_IQ_NEXTGEN_D) | |
11148 | #else | |
11149 | # define machine_is_iq_nextgen_d() (0) | |
11150 | #endif | |
11151 | ||
11152 | #ifdef CONFIG_MACH_IQ_NEXTGEN_E | |
11153 | # ifdef machine_arch_type | |
11154 | # undef machine_arch_type | |
11155 | # define machine_arch_type __machine_arch_type | |
11156 | # else | |
11157 | # define machine_arch_type MACH_TYPE_IQ_NEXTGEN_E | |
11158 | # endif | |
11159 | # define machine_is_iq_nextgen_e() (machine_arch_type == MACH_TYPE_IQ_NEXTGEN_E) | |
11160 | #else | |
11161 | # define machine_is_iq_nextgen_e() (0) | |
11162 | #endif | |
11163 | ||
11164 | #ifdef CONFIG_MACH_MALLOW_AT91 | |
11165 | # ifdef machine_arch_type | |
11166 | # undef machine_arch_type | |
11167 | # define machine_arch_type __machine_arch_type | |
11168 | # else | |
11169 | # define machine_arch_type MACH_TYPE_MALLOW_AT91 | |
11170 | # endif | |
11171 | # define machine_is_mallow_at91() (machine_arch_type == MACH_TYPE_MALLOW_AT91) | |
11172 | #else | |
11173 | # define machine_is_mallow_at91() (0) | |
11174 | #endif | |
11175 | ||
11176 | #ifdef CONFIG_MACH_CYBERTRACKER_I | |
11177 | # ifdef machine_arch_type | |
11178 | # undef machine_arch_type | |
11179 | # define machine_arch_type __machine_arch_type | |
11180 | # else | |
11181 | # define machine_arch_type MACH_TYPE_CYBERTRACKER_I | |
11182 | # endif | |
11183 | # define machine_is_cybertracker_i() (machine_arch_type == MACH_TYPE_CYBERTRACKER_I) | |
11184 | #else | |
11185 | # define machine_is_cybertracker_i() (0) | |
11186 | #endif | |
11187 | ||
11188 | #ifdef CONFIG_MACH_GESBC931X | |
11189 | # ifdef machine_arch_type | |
11190 | # undef machine_arch_type | |
11191 | # define machine_arch_type __machine_arch_type | |
11192 | # else | |
11193 | # define machine_arch_type MACH_TYPE_GESBC931X | |
11194 | # endif | |
11195 | # define machine_is_gesbc931x() (machine_arch_type == MACH_TYPE_GESBC931X) | |
11196 | #else | |
11197 | # define machine_is_gesbc931x() (0) | |
11198 | #endif | |
11199 | ||
11200 | #ifdef CONFIG_MACH_CENTIPAD | |
11201 | # ifdef machine_arch_type | |
11202 | # undef machine_arch_type | |
11203 | # define machine_arch_type __machine_arch_type | |
11204 | # else | |
11205 | # define machine_arch_type MACH_TYPE_CENTIPAD | |
11206 | # endif | |
11207 | # define machine_is_centipad() (machine_arch_type == MACH_TYPE_CENTIPAD) | |
11208 | #else | |
11209 | # define machine_is_centipad() (0) | |
11210 | #endif | |
11211 | ||
11212 | #ifdef CONFIG_MACH_ARMSOC | |
11213 | # ifdef machine_arch_type | |
11214 | # undef machine_arch_type | |
11215 | # define machine_arch_type __machine_arch_type | |
11216 | # else | |
11217 | # define machine_arch_type MACH_TYPE_ARMSOC | |
11218 | # endif | |
11219 | # define machine_is_armsoc() (machine_arch_type == MACH_TYPE_ARMSOC) | |
11220 | #else | |
11221 | # define machine_is_armsoc() (0) | |
11222 | #endif | |
11223 | ||
11224 | #ifdef CONFIG_MACH_SE4200 | |
11225 | # ifdef machine_arch_type | |
11226 | # undef machine_arch_type | |
11227 | # define machine_arch_type __machine_arch_type | |
11228 | # else | |
11229 | # define machine_arch_type MACH_TYPE_SE4200 | |
11230 | # endif | |
11231 | # define machine_is_se4200() (machine_arch_type == MACH_TYPE_SE4200) | |
11232 | #else | |
11233 | # define machine_is_se4200() (0) | |
11234 | #endif | |
11235 | ||
11236 | #ifdef CONFIG_MACH_EMS197A | |
11237 | # ifdef machine_arch_type | |
11238 | # undef machine_arch_type | |
11239 | # define machine_arch_type __machine_arch_type | |
11240 | # else | |
11241 | # define machine_arch_type MACH_TYPE_EMS197A | |
11242 | # endif | |
11243 | # define machine_is_ems197a() (machine_arch_type == MACH_TYPE_EMS197A) | |
11244 | #else | |
11245 | # define machine_is_ems197a() (0) | |
11246 | #endif | |
11247 | ||
11248 | #ifdef CONFIG_MACH_MICRO9 | |
11249 | # ifdef machine_arch_type | |
11250 | # undef machine_arch_type | |
11251 | # define machine_arch_type __machine_arch_type | |
11252 | # else | |
11253 | # define machine_arch_type MACH_TYPE_MICRO9 | |
11254 | # endif | |
11255 | # define machine_is_micro9() (machine_arch_type == MACH_TYPE_MICRO9) | |
11256 | #else | |
11257 | # define machine_is_micro9() (0) | |
11258 | #endif | |
11259 | ||
11260 | #ifdef CONFIG_MACH_MICRO9L | |
11261 | # ifdef machine_arch_type | |
11262 | # undef machine_arch_type | |
11263 | # define machine_arch_type __machine_arch_type | |
11264 | # else | |
11265 | # define machine_arch_type MACH_TYPE_MICRO9L | |
11266 | # endif | |
11267 | # define machine_is_micro9l() (machine_arch_type == MACH_TYPE_MICRO9L) | |
11268 | #else | |
11269 | # define machine_is_micro9l() (0) | |
11270 | #endif | |
11271 | ||
11272 | #ifdef CONFIG_MACH_UC5471DSP | |
11273 | # ifdef machine_arch_type | |
11274 | # undef machine_arch_type | |
11275 | # define machine_arch_type __machine_arch_type | |
11276 | # else | |
11277 | # define machine_arch_type MACH_TYPE_UC5471DSP | |
11278 | # endif | |
11279 | # define machine_is_uc5471dsp() (machine_arch_type == MACH_TYPE_UC5471DSP) | |
11280 | #else | |
11281 | # define machine_is_uc5471dsp() (0) | |
11282 | #endif | |
11283 | ||
11284 | #ifdef CONFIG_MACH_SJ5471ENG | |
11285 | # ifdef machine_arch_type | |
11286 | # undef machine_arch_type | |
11287 | # define machine_arch_type __machine_arch_type | |
11288 | # else | |
11289 | # define machine_arch_type MACH_TYPE_SJ5471ENG | |
11290 | # endif | |
11291 | # define machine_is_sj5471eng() (machine_arch_type == MACH_TYPE_SJ5471ENG) | |
11292 | #else | |
11293 | # define machine_is_sj5471eng() (0) | |
11294 | #endif | |
11295 | ||
11296 | #ifdef CONFIG_MACH_CMPXA26X | |
11297 | # ifdef machine_arch_type | |
11298 | # undef machine_arch_type | |
11299 | # define machine_arch_type __machine_arch_type | |
11300 | # else | |
11301 | # define machine_arch_type MACH_TYPE_CMPXA26X | |
11302 | # endif | |
11303 | # define machine_is_none() (machine_arch_type == MACH_TYPE_CMPXA26X) | |
11304 | #else | |
11305 | # define machine_is_none() (0) | |
11306 | #endif | |
11307 | ||
11308 | #ifdef CONFIG_MACH_NC | |
11309 | # ifdef machine_arch_type | |
11310 | # undef machine_arch_type | |
11311 | # define machine_arch_type __machine_arch_type | |
11312 | # else | |
11313 | # define machine_arch_type MACH_TYPE_NC | |
11314 | # endif | |
11315 | # define machine_is_nc1() (machine_arch_type == MACH_TYPE_NC) | |
11316 | #else | |
11317 | # define machine_is_nc1() (0) | |
11318 | #endif | |
11319 | ||
11320 | #ifdef CONFIG_MACH_OMAP_PALMTE | |
11321 | # ifdef machine_arch_type | |
11322 | # undef machine_arch_type | |
11323 | # define machine_arch_type __machine_arch_type | |
11324 | # else | |
11325 | # define machine_arch_type MACH_TYPE_OMAP_PALMTE | |
11326 | # endif | |
11327 | # define machine_is_omap_palmte() (machine_arch_type == MACH_TYPE_OMAP_PALMTE) | |
11328 | #else | |
11329 | # define machine_is_omap_palmte() (0) | |
11330 | #endif | |
11331 | ||
11332 | #ifdef CONFIG_MACH_AJAX52X | |
11333 | # ifdef machine_arch_type | |
11334 | # undef machine_arch_type | |
11335 | # define machine_arch_type __machine_arch_type | |
11336 | # else | |
11337 | # define machine_arch_type MACH_TYPE_AJAX52X | |
11338 | # endif | |
11339 | # define machine_is_ajax52x() (machine_arch_type == MACH_TYPE_AJAX52X) | |
11340 | #else | |
11341 | # define machine_is_ajax52x() (0) | |
11342 | #endif | |
11343 | ||
11344 | #ifdef CONFIG_MACH_SIRIUSTAR | |
11345 | # ifdef machine_arch_type | |
11346 | # undef machine_arch_type | |
11347 | # define machine_arch_type __machine_arch_type | |
11348 | # else | |
11349 | # define machine_arch_type MACH_TYPE_SIRIUSTAR | |
11350 | # endif | |
11351 | # define machine_is_siriustar() (machine_arch_type == MACH_TYPE_SIRIUSTAR) | |
11352 | #else | |
11353 | # define machine_is_siriustar() (0) | |
11354 | #endif | |
11355 | ||
11356 | #ifdef CONFIG_MACH_IODATA_HDLG | |
11357 | # ifdef machine_arch_type | |
11358 | # undef machine_arch_type | |
11359 | # define machine_arch_type __machine_arch_type | |
11360 | # else | |
11361 | # define machine_arch_type MACH_TYPE_IODATA_HDLG | |
11362 | # endif | |
11363 | # define machine_is_iodata_hdlg() (machine_arch_type == MACH_TYPE_IODATA_HDLG) | |
11364 | #else | |
11365 | # define machine_is_iodata_hdlg() (0) | |
11366 | #endif | |
11367 | ||
11368 | #ifdef CONFIG_MACH_AT91RM9200UTL | |
11369 | # ifdef machine_arch_type | |
11370 | # undef machine_arch_type | |
11371 | # define machine_arch_type __machine_arch_type | |
11372 | # else | |
11373 | # define machine_arch_type MACH_TYPE_AT91RM9200UTL | |
11374 | # endif | |
11375 | # define machine_is_at91rm9200utl() (machine_arch_type == MACH_TYPE_AT91RM9200UTL) | |
11376 | #else | |
11377 | # define machine_is_at91rm9200utl() (0) | |
11378 | #endif | |
11379 | ||
11380 | #ifdef CONFIG_MACH_BIOSAFE | |
11381 | # ifdef machine_arch_type | |
11382 | # undef machine_arch_type | |
11383 | # define machine_arch_type __machine_arch_type | |
11384 | # else | |
11385 | # define machine_arch_type MACH_TYPE_BIOSAFE | |
11386 | # endif | |
11387 | # define machine_is_biosafe() (machine_arch_type == MACH_TYPE_BIOSAFE) | |
11388 | #else | |
11389 | # define machine_is_biosafe() (0) | |
11390 | #endif | |
11391 | ||
11392 | #ifdef CONFIG_MACH_MP1000 | |
11393 | # ifdef machine_arch_type | |
11394 | # undef machine_arch_type | |
11395 | # define machine_arch_type __machine_arch_type | |
11396 | # else | |
11397 | # define machine_arch_type MACH_TYPE_MP1000 | |
11398 | # endif | |
11399 | # define machine_is_mp1000() (machine_arch_type == MACH_TYPE_MP1000) | |
11400 | #else | |
11401 | # define machine_is_mp1000() (0) | |
11402 | #endif | |
11403 | ||
11404 | #ifdef CONFIG_MACH_PARSY | |
11405 | # ifdef machine_arch_type | |
11406 | # undef machine_arch_type | |
11407 | # define machine_arch_type __machine_arch_type | |
11408 | # else | |
11409 | # define machine_arch_type MACH_TYPE_PARSY | |
11410 | # endif | |
11411 | # define machine_is_parsy() (machine_arch_type == MACH_TYPE_PARSY) | |
11412 | #else | |
11413 | # define machine_is_parsy() (0) | |
11414 | #endif | |
11415 | ||
11416 | #ifdef CONFIG_MACH_CCXP | |
11417 | # ifdef machine_arch_type | |
11418 | # undef machine_arch_type | |
11419 | # define machine_arch_type __machine_arch_type | |
11420 | # else | |
11421 | # define machine_arch_type MACH_TYPE_CCXP | |
11422 | # endif | |
11423 | # define machine_is_ccxp270() (machine_arch_type == MACH_TYPE_CCXP) | |
11424 | #else | |
11425 | # define machine_is_ccxp270() (0) | |
11426 | #endif | |
11427 | ||
11428 | #ifdef CONFIG_MACH_OMAP_GSAMPLE | |
11429 | # ifdef machine_arch_type | |
11430 | # undef machine_arch_type | |
11431 | # define machine_arch_type __machine_arch_type | |
11432 | # else | |
11433 | # define machine_arch_type MACH_TYPE_OMAP_GSAMPLE | |
11434 | # endif | |
11435 | # define machine_is_omap_gsample() (machine_arch_type == MACH_TYPE_OMAP_GSAMPLE) | |
11436 | #else | |
11437 | # define machine_is_omap_gsample() (0) | |
11438 | #endif | |
11439 | ||
11440 | #ifdef CONFIG_MACH_REALVIEW_EB | |
11441 | # ifdef machine_arch_type | |
11442 | # undef machine_arch_type | |
11443 | # define machine_arch_type __machine_arch_type | |
11444 | # else | |
11445 | # define machine_arch_type MACH_TYPE_REALVIEW_EB | |
11446 | # endif | |
11447 | # define machine_is_realview_eb() (machine_arch_type == MACH_TYPE_REALVIEW_EB) | |
11448 | #else | |
11449 | # define machine_is_realview_eb() (0) | |
11450 | #endif | |
11451 | ||
11452 | #ifdef CONFIG_MACH_SAMOA | |
11453 | # ifdef machine_arch_type | |
11454 | # undef machine_arch_type | |
11455 | # define machine_arch_type __machine_arch_type | |
11456 | # else | |
11457 | # define machine_arch_type MACH_TYPE_SAMOA | |
11458 | # endif | |
11459 | # define machine_is_samoa() (machine_arch_type == MACH_TYPE_SAMOA) | |
11460 | #else | |
11461 | # define machine_is_samoa() (0) | |
11462 | #endif | |
11463 | ||
11464 | #ifdef CONFIG_MACH_T3XSCALE | |
11465 | # ifdef machine_arch_type | |
11466 | # undef machine_arch_type | |
11467 | # define machine_arch_type __machine_arch_type | |
11468 | # else | |
11469 | # define machine_arch_type MACH_TYPE_T3XSCALE | |
11470 | # endif | |
11471 | # define machine_is_t3xscale() (machine_arch_type == MACH_TYPE_T3XSCALE) | |
11472 | #else | |
11473 | # define machine_is_t3xscale() (0) | |
11474 | #endif | |
11475 | ||
11476 | #ifdef CONFIG_MACH_I878 | |
11477 | # ifdef machine_arch_type | |
11478 | # undef machine_arch_type | |
11479 | # define machine_arch_type __machine_arch_type | |
11480 | # else | |
11481 | # define machine_arch_type MACH_TYPE_I878 | |
11482 | # endif | |
11483 | # define machine_is_i878() (machine_arch_type == MACH_TYPE_I878) | |
11484 | #else | |
11485 | # define machine_is_i878() (0) | |
11486 | #endif | |
11487 | ||
11488 | #ifdef CONFIG_MACH_BORZOI | |
11489 | # ifdef machine_arch_type | |
11490 | # undef machine_arch_type | |
11491 | # define machine_arch_type __machine_arch_type | |
11492 | # else | |
11493 | # define machine_arch_type MACH_TYPE_BORZOI | |
11494 | # endif | |
11495 | # define machine_is_borzoi() (machine_arch_type == MACH_TYPE_BORZOI) | |
11496 | #else | |
11497 | # define machine_is_borzoi() (0) | |
11498 | #endif | |
11499 | ||
11500 | #ifdef CONFIG_MACH_GECKO | |
11501 | # ifdef machine_arch_type | |
11502 | # undef machine_arch_type | |
11503 | # define machine_arch_type __machine_arch_type | |
11504 | # else | |
11505 | # define machine_arch_type MACH_TYPE_GECKO | |
11506 | # endif | |
11507 | # define machine_is_gecko() (machine_arch_type == MACH_TYPE_GECKO) | |
11508 | #else | |
11509 | # define machine_is_gecko() (0) | |
11510 | #endif | |
11511 | ||
11512 | #ifdef CONFIG_MACH_DS101 | |
11513 | # ifdef machine_arch_type | |
11514 | # undef machine_arch_type | |
11515 | # define machine_arch_type __machine_arch_type | |
11516 | # else | |
11517 | # define machine_arch_type MACH_TYPE_DS101 | |
11518 | # endif | |
11519 | # define machine_is_ds101() (machine_arch_type == MACH_TYPE_DS101) | |
11520 | #else | |
11521 | # define machine_is_ds101() (0) | |
11522 | #endif | |
11523 | ||
11524 | #ifdef CONFIG_MACH_OMAP_PALMTT2 | |
11525 | # ifdef machine_arch_type | |
11526 | # undef machine_arch_type | |
11527 | # define machine_arch_type __machine_arch_type | |
11528 | # else | |
11529 | # define machine_arch_type MACH_TYPE_OMAP_PALMTT2 | |
11530 | # endif | |
11531 | # define machine_is_omap_palmtt2() (machine_arch_type == MACH_TYPE_OMAP_PALMTT2) | |
11532 | #else | |
11533 | # define machine_is_omap_palmtt2() (0) | |
11534 | #endif | |
11535 | ||
11536 | #ifdef CONFIG_MACH_XSCALE_PALMLD | |
11537 | # ifdef machine_arch_type | |
11538 | # undef machine_arch_type | |
11539 | # define machine_arch_type __machine_arch_type | |
11540 | # else | |
11541 | # define machine_arch_type MACH_TYPE_XSCALE_PALMLD | |
11542 | # endif | |
11543 | # define machine_is_xscale_palmld() (machine_arch_type == MACH_TYPE_XSCALE_PALMLD) | |
11544 | #else | |
11545 | # define machine_is_xscale_palmld() (0) | |
11546 | #endif | |
11547 | ||
11548 | #ifdef CONFIG_MACH_CC9C | |
11549 | # ifdef machine_arch_type | |
11550 | # undef machine_arch_type | |
11551 | # define machine_arch_type __machine_arch_type | |
11552 | # else | |
11553 | # define machine_arch_type MACH_TYPE_CC9C | |
11554 | # endif | |
11555 | # define machine_is_cc9c() (machine_arch_type == MACH_TYPE_CC9C) | |
11556 | #else | |
11557 | # define machine_is_cc9c() (0) | |
11558 | #endif | |
11559 | ||
11560 | #ifdef CONFIG_MACH_SBC1670 | |
11561 | # ifdef machine_arch_type | |
11562 | # undef machine_arch_type | |
11563 | # define machine_arch_type __machine_arch_type | |
11564 | # else | |
11565 | # define machine_arch_type MACH_TYPE_SBC1670 | |
11566 | # endif | |
11567 | # define machine_is_sbc1670() (machine_arch_type == MACH_TYPE_SBC1670) | |
11568 | #else | |
11569 | # define machine_is_sbc1670() (0) | |
11570 | #endif | |
11571 | ||
11572 | #ifdef CONFIG_MACH_IXDP28X5 | |
11573 | # ifdef machine_arch_type | |
11574 | # undef machine_arch_type | |
11575 | # define machine_arch_type __machine_arch_type | |
11576 | # else | |
11577 | # define machine_arch_type MACH_TYPE_IXDP28X5 | |
11578 | # endif | |
11579 | # define machine_is_ixdp28x5() (machine_arch_type == MACH_TYPE_IXDP28X5) | |
11580 | #else | |
11581 | # define machine_is_ixdp28x5() (0) | |
11582 | #endif | |
11583 | ||
11584 | #ifdef CONFIG_MACH_OMAP_PALMTT | |
11585 | # ifdef machine_arch_type | |
11586 | # undef machine_arch_type | |
11587 | # define machine_arch_type __machine_arch_type | |
11588 | # else | |
11589 | # define machine_arch_type MACH_TYPE_OMAP_PALMTT | |
11590 | # endif | |
11591 | # define machine_is_omap_palmtt() (machine_arch_type == MACH_TYPE_OMAP_PALMTT) | |
11592 | #else | |
11593 | # define machine_is_omap_palmtt() (0) | |
11594 | #endif | |
11595 | ||
11596 | #ifdef CONFIG_MACH_ML696K | |
11597 | # ifdef machine_arch_type | |
11598 | # undef machine_arch_type | |
11599 | # define machine_arch_type __machine_arch_type | |
11600 | # else | |
11601 | # define machine_arch_type MACH_TYPE_ML696K | |
11602 | # endif | |
11603 | # define machine_is_ml696k() (machine_arch_type == MACH_TYPE_ML696K) | |
11604 | #else | |
11605 | # define machine_is_ml696k() (0) | |
11606 | #endif | |
11607 | ||
11608 | #ifdef CONFIG_MACH_ARCOM_ZEUS | |
11609 | # ifdef machine_arch_type | |
11610 | # undef machine_arch_type | |
11611 | # define machine_arch_type __machine_arch_type | |
11612 | # else | |
11613 | # define machine_arch_type MACH_TYPE_ARCOM_ZEUS | |
11614 | # endif | |
11615 | # define machine_is_arcom_zeus() (machine_arch_type == MACH_TYPE_ARCOM_ZEUS) | |
11616 | #else | |
11617 | # define machine_is_arcom_zeus() (0) | |
11618 | #endif | |
11619 | ||
11620 | #ifdef CONFIG_MACH_OSIRIS | |
11621 | # ifdef machine_arch_type | |
11622 | # undef machine_arch_type | |
11623 | # define machine_arch_type __machine_arch_type | |
11624 | # else | |
11625 | # define machine_arch_type MACH_TYPE_OSIRIS | |
11626 | # endif | |
11627 | # define machine_is_osiris() (machine_arch_type == MACH_TYPE_OSIRIS) | |
11628 | #else | |
11629 | # define machine_is_osiris() (0) | |
11630 | #endif | |
11631 | ||
11632 | #ifdef CONFIG_MACH_MAESTRO | |
11633 | # ifdef machine_arch_type | |
11634 | # undef machine_arch_type | |
11635 | # define machine_arch_type __machine_arch_type | |
11636 | # else | |
11637 | # define machine_arch_type MACH_TYPE_MAESTRO | |
11638 | # endif | |
11639 | # define machine_is_maestro() (machine_arch_type == MACH_TYPE_MAESTRO) | |
11640 | #else | |
11641 | # define machine_is_maestro() (0) | |
11642 | #endif | |
11643 | ||
11644 | #ifdef CONFIG_MACH_TUNGE2 | |
11645 | # ifdef machine_arch_type | |
11646 | # undef machine_arch_type | |
11647 | # define machine_arch_type __machine_arch_type | |
11648 | # else | |
11649 | # define machine_arch_type MACH_TYPE_TUNGE2 | |
11650 | # endif | |
11651 | # define machine_is_tunge2() (machine_arch_type == MACH_TYPE_TUNGE2) | |
11652 | #else | |
11653 | # define machine_is_tunge2() (0) | |
11654 | #endif | |
11655 | ||
11656 | #ifdef CONFIG_MACH_IXBBM | |
11657 | # ifdef machine_arch_type | |
11658 | # undef machine_arch_type | |
11659 | # define machine_arch_type __machine_arch_type | |
11660 | # else | |
11661 | # define machine_arch_type MACH_TYPE_IXBBM | |
11662 | # endif | |
11663 | # define machine_is_ixbbm() (machine_arch_type == MACH_TYPE_IXBBM) | |
11664 | #else | |
11665 | # define machine_is_ixbbm() (0) | |
11666 | #endif | |
11667 | ||
11668 | #ifdef CONFIG_MACH_MX27ADS | |
11669 | # ifdef machine_arch_type | |
11670 | # undef machine_arch_type | |
11671 | # define machine_arch_type __machine_arch_type | |
11672 | # else | |
11673 | # define machine_arch_type MACH_TYPE_MX27ADS | |
11674 | # endif | |
11675 | # define machine_is_mx27ads() (machine_arch_type == MACH_TYPE_MX27ADS) | |
11676 | #else | |
11677 | # define machine_is_mx27ads() (0) | |
11678 | #endif | |
11679 | ||
11680 | #ifdef CONFIG_MACH_AX8004 | |
11681 | # ifdef machine_arch_type | |
11682 | # undef machine_arch_type | |
11683 | # define machine_arch_type __machine_arch_type | |
11684 | # else | |
11685 | # define machine_arch_type MACH_TYPE_AX8004 | |
11686 | # endif | |
11687 | # define machine_is_ax8004() (machine_arch_type == MACH_TYPE_AX8004) | |
11688 | #else | |
11689 | # define machine_is_ax8004() (0) | |
11690 | #endif | |
11691 | ||
11692 | #ifdef CONFIG_MACH_AT91SAM9261EK | |
11693 | # ifdef machine_arch_type | |
11694 | # undef machine_arch_type | |
11695 | # define machine_arch_type __machine_arch_type | |
11696 | # else | |
11697 | # define machine_arch_type MACH_TYPE_AT91SAM9261EK | |
11698 | # endif | |
11699 | # define machine_is_at91sam9261ek() (machine_arch_type == MACH_TYPE_AT91SAM9261EK) | |
11700 | #else | |
11701 | # define machine_is_at91sam9261ek() (0) | |
11702 | #endif | |
11703 | ||
11704 | #ifdef CONFIG_MACH_LOFT | |
11705 | # ifdef machine_arch_type | |
11706 | # undef machine_arch_type | |
11707 | # define machine_arch_type __machine_arch_type | |
11708 | # else | |
11709 | # define machine_arch_type MACH_TYPE_LOFT | |
11710 | # endif | |
11711 | # define machine_is_loft() (machine_arch_type == MACH_TYPE_LOFT) | |
11712 | #else | |
11713 | # define machine_is_loft() (0) | |
11714 | #endif | |
11715 | ||
11716 | #ifdef CONFIG_MACH_MAGPIE | |
11717 | # ifdef machine_arch_type | |
11718 | # undef machine_arch_type | |
11719 | # define machine_arch_type __machine_arch_type | |
11720 | # else | |
11721 | # define machine_arch_type MACH_TYPE_MAGPIE | |
11722 | # endif | |
11723 | # define machine_is_magpie() (machine_arch_type == MACH_TYPE_MAGPIE) | |
11724 | #else | |
11725 | # define machine_is_magpie() (0) | |
11726 | #endif | |
11727 | ||
11728 | #ifdef CONFIG_MACH_MX21ADS | |
11729 | # ifdef machine_arch_type | |
11730 | # undef machine_arch_type | |
11731 | # define machine_arch_type __machine_arch_type | |
11732 | # else | |
11733 | # define machine_arch_type MACH_TYPE_MX21ADS | |
11734 | # endif | |
11735 | # define machine_is_mx21ads() (machine_arch_type == MACH_TYPE_MX21ADS) | |
11736 | #else | |
11737 | # define machine_is_mx21ads() (0) | |
11738 | #endif | |
11739 | ||
11740 | #ifdef CONFIG_MACH_MB87M3400 | |
11741 | # ifdef machine_arch_type | |
11742 | # undef machine_arch_type | |
11743 | # define machine_arch_type __machine_arch_type | |
11744 | # else | |
11745 | # define machine_arch_type MACH_TYPE_MB87M3400 | |
11746 | # endif | |
11747 | # define machine_is_mb87m3400() (machine_arch_type == MACH_TYPE_MB87M3400) | |
11748 | #else | |
11749 | # define machine_is_mb87m3400() (0) | |
11750 | #endif | |
11751 | ||
11752 | #ifdef CONFIG_MACH_MGUARD_DELTA | |
11753 | # ifdef machine_arch_type | |
11754 | # undef machine_arch_type | |
11755 | # define machine_arch_type __machine_arch_type | |
11756 | # else | |
11757 | # define machine_arch_type MACH_TYPE_MGUARD_DELTA | |
11758 | # endif | |
11759 | # define machine_is_mguard_delta() (machine_arch_type == MACH_TYPE_MGUARD_DELTA) | |
11760 | #else | |
11761 | # define machine_is_mguard_delta() (0) | |
11762 | #endif | |
11763 | ||
11764 | #ifdef CONFIG_MACH_DAVINCI_DVDP | |
11765 | # ifdef machine_arch_type | |
11766 | # undef machine_arch_type | |
11767 | # define machine_arch_type __machine_arch_type | |
11768 | # else | |
11769 | # define machine_arch_type MACH_TYPE_DAVINCI_DVDP | |
11770 | # endif | |
11771 | # define machine_is_davinci_dvdp() (machine_arch_type == MACH_TYPE_DAVINCI_DVDP) | |
11772 | #else | |
11773 | # define machine_is_davinci_dvdp() (0) | |
11774 | #endif | |
11775 | ||
11776 | #ifdef CONFIG_MACH_HTCUNIVERSAL | |
11777 | # ifdef machine_arch_type | |
11778 | # undef machine_arch_type | |
11779 | # define machine_arch_type __machine_arch_type | |
11780 | # else | |
11781 | # define machine_arch_type MACH_TYPE_HTCUNIVERSAL | |
11782 | # endif | |
11783 | # define machine_is_htcuniversal() (machine_arch_type == MACH_TYPE_HTCUNIVERSAL) | |
11784 | #else | |
11785 | # define machine_is_htcuniversal() (0) | |
11786 | #endif | |
11787 | ||
11788 | #ifdef CONFIG_MACH_TPAD | |
11789 | # ifdef machine_arch_type | |
11790 | # undef machine_arch_type | |
11791 | # define machine_arch_type __machine_arch_type | |
11792 | # else | |
11793 | # define machine_arch_type MACH_TYPE_TPAD | |
11794 | # endif | |
11795 | # define machine_is_tpad() (machine_arch_type == MACH_TYPE_TPAD) | |
11796 | #else | |
11797 | # define machine_is_tpad() (0) | |
11798 | #endif | |
11799 | ||
11800 | #ifdef CONFIG_MACH_ROVERP3 | |
11801 | # ifdef machine_arch_type | |
11802 | # undef machine_arch_type | |
11803 | # define machine_arch_type __machine_arch_type | |
11804 | # else | |
11805 | # define machine_arch_type MACH_TYPE_ROVERP3 | |
11806 | # endif | |
11807 | # define machine_is_roverp3() (machine_arch_type == MACH_TYPE_ROVERP3) | |
11808 | #else | |
11809 | # define machine_is_roverp3() (0) | |
11810 | #endif | |
11811 | ||
11812 | #ifdef CONFIG_MACH_JORNADA928 | |
11813 | # ifdef machine_arch_type | |
11814 | # undef machine_arch_type | |
11815 | # define machine_arch_type __machine_arch_type | |
11816 | # else | |
11817 | # define machine_arch_type MACH_TYPE_JORNADA928 | |
11818 | # endif | |
11819 | # define machine_is_jornada928() (machine_arch_type == MACH_TYPE_JORNADA928) | |
11820 | #else | |
11821 | # define machine_is_jornada928() (0) | |
11822 | #endif | |
11823 | ||
11824 | #ifdef CONFIG_MACH_MV88FXX81 | |
11825 | # ifdef machine_arch_type | |
11826 | # undef machine_arch_type | |
11827 | # define machine_arch_type __machine_arch_type | |
11828 | # else | |
11829 | # define machine_arch_type MACH_TYPE_MV88FXX81 | |
11830 | # endif | |
11831 | # define machine_is_mv88fxx81() (machine_arch_type == MACH_TYPE_MV88FXX81) | |
11832 | #else | |
11833 | # define machine_is_mv88fxx81() (0) | |
11834 | #endif | |
11835 | ||
11836 | #ifdef CONFIG_MACH_STMP36XX | |
11837 | # ifdef machine_arch_type | |
11838 | # undef machine_arch_type | |
11839 | # define machine_arch_type __machine_arch_type | |
11840 | # else | |
11841 | # define machine_arch_type MACH_TYPE_STMP36XX | |
11842 | # endif | |
11843 | # define machine_is_stmp36xx() (machine_arch_type == MACH_TYPE_STMP36XX) | |
11844 | #else | |
11845 | # define machine_is_stmp36xx() (0) | |
11846 | #endif | |
11847 | ||
11848 | #ifdef CONFIG_MACH_SXNI79524 | |
11849 | # ifdef machine_arch_type | |
11850 | # undef machine_arch_type | |
11851 | # define machine_arch_type __machine_arch_type | |
11852 | # else | |
11853 | # define machine_arch_type MACH_TYPE_SXNI79524 | |
11854 | # endif | |
11855 | # define machine_is_sxni79524() (machine_arch_type == MACH_TYPE_SXNI79524) | |
11856 | #else | |
11857 | # define machine_is_sxni79524() (0) | |
11858 | #endif | |
11859 | ||
11860 | #ifdef CONFIG_MACH_AMS_DELTA | |
11861 | # ifdef machine_arch_type | |
11862 | # undef machine_arch_type | |
11863 | # define machine_arch_type __machine_arch_type | |
11864 | # else | |
11865 | # define machine_arch_type MACH_TYPE_AMS_DELTA | |
11866 | # endif | |
11867 | # define machine_is_ams_delta() (machine_arch_type == MACH_TYPE_AMS_DELTA) | |
11868 | #else | |
11869 | # define machine_is_ams_delta() (0) | |
11870 | #endif | |
11871 | ||
11872 | #ifdef CONFIG_MACH_URANIUM | |
11873 | # ifdef machine_arch_type | |
11874 | # undef machine_arch_type | |
11875 | # define machine_arch_type __machine_arch_type | |
11876 | # else | |
11877 | # define machine_arch_type MACH_TYPE_URANIUM | |
11878 | # endif | |
11879 | # define machine_is_uranium() (machine_arch_type == MACH_TYPE_URANIUM) | |
11880 | #else | |
11881 | # define machine_is_uranium() (0) | |
11882 | #endif | |
11883 | ||
11884 | #ifdef CONFIG_MACH_UCON | |
11885 | # ifdef machine_arch_type | |
11886 | # undef machine_arch_type | |
11887 | # define machine_arch_type __machine_arch_type | |
11888 | # else | |
11889 | # define machine_arch_type MACH_TYPE_UCON | |
11890 | # endif | |
11891 | # define machine_is_ucon() (machine_arch_type == MACH_TYPE_UCON) | |
11892 | #else | |
11893 | # define machine_is_ucon() (0) | |
11894 | #endif | |
11895 | ||
11896 | #ifdef CONFIG_MACH_NAS100D | |
11897 | # ifdef machine_arch_type | |
11898 | # undef machine_arch_type | |
11899 | # define machine_arch_type __machine_arch_type | |
11900 | # else | |
11901 | # define machine_arch_type MACH_TYPE_NAS100D | |
11902 | # endif | |
11903 | # define machine_is_nas100d() (machine_arch_type == MACH_TYPE_NAS100D) | |
11904 | #else | |
11905 | # define machine_is_nas100d() (0) | |
11906 | #endif | |
11907 | ||
11908 | #ifdef CONFIG_MACH_L083_1000 | |
11909 | # ifdef machine_arch_type | |
11910 | # undef machine_arch_type | |
11911 | # define machine_arch_type __machine_arch_type | |
11912 | # else | |
11913 | # define machine_arch_type MACH_TYPE_L083_1000 | |
11914 | # endif | |
11915 | # define machine_is_l083() (machine_arch_type == MACH_TYPE_L083_1000) | |
11916 | #else | |
11917 | # define machine_is_l083() (0) | |
11918 | #endif | |
11919 | ||
11920 | #ifdef CONFIG_MACH_EZX | |
11921 | # ifdef machine_arch_type | |
11922 | # undef machine_arch_type | |
11923 | # define machine_arch_type __machine_arch_type | |
11924 | # else | |
11925 | # define machine_arch_type MACH_TYPE_EZX | |
11926 | # endif | |
11927 | # define machine_is_ezx() (machine_arch_type == MACH_TYPE_EZX) | |
11928 | #else | |
11929 | # define machine_is_ezx() (0) | |
11930 | #endif | |
11931 | ||
11932 | #ifdef CONFIG_MACH_PNX5220 | |
11933 | # ifdef machine_arch_type | |
11934 | # undef machine_arch_type | |
11935 | # define machine_arch_type __machine_arch_type | |
11936 | # else | |
11937 | # define machine_arch_type MACH_TYPE_PNX5220 | |
11938 | # endif | |
11939 | # define machine_is_pnx5220() (machine_arch_type == MACH_TYPE_PNX5220) | |
11940 | #else | |
11941 | # define machine_is_pnx5220() (0) | |
11942 | #endif | |
11943 | ||
11944 | #ifdef CONFIG_MACH_BUTTE | |
11945 | # ifdef machine_arch_type | |
11946 | # undef machine_arch_type | |
11947 | # define machine_arch_type __machine_arch_type | |
11948 | # else | |
11949 | # define machine_arch_type MACH_TYPE_BUTTE | |
11950 | # endif | |
11951 | # define machine_is_butte() (machine_arch_type == MACH_TYPE_BUTTE) | |
11952 | #else | |
11953 | # define machine_is_butte() (0) | |
11954 | #endif | |
11955 | ||
11956 | #ifdef CONFIG_MACH_SRM2 | |
11957 | # ifdef machine_arch_type | |
11958 | # undef machine_arch_type | |
11959 | # define machine_arch_type __machine_arch_type | |
11960 | # else | |
11961 | # define machine_arch_type MACH_TYPE_SRM2 | |
11962 | # endif | |
11963 | # define machine_is_srm2() (machine_arch_type == MACH_TYPE_SRM2) | |
11964 | #else | |
11965 | # define machine_is_srm2() (0) | |
11966 | #endif | |
11967 | ||
11968 | #ifdef CONFIG_MACH_DSBR | |
11969 | # ifdef machine_arch_type | |
11970 | # undef machine_arch_type | |
11971 | # define machine_arch_type __machine_arch_type | |
11972 | # else | |
11973 | # define machine_arch_type MACH_TYPE_DSBR | |
11974 | # endif | |
11975 | # define machine_is_dsbr() (machine_arch_type == MACH_TYPE_DSBR) | |
11976 | #else | |
11977 | # define machine_is_dsbr() (0) | |
11978 | #endif | |
11979 | ||
11980 | #ifdef CONFIG_MACH_CRYSTALBALL | |
11981 | # ifdef machine_arch_type | |
11982 | # undef machine_arch_type | |
11983 | # define machine_arch_type __machine_arch_type | |
11984 | # else | |
11985 | # define machine_arch_type MACH_TYPE_CRYSTALBALL | |
11986 | # endif | |
11987 | # define machine_is_crystalball() (machine_arch_type == MACH_TYPE_CRYSTALBALL) | |
11988 | #else | |
11989 | # define machine_is_crystalball() (0) | |
11990 | #endif | |
11991 | ||
11992 | #ifdef CONFIG_MACH_TINYPXA27X | |
11993 | # ifdef machine_arch_type | |
11994 | # undef machine_arch_type | |
11995 | # define machine_arch_type __machine_arch_type | |
11996 | # else | |
11997 | # define machine_arch_type MACH_TYPE_TINYPXA27X | |
11998 | # endif | |
11999 | # define machine_is_tinypxa27x() (machine_arch_type == MACH_TYPE_TINYPXA27X) | |
12000 | #else | |
12001 | # define machine_is_tinypxa27x() (0) | |
12002 | #endif | |
12003 | ||
12004 | #ifdef CONFIG_MACH_HERBIE | |
12005 | # ifdef machine_arch_type | |
12006 | # undef machine_arch_type | |
12007 | # define machine_arch_type __machine_arch_type | |
12008 | # else | |
12009 | # define machine_arch_type MACH_TYPE_HERBIE | |
12010 | # endif | |
12011 | # define machine_is_herbie() (machine_arch_type == MACH_TYPE_HERBIE) | |
12012 | #else | |
12013 | # define machine_is_herbie() (0) | |
12014 | #endif | |
12015 | ||
12016 | #ifdef CONFIG_MACH_MAGICIAN | |
12017 | # ifdef machine_arch_type | |
12018 | # undef machine_arch_type | |
12019 | # define machine_arch_type __machine_arch_type | |
12020 | # else | |
12021 | # define machine_arch_type MACH_TYPE_MAGICIAN | |
12022 | # endif | |
12023 | # define machine_is_magician() (machine_arch_type == MACH_TYPE_MAGICIAN) | |
12024 | #else | |
12025 | # define machine_is_magician() (0) | |
12026 | #endif | |
12027 | ||
12028 | #ifdef CONFIG_MACH_CM4002 | |
12029 | # ifdef machine_arch_type | |
12030 | # undef machine_arch_type | |
12031 | # define machine_arch_type __machine_arch_type | |
12032 | # else | |
12033 | # define machine_arch_type MACH_TYPE_CM4002 | |
12034 | # endif | |
12035 | # define machine_is_cm4002() (machine_arch_type == MACH_TYPE_CM4002) | |
12036 | #else | |
12037 | # define machine_is_cm4002() (0) | |
12038 | #endif | |
12039 | ||
12040 | #ifdef CONFIG_MACH_B4 | |
12041 | # ifdef machine_arch_type | |
12042 | # undef machine_arch_type | |
12043 | # define machine_arch_type __machine_arch_type | |
12044 | # else | |
12045 | # define machine_arch_type MACH_TYPE_B4 | |
12046 | # endif | |
12047 | # define machine_is_b4() (machine_arch_type == MACH_TYPE_B4) | |
12048 | #else | |
12049 | # define machine_is_b4() (0) | |
12050 | #endif | |
12051 | ||
12052 | #ifdef CONFIG_MACH_MAUI | |
12053 | # ifdef machine_arch_type | |
12054 | # undef machine_arch_type | |
12055 | # define machine_arch_type __machine_arch_type | |
12056 | # else | |
12057 | # define machine_arch_type MACH_TYPE_MAUI | |
12058 | # endif | |
12059 | # define machine_is_maui() (machine_arch_type == MACH_TYPE_MAUI) | |
12060 | #else | |
12061 | # define machine_is_maui() (0) | |
12062 | #endif | |
12063 | ||
12064 | #ifdef CONFIG_MACH_CYBERTRACKER_G | |
12065 | # ifdef machine_arch_type | |
12066 | # undef machine_arch_type | |
12067 | # define machine_arch_type __machine_arch_type | |
12068 | # else | |
12069 | # define machine_arch_type MACH_TYPE_CYBERTRACKER_G | |
12070 | # endif | |
12071 | # define machine_is_cybertracker_g() (machine_arch_type == MACH_TYPE_CYBERTRACKER_G) | |
12072 | #else | |
12073 | # define machine_is_cybertracker_g() (0) | |
12074 | #endif | |
12075 | ||
12076 | #ifdef CONFIG_MACH_NXDKN | |
12077 | # ifdef machine_arch_type | |
12078 | # undef machine_arch_type | |
12079 | # define machine_arch_type __machine_arch_type | |
12080 | # else | |
12081 | # define machine_arch_type MACH_TYPE_NXDKN | |
12082 | # endif | |
12083 | # define machine_is_nxdkn() (machine_arch_type == MACH_TYPE_NXDKN) | |
12084 | #else | |
12085 | # define machine_is_nxdkn() (0) | |
12086 | #endif | |
12087 | ||
12088 | #ifdef CONFIG_MACH_MIO8390 | |
12089 | # ifdef machine_arch_type | |
12090 | # undef machine_arch_type | |
12091 | # define machine_arch_type __machine_arch_type | |
12092 | # else | |
12093 | # define machine_arch_type MACH_TYPE_MIO8390 | |
12094 | # endif | |
12095 | # define machine_is_mio8390() (machine_arch_type == MACH_TYPE_MIO8390) | |
12096 | #else | |
12097 | # define machine_is_mio8390() (0) | |
12098 | #endif | |
12099 | ||
12100 | #ifdef CONFIG_MACH_OMI_BOARD | |
12101 | # ifdef machine_arch_type | |
12102 | # undef machine_arch_type | |
12103 | # define machine_arch_type __machine_arch_type | |
12104 | # else | |
12105 | # define machine_arch_type MACH_TYPE_OMI_BOARD | |
12106 | # endif | |
12107 | # define machine_is_omi_board() (machine_arch_type == MACH_TYPE_OMI_BOARD) | |
12108 | #else | |
12109 | # define machine_is_omi_board() (0) | |
12110 | #endif | |
12111 | ||
12112 | #ifdef CONFIG_MACH_MX21CIV | |
12113 | # ifdef machine_arch_type | |
12114 | # undef machine_arch_type | |
12115 | # define machine_arch_type __machine_arch_type | |
12116 | # else | |
12117 | # define machine_arch_type MACH_TYPE_MX21CIV | |
12118 | # endif | |
12119 | # define machine_is_mx21civ() (machine_arch_type == MACH_TYPE_MX21CIV) | |
12120 | #else | |
12121 | # define machine_is_mx21civ() (0) | |
12122 | #endif | |
12123 | ||
12124 | #ifdef CONFIG_MACH_MAHI_CDAC | |
12125 | # ifdef machine_arch_type | |
12126 | # undef machine_arch_type | |
12127 | # define machine_arch_type __machine_arch_type | |
12128 | # else | |
12129 | # define machine_arch_type MACH_TYPE_MAHI_CDAC | |
12130 | # endif | |
12131 | # define machine_is_mahi_cdac() (machine_arch_type == MACH_TYPE_MAHI_CDAC) | |
12132 | #else | |
12133 | # define machine_is_mahi_cdac() (0) | |
12134 | #endif | |
12135 | ||
12136 | #ifdef CONFIG_MACH_XSCALE_PALMTX | |
12137 | # ifdef machine_arch_type | |
12138 | # undef machine_arch_type | |
12139 | # define machine_arch_type __machine_arch_type | |
12140 | # else | |
12141 | # define machine_arch_type MACH_TYPE_XSCALE_PALMTX | |
12142 | # endif | |
12143 | # define machine_is_xscale_palmtx() (machine_arch_type == MACH_TYPE_XSCALE_PALMTX) | |
12144 | #else | |
12145 | # define machine_is_xscale_palmtx() (0) | |
12146 | #endif | |
12147 | ||
12148 | #ifdef CONFIG_MACH_S3C2413 | |
12149 | # ifdef machine_arch_type | |
12150 | # undef machine_arch_type | |
12151 | # define machine_arch_type __machine_arch_type | |
12152 | # else | |
12153 | # define machine_arch_type MACH_TYPE_S3C2413 | |
12154 | # endif | |
12155 | # define machine_is_s3c2413() (machine_arch_type == MACH_TYPE_S3C2413) | |
12156 | #else | |
12157 | # define machine_is_s3c2413() (0) | |
12158 | #endif | |
12159 | ||
12160 | #ifdef CONFIG_MACH_SAMSYS_EP0 | |
12161 | # ifdef machine_arch_type | |
12162 | # undef machine_arch_type | |
12163 | # define machine_arch_type __machine_arch_type | |
12164 | # else | |
12165 | # define machine_arch_type MACH_TYPE_SAMSYS_EP0 | |
12166 | # endif | |
12167 | # define machine_is_samsys_ep0() (machine_arch_type == MACH_TYPE_SAMSYS_EP0) | |
12168 | #else | |
12169 | # define machine_is_samsys_ep0() (0) | |
12170 | #endif | |
12171 | ||
12172 | #ifdef CONFIG_MACH_WG302V1 | |
12173 | # ifdef machine_arch_type | |
12174 | # undef machine_arch_type | |
12175 | # define machine_arch_type __machine_arch_type | |
12176 | # else | |
12177 | # define machine_arch_type MACH_TYPE_WG302V1 | |
12178 | # endif | |
12179 | # define machine_is_wg302v1() (machine_arch_type == MACH_TYPE_WG302V1) | |
12180 | #else | |
12181 | # define machine_is_wg302v1() (0) | |
12182 | #endif | |
12183 | ||
12184 | #ifdef CONFIG_MACH_WG302V2 | |
12185 | # ifdef machine_arch_type | |
12186 | # undef machine_arch_type | |
12187 | # define machine_arch_type __machine_arch_type | |
12188 | # else | |
12189 | # define machine_arch_type MACH_TYPE_WG302V2 | |
12190 | # endif | |
12191 | # define machine_is_wg302v2() (machine_arch_type == MACH_TYPE_WG302V2) | |
12192 | #else | |
12193 | # define machine_is_wg302v2() (0) | |
12194 | #endif | |
12195 | ||
12196 | #ifdef CONFIG_MACH_EB42X | |
12197 | # ifdef machine_arch_type | |
12198 | # undef machine_arch_type | |
12199 | # define machine_arch_type __machine_arch_type | |
12200 | # else | |
12201 | # define machine_arch_type MACH_TYPE_EB42X | |
12202 | # endif | |
12203 | # define machine_is_eb42x() (machine_arch_type == MACH_TYPE_EB42X) | |
12204 | #else | |
12205 | # define machine_is_eb42x() (0) | |
12206 | #endif | |
12207 | ||
12208 | #ifdef CONFIG_MACH_IQ331ES | |
12209 | # ifdef machine_arch_type | |
12210 | # undef machine_arch_type | |
12211 | # define machine_arch_type __machine_arch_type | |
12212 | # else | |
12213 | # define machine_arch_type MACH_TYPE_IQ331ES | |
12214 | # endif | |
12215 | # define machine_is_iq331es() (machine_arch_type == MACH_TYPE_IQ331ES) | |
12216 | #else | |
12217 | # define machine_is_iq331es() (0) | |
12218 | #endif | |
12219 | ||
12220 | #ifdef CONFIG_MACH_COSYDSP | |
12221 | # ifdef machine_arch_type | |
12222 | # undef machine_arch_type | |
12223 | # define machine_arch_type __machine_arch_type | |
12224 | # else | |
12225 | # define machine_arch_type MACH_TYPE_COSYDSP | |
12226 | # endif | |
12227 | # define machine_is_cosydsp() (machine_arch_type == MACH_TYPE_COSYDSP) | |
12228 | #else | |
12229 | # define machine_is_cosydsp() (0) | |
12230 | #endif | |
12231 | ||
12232 | #ifdef CONFIG_MACH_UPLAT7D | |
12233 | # ifdef machine_arch_type | |
12234 | # undef machine_arch_type | |
12235 | # define machine_arch_type __machine_arch_type | |
12236 | # else | |
12237 | # define machine_arch_type MACH_TYPE_UPLAT7D | |
12238 | # endif | |
12239 | # define machine_is_uplat7d_proto() (machine_arch_type == MACH_TYPE_UPLAT7D) | |
12240 | #else | |
12241 | # define machine_is_uplat7d_proto() (0) | |
12242 | #endif | |
12243 | ||
12244 | #ifdef CONFIG_MACH_PTDAVINCI | |
12245 | # ifdef machine_arch_type | |
12246 | # undef machine_arch_type | |
12247 | # define machine_arch_type __machine_arch_type | |
12248 | # else | |
12249 | # define machine_arch_type MACH_TYPE_PTDAVINCI | |
12250 | # endif | |
12251 | # define machine_is_ptdavinci() (machine_arch_type == MACH_TYPE_PTDAVINCI) | |
12252 | #else | |
12253 | # define machine_is_ptdavinci() (0) | |
12254 | #endif | |
12255 | ||
12256 | #ifdef CONFIG_MACH_MBUS | |
12257 | # ifdef machine_arch_type | |
12258 | # undef machine_arch_type | |
12259 | # define machine_arch_type __machine_arch_type | |
12260 | # else | |
12261 | # define machine_arch_type MACH_TYPE_MBUS | |
12262 | # endif | |
12263 | # define machine_is_mbus() (machine_arch_type == MACH_TYPE_MBUS) | |
12264 | #else | |
12265 | # define machine_is_mbus() (0) | |
12266 | #endif | |
12267 | ||
12268 | #ifdef CONFIG_MACH_NADIA2VB | |
12269 | # ifdef machine_arch_type | |
12270 | # undef machine_arch_type | |
12271 | # define machine_arch_type __machine_arch_type | |
12272 | # else | |
12273 | # define machine_arch_type MACH_TYPE_NADIA2VB | |
12274 | # endif | |
12275 | # define machine_is_nadia2vb() (machine_arch_type == MACH_TYPE_NADIA2VB) | |
12276 | #else | |
12277 | # define machine_is_nadia2vb() (0) | |
12278 | #endif | |
12279 | ||
12280 | #ifdef CONFIG_MACH_R1000 | |
12281 | # ifdef machine_arch_type | |
12282 | # undef machine_arch_type | |
12283 | # define machine_arch_type __machine_arch_type | |
12284 | # else | |
12285 | # define machine_arch_type MACH_TYPE_R1000 | |
12286 | # endif | |
12287 | # define machine_is_r1000() (machine_arch_type == MACH_TYPE_R1000) | |
12288 | #else | |
12289 | # define machine_is_r1000() (0) | |
12290 | #endif | |
12291 | ||
12292 | #ifdef CONFIG_MACH_HW90250 | |
12293 | # ifdef machine_arch_type | |
12294 | # undef machine_arch_type | |
12295 | # define machine_arch_type __machine_arch_type | |
12296 | # else | |
12297 | # define machine_arch_type MACH_TYPE_HW90250 | |
12298 | # endif | |
12299 | # define machine_is_hw90250() (machine_arch_type == MACH_TYPE_HW90250) | |
12300 | #else | |
12301 | # define machine_is_hw90250() (0) | |
12302 | #endif | |
12303 | ||
12304 | #ifdef CONFIG_MACH_OMAP_2430SDP | |
12305 | # ifdef machine_arch_type | |
12306 | # undef machine_arch_type | |
12307 | # define machine_arch_type __machine_arch_type | |
12308 | # else | |
12309 | # define machine_arch_type MACH_TYPE_OMAP_2430SDP | |
12310 | # endif | |
12311 | # define machine_is_omap_2430sdp() (machine_arch_type == MACH_TYPE_OMAP_2430SDP) | |
12312 | #else | |
12313 | # define machine_is_omap_2430sdp() (0) | |
12314 | #endif | |
12315 | ||
12316 | #ifdef CONFIG_MACH_DAVINCI_EVM | |
12317 | # ifdef machine_arch_type | |
12318 | # undef machine_arch_type | |
12319 | # define machine_arch_type __machine_arch_type | |
12320 | # else | |
12321 | # define machine_arch_type MACH_TYPE_DAVINCI_EVM | |
12322 | # endif | |
12323 | # define machine_is_davinci_evm() (machine_arch_type == MACH_TYPE_DAVINCI_EVM) | |
12324 | #else | |
12325 | # define machine_is_davinci_evm() (0) | |
12326 | #endif | |
12327 | ||
12328 | #ifdef CONFIG_MACH_OMAP_TORNADO | |
12329 | # ifdef machine_arch_type | |
12330 | # undef machine_arch_type | |
12331 | # define machine_arch_type __machine_arch_type | |
12332 | # else | |
12333 | # define machine_arch_type MACH_TYPE_OMAP_TORNADO | |
12334 | # endif | |
12335 | # define machine_is_omap_tornado() (machine_arch_type == MACH_TYPE_OMAP_TORNADO) | |
12336 | #else | |
12337 | # define machine_is_omap_tornado() (0) | |
12338 | #endif | |
12339 | ||
12340 | #ifdef CONFIG_MACH_OLOCREEK | |
12341 | # ifdef machine_arch_type | |
12342 | # undef machine_arch_type | |
12343 | # define machine_arch_type __machine_arch_type | |
12344 | # else | |
12345 | # define machine_arch_type MACH_TYPE_OLOCREEK | |
12346 | # endif | |
12347 | # define machine_is_olocreek() (machine_arch_type == MACH_TYPE_OLOCREEK) | |
12348 | #else | |
12349 | # define machine_is_olocreek() (0) | |
12350 | #endif | |
12351 | ||
12352 | #ifdef CONFIG_MACH_PALMZ72 | |
12353 | # ifdef machine_arch_type | |
12354 | # undef machine_arch_type | |
12355 | # define machine_arch_type __machine_arch_type | |
12356 | # else | |
12357 | # define machine_arch_type MACH_TYPE_PALMZ72 | |
12358 | # endif | |
12359 | # define machine_is_palmz72() (machine_arch_type == MACH_TYPE_PALMZ72) | |
12360 | #else | |
12361 | # define machine_is_palmz72() (0) | |
12362 | #endif | |
12363 | ||
12364 | #ifdef CONFIG_MACH_NXDB500 | |
12365 | # ifdef machine_arch_type | |
12366 | # undef machine_arch_type | |
12367 | # define machine_arch_type __machine_arch_type | |
12368 | # else | |
12369 | # define machine_arch_type MACH_TYPE_NXDB500 | |
12370 | # endif | |
12371 | # define machine_is_nxdb500() (machine_arch_type == MACH_TYPE_NXDB500) | |
12372 | #else | |
12373 | # define machine_is_nxdb500() (0) | |
12374 | #endif | |
12375 | ||
12376 | #ifdef CONFIG_MACH_APF9328 | |
12377 | # ifdef machine_arch_type | |
12378 | # undef machine_arch_type | |
12379 | # define machine_arch_type __machine_arch_type | |
12380 | # else | |
12381 | # define machine_arch_type MACH_TYPE_APF9328 | |
12382 | # endif | |
12383 | # define machine_is_apf9328() (machine_arch_type == MACH_TYPE_APF9328) | |
12384 | #else | |
12385 | # define machine_is_apf9328() (0) | |
12386 | #endif | |
12387 | ||
12388 | #ifdef CONFIG_MACH_OMAP_WIPOQ | |
12389 | # ifdef machine_arch_type | |
12390 | # undef machine_arch_type | |
12391 | # define machine_arch_type __machine_arch_type | |
12392 | # else | |
12393 | # define machine_arch_type MACH_TYPE_OMAP_WIPOQ | |
12394 | # endif | |
12395 | # define machine_is_omap_wipoq() (machine_arch_type == MACH_TYPE_OMAP_WIPOQ) | |
12396 | #else | |
12397 | # define machine_is_omap_wipoq() (0) | |
12398 | #endif | |
12399 | ||
12400 | #ifdef CONFIG_MACH_OMAP_TWIP | |
12401 | # ifdef machine_arch_type | |
12402 | # undef machine_arch_type | |
12403 | # define machine_arch_type __machine_arch_type | |
12404 | # else | |
12405 | # define machine_arch_type MACH_TYPE_OMAP_TWIP | |
12406 | # endif | |
12407 | # define machine_is_omap_twip() (machine_arch_type == MACH_TYPE_OMAP_TWIP) | |
12408 | #else | |
12409 | # define machine_is_omap_twip() (0) | |
12410 | #endif | |
12411 | ||
12412 | #ifdef CONFIG_MACH_XSCALE_PALMTREO650 | |
12413 | # ifdef machine_arch_type | |
12414 | # undef machine_arch_type | |
12415 | # define machine_arch_type __machine_arch_type | |
12416 | # else | |
12417 | # define machine_arch_type MACH_TYPE_XSCALE_PALMTREO650 | |
12418 | # endif | |
12419 | # define machine_is_xscale_treo650() (machine_arch_type == MACH_TYPE_XSCALE_PALMTREO650) | |
12420 | #else | |
12421 | # define machine_is_xscale_treo650() (0) | |
12422 | #endif | |
12423 | ||
12424 | #ifdef CONFIG_MACH_ACUMEN | |
12425 | # ifdef machine_arch_type | |
12426 | # undef machine_arch_type | |
12427 | # define machine_arch_type __machine_arch_type | |
12428 | # else | |
12429 | # define machine_arch_type MACH_TYPE_ACUMEN | |
12430 | # endif | |
12431 | # define machine_is_acumen() (machine_arch_type == MACH_TYPE_ACUMEN) | |
12432 | #else | |
12433 | # define machine_is_acumen() (0) | |
12434 | #endif | |
12435 | ||
12436 | #ifdef CONFIG_MACH_XP100 | |
12437 | # ifdef machine_arch_type | |
12438 | # undef machine_arch_type | |
12439 | # define machine_arch_type __machine_arch_type | |
12440 | # else | |
12441 | # define machine_arch_type MACH_TYPE_XP100 | |
12442 | # endif | |
12443 | # define machine_is_xp100() (machine_arch_type == MACH_TYPE_XP100) | |
12444 | #else | |
12445 | # define machine_is_xp100() (0) | |
12446 | #endif | |
12447 | ||
12448 | #ifdef CONFIG_MACH_FS2410 | |
12449 | # ifdef machine_arch_type | |
12450 | # undef machine_arch_type | |
12451 | # define machine_arch_type __machine_arch_type | |
12452 | # else | |
12453 | # define machine_arch_type MACH_TYPE_FS2410 | |
12454 | # endif | |
12455 | # define machine_is_fs2410() (machine_arch_type == MACH_TYPE_FS2410) | |
12456 | #else | |
12457 | # define machine_is_fs2410() (0) | |
12458 | #endif | |
12459 | ||
12460 | #ifdef CONFIG_MACH_PXA270_CERF | |
12461 | # ifdef machine_arch_type | |
12462 | # undef machine_arch_type | |
12463 | # define machine_arch_type __machine_arch_type | |
12464 | # else | |
12465 | # define machine_arch_type MACH_TYPE_PXA270_CERF | |
12466 | # endif | |
12467 | # define machine_is_pxa270_cerf() (machine_arch_type == MACH_TYPE_PXA270_CERF) | |
12468 | #else | |
12469 | # define machine_is_pxa270_cerf() (0) | |
12470 | #endif | |
12471 | ||
12472 | #ifdef CONFIG_MACH_SQ2FTLPALM | |
12473 | # ifdef machine_arch_type | |
12474 | # undef machine_arch_type | |
12475 | # define machine_arch_type __machine_arch_type | |
12476 | # else | |
12477 | # define machine_arch_type MACH_TYPE_SQ2FTLPALM | |
12478 | # endif | |
12479 | # define machine_is_sq2ftlpalm() (machine_arch_type == MACH_TYPE_SQ2FTLPALM) | |
12480 | #else | |
12481 | # define machine_is_sq2ftlpalm() (0) | |
12482 | #endif | |
12483 | ||
12484 | #ifdef CONFIG_MACH_BSEMSERVER | |
12485 | # ifdef machine_arch_type | |
12486 | # undef machine_arch_type | |
12487 | # define machine_arch_type __machine_arch_type | |
12488 | # else | |
12489 | # define machine_arch_type MACH_TYPE_BSEMSERVER | |
12490 | # endif | |
12491 | # define machine_is_bsemserver() (machine_arch_type == MACH_TYPE_BSEMSERVER) | |
12492 | #else | |
12493 | # define machine_is_bsemserver() (0) | |
12494 | #endif | |
12495 | ||
12496 | #ifdef CONFIG_MACH_NETCLIENT | |
12497 | # ifdef machine_arch_type | |
12498 | # undef machine_arch_type | |
12499 | # define machine_arch_type __machine_arch_type | |
12500 | # else | |
12501 | # define machine_arch_type MACH_TYPE_NETCLIENT | |
12502 | # endif | |
12503 | # define machine_is_netclient() (machine_arch_type == MACH_TYPE_NETCLIENT) | |
12504 | #else | |
12505 | # define machine_is_netclient() (0) | |
12506 | #endif | |
12507 | ||
12508 | #ifdef CONFIG_MACH_XSCALE_PALMTT5 | |
12509 | # ifdef machine_arch_type | |
12510 | # undef machine_arch_type | |
12511 | # define machine_arch_type __machine_arch_type | |
12512 | # else | |
12513 | # define machine_arch_type MACH_TYPE_XSCALE_PALMTT5 | |
12514 | # endif | |
12515 | # define machine_is_xscale_palmtt5() (machine_arch_type == MACH_TYPE_XSCALE_PALMTT5) | |
12516 | #else | |
12517 | # define machine_is_xscale_palmtt5() (0) | |
12518 | #endif | |
12519 | ||
12520 | #ifdef CONFIG_MACH_OMAP_PALMTC | |
12521 | # ifdef machine_arch_type | |
12522 | # undef machine_arch_type | |
12523 | # define machine_arch_type __machine_arch_type | |
12524 | # else | |
12525 | # define machine_arch_type MACH_TYPE_OMAP_PALMTC | |
12526 | # endif | |
12527 | # define machine_is_xscale_palmtc() (machine_arch_type == MACH_TYPE_OMAP_PALMTC) | |
12528 | #else | |
12529 | # define machine_is_xscale_palmtc() (0) | |
12530 | #endif | |
12531 | ||
12532 | #ifdef CONFIG_MACH_OMAP_APOLLON | |
12533 | # ifdef machine_arch_type | |
12534 | # undef machine_arch_type | |
12535 | # define machine_arch_type __machine_arch_type | |
12536 | # else | |
12537 | # define machine_arch_type MACH_TYPE_OMAP_APOLLON | |
12538 | # endif | |
12539 | # define machine_is_omap_apollon() (machine_arch_type == MACH_TYPE_OMAP_APOLLON) | |
12540 | #else | |
12541 | # define machine_is_omap_apollon() (0) | |
12542 | #endif | |
12543 | ||
12544 | #ifdef CONFIG_MACH_MXC30030EVB | |
12545 | # ifdef machine_arch_type | |
12546 | # undef machine_arch_type | |
12547 | # define machine_arch_type __machine_arch_type | |
12548 | # else | |
12549 | # define machine_arch_type MACH_TYPE_MXC30030EVB | |
12550 | # endif | |
12551 | # define machine_is_mxc30030evb() (machine_arch_type == MACH_TYPE_MXC30030EVB) | |
12552 | #else | |
12553 | # define machine_is_mxc30030evb() (0) | |
12554 | #endif | |
12555 | ||
12556 | #ifdef CONFIG_MACH_REA_2D | |
12557 | # ifdef machine_arch_type | |
12558 | # undef machine_arch_type | |
12559 | # define machine_arch_type __machine_arch_type | |
12560 | # else | |
12561 | # define machine_arch_type MACH_TYPE_REA_2D | |
12562 | # endif | |
12563 | # define machine_is_rea_2d() (machine_arch_type == MACH_TYPE_REA_2D) | |
12564 | #else | |
12565 | # define machine_is_rea_2d() (0) | |
12566 | #endif | |
12567 | ||
12568 | #ifdef CONFIG_MACH_TI3E524 | |
12569 | # ifdef machine_arch_type | |
12570 | # undef machine_arch_type | |
12571 | # define machine_arch_type __machine_arch_type | |
12572 | # else | |
12573 | # define machine_arch_type MACH_TYPE_TI3E524 | |
12574 | # endif | |
12575 | # define machine_is_eti3e524() (machine_arch_type == MACH_TYPE_TI3E524) | |
12576 | #else | |
12577 | # define machine_is_eti3e524() (0) | |
12578 | #endif | |
12579 | ||
12580 | #ifdef CONFIG_MACH_ATEB9200 | |
12581 | # ifdef machine_arch_type | |
12582 | # undef machine_arch_type | |
12583 | # define machine_arch_type __machine_arch_type | |
12584 | # else | |
12585 | # define machine_arch_type MACH_TYPE_ATEB9200 | |
12586 | # endif | |
12587 | # define machine_is_ateb9200() (machine_arch_type == MACH_TYPE_ATEB9200) | |
12588 | #else | |
12589 | # define machine_is_ateb9200() (0) | |
12590 | #endif | |
12591 | ||
12592 | #ifdef CONFIG_MACH_AUCKLAND | |
12593 | # ifdef machine_arch_type | |
12594 | # undef machine_arch_type | |
12595 | # define machine_arch_type __machine_arch_type | |
12596 | # else | |
12597 | # define machine_arch_type MACH_TYPE_AUCKLAND | |
12598 | # endif | |
12599 | # define machine_is_auckland() (machine_arch_type == MACH_TYPE_AUCKLAND) | |
12600 | #else | |
12601 | # define machine_is_auckland() (0) | |
12602 | #endif | |
12603 | ||
12604 | #ifdef CONFIG_MACH_AK3320M | |
12605 | # ifdef machine_arch_type | |
12606 | # undef machine_arch_type | |
12607 | # define machine_arch_type __machine_arch_type | |
12608 | # else | |
12609 | # define machine_arch_type MACH_TYPE_AK3320M | |
12610 | # endif | |
12611 | # define machine_is_ak3220m() (machine_arch_type == MACH_TYPE_AK3320M) | |
12612 | #else | |
12613 | # define machine_is_ak3220m() (0) | |
12614 | #endif | |
12615 | ||
12616 | #ifdef CONFIG_MACH_DURAMAX | |
12617 | # ifdef machine_arch_type | |
12618 | # undef machine_arch_type | |
12619 | # define machine_arch_type __machine_arch_type | |
12620 | # else | |
12621 | # define machine_arch_type MACH_TYPE_DURAMAX | |
12622 | # endif | |
12623 | # define machine_is_duramax() (machine_arch_type == MACH_TYPE_DURAMAX) | |
12624 | #else | |
12625 | # define machine_is_duramax() (0) | |
12626 | #endif | |
12627 | ||
12628 | #ifdef CONFIG_MACH_N35 | |
12629 | # ifdef machine_arch_type | |
12630 | # undef machine_arch_type | |
12631 | # define machine_arch_type __machine_arch_type | |
12632 | # else | |
12633 | # define machine_arch_type MACH_TYPE_N35 | |
12634 | # endif | |
12635 | # define machine_is_n35() (machine_arch_type == MACH_TYPE_N35) | |
12636 | #else | |
12637 | # define machine_is_n35() (0) | |
12638 | #endif | |
12639 | ||
12640 | #ifdef CONFIG_MACH_PRONGHORN | |
12641 | # ifdef machine_arch_type | |
12642 | # undef machine_arch_type | |
12643 | # define machine_arch_type __machine_arch_type | |
12644 | # else | |
12645 | # define machine_arch_type MACH_TYPE_PRONGHORN | |
12646 | # endif | |
12647 | # define machine_is_pronghorn() (machine_arch_type == MACH_TYPE_PRONGHORN) | |
12648 | #else | |
12649 | # define machine_is_pronghorn() (0) | |
12650 | #endif | |
12651 | ||
12652 | #ifdef CONFIG_MACH_FUNDY | |
12653 | # ifdef machine_arch_type | |
12654 | # undef machine_arch_type | |
12655 | # define machine_arch_type __machine_arch_type | |
12656 | # else | |
12657 | # define machine_arch_type MACH_TYPE_FUNDY | |
12658 | # endif | |
12659 | # define machine_is_fundy() (machine_arch_type == MACH_TYPE_FUNDY) | |
12660 | #else | |
12661 | # define machine_is_fundy() (0) | |
12662 | #endif | |
12663 | ||
12664 | #ifdef CONFIG_MACH_LOGICPD_PXA270 | |
12665 | # ifdef machine_arch_type | |
12666 | # undef machine_arch_type | |
12667 | # define machine_arch_type __machine_arch_type | |
12668 | # else | |
12669 | # define machine_arch_type MACH_TYPE_LOGICPD_PXA270 | |
12670 | # endif | |
12671 | # define machine_is_logicpd_pxa270() (machine_arch_type == MACH_TYPE_LOGICPD_PXA270) | |
12672 | #else | |
12673 | # define machine_is_logicpd_pxa270() (0) | |
12674 | #endif | |
12675 | ||
12676 | #ifdef CONFIG_MACH_CPU777 | |
12677 | # ifdef machine_arch_type | |
12678 | # undef machine_arch_type | |
12679 | # define machine_arch_type __machine_arch_type | |
12680 | # else | |
12681 | # define machine_arch_type MACH_TYPE_CPU777 | |
12682 | # endif | |
12683 | # define machine_is_cpu777() (machine_arch_type == MACH_TYPE_CPU777) | |
12684 | #else | |
12685 | # define machine_is_cpu777() (0) | |
12686 | #endif | |
12687 | ||
12688 | #ifdef CONFIG_MACH_SIMICON9201 | |
12689 | # ifdef machine_arch_type | |
12690 | # undef machine_arch_type | |
12691 | # define machine_arch_type __machine_arch_type | |
12692 | # else | |
12693 | # define machine_arch_type MACH_TYPE_SIMICON9201 | |
12694 | # endif | |
12695 | # define machine_is_simicon9201() (machine_arch_type == MACH_TYPE_SIMICON9201) | |
12696 | #else | |
12697 | # define machine_is_simicon9201() (0) | |
12698 | #endif | |
12699 | ||
12700 | #ifdef CONFIG_MACH_LEAP2_HPM | |
12701 | # ifdef machine_arch_type | |
12702 | # undef machine_arch_type | |
12703 | # define machine_arch_type __machine_arch_type | |
12704 | # else | |
12705 | # define machine_arch_type MACH_TYPE_LEAP2_HPM | |
12706 | # endif | |
12707 | # define machine_is_leap2_hpm() (machine_arch_type == MACH_TYPE_LEAP2_HPM) | |
12708 | #else | |
12709 | # define machine_is_leap2_hpm() (0) | |
12710 | #endif | |
12711 | ||
12712 | #ifdef CONFIG_MACH_CM922TXA10 | |
12713 | # ifdef machine_arch_type | |
12714 | # undef machine_arch_type | |
12715 | # define machine_arch_type __machine_arch_type | |
12716 | # else | |
12717 | # define machine_arch_type MACH_TYPE_CM922TXA10 | |
12718 | # endif | |
12719 | # define machine_is_cm922txa10() (machine_arch_type == MACH_TYPE_CM922TXA10) | |
12720 | #else | |
12721 | # define machine_is_cm922txa10() (0) | |
12722 | #endif | |
12723 | ||
12724 | #ifdef CONFIG_MACH_PXA | |
12725 | # ifdef machine_arch_type | |
12726 | # undef machine_arch_type | |
12727 | # define machine_arch_type __machine_arch_type | |
12728 | # else | |
12729 | # define machine_arch_type MACH_TYPE_PXA | |
12730 | # endif | |
12731 | # define machine_is_sandgate() (machine_arch_type == MACH_TYPE_PXA) | |
12732 | #else | |
12733 | # define machine_is_sandgate() (0) | |
12734 | #endif | |
12735 | ||
12736 | #ifdef CONFIG_MACH_SANDGATE2 | |
12737 | # ifdef machine_arch_type | |
12738 | # undef machine_arch_type | |
12739 | # define machine_arch_type __machine_arch_type | |
12740 | # else | |
12741 | # define machine_arch_type MACH_TYPE_SANDGATE2 | |
12742 | # endif | |
12743 | # define machine_is_sandgate2() (machine_arch_type == MACH_TYPE_SANDGATE2) | |
12744 | #else | |
12745 | # define machine_is_sandgate2() (0) | |
12746 | #endif | |
12747 | ||
12748 | #ifdef CONFIG_MACH_SANDGATE2G | |
12749 | # ifdef machine_arch_type | |
12750 | # undef machine_arch_type | |
12751 | # define machine_arch_type __machine_arch_type | |
12752 | # else | |
12753 | # define machine_arch_type MACH_TYPE_SANDGATE2G | |
12754 | # endif | |
12755 | # define machine_is_sandgate2g() (machine_arch_type == MACH_TYPE_SANDGATE2G) | |
12756 | #else | |
12757 | # define machine_is_sandgate2g() (0) | |
12758 | #endif | |
12759 | ||
12760 | #ifdef CONFIG_MACH_SANDGATE2P | |
12761 | # ifdef machine_arch_type | |
12762 | # undef machine_arch_type | |
12763 | # define machine_arch_type __machine_arch_type | |
12764 | # else | |
12765 | # define machine_arch_type MACH_TYPE_SANDGATE2P | |
12766 | # endif | |
12767 | # define machine_is_sandgate2p() (machine_arch_type == MACH_TYPE_SANDGATE2P) | |
12768 | #else | |
12769 | # define machine_is_sandgate2p() (0) | |
12770 | #endif | |
12771 | ||
12772 | #ifdef CONFIG_MACH_FRED_JACK | |
12773 | # ifdef machine_arch_type | |
12774 | # undef machine_arch_type | |
12775 | # define machine_arch_type __machine_arch_type | |
12776 | # else | |
12777 | # define machine_arch_type MACH_TYPE_FRED_JACK | |
12778 | # endif | |
12779 | # define machine_is_fred_jack() (machine_arch_type == MACH_TYPE_FRED_JACK) | |
12780 | #else | |
12781 | # define machine_is_fred_jack() (0) | |
12782 | #endif | |
12783 | ||
12784 | #ifdef CONFIG_MACH_TTG_COLOR1 | |
12785 | # ifdef machine_arch_type | |
12786 | # undef machine_arch_type | |
12787 | # define machine_arch_type __machine_arch_type | |
12788 | # else | |
12789 | # define machine_arch_type MACH_TYPE_TTG_COLOR1 | |
12790 | # endif | |
12791 | # define machine_is_ttg_color1() (machine_arch_type == MACH_TYPE_TTG_COLOR1) | |
12792 | #else | |
12793 | # define machine_is_ttg_color1() (0) | |
12794 | #endif | |
12795 | ||
12796 | #ifdef CONFIG_MACH_NXEB500HMI | |
12797 | # ifdef machine_arch_type | |
12798 | # undef machine_arch_type | |
12799 | # define machine_arch_type __machine_arch_type | |
12800 | # else | |
12801 | # define machine_arch_type MACH_TYPE_NXEB500HMI | |
12802 | # endif | |
12803 | # define machine_is_nxeb500hmi() (machine_arch_type == MACH_TYPE_NXEB500HMI) | |
12804 | #else | |
12805 | # define machine_is_nxeb500hmi() (0) | |
12806 | #endif | |
12807 | ||
12808 | #ifdef CONFIG_MACH_NETDCU8 | |
12809 | # ifdef machine_arch_type | |
12810 | # undef machine_arch_type | |
12811 | # define machine_arch_type __machine_arch_type | |
12812 | # else | |
12813 | # define machine_arch_type MACH_TYPE_NETDCU8 | |
12814 | # endif | |
12815 | # define machine_is_netdcu8() (machine_arch_type == MACH_TYPE_NETDCU8) | |
12816 | #else | |
12817 | # define machine_is_netdcu8() (0) | |
12818 | #endif | |
12819 | ||
f43ad539 WD |
12820 | #ifdef CONFIG_MACH_NG_FVX538 |
12821 | # ifdef machine_arch_type | |
12822 | # undef machine_arch_type | |
12823 | # define machine_arch_type __machine_arch_type | |
12824 | # else | |
12825 | # define machine_arch_type MACH_TYPE_NG_FVX538 | |
12826 | # endif | |
12827 | # define machine_is_ng_fvx538() (machine_arch_type == MACH_TYPE_NG_FVX538) | |
12828 | #else | |
12829 | # define machine_is_ng_fvx538() (0) | |
12830 | #endif | |
12831 | ||
12832 | #ifdef CONFIG_MACH_NG_FVS338 | |
12833 | # ifdef machine_arch_type | |
12834 | # undef machine_arch_type | |
12835 | # define machine_arch_type __machine_arch_type | |
12836 | # else | |
12837 | # define machine_arch_type MACH_TYPE_NG_FVS338 | |
12838 | # endif | |
12839 | # define machine_is_ng_fvs338() (machine_arch_type == MACH_TYPE_NG_FVS338) | |
12840 | #else | |
12841 | # define machine_is_ng_fvs338() (0) | |
12842 | #endif | |
12843 | ||
12844 | #ifdef CONFIG_MACH_PNX4103 | |
12845 | # ifdef machine_arch_type | |
12846 | # undef machine_arch_type | |
12847 | # define machine_arch_type __machine_arch_type | |
12848 | # else | |
12849 | # define machine_arch_type MACH_TYPE_PNX4103 | |
12850 | # endif | |
12851 | # define machine_is_pnx4103() (machine_arch_type == MACH_TYPE_PNX4103) | |
12852 | #else | |
12853 | # define machine_is_pnx4103() (0) | |
12854 | #endif | |
12855 | ||
12856 | #ifdef CONFIG_MACH_HESDB | |
12857 | # ifdef machine_arch_type | |
12858 | # undef machine_arch_type | |
12859 | # define machine_arch_type __machine_arch_type | |
12860 | # else | |
12861 | # define machine_arch_type MACH_TYPE_HESDB | |
12862 | # endif | |
12863 | # define machine_is_hesdb() (machine_arch_type == MACH_TYPE_HESDB) | |
12864 | #else | |
12865 | # define machine_is_hesdb() (0) | |
12866 | #endif | |
12867 | ||
12868 | #ifdef CONFIG_MACH_XSILO | |
12869 | # ifdef machine_arch_type | |
12870 | # undef machine_arch_type | |
12871 | # define machine_arch_type __machine_arch_type | |
12872 | # else | |
12873 | # define machine_arch_type MACH_TYPE_XSILO | |
12874 | # endif | |
12875 | # define machine_is_xsilo() (machine_arch_type == MACH_TYPE_XSILO) | |
12876 | #else | |
12877 | # define machine_is_xsilo() (0) | |
12878 | #endif | |
12879 | ||
12880 | #ifdef CONFIG_MACH_ESPRESSO | |
12881 | # ifdef machine_arch_type | |
12882 | # undef machine_arch_type | |
12883 | # define machine_arch_type __machine_arch_type | |
12884 | # else | |
12885 | # define machine_arch_type MACH_TYPE_ESPRESSO | |
12886 | # endif | |
12887 | # define machine_is_espresso() (machine_arch_type == MACH_TYPE_ESPRESSO) | |
12888 | #else | |
12889 | # define machine_is_espresso() (0) | |
12890 | #endif | |
12891 | ||
12892 | #ifdef CONFIG_MACH_EMLC | |
12893 | # ifdef machine_arch_type | |
12894 | # undef machine_arch_type | |
12895 | # define machine_arch_type __machine_arch_type | |
12896 | # else | |
12897 | # define machine_arch_type MACH_TYPE_EMLC | |
12898 | # endif | |
12899 | # define machine_is_emlc() (machine_arch_type == MACH_TYPE_EMLC) | |
12900 | #else | |
12901 | # define machine_is_emlc() (0) | |
12902 | #endif | |
12903 | ||
12904 | #ifdef CONFIG_MACH_SISTERON | |
12905 | # ifdef machine_arch_type | |
12906 | # undef machine_arch_type | |
12907 | # define machine_arch_type __machine_arch_type | |
12908 | # else | |
12909 | # define machine_arch_type MACH_TYPE_SISTERON | |
12910 | # endif | |
12911 | # define machine_is_sisteron() (machine_arch_type == MACH_TYPE_SISTERON) | |
12912 | #else | |
12913 | # define machine_is_sisteron() (0) | |
12914 | #endif | |
12915 | ||
12916 | #ifdef CONFIG_MACH_RX1950 | |
12917 | # ifdef machine_arch_type | |
12918 | # undef machine_arch_type | |
12919 | # define machine_arch_type __machine_arch_type | |
12920 | # else | |
12921 | # define machine_arch_type MACH_TYPE_RX1950 | |
12922 | # endif | |
12923 | # define machine_is_rx1950() (machine_arch_type == MACH_TYPE_RX1950) | |
12924 | #else | |
12925 | # define machine_is_rx1950() (0) | |
12926 | #endif | |
12927 | ||
12928 | #ifdef CONFIG_MACH_TSC_VENUS | |
12929 | # ifdef machine_arch_type | |
12930 | # undef machine_arch_type | |
12931 | # define machine_arch_type __machine_arch_type | |
12932 | # else | |
12933 | # define machine_arch_type MACH_TYPE_TSC_VENUS | |
12934 | # endif | |
12935 | # define machine_is_tsc_venus() (machine_arch_type == MACH_TYPE_TSC_VENUS) | |
12936 | #else | |
12937 | # define machine_is_tsc_venus() (0) | |
12938 | #endif | |
12939 | ||
12940 | #ifdef CONFIG_MACH_DS101J | |
12941 | # ifdef machine_arch_type | |
12942 | # undef machine_arch_type | |
12943 | # define machine_arch_type __machine_arch_type | |
12944 | # else | |
12945 | # define machine_arch_type MACH_TYPE_DS101J | |
12946 | # endif | |
12947 | # define machine_is_ds101j() (machine_arch_type == MACH_TYPE_DS101J) | |
12948 | #else | |
12949 | # define machine_is_ds101j() (0) | |
12950 | #endif | |
12951 | ||
12952 | #ifdef CONFIG_MACH_MXC30030ADS | |
12953 | # ifdef machine_arch_type | |
12954 | # undef machine_arch_type | |
12955 | # define machine_arch_type __machine_arch_type | |
12956 | # else | |
12957 | # define machine_arch_type MACH_TYPE_MXC30030ADS | |
12958 | # endif | |
12959 | # define machine_is_mxc30030ads() (machine_arch_type == MACH_TYPE_MXC30030ADS) | |
12960 | #else | |
12961 | # define machine_is_mxc30030ads() (0) | |
12962 | #endif | |
12963 | ||
12964 | #ifdef CONFIG_MACH_FUJITSU_WIMAXSOC | |
12965 | # ifdef machine_arch_type | |
12966 | # undef machine_arch_type | |
12967 | # define machine_arch_type __machine_arch_type | |
12968 | # else | |
12969 | # define machine_arch_type MACH_TYPE_FUJITSU_WIMAXSOC | |
12970 | # endif | |
12971 | # define machine_is_fujitsu_wimaxsoc() (machine_arch_type == MACH_TYPE_FUJITSU_WIMAXSOC) | |
12972 | #else | |
12973 | # define machine_is_fujitsu_wimaxsoc() (0) | |
12974 | #endif | |
12975 | ||
12976 | #ifdef CONFIG_MACH_DUALPCMODEM | |
12977 | # ifdef machine_arch_type | |
12978 | # undef machine_arch_type | |
12979 | # define machine_arch_type __machine_arch_type | |
12980 | # else | |
12981 | # define machine_arch_type MACH_TYPE_DUALPCMODEM | |
12982 | # endif | |
12983 | # define machine_is_dualpcmodem() (machine_arch_type == MACH_TYPE_DUALPCMODEM) | |
12984 | #else | |
12985 | # define machine_is_dualpcmodem() (0) | |
12986 | #endif | |
12987 | ||
12988 | #ifdef CONFIG_MACH_GESBC9312 | |
12989 | # ifdef machine_arch_type | |
12990 | # undef machine_arch_type | |
12991 | # define machine_arch_type __machine_arch_type | |
12992 | # else | |
12993 | # define machine_arch_type MACH_TYPE_GESBC9312 | |
12994 | # endif | |
12995 | # define machine_is_gesbc9312() (machine_arch_type == MACH_TYPE_GESBC9312) | |
12996 | #else | |
12997 | # define machine_is_gesbc9312() (0) | |
12998 | #endif | |
12999 | ||
13000 | #ifdef CONFIG_MACH_HTCAPACHE | |
13001 | # ifdef machine_arch_type | |
13002 | # undef machine_arch_type | |
13003 | # define machine_arch_type __machine_arch_type | |
13004 | # else | |
13005 | # define machine_arch_type MACH_TYPE_HTCAPACHE | |
13006 | # endif | |
13007 | # define machine_is_htcapache() (machine_arch_type == MACH_TYPE_HTCAPACHE) | |
13008 | #else | |
13009 | # define machine_is_htcapache() (0) | |
13010 | #endif | |
13011 | ||
13012 | #ifdef CONFIG_MACH_IXDP435 | |
13013 | # ifdef machine_arch_type | |
13014 | # undef machine_arch_type | |
13015 | # define machine_arch_type __machine_arch_type | |
13016 | # else | |
13017 | # define machine_arch_type MACH_TYPE_IXDP435 | |
13018 | # endif | |
13019 | # define machine_is_ixdp435() (machine_arch_type == MACH_TYPE_IXDP435) | |
13020 | #else | |
13021 | # define machine_is_ixdp435() (0) | |
13022 | #endif | |
13023 | ||
13024 | #ifdef CONFIG_MACH_CATPROVT100 | |
13025 | # ifdef machine_arch_type | |
13026 | # undef machine_arch_type | |
13027 | # define machine_arch_type __machine_arch_type | |
13028 | # else | |
13029 | # define machine_arch_type MACH_TYPE_CATPROVT100 | |
13030 | # endif | |
13031 | # define machine_is_catprovt100() (machine_arch_type == MACH_TYPE_CATPROVT100) | |
13032 | #else | |
13033 | # define machine_is_catprovt100() (0) | |
13034 | #endif | |
13035 | ||
13036 | #ifdef CONFIG_MACH_PICOTUX1XX | |
13037 | # ifdef machine_arch_type | |
13038 | # undef machine_arch_type | |
13039 | # define machine_arch_type __machine_arch_type | |
13040 | # else | |
13041 | # define machine_arch_type MACH_TYPE_PICOTUX1XX | |
13042 | # endif | |
13043 | # define machine_is_picotux1xx() (machine_arch_type == MACH_TYPE_PICOTUX1XX) | |
13044 | #else | |
13045 | # define machine_is_picotux1xx() (0) | |
13046 | #endif | |
13047 | ||
13048 | #ifdef CONFIG_MACH_PICOTUX2XX | |
13049 | # ifdef machine_arch_type | |
13050 | # undef machine_arch_type | |
13051 | # define machine_arch_type __machine_arch_type | |
13052 | # else | |
13053 | # define machine_arch_type MACH_TYPE_PICOTUX2XX | |
13054 | # endif | |
13055 | # define machine_is_picotux2xx() (machine_arch_type == MACH_TYPE_PICOTUX2XX) | |
13056 | #else | |
13057 | # define machine_is_picotux2xx() (0) | |
13058 | #endif | |
13059 | ||
13060 | #ifdef CONFIG_MACH_DSMG600 | |
13061 | # ifdef machine_arch_type | |
13062 | # undef machine_arch_type | |
13063 | # define machine_arch_type __machine_arch_type | |
13064 | # else | |
13065 | # define machine_arch_type MACH_TYPE_DSMG600 | |
13066 | # endif | |
13067 | # define machine_is_dsmg600() (machine_arch_type == MACH_TYPE_DSMG600) | |
13068 | #else | |
13069 | # define machine_is_dsmg600() (0) | |
13070 | #endif | |
13071 | ||
13072 | #ifdef CONFIG_MACH_EMPC2 | |
13073 | # ifdef machine_arch_type | |
13074 | # undef machine_arch_type | |
13075 | # define machine_arch_type __machine_arch_type | |
13076 | # else | |
13077 | # define machine_arch_type MACH_TYPE_EMPC2 | |
13078 | # endif | |
13079 | # define machine_is_empc2() (machine_arch_type == MACH_TYPE_EMPC2) | |
13080 | #else | |
13081 | # define machine_is_empc2() (0) | |
13082 | #endif | |
13083 | ||
13084 | #ifdef CONFIG_MACH_VENTURA | |
13085 | # ifdef machine_arch_type | |
13086 | # undef machine_arch_type | |
13087 | # define machine_arch_type __machine_arch_type | |
13088 | # else | |
13089 | # define machine_arch_type MACH_TYPE_VENTURA | |
13090 | # endif | |
13091 | # define machine_is_ventura() (machine_arch_type == MACH_TYPE_VENTURA) | |
13092 | #else | |
13093 | # define machine_is_ventura() (0) | |
13094 | #endif | |
13095 | ||
13096 | #ifdef CONFIG_MACH_PHIDGET_SBC | |
13097 | # ifdef machine_arch_type | |
13098 | # undef machine_arch_type | |
13099 | # define machine_arch_type __machine_arch_type | |
13100 | # else | |
13101 | # define machine_arch_type MACH_TYPE_PHIDGET_SBC | |
13102 | # endif | |
13103 | # define machine_is_phidget_sbc() (machine_arch_type == MACH_TYPE_PHIDGET_SBC) | |
13104 | #else | |
13105 | # define machine_is_phidget_sbc() (0) | |
13106 | #endif | |
13107 | ||
13108 | #ifdef CONFIG_MACH_IJ3K | |
13109 | # ifdef machine_arch_type | |
13110 | # undef machine_arch_type | |
13111 | # define machine_arch_type __machine_arch_type | |
13112 | # else | |
13113 | # define machine_arch_type MACH_TYPE_IJ3K | |
13114 | # endif | |
13115 | # define machine_is_ij3k() (machine_arch_type == MACH_TYPE_IJ3K) | |
13116 | #else | |
13117 | # define machine_is_ij3k() (0) | |
13118 | #endif | |
13119 | ||
13120 | #ifdef CONFIG_MACH_PISGAH | |
13121 | # ifdef machine_arch_type | |
13122 | # undef machine_arch_type | |
13123 | # define machine_arch_type __machine_arch_type | |
13124 | # else | |
13125 | # define machine_arch_type MACH_TYPE_PISGAH | |
13126 | # endif | |
13127 | # define machine_is_pisgah() (machine_arch_type == MACH_TYPE_PISGAH) | |
13128 | #else | |
13129 | # define machine_is_pisgah() (0) | |
13130 | #endif | |
13131 | ||
13132 | #ifdef CONFIG_MACH_OMAP_FSAMPLE | |
13133 | # ifdef machine_arch_type | |
13134 | # undef machine_arch_type | |
13135 | # define machine_arch_type __machine_arch_type | |
13136 | # else | |
13137 | # define machine_arch_type MACH_TYPE_OMAP_FSAMPLE | |
13138 | # endif | |
13139 | # define machine_is_omap_fsample() (machine_arch_type == MACH_TYPE_OMAP_FSAMPLE) | |
13140 | #else | |
13141 | # define machine_is_omap_fsample() (0) | |
13142 | #endif | |
13143 | ||
13144 | #ifdef CONFIG_MACH_SG720 | |
13145 | # ifdef machine_arch_type | |
13146 | # undef machine_arch_type | |
13147 | # define machine_arch_type __machine_arch_type | |
13148 | # else | |
13149 | # define machine_arch_type MACH_TYPE_SG720 | |
13150 | # endif | |
13151 | # define machine_is_sg720() (machine_arch_type == MACH_TYPE_SG720) | |
13152 | #else | |
13153 | # define machine_is_sg720() (0) | |
13154 | #endif | |
13155 | ||
13156 | #ifdef CONFIG_MACH_REDFOX | |
13157 | # ifdef machine_arch_type | |
13158 | # undef machine_arch_type | |
13159 | # define machine_arch_type __machine_arch_type | |
13160 | # else | |
13161 | # define machine_arch_type MACH_TYPE_REDFOX | |
13162 | # endif | |
13163 | # define machine_is_redfox() (machine_arch_type == MACH_TYPE_REDFOX) | |
13164 | #else | |
13165 | # define machine_is_redfox() (0) | |
13166 | #endif | |
13167 | ||
13168 | #ifdef CONFIG_MACH_MYSH_EP9315_1 | |
13169 | # ifdef machine_arch_type | |
13170 | # undef machine_arch_type | |
13171 | # define machine_arch_type __machine_arch_type | |
13172 | # else | |
13173 | # define machine_arch_type MACH_TYPE_MYSH_EP9315_1 | |
13174 | # endif | |
13175 | # define machine_is_mysh_ep9315_1() (machine_arch_type == MACH_TYPE_MYSH_EP9315_1) | |
13176 | #else | |
13177 | # define machine_is_mysh_ep9315_1() (0) | |
13178 | #endif | |
13179 | ||
13180 | #ifdef CONFIG_MACH_TPF106 | |
13181 | # ifdef machine_arch_type | |
13182 | # undef machine_arch_type | |
13183 | # define machine_arch_type __machine_arch_type | |
13184 | # else | |
13185 | # define machine_arch_type MACH_TYPE_TPF106 | |
13186 | # endif | |
13187 | # define machine_is_tpf106() (machine_arch_type == MACH_TYPE_TPF106) | |
13188 | #else | |
13189 | # define machine_is_tpf106() (0) | |
13190 | #endif | |
13191 | ||
13192 | #ifdef CONFIG_MACH_AT91RM9200KG | |
13193 | # ifdef machine_arch_type | |
13194 | # undef machine_arch_type | |
13195 | # define machine_arch_type __machine_arch_type | |
13196 | # else | |
13197 | # define machine_arch_type MACH_TYPE_AT91RM9200KG | |
13198 | # endif | |
13199 | # define machine_is_at91rm9200kg() (machine_arch_type == MACH_TYPE_AT91RM9200KG) | |
13200 | #else | |
13201 | # define machine_is_at91rm9200kg() (0) | |
13202 | #endif | |
13203 | ||
13204 | #ifdef CONFIG_MACH_SLEDB | |
13205 | # ifdef machine_arch_type | |
13206 | # undef machine_arch_type | |
13207 | # define machine_arch_type __machine_arch_type | |
13208 | # else | |
13209 | # define machine_arch_type MACH_TYPE_SLEDB | |
13210 | # endif | |
13211 | # define machine_is_rcmt2() (machine_arch_type == MACH_TYPE_SLEDB) | |
13212 | #else | |
13213 | # define machine_is_rcmt2() (0) | |
13214 | #endif | |
13215 | ||
13216 | #ifdef CONFIG_MACH_ONTRACK | |
13217 | # ifdef machine_arch_type | |
13218 | # undef machine_arch_type | |
13219 | # define machine_arch_type __machine_arch_type | |
13220 | # else | |
13221 | # define machine_arch_type MACH_TYPE_ONTRACK | |
13222 | # endif | |
13223 | # define machine_is_ontrack() (machine_arch_type == MACH_TYPE_ONTRACK) | |
13224 | #else | |
13225 | # define machine_is_ontrack() (0) | |
13226 | #endif | |
13227 | ||
13228 | #ifdef CONFIG_MACH_PM1200 | |
13229 | # ifdef machine_arch_type | |
13230 | # undef machine_arch_type | |
13231 | # define machine_arch_type __machine_arch_type | |
13232 | # else | |
13233 | # define machine_arch_type MACH_TYPE_PM1200 | |
13234 | # endif | |
13235 | # define machine_is_pm1200() (machine_arch_type == MACH_TYPE_PM1200) | |
13236 | #else | |
13237 | # define machine_is_pm1200() (0) | |
13238 | #endif | |
13239 | ||
13240 | #ifdef CONFIG_MACH_ESS24XXX | |
13241 | # ifdef machine_arch_type | |
13242 | # undef machine_arch_type | |
13243 | # define machine_arch_type __machine_arch_type | |
13244 | # else | |
13245 | # define machine_arch_type MACH_TYPE_ESS24XXX | |
13246 | # endif | |
13247 | # define machine_is_ess24562() (machine_arch_type == MACH_TYPE_ESS24XXX) | |
13248 | #else | |
13249 | # define machine_is_ess24562() (0) | |
13250 | #endif | |
13251 | ||
13252 | #ifdef CONFIG_MACH_COREMP7 | |
13253 | # ifdef machine_arch_type | |
13254 | # undef machine_arch_type | |
13255 | # define machine_arch_type __machine_arch_type | |
13256 | # else | |
13257 | # define machine_arch_type MACH_TYPE_COREMP7 | |
13258 | # endif | |
13259 | # define machine_is_coremp7() (machine_arch_type == MACH_TYPE_COREMP7) | |
13260 | #else | |
13261 | # define machine_is_coremp7() (0) | |
13262 | #endif | |
13263 | ||
13264 | #ifdef CONFIG_MACH_NEXCODER_6446 | |
13265 | # ifdef machine_arch_type | |
13266 | # undef machine_arch_type | |
13267 | # define machine_arch_type __machine_arch_type | |
13268 | # else | |
13269 | # define machine_arch_type MACH_TYPE_NEXCODER_6446 | |
13270 | # endif | |
13271 | # define machine_is_nexcoder_6446() (machine_arch_type == MACH_TYPE_NEXCODER_6446) | |
13272 | #else | |
13273 | # define machine_is_nexcoder_6446() (0) | |
13274 | #endif | |
13275 | ||
13276 | #ifdef CONFIG_MACH_STVC8380 | |
13277 | # ifdef machine_arch_type | |
13278 | # undef machine_arch_type | |
13279 | # define machine_arch_type __machine_arch_type | |
13280 | # else | |
13281 | # define machine_arch_type MACH_TYPE_STVC8380 | |
13282 | # endif | |
13283 | # define machine_is_stvc8380() (machine_arch_type == MACH_TYPE_STVC8380) | |
13284 | #else | |
13285 | # define machine_is_stvc8380() (0) | |
13286 | #endif | |
13287 | ||
13288 | #ifdef CONFIG_MACH_TEKLYNX | |
13289 | # ifdef machine_arch_type | |
13290 | # undef machine_arch_type | |
13291 | # define machine_arch_type __machine_arch_type | |
13292 | # else | |
13293 | # define machine_arch_type MACH_TYPE_TEKLYNX | |
13294 | # endif | |
13295 | # define machine_is_teklynx() (machine_arch_type == MACH_TYPE_TEKLYNX) | |
13296 | #else | |
13297 | # define machine_is_teklynx() (0) | |
13298 | #endif | |
13299 | ||
13300 | #ifdef CONFIG_MACH_CARBONADO | |
13301 | # ifdef machine_arch_type | |
13302 | # undef machine_arch_type | |
13303 | # define machine_arch_type __machine_arch_type | |
13304 | # else | |
13305 | # define machine_arch_type MACH_TYPE_CARBONADO | |
13306 | # endif | |
13307 | # define machine_is_carbonado() (machine_arch_type == MACH_TYPE_CARBONADO) | |
13308 | #else | |
13309 | # define machine_is_carbonado() (0) | |
13310 | #endif | |
13311 | ||
13312 | #ifdef CONFIG_MACH_SYSMOS_MP730 | |
13313 | # ifdef machine_arch_type | |
13314 | # undef machine_arch_type | |
13315 | # define machine_arch_type __machine_arch_type | |
13316 | # else | |
13317 | # define machine_arch_type MACH_TYPE_SYSMOS_MP730 | |
13318 | # endif | |
13319 | # define machine_is_sysmos_mp730() (machine_arch_type == MACH_TYPE_SYSMOS_MP730) | |
13320 | #else | |
13321 | # define machine_is_sysmos_mp730() (0) | |
13322 | #endif | |
13323 | ||
13324 | #ifdef CONFIG_MACH_SNAPPER_CL15 | |
13325 | # ifdef machine_arch_type | |
13326 | # undef machine_arch_type | |
13327 | # define machine_arch_type __machine_arch_type | |
13328 | # else | |
13329 | # define machine_arch_type MACH_TYPE_SNAPPER_CL15 | |
13330 | # endif | |
13331 | # define machine_is_snapper_cl15() (machine_arch_type == MACH_TYPE_SNAPPER_CL15) | |
13332 | #else | |
13333 | # define machine_is_snapper_cl15() (0) | |
13334 | #endif | |
13335 | ||
13336 | #ifdef CONFIG_MACH_PGIGIM | |
13337 | # ifdef machine_arch_type | |
13338 | # undef machine_arch_type | |
13339 | # define machine_arch_type __machine_arch_type | |
13340 | # else | |
13341 | # define machine_arch_type MACH_TYPE_PGIGIM | |
13342 | # endif | |
13343 | # define machine_is_pgigim() (machine_arch_type == MACH_TYPE_PGIGIM) | |
13344 | #else | |
13345 | # define machine_is_pgigim() (0) | |
13346 | #endif | |
13347 | ||
13348 | #ifdef CONFIG_MACH_PTX9160P2 | |
13349 | # ifdef machine_arch_type | |
13350 | # undef machine_arch_type | |
13351 | # define machine_arch_type __machine_arch_type | |
13352 | # else | |
13353 | # define machine_arch_type MACH_TYPE_PTX9160P2 | |
13354 | # endif | |
13355 | # define machine_is_ptx9160p2() (machine_arch_type == MACH_TYPE_PTX9160P2) | |
13356 | #else | |
13357 | # define machine_is_ptx9160p2() (0) | |
13358 | #endif | |
13359 | ||
13360 | #ifdef CONFIG_MACH_DCORE1 | |
13361 | # ifdef machine_arch_type | |
13362 | # undef machine_arch_type | |
13363 | # define machine_arch_type __machine_arch_type | |
13364 | # else | |
13365 | # define machine_arch_type MACH_TYPE_DCORE1 | |
13366 | # endif | |
13367 | # define machine_is_dcore1() (machine_arch_type == MACH_TYPE_DCORE1) | |
13368 | #else | |
13369 | # define machine_is_dcore1() (0) | |
13370 | #endif | |
13371 | ||
13372 | #ifdef CONFIG_MACH_VICTORPXA | |
13373 | # ifdef machine_arch_type | |
13374 | # undef machine_arch_type | |
13375 | # define machine_arch_type __machine_arch_type | |
13376 | # else | |
13377 | # define machine_arch_type MACH_TYPE_VICTORPXA | |
13378 | # endif | |
13379 | # define machine_is_victorpxa() (machine_arch_type == MACH_TYPE_VICTORPXA) | |
13380 | #else | |
13381 | # define machine_is_victorpxa() (0) | |
13382 | #endif | |
13383 | ||
13384 | #ifdef CONFIG_MACH_MX2DTB | |
13385 | # ifdef machine_arch_type | |
13386 | # undef machine_arch_type | |
13387 | # define machine_arch_type __machine_arch_type | |
13388 | # else | |
13389 | # define machine_arch_type MACH_TYPE_MX2DTB | |
13390 | # endif | |
13391 | # define machine_is_mx2dtb() (machine_arch_type == MACH_TYPE_MX2DTB) | |
13392 | #else | |
13393 | # define machine_is_mx2dtb() (0) | |
13394 | #endif | |
13395 | ||
13396 | #ifdef CONFIG_MACH_PXA_IREX_ER0100 | |
13397 | # ifdef machine_arch_type | |
13398 | # undef machine_arch_type | |
13399 | # define machine_arch_type __machine_arch_type | |
13400 | # else | |
13401 | # define machine_arch_type MACH_TYPE_PXA_IREX_ER0100 | |
13402 | # endif | |
13403 | # define machine_is_pxa_irex_er0100() (machine_arch_type == MACH_TYPE_PXA_IREX_ER0100) | |
13404 | #else | |
13405 | # define machine_is_pxa_irex_er0100() (0) | |
13406 | #endif | |
13407 | ||
13408 | #ifdef CONFIG_MACH_OMAP_PALMZ71 | |
13409 | # ifdef machine_arch_type | |
13410 | # undef machine_arch_type | |
13411 | # define machine_arch_type __machine_arch_type | |
13412 | # else | |
13413 | # define machine_arch_type MACH_TYPE_OMAP_PALMZ71 | |
13414 | # endif | |
13415 | # define machine_is_omap_palmz71() (machine_arch_type == MACH_TYPE_OMAP_PALMZ71) | |
13416 | #else | |
13417 | # define machine_is_omap_palmz71() (0) | |
13418 | #endif | |
13419 | ||
13420 | #ifdef CONFIG_MACH_BARTEC_DEG | |
13421 | # ifdef machine_arch_type | |
13422 | # undef machine_arch_type | |
13423 | # define machine_arch_type __machine_arch_type | |
13424 | # else | |
13425 | # define machine_arch_type MACH_TYPE_BARTEC_DEG | |
13426 | # endif | |
13427 | # define machine_is_bartec_deg() (machine_arch_type == MACH_TYPE_BARTEC_DEG) | |
13428 | #else | |
13429 | # define machine_is_bartec_deg() (0) | |
13430 | #endif | |
13431 | ||
13432 | #ifdef CONFIG_MACH_HW50251 | |
13433 | # ifdef machine_arch_type | |
13434 | # undef machine_arch_type | |
13435 | # define machine_arch_type __machine_arch_type | |
13436 | # else | |
13437 | # define machine_arch_type MACH_TYPE_HW50251 | |
13438 | # endif | |
13439 | # define machine_is_hw50251() (machine_arch_type == MACH_TYPE_HW50251) | |
13440 | #else | |
13441 | # define machine_is_hw50251() (0) | |
13442 | #endif | |
13443 | ||
13444 | #ifdef CONFIG_MACH_IBOX | |
13445 | # ifdef machine_arch_type | |
13446 | # undef machine_arch_type | |
13447 | # define machine_arch_type __machine_arch_type | |
13448 | # else | |
13449 | # define machine_arch_type MACH_TYPE_IBOX | |
13450 | # endif | |
13451 | # define machine_is_ibox() (machine_arch_type == MACH_TYPE_IBOX) | |
13452 | #else | |
13453 | # define machine_is_ibox() (0) | |
13454 | #endif | |
13455 | ||
13456 | #ifdef CONFIG_MACH_ATLASLH7A404 | |
13457 | # ifdef machine_arch_type | |
13458 | # undef machine_arch_type | |
13459 | # define machine_arch_type __machine_arch_type | |
13460 | # else | |
13461 | # define machine_arch_type MACH_TYPE_ATLASLH7A404 | |
13462 | # endif | |
13463 | # define machine_is_atlaslh7a404() (machine_arch_type == MACH_TYPE_ATLASLH7A404) | |
13464 | #else | |
13465 | # define machine_is_atlaslh7a404() (0) | |
13466 | #endif | |
13467 | ||
13468 | #ifdef CONFIG_MACH_PT2026 | |
13469 | # ifdef machine_arch_type | |
13470 | # undef machine_arch_type | |
13471 | # define machine_arch_type __machine_arch_type | |
13472 | # else | |
13473 | # define machine_arch_type MACH_TYPE_PT2026 | |
13474 | # endif | |
13475 | # define machine_is_pt2026() (machine_arch_type == MACH_TYPE_PT2026) | |
13476 | #else | |
13477 | # define machine_is_pt2026() (0) | |
13478 | #endif | |
13479 | ||
13480 | #ifdef CONFIG_MACH_HTCALPINE | |
13481 | # ifdef machine_arch_type | |
13482 | # undef machine_arch_type | |
13483 | # define machine_arch_type __machine_arch_type | |
13484 | # else | |
13485 | # define machine_arch_type MACH_TYPE_HTCALPINE | |
13486 | # endif | |
13487 | # define machine_is_htcalpine() (machine_arch_type == MACH_TYPE_HTCALPINE) | |
13488 | #else | |
13489 | # define machine_is_htcalpine() (0) | |
13490 | #endif | |
13491 | ||
13492 | #ifdef CONFIG_MACH_BARTEC_VTU | |
13493 | # ifdef machine_arch_type | |
13494 | # undef machine_arch_type | |
13495 | # define machine_arch_type __machine_arch_type | |
13496 | # else | |
13497 | # define machine_arch_type MACH_TYPE_BARTEC_VTU | |
13498 | # endif | |
13499 | # define machine_is_bartec_vtu() (machine_arch_type == MACH_TYPE_BARTEC_VTU) | |
13500 | #else | |
13501 | # define machine_is_bartec_vtu() (0) | |
13502 | #endif | |
13503 | ||
13504 | #ifdef CONFIG_MACH_VCOREII | |
13505 | # ifdef machine_arch_type | |
13506 | # undef machine_arch_type | |
13507 | # define machine_arch_type __machine_arch_type | |
13508 | # else | |
13509 | # define machine_arch_type MACH_TYPE_VCOREII | |
13510 | # endif | |
13511 | # define machine_is_vcoreii() (machine_arch_type == MACH_TYPE_VCOREII) | |
13512 | #else | |
13513 | # define machine_is_vcoreii() (0) | |
13514 | #endif | |
13515 | ||
13516 | #ifdef CONFIG_MACH_PDNB3 | |
13517 | # ifdef machine_arch_type | |
13518 | # undef machine_arch_type | |
13519 | # define machine_arch_type __machine_arch_type | |
13520 | # else | |
13521 | # define machine_arch_type MACH_TYPE_PDNB3 | |
13522 | # endif | |
13523 | # define machine_is_pdnb3() (machine_arch_type == MACH_TYPE_PDNB3) | |
13524 | #else | |
13525 | # define machine_is_pdnb3() (0) | |
13526 | #endif | |
13527 | ||
13528 | #ifdef CONFIG_MACH_HTCBEETLES | |
13529 | # ifdef machine_arch_type | |
13530 | # undef machine_arch_type | |
13531 | # define machine_arch_type __machine_arch_type | |
13532 | # else | |
13533 | # define machine_arch_type MACH_TYPE_HTCBEETLES | |
13534 | # endif | |
13535 | # define machine_is_htcbeetles() (machine_arch_type == MACH_TYPE_HTCBEETLES) | |
13536 | #else | |
13537 | # define machine_is_htcbeetles() (0) | |
13538 | #endif | |
13539 | ||
13540 | #ifdef CONFIG_MACH_S3C6400 | |
13541 | # ifdef machine_arch_type | |
13542 | # undef machine_arch_type | |
13543 | # define machine_arch_type __machine_arch_type | |
13544 | # else | |
13545 | # define machine_arch_type MACH_TYPE_S3C6400 | |
13546 | # endif | |
13547 | # define machine_is_s3c6400() (machine_arch_type == MACH_TYPE_S3C6400) | |
13548 | #else | |
13549 | # define machine_is_s3c6400() (0) | |
13550 | #endif | |
13551 | ||
13552 | #ifdef CONFIG_MACH_S3C2443 | |
13553 | # ifdef machine_arch_type | |
13554 | # undef machine_arch_type | |
13555 | # define machine_arch_type __machine_arch_type | |
13556 | # else | |
13557 | # define machine_arch_type MACH_TYPE_S3C2443 | |
13558 | # endif | |
13559 | # define machine_is_s3c2443() (machine_arch_type == MACH_TYPE_S3C2443) | |
13560 | #else | |
13561 | # define machine_is_s3c2443() (0) | |
13562 | #endif | |
13563 | ||
13564 | #ifdef CONFIG_MACH_OMAP_LDK | |
13565 | # ifdef machine_arch_type | |
13566 | # undef machine_arch_type | |
13567 | # define machine_arch_type __machine_arch_type | |
13568 | # else | |
13569 | # define machine_arch_type MACH_TYPE_OMAP_LDK | |
13570 | # endif | |
13571 | # define machine_is_omap_ldk() (machine_arch_type == MACH_TYPE_OMAP_LDK) | |
13572 | #else | |
13573 | # define machine_is_omap_ldk() (0) | |
13574 | #endif | |
13575 | ||
13576 | #ifdef CONFIG_MACH_SMDK2460 | |
13577 | # ifdef machine_arch_type | |
13578 | # undef machine_arch_type | |
13579 | # define machine_arch_type __machine_arch_type | |
13580 | # else | |
13581 | # define machine_arch_type MACH_TYPE_SMDK2460 | |
13582 | # endif | |
13583 | # define machine_is_smdk2460() (machine_arch_type == MACH_TYPE_SMDK2460) | |
13584 | #else | |
13585 | # define machine_is_smdk2460() (0) | |
13586 | #endif | |
13587 | ||
13588 | #ifdef CONFIG_MACH_SMDK2440 | |
13589 | # ifdef machine_arch_type | |
13590 | # undef machine_arch_type | |
13591 | # define machine_arch_type __machine_arch_type | |
13592 | # else | |
13593 | # define machine_arch_type MACH_TYPE_SMDK2440 | |
13594 | # endif | |
13595 | # define machine_is_smdk2440() (machine_arch_type == MACH_TYPE_SMDK2440) | |
13596 | #else | |
13597 | # define machine_is_smdk2440() (0) | |
13598 | #endif | |
13599 | ||
13600 | #ifdef CONFIG_MACH_SMDK2412 | |
13601 | # ifdef machine_arch_type | |
13602 | # undef machine_arch_type | |
13603 | # define machine_arch_type __machine_arch_type | |
13604 | # else | |
13605 | # define machine_arch_type MACH_TYPE_SMDK2412 | |
13606 | # endif | |
13607 | # define machine_is_smdk2412() (machine_arch_type == MACH_TYPE_SMDK2412) | |
13608 | #else | |
13609 | # define machine_is_smdk2412() (0) | |
13610 | #endif | |
13611 | ||
13612 | #ifdef CONFIG_MACH_WEBBOX | |
13613 | # ifdef machine_arch_type | |
13614 | # undef machine_arch_type | |
13615 | # define machine_arch_type __machine_arch_type | |
13616 | # else | |
13617 | # define machine_arch_type MACH_TYPE_WEBBOX | |
13618 | # endif | |
13619 | # define machine_is_webbox() (machine_arch_type == MACH_TYPE_WEBBOX) | |
13620 | #else | |
13621 | # define machine_is_webbox() (0) | |
13622 | #endif | |
13623 | ||
13624 | #ifdef CONFIG_MACH_CWWNDP | |
13625 | # ifdef machine_arch_type | |
13626 | # undef machine_arch_type | |
13627 | # define machine_arch_type __machine_arch_type | |
13628 | # else | |
13629 | # define machine_arch_type MACH_TYPE_CWWNDP | |
13630 | # endif | |
13631 | # define machine_is_cwwndp() (machine_arch_type == MACH_TYPE_CWWNDP) | |
13632 | #else | |
13633 | # define machine_is_cwwndp() (0) | |
13634 | #endif | |
13635 | ||
13636 | #ifdef CONFIG_MACH_DRAGON | |
13637 | # ifdef machine_arch_type | |
13638 | # undef machine_arch_type | |
13639 | # define machine_arch_type __machine_arch_type | |
13640 | # else | |
13641 | # define machine_arch_type MACH_TYPE_DRAGON | |
13642 | # endif | |
13643 | # define machine_is_i839() (machine_arch_type == MACH_TYPE_DRAGON) | |
13644 | #else | |
13645 | # define machine_is_i839() (0) | |
13646 | #endif | |
13647 | ||
13648 | #ifdef CONFIG_MACH_OPENDO_CPU_BOARD | |
13649 | # ifdef machine_arch_type | |
13650 | # undef machine_arch_type | |
13651 | # define machine_arch_type __machine_arch_type | |
13652 | # else | |
13653 | # define machine_arch_type MACH_TYPE_OPENDO_CPU_BOARD | |
13654 | # endif | |
13655 | # define machine_is_opendo_cpu_board() (machine_arch_type == MACH_TYPE_OPENDO_CPU_BOARD) | |
13656 | #else | |
13657 | # define machine_is_opendo_cpu_board() (0) | |
13658 | #endif | |
13659 | ||
13660 | #ifdef CONFIG_MACH_CCM2200 | |
13661 | # ifdef machine_arch_type | |
13662 | # undef machine_arch_type | |
13663 | # define machine_arch_type __machine_arch_type | |
13664 | # else | |
13665 | # define machine_arch_type MACH_TYPE_CCM2200 | |
13666 | # endif | |
13667 | # define machine_is_ccm2200() (machine_arch_type == MACH_TYPE_CCM2200) | |
13668 | #else | |
13669 | # define machine_is_ccm2200() (0) | |
13670 | #endif | |
13671 | ||
13672 | #ifdef CONFIG_MACH_ETWARM | |
13673 | # ifdef machine_arch_type | |
13674 | # undef machine_arch_type | |
13675 | # define machine_arch_type __machine_arch_type | |
13676 | # else | |
13677 | # define machine_arch_type MACH_TYPE_ETWARM | |
13678 | # endif | |
13679 | # define machine_is_etwarm() (machine_arch_type == MACH_TYPE_ETWARM) | |
13680 | #else | |
13681 | # define machine_is_etwarm() (0) | |
13682 | #endif | |
13683 | ||
13684 | #ifdef CONFIG_MACH_M93030 | |
13685 | # ifdef machine_arch_type | |
13686 | # undef machine_arch_type | |
13687 | # define machine_arch_type __machine_arch_type | |
13688 | # else | |
13689 | # define machine_arch_type MACH_TYPE_M93030 | |
13690 | # endif | |
13691 | # define machine_is_m93030() (machine_arch_type == MACH_TYPE_M93030) | |
13692 | #else | |
13693 | # define machine_is_m93030() (0) | |
13694 | #endif | |
13695 | ||
13696 | #ifdef CONFIG_MACH_CC7U | |
13697 | # ifdef machine_arch_type | |
13698 | # undef machine_arch_type | |
13699 | # define machine_arch_type __machine_arch_type | |
13700 | # else | |
13701 | # define machine_arch_type MACH_TYPE_CC7U | |
13702 | # endif | |
13703 | # define machine_is_cc7u() (machine_arch_type == MACH_TYPE_CC7U) | |
13704 | #else | |
13705 | # define machine_is_cc7u() (0) | |
13706 | #endif | |
13707 | ||
13708 | #ifdef CONFIG_MACH_MTT_RANGER | |
13709 | # ifdef machine_arch_type | |
13710 | # undef machine_arch_type | |
13711 | # define machine_arch_type __machine_arch_type | |
13712 | # else | |
13713 | # define machine_arch_type MACH_TYPE_MTT_RANGER | |
13714 | # endif | |
13715 | # define machine_is_mtt_ranger() (machine_arch_type == MACH_TYPE_MTT_RANGER) | |
13716 | #else | |
13717 | # define machine_is_mtt_ranger() (0) | |
13718 | #endif | |
13719 | ||
13720 | #ifdef CONFIG_MACH_NEXUS | |
13721 | # ifdef machine_arch_type | |
13722 | # undef machine_arch_type | |
13723 | # define machine_arch_type __machine_arch_type | |
13724 | # else | |
13725 | # define machine_arch_type MACH_TYPE_NEXUS | |
13726 | # endif | |
13727 | # define machine_is_nexus() (machine_arch_type == MACH_TYPE_NEXUS) | |
13728 | #else | |
13729 | # define machine_is_nexus() (0) | |
13730 | #endif | |
13731 | ||
13732 | #ifdef CONFIG_MACH_DESMAN | |
13733 | # ifdef machine_arch_type | |
13734 | # undef machine_arch_type | |
13735 | # define machine_arch_type __machine_arch_type | |
13736 | # else | |
13737 | # define machine_arch_type MACH_TYPE_DESMAN | |
13738 | # endif | |
13739 | # define machine_is_desman() (machine_arch_type == MACH_TYPE_DESMAN) | |
13740 | #else | |
13741 | # define machine_is_desman() (0) | |
13742 | #endif | |
13743 | ||
13744 | #ifdef CONFIG_MACH_BKDE303 | |
13745 | # ifdef machine_arch_type | |
13746 | # undef machine_arch_type | |
13747 | # define machine_arch_type __machine_arch_type | |
13748 | # else | |
13749 | # define machine_arch_type MACH_TYPE_BKDE303 | |
13750 | # endif | |
13751 | # define machine_is_bkde303() (machine_arch_type == MACH_TYPE_BKDE303) | |
13752 | #else | |
13753 | # define machine_is_bkde303() (0) | |
13754 | #endif | |
13755 | ||
13756 | #ifdef CONFIG_MACH_SMDK2413 | |
13757 | # ifdef machine_arch_type | |
13758 | # undef machine_arch_type | |
13759 | # define machine_arch_type __machine_arch_type | |
13760 | # else | |
13761 | # define machine_arch_type MACH_TYPE_SMDK2413 | |
13762 | # endif | |
13763 | # define machine_is_smdk2413() (machine_arch_type == MACH_TYPE_SMDK2413) | |
13764 | #else | |
13765 | # define machine_is_smdk2413() (0) | |
13766 | #endif | |
13767 | ||
13768 | #ifdef CONFIG_MACH_AML_M7200 | |
13769 | # ifdef machine_arch_type | |
13770 | # undef machine_arch_type | |
13771 | # define machine_arch_type __machine_arch_type | |
13772 | # else | |
13773 | # define machine_arch_type MACH_TYPE_AML_M7200 | |
13774 | # endif | |
13775 | # define machine_is_aml_m7200() (machine_arch_type == MACH_TYPE_AML_M7200) | |
13776 | #else | |
13777 | # define machine_is_aml_m7200() (0) | |
13778 | #endif | |
13779 | ||
13780 | #ifdef CONFIG_MACH_AML_M5900 | |
13781 | # ifdef machine_arch_type | |
13782 | # undef machine_arch_type | |
13783 | # define machine_arch_type __machine_arch_type | |
13784 | # else | |
13785 | # define machine_arch_type MACH_TYPE_AML_M5900 | |
13786 | # endif | |
13787 | # define machine_is_aml_m5900() (machine_arch_type == MACH_TYPE_AML_M5900) | |
13788 | #else | |
13789 | # define machine_is_aml_m5900() (0) | |
13790 | #endif | |
13791 | ||
13792 | #ifdef CONFIG_MACH_SG640 | |
13793 | # ifdef machine_arch_type | |
13794 | # undef machine_arch_type | |
13795 | # define machine_arch_type __machine_arch_type | |
13796 | # else | |
13797 | # define machine_arch_type MACH_TYPE_SG640 | |
13798 | # endif | |
13799 | # define machine_is_sg640() (machine_arch_type == MACH_TYPE_SG640) | |
13800 | #else | |
13801 | # define machine_is_sg640() (0) | |
13802 | #endif | |
13803 | ||
13804 | #ifdef CONFIG_MACH_EDG79524 | |
13805 | # ifdef machine_arch_type | |
13806 | # undef machine_arch_type | |
13807 | # define machine_arch_type __machine_arch_type | |
13808 | # else | |
13809 | # define machine_arch_type MACH_TYPE_EDG79524 | |
13810 | # endif | |
13811 | # define machine_is_edg79524() (machine_arch_type == MACH_TYPE_EDG79524) | |
13812 | #else | |
13813 | # define machine_is_edg79524() (0) | |
13814 | #endif | |
13815 | ||
13816 | #ifdef CONFIG_MACH_AI2410 | |
13817 | # ifdef machine_arch_type | |
13818 | # undef machine_arch_type | |
13819 | # define machine_arch_type __machine_arch_type | |
13820 | # else | |
13821 | # define machine_arch_type MACH_TYPE_AI2410 | |
13822 | # endif | |
13823 | # define machine_is_ai2410() (machine_arch_type == MACH_TYPE_AI2410) | |
13824 | #else | |
13825 | # define machine_is_ai2410() (0) | |
13826 | #endif | |
13827 | ||
13828 | #ifdef CONFIG_MACH_IXP465 | |
13829 | # ifdef machine_arch_type | |
13830 | # undef machine_arch_type | |
13831 | # define machine_arch_type __machine_arch_type | |
13832 | # else | |
13833 | # define machine_arch_type MACH_TYPE_IXP465 | |
13834 | # endif | |
13835 | # define machine_is_ixp465() (machine_arch_type == MACH_TYPE_IXP465) | |
13836 | #else | |
13837 | # define machine_is_ixp465() (0) | |
13838 | #endif | |
13839 | ||
13840 | #ifdef CONFIG_MACH_BALLOON3 | |
13841 | # ifdef machine_arch_type | |
13842 | # undef machine_arch_type | |
13843 | # define machine_arch_type __machine_arch_type | |
13844 | # else | |
13845 | # define machine_arch_type MACH_TYPE_BALLOON3 | |
13846 | # endif | |
13847 | # define machine_is_balloon3() (machine_arch_type == MACH_TYPE_BALLOON3) | |
13848 | #else | |
13849 | # define machine_is_balloon3() (0) | |
13850 | #endif | |
13851 | ||
13852 | #ifdef CONFIG_MACH_HEINS | |
13853 | # ifdef machine_arch_type | |
13854 | # undef machine_arch_type | |
13855 | # define machine_arch_type __machine_arch_type | |
13856 | # else | |
13857 | # define machine_arch_type MACH_TYPE_HEINS | |
13858 | # endif | |
13859 | # define machine_is_heins() (machine_arch_type == MACH_TYPE_HEINS) | |
13860 | #else | |
13861 | # define machine_is_heins() (0) | |
13862 | #endif | |
13863 | ||
13864 | #ifdef CONFIG_MACH_MPLUSEVA | |
13865 | # ifdef machine_arch_type | |
13866 | # undef machine_arch_type | |
13867 | # define machine_arch_type __machine_arch_type | |
13868 | # else | |
13869 | # define machine_arch_type MACH_TYPE_MPLUSEVA | |
13870 | # endif | |
13871 | # define machine_is_mpluseva() (machine_arch_type == MACH_TYPE_MPLUSEVA) | |
13872 | #else | |
13873 | # define machine_is_mpluseva() (0) | |
13874 | #endif | |
13875 | ||
13876 | #ifdef CONFIG_MACH_RT042 | |
13877 | # ifdef machine_arch_type | |
13878 | # undef machine_arch_type | |
13879 | # define machine_arch_type __machine_arch_type | |
13880 | # else | |
13881 | # define machine_arch_type MACH_TYPE_RT042 | |
13882 | # endif | |
13883 | # define machine_is_rt042() (machine_arch_type == MACH_TYPE_RT042) | |
13884 | #else | |
13885 | # define machine_is_rt042() (0) | |
13886 | #endif | |
13887 | ||
13888 | #ifdef CONFIG_MACH_CWIEM | |
13889 | # ifdef machine_arch_type | |
13890 | # undef machine_arch_type | |
13891 | # define machine_arch_type __machine_arch_type | |
13892 | # else | |
13893 | # define machine_arch_type MACH_TYPE_CWIEM | |
13894 | # endif | |
13895 | # define machine_is_cwiem() (machine_arch_type == MACH_TYPE_CWIEM) | |
13896 | #else | |
13897 | # define machine_is_cwiem() (0) | |
13898 | #endif | |
13899 | ||
13900 | #ifdef CONFIG_MACH_CM_X270 | |
13901 | # ifdef machine_arch_type | |
13902 | # undef machine_arch_type | |
13903 | # define machine_arch_type __machine_arch_type | |
13904 | # else | |
13905 | # define machine_arch_type MACH_TYPE_CM_X270 | |
13906 | # endif | |
13907 | # define machine_is_cm_x270() (machine_arch_type == MACH_TYPE_CM_X270) | |
13908 | #else | |
13909 | # define machine_is_cm_x270() (0) | |
13910 | #endif | |
13911 | ||
13912 | #ifdef CONFIG_MACH_CM_X255 | |
13913 | # ifdef machine_arch_type | |
13914 | # undef machine_arch_type | |
13915 | # define machine_arch_type __machine_arch_type | |
13916 | # else | |
13917 | # define machine_arch_type MACH_TYPE_CM_X255 | |
13918 | # endif | |
13919 | # define machine_is_cm_x255() (machine_arch_type == MACH_TYPE_CM_X255) | |
13920 | #else | |
13921 | # define machine_is_cm_x255() (0) | |
13922 | #endif | |
13923 | ||
13924 | #ifdef CONFIG_MACH_ESH_AT91 | |
13925 | # ifdef machine_arch_type | |
13926 | # undef machine_arch_type | |
13927 | # define machine_arch_type __machine_arch_type | |
13928 | # else | |
13929 | # define machine_arch_type MACH_TYPE_ESH_AT91 | |
13930 | # endif | |
13931 | # define machine_is_esh_at91() (machine_arch_type == MACH_TYPE_ESH_AT91) | |
13932 | #else | |
13933 | # define machine_is_esh_at91() (0) | |
13934 | #endif | |
13935 | ||
13936 | #ifdef CONFIG_MACH_SANDGATE3 | |
13937 | # ifdef machine_arch_type | |
13938 | # undef machine_arch_type | |
13939 | # define machine_arch_type __machine_arch_type | |
13940 | # else | |
13941 | # define machine_arch_type MACH_TYPE_SANDGATE3 | |
13942 | # endif | |
13943 | # define machine_is_sandgate3() (machine_arch_type == MACH_TYPE_SANDGATE3) | |
13944 | #else | |
13945 | # define machine_is_sandgate3() (0) | |
13946 | #endif | |
13947 | ||
13948 | #ifdef CONFIG_MACH_PRIMO | |
13949 | # ifdef machine_arch_type | |
13950 | # undef machine_arch_type | |
13951 | # define machine_arch_type __machine_arch_type | |
13952 | # else | |
13953 | # define machine_arch_type MACH_TYPE_PRIMO | |
13954 | # endif | |
13955 | # define machine_is_primo() (machine_arch_type == MACH_TYPE_PRIMO) | |
13956 | #else | |
13957 | # define machine_is_primo() (0) | |
13958 | #endif | |
13959 | ||
13960 | #ifdef CONFIG_MACH_GEMSTONE | |
13961 | # ifdef machine_arch_type | |
13962 | # undef machine_arch_type | |
13963 | # define machine_arch_type __machine_arch_type | |
13964 | # else | |
13965 | # define machine_arch_type MACH_TYPE_GEMSTONE | |
13966 | # endif | |
13967 | # define machine_is_gemstone() (machine_arch_type == MACH_TYPE_GEMSTONE) | |
13968 | #else | |
13969 | # define machine_is_gemstone() (0) | |
13970 | #endif | |
13971 | ||
13972 | #ifdef CONFIG_MACH_PRONGHORNMETRO | |
13973 | # ifdef machine_arch_type | |
13974 | # undef machine_arch_type | |
13975 | # define machine_arch_type __machine_arch_type | |
13976 | # else | |
13977 | # define machine_arch_type MACH_TYPE_PRONGHORNMETRO | |
13978 | # endif | |
13979 | # define machine_is_pronghorn_metro() (machine_arch_type == MACH_TYPE_PRONGHORNMETRO) | |
13980 | #else | |
13981 | # define machine_is_pronghorn_metro() (0) | |
13982 | #endif | |
13983 | ||
13984 | #ifdef CONFIG_MACH_SIDEWINDER | |
13985 | # ifdef machine_arch_type | |
13986 | # undef machine_arch_type | |
13987 | # define machine_arch_type __machine_arch_type | |
13988 | # else | |
13989 | # define machine_arch_type MACH_TYPE_SIDEWINDER | |
13990 | # endif | |
13991 | # define machine_is_sidewinder() (machine_arch_type == MACH_TYPE_SIDEWINDER) | |
13992 | #else | |
13993 | # define machine_is_sidewinder() (0) | |
13994 | #endif | |
13995 | ||
13996 | #ifdef CONFIG_MACH_PICOMOD1 | |
13997 | # ifdef machine_arch_type | |
13998 | # undef machine_arch_type | |
13999 | # define machine_arch_type __machine_arch_type | |
14000 | # else | |
14001 | # define machine_arch_type MACH_TYPE_PICOMOD1 | |
14002 | # endif | |
14003 | # define machine_is_picomod1() (machine_arch_type == MACH_TYPE_PICOMOD1) | |
14004 | #else | |
14005 | # define machine_is_picomod1() (0) | |
14006 | #endif | |
14007 | ||
14008 | #ifdef CONFIG_MACH_SG590 | |
14009 | # ifdef machine_arch_type | |
14010 | # undef machine_arch_type | |
14011 | # define machine_arch_type __machine_arch_type | |
14012 | # else | |
14013 | # define machine_arch_type MACH_TYPE_SG590 | |
14014 | # endif | |
14015 | # define machine_is_sg590() (machine_arch_type == MACH_TYPE_SG590) | |
14016 | #else | |
14017 | # define machine_is_sg590() (0) | |
14018 | #endif | |
14019 | ||
14020 | #ifdef CONFIG_MACH_AKAI9307 | |
14021 | # ifdef machine_arch_type | |
14022 | # undef machine_arch_type | |
14023 | # define machine_arch_type __machine_arch_type | |
14024 | # else | |
14025 | # define machine_arch_type MACH_TYPE_AKAI9307 | |
14026 | # endif | |
14027 | # define machine_is_akai9307() (machine_arch_type == MACH_TYPE_AKAI9307) | |
14028 | #else | |
14029 | # define machine_is_akai9307() (0) | |
14030 | #endif | |
14031 | ||
14032 | #ifdef CONFIG_MACH_FONTAINE | |
14033 | # ifdef machine_arch_type | |
14034 | # undef machine_arch_type | |
14035 | # define machine_arch_type __machine_arch_type | |
14036 | # else | |
14037 | # define machine_arch_type MACH_TYPE_FONTAINE | |
14038 | # endif | |
14039 | # define machine_is_fontaine() (machine_arch_type == MACH_TYPE_FONTAINE) | |
14040 | #else | |
14041 | # define machine_is_fontaine() (0) | |
14042 | #endif | |
14043 | ||
14044 | #ifdef CONFIG_MACH_WOMBAT | |
14045 | # ifdef machine_arch_type | |
14046 | # undef machine_arch_type | |
14047 | # define machine_arch_type __machine_arch_type | |
14048 | # else | |
14049 | # define machine_arch_type MACH_TYPE_WOMBAT | |
14050 | # endif | |
14051 | # define machine_is_wombat() (machine_arch_type == MACH_TYPE_WOMBAT) | |
14052 | #else | |
14053 | # define machine_is_wombat() (0) | |
14054 | #endif | |
14055 | ||
14056 | #ifdef CONFIG_MACH_ACQ300 | |
14057 | # ifdef machine_arch_type | |
14058 | # undef machine_arch_type | |
14059 | # define machine_arch_type __machine_arch_type | |
14060 | # else | |
14061 | # define machine_arch_type MACH_TYPE_ACQ300 | |
14062 | # endif | |
14063 | # define machine_is_acq300() (machine_arch_type == MACH_TYPE_ACQ300) | |
14064 | #else | |
14065 | # define machine_is_acq300() (0) | |
14066 | #endif | |
14067 | ||
14068 | #ifdef CONFIG_MACH_MOD_270 | |
14069 | # ifdef machine_arch_type | |
14070 | # undef machine_arch_type | |
14071 | # define machine_arch_type __machine_arch_type | |
14072 | # else | |
14073 | # define machine_arch_type MACH_TYPE_MOD_270 | |
14074 | # endif | |
14075 | # define machine_is_mod272() (machine_arch_type == MACH_TYPE_MOD_270) | |
14076 | #else | |
14077 | # define machine_is_mod272() (0) | |
14078 | #endif | |
14079 | ||
14080 | #ifdef CONFIG_MACH_VC0820 | |
14081 | # ifdef machine_arch_type | |
14082 | # undef machine_arch_type | |
14083 | # define machine_arch_type __machine_arch_type | |
14084 | # else | |
14085 | # define machine_arch_type MACH_TYPE_VC0820 | |
14086 | # endif | |
14087 | # define machine_is_vmc_vc0820() (machine_arch_type == MACH_TYPE_VC0820) | |
14088 | #else | |
14089 | # define machine_is_vmc_vc0820() (0) | |
14090 | #endif | |
14091 | ||
14092 | #ifdef CONFIG_MACH_ANI_AIM | |
14093 | # ifdef machine_arch_type | |
14094 | # undef machine_arch_type | |
14095 | # define machine_arch_type __machine_arch_type | |
14096 | # else | |
14097 | # define machine_arch_type MACH_TYPE_ANI_AIM | |
14098 | # endif | |
14099 | # define machine_is_ani_aim() (machine_arch_type == MACH_TYPE_ANI_AIM) | |
14100 | #else | |
14101 | # define machine_is_ani_aim() (0) | |
14102 | #endif | |
14103 | ||
14104 | #ifdef CONFIG_MACH_JELLYFISH | |
14105 | # ifdef machine_arch_type | |
14106 | # undef machine_arch_type | |
14107 | # define machine_arch_type __machine_arch_type | |
14108 | # else | |
14109 | # define machine_arch_type MACH_TYPE_JELLYFISH | |
14110 | # endif | |
14111 | # define machine_is_jellyfish() (machine_arch_type == MACH_TYPE_JELLYFISH) | |
14112 | #else | |
14113 | # define machine_is_jellyfish() (0) | |
14114 | #endif | |
14115 | ||
14116 | #ifdef CONFIG_MACH_AMANITA | |
14117 | # ifdef machine_arch_type | |
14118 | # undef machine_arch_type | |
14119 | # define machine_arch_type __machine_arch_type | |
14120 | # else | |
14121 | # define machine_arch_type MACH_TYPE_AMANITA | |
14122 | # endif | |
14123 | # define machine_is_amanita() (machine_arch_type == MACH_TYPE_AMANITA) | |
14124 | #else | |
14125 | # define machine_is_amanita() (0) | |
14126 | #endif | |
14127 | ||
14128 | #ifdef CONFIG_MACH_VLINK | |
14129 | # ifdef machine_arch_type | |
14130 | # undef machine_arch_type | |
14131 | # define machine_arch_type __machine_arch_type | |
14132 | # else | |
14133 | # define machine_arch_type MACH_TYPE_VLINK | |
14134 | # endif | |
14135 | # define machine_is_vlink() (machine_arch_type == MACH_TYPE_VLINK) | |
14136 | #else | |
14137 | # define machine_is_vlink() (0) | |
14138 | #endif | |
14139 | ||
14140 | #ifdef CONFIG_MACH_DEXFLEX | |
14141 | # ifdef machine_arch_type | |
14142 | # undef machine_arch_type | |
14143 | # define machine_arch_type __machine_arch_type | |
14144 | # else | |
14145 | # define machine_arch_type MACH_TYPE_DEXFLEX | |
14146 | # endif | |
14147 | # define machine_is_dexflex() (machine_arch_type == MACH_TYPE_DEXFLEX) | |
14148 | #else | |
14149 | # define machine_is_dexflex() (0) | |
14150 | #endif | |
14151 | ||
14152 | #ifdef CONFIG_MACH_EIGEN_TTQ | |
14153 | # ifdef machine_arch_type | |
14154 | # undef machine_arch_type | |
14155 | # define machine_arch_type __machine_arch_type | |
14156 | # else | |
14157 | # define machine_arch_type MACH_TYPE_EIGEN_TTQ | |
14158 | # endif | |
14159 | # define machine_is_eigen_ttq() (machine_arch_type == MACH_TYPE_EIGEN_TTQ) | |
14160 | #else | |
14161 | # define machine_is_eigen_ttq() (0) | |
14162 | #endif | |
14163 | ||
14164 | #ifdef CONFIG_MACH_ARCOM_TITAN | |
14165 | # ifdef machine_arch_type | |
14166 | # undef machine_arch_type | |
14167 | # define machine_arch_type __machine_arch_type | |
14168 | # else | |
14169 | # define machine_arch_type MACH_TYPE_ARCOM_TITAN | |
14170 | # endif | |
14171 | # define machine_is_arcom_titan() (machine_arch_type == MACH_TYPE_ARCOM_TITAN) | |
14172 | #else | |
14173 | # define machine_is_arcom_titan() (0) | |
14174 | #endif | |
14175 | ||
14176 | #ifdef CONFIG_MACH_TABLA | |
14177 | # ifdef machine_arch_type | |
14178 | # undef machine_arch_type | |
14179 | # define machine_arch_type __machine_arch_type | |
14180 | # else | |
14181 | # define machine_arch_type MACH_TYPE_TABLA | |
14182 | # endif | |
14183 | # define machine_is_tabla() (machine_arch_type == MACH_TYPE_TABLA) | |
14184 | #else | |
14185 | # define machine_is_tabla() (0) | |
14186 | #endif | |
14187 | ||
14188 | #ifdef CONFIG_MACH_MDIRAC3 | |
14189 | # ifdef machine_arch_type | |
14190 | # undef machine_arch_type | |
14191 | # define machine_arch_type __machine_arch_type | |
14192 | # else | |
14193 | # define machine_arch_type MACH_TYPE_MDIRAC3 | |
14194 | # endif | |
14195 | # define machine_is_mdirac3() (machine_arch_type == MACH_TYPE_MDIRAC3) | |
14196 | #else | |
14197 | # define machine_is_mdirac3() (0) | |
14198 | #endif | |
14199 | ||
14200 | #ifdef CONFIG_MACH_MRHFBP2 | |
14201 | # ifdef machine_arch_type | |
14202 | # undef machine_arch_type | |
14203 | # define machine_arch_type __machine_arch_type | |
14204 | # else | |
14205 | # define machine_arch_type MACH_TYPE_MRHFBP2 | |
14206 | # endif | |
14207 | # define machine_is_mrhfbp2() (machine_arch_type == MACH_TYPE_MRHFBP2) | |
14208 | #else | |
14209 | # define machine_is_mrhfbp2() (0) | |
14210 | #endif | |
14211 | ||
14212 | #ifdef CONFIG_MACH_AT91RM9200RB | |
14213 | # ifdef machine_arch_type | |
14214 | # undef machine_arch_type | |
14215 | # define machine_arch_type __machine_arch_type | |
14216 | # else | |
14217 | # define machine_arch_type MACH_TYPE_AT91RM9200RB | |
14218 | # endif | |
14219 | # define machine_is_at91rm9200rb() (machine_arch_type == MACH_TYPE_AT91RM9200RB) | |
14220 | #else | |
14221 | # define machine_is_at91rm9200rb() (0) | |
14222 | #endif | |
14223 | ||
14224 | #ifdef CONFIG_MACH_ANI_APM | |
14225 | # ifdef machine_arch_type | |
14226 | # undef machine_arch_type | |
14227 | # define machine_arch_type __machine_arch_type | |
14228 | # else | |
14229 | # define machine_arch_type MACH_TYPE_ANI_APM | |
14230 | # endif | |
14231 | # define machine_is_ani_apm() (machine_arch_type == MACH_TYPE_ANI_APM) | |
14232 | #else | |
14233 | # define machine_is_ani_apm() (0) | |
14234 | #endif | |
14235 | ||
14236 | #ifdef CONFIG_MACH_ELLA1 | |
14237 | # ifdef machine_arch_type | |
14238 | # undef machine_arch_type | |
14239 | # define machine_arch_type __machine_arch_type | |
14240 | # else | |
14241 | # define machine_arch_type MACH_TYPE_ELLA1 | |
14242 | # endif | |
14243 | # define machine_is_ella1() (machine_arch_type == MACH_TYPE_ELLA1) | |
14244 | #else | |
14245 | # define machine_is_ella1() (0) | |
14246 | #endif | |
14247 | ||
14248 | #ifdef CONFIG_MACH_INHAND_PXA27X | |
14249 | # ifdef machine_arch_type | |
14250 | # undef machine_arch_type | |
14251 | # define machine_arch_type __machine_arch_type | |
14252 | # else | |
14253 | # define machine_arch_type MACH_TYPE_INHAND_PXA27X | |
14254 | # endif | |
14255 | # define machine_is_inhand_pxa27x() (machine_arch_type == MACH_TYPE_INHAND_PXA27X) | |
14256 | #else | |
14257 | # define machine_is_inhand_pxa27x() (0) | |
14258 | #endif | |
14259 | ||
14260 | #ifdef CONFIG_MACH_INHAND_PXA25X | |
14261 | # ifdef machine_arch_type | |
14262 | # undef machine_arch_type | |
14263 | # define machine_arch_type __machine_arch_type | |
14264 | # else | |
14265 | # define machine_arch_type MACH_TYPE_INHAND_PXA25X | |
14266 | # endif | |
14267 | # define machine_is_inhand_pxa25x() (machine_arch_type == MACH_TYPE_INHAND_PXA25X) | |
14268 | #else | |
14269 | # define machine_is_inhand_pxa25x() (0) | |
14270 | #endif | |
14271 | ||
14272 | #ifdef CONFIG_MACH_EMPOS_XM | |
14273 | # ifdef machine_arch_type | |
14274 | # undef machine_arch_type | |
14275 | # define machine_arch_type __machine_arch_type | |
14276 | # else | |
14277 | # define machine_arch_type MACH_TYPE_EMPOS_XM | |
14278 | # endif | |
14279 | # define machine_is_empos_xm() (machine_arch_type == MACH_TYPE_EMPOS_XM) | |
14280 | #else | |
14281 | # define machine_is_empos_xm() (0) | |
14282 | #endif | |
14283 | ||
14284 | #ifdef CONFIG_MACH_EMPOS | |
14285 | # ifdef machine_arch_type | |
14286 | # undef machine_arch_type | |
14287 | # define machine_arch_type __machine_arch_type | |
14288 | # else | |
14289 | # define machine_arch_type MACH_TYPE_EMPOS | |
14290 | # endif | |
14291 | # define machine_is_empos() (machine_arch_type == MACH_TYPE_EMPOS) | |
14292 | #else | |
14293 | # define machine_is_empos() (0) | |
14294 | #endif | |
14295 | ||
14296 | #ifdef CONFIG_MACH_EMPOS_TINY | |
14297 | # ifdef machine_arch_type | |
14298 | # undef machine_arch_type | |
14299 | # define machine_arch_type __machine_arch_type | |
14300 | # else | |
14301 | # define machine_arch_type MACH_TYPE_EMPOS_TINY | |
14302 | # endif | |
14303 | # define machine_is_empos_tiny() (machine_arch_type == MACH_TYPE_EMPOS_TINY) | |
14304 | #else | |
14305 | # define machine_is_empos_tiny() (0) | |
14306 | #endif | |
14307 | ||
14308 | #ifdef CONFIG_MACH_EMPOS_SM | |
14309 | # ifdef machine_arch_type | |
14310 | # undef machine_arch_type | |
14311 | # define machine_arch_type __machine_arch_type | |
14312 | # else | |
14313 | # define machine_arch_type MACH_TYPE_EMPOS_SM | |
14314 | # endif | |
14315 | # define machine_is_empos_sm() (machine_arch_type == MACH_TYPE_EMPOS_SM) | |
14316 | #else | |
14317 | # define machine_is_empos_sm() (0) | |
14318 | #endif | |
14319 | ||
14320 | #ifdef CONFIG_MACH_EGRET | |
14321 | # ifdef machine_arch_type | |
14322 | # undef machine_arch_type | |
14323 | # define machine_arch_type __machine_arch_type | |
14324 | # else | |
14325 | # define machine_arch_type MACH_TYPE_EGRET | |
14326 | # endif | |
14327 | # define machine_is_egret() (machine_arch_type == MACH_TYPE_EGRET) | |
14328 | #else | |
14329 | # define machine_is_egret() (0) | |
14330 | #endif | |
14331 | ||
14332 | #ifdef CONFIG_MACH_OSTRICH | |
14333 | # ifdef machine_arch_type | |
14334 | # undef machine_arch_type | |
14335 | # define machine_arch_type __machine_arch_type | |
14336 | # else | |
14337 | # define machine_arch_type MACH_TYPE_OSTRICH | |
14338 | # endif | |
14339 | # define machine_is_ostrich() (machine_arch_type == MACH_TYPE_OSTRICH) | |
14340 | #else | |
14341 | # define machine_is_ostrich() (0) | |
14342 | #endif | |
14343 | ||
14344 | #ifdef CONFIG_MACH_N50 | |
14345 | # ifdef machine_arch_type | |
14346 | # undef machine_arch_type | |
14347 | # define machine_arch_type __machine_arch_type | |
14348 | # else | |
14349 | # define machine_arch_type MACH_TYPE_N50 | |
14350 | # endif | |
14351 | # define machine_is_n50() (machine_arch_type == MACH_TYPE_N50) | |
14352 | #else | |
14353 | # define machine_is_n50() (0) | |
14354 | #endif | |
14355 | ||
14356 | #ifdef CONFIG_MACH_ECBAT91 | |
14357 | # ifdef machine_arch_type | |
14358 | # undef machine_arch_type | |
14359 | # define machine_arch_type __machine_arch_type | |
14360 | # else | |
14361 | # define machine_arch_type MACH_TYPE_ECBAT91 | |
14362 | # endif | |
14363 | # define machine_is_ecbat91() (machine_arch_type == MACH_TYPE_ECBAT91) | |
14364 | #else | |
14365 | # define machine_is_ecbat91() (0) | |
14366 | #endif | |
14367 | ||
14368 | #ifdef CONFIG_MACH_STAREAST | |
14369 | # ifdef machine_arch_type | |
14370 | # undef machine_arch_type | |
14371 | # define machine_arch_type __machine_arch_type | |
14372 | # else | |
14373 | # define machine_arch_type MACH_TYPE_STAREAST | |
14374 | # endif | |
14375 | # define machine_is_stareast() (machine_arch_type == MACH_TYPE_STAREAST) | |
14376 | #else | |
14377 | # define machine_is_stareast() (0) | |
14378 | #endif | |
14379 | ||
14380 | #ifdef CONFIG_MACH_DSPG_DW | |
14381 | # ifdef machine_arch_type | |
14382 | # undef machine_arch_type | |
14383 | # define machine_arch_type __machine_arch_type | |
14384 | # else | |
14385 | # define machine_arch_type MACH_TYPE_DSPG_DW | |
14386 | # endif | |
14387 | # define machine_is_dspg_dw() (machine_arch_type == MACH_TYPE_DSPG_DW) | |
14388 | #else | |
14389 | # define machine_is_dspg_dw() (0) | |
14390 | #endif | |
14391 | ||
14392 | #ifdef CONFIG_MACH_ONEARM | |
14393 | # ifdef machine_arch_type | |
14394 | # undef machine_arch_type | |
14395 | # define machine_arch_type __machine_arch_type | |
14396 | # else | |
14397 | # define machine_arch_type MACH_TYPE_ONEARM | |
14398 | # endif | |
14399 | # define machine_is_onearm() (machine_arch_type == MACH_TYPE_ONEARM) | |
14400 | #else | |
14401 | # define machine_is_onearm() (0) | |
14402 | #endif | |
14403 | ||
14404 | #ifdef CONFIG_MACH_MRG110_6 | |
14405 | # ifdef machine_arch_type | |
14406 | # undef machine_arch_type | |
14407 | # define machine_arch_type __machine_arch_type | |
14408 | # else | |
14409 | # define machine_arch_type MACH_TYPE_MRG110_6 | |
14410 | # endif | |
14411 | # define machine_is_mrg110_6() (machine_arch_type == MACH_TYPE_MRG110_6) | |
14412 | #else | |
14413 | # define machine_is_mrg110_6() (0) | |
14414 | #endif | |
14415 | ||
14416 | #ifdef CONFIG_MACH_WRT300NV2 | |
14417 | # ifdef machine_arch_type | |
14418 | # undef machine_arch_type | |
14419 | # define machine_arch_type __machine_arch_type | |
14420 | # else | |
14421 | # define machine_arch_type MACH_TYPE_WRT300NV2 | |
14422 | # endif | |
14423 | # define machine_is_wrt300nv2() (machine_arch_type == MACH_TYPE_WRT300NV2) | |
14424 | #else | |
14425 | # define machine_is_wrt300nv2() (0) | |
14426 | #endif | |
14427 | ||
14428 | #ifdef CONFIG_MACH_XM_BULVERDE | |
14429 | # ifdef machine_arch_type | |
14430 | # undef machine_arch_type | |
14431 | # define machine_arch_type __machine_arch_type | |
14432 | # else | |
14433 | # define machine_arch_type MACH_TYPE_XM_BULVERDE | |
14434 | # endif | |
14435 | # define machine_is_xm_bulverde() (machine_arch_type == MACH_TYPE_XM_BULVERDE) | |
14436 | #else | |
14437 | # define machine_is_xm_bulverde() (0) | |
14438 | #endif | |
14439 | ||
14440 | #ifdef CONFIG_MACH_MSM6100 | |
14441 | # ifdef machine_arch_type | |
14442 | # undef machine_arch_type | |
14443 | # define machine_arch_type __machine_arch_type | |
14444 | # else | |
14445 | # define machine_arch_type MACH_TYPE_MSM6100 | |
14446 | # endif | |
14447 | # define machine_is_msm6100() (machine_arch_type == MACH_TYPE_MSM6100) | |
14448 | #else | |
14449 | # define machine_is_msm6100() (0) | |
14450 | #endif | |
14451 | ||
14452 | #ifdef CONFIG_MACH_ETI_B1 | |
14453 | # ifdef machine_arch_type | |
14454 | # undef machine_arch_type | |
14455 | # define machine_arch_type __machine_arch_type | |
14456 | # else | |
14457 | # define machine_arch_type MACH_TYPE_ETI_B1 | |
14458 | # endif | |
14459 | # define machine_is_eti_b1() (machine_arch_type == MACH_TYPE_ETI_B1) | |
14460 | #else | |
14461 | # define machine_is_eti_b1() (0) | |
14462 | #endif | |
14463 | ||
14464 | #ifdef CONFIG_MACH_ZILOG_ZA9L | |
14465 | # ifdef machine_arch_type | |
14466 | # undef machine_arch_type | |
14467 | # define machine_arch_type __machine_arch_type | |
14468 | # else | |
14469 | # define machine_arch_type MACH_TYPE_ZILOG_ZA9L | |
14470 | # endif | |
14471 | # define machine_is_za9l_series() (machine_arch_type == MACH_TYPE_ZILOG_ZA9L) | |
14472 | #else | |
14473 | # define machine_is_za9l_series() (0) | |
14474 | #endif | |
14475 | ||
14476 | #ifdef CONFIG_MACH_BIT2440 | |
14477 | # ifdef machine_arch_type | |
14478 | # undef machine_arch_type | |
14479 | # define machine_arch_type __machine_arch_type | |
14480 | # else | |
14481 | # define machine_arch_type MACH_TYPE_BIT2440 | |
14482 | # endif | |
14483 | # define machine_is_bit2440() (machine_arch_type == MACH_TYPE_BIT2440) | |
14484 | #else | |
14485 | # define machine_is_bit2440() (0) | |
14486 | #endif | |
14487 | ||
14488 | #ifdef CONFIG_MACH_NBI | |
14489 | # ifdef machine_arch_type | |
14490 | # undef machine_arch_type | |
14491 | # define machine_arch_type __machine_arch_type | |
14492 | # else | |
14493 | # define machine_arch_type MACH_TYPE_NBI | |
14494 | # endif | |
14495 | # define machine_is_nbi() (machine_arch_type == MACH_TYPE_NBI) | |
14496 | #else | |
14497 | # define machine_is_nbi() (0) | |
14498 | #endif | |
14499 | ||
14500 | #ifdef CONFIG_MACH_SMDK2443 | |
14501 | # ifdef machine_arch_type | |
14502 | # undef machine_arch_type | |
14503 | # define machine_arch_type __machine_arch_type | |
14504 | # else | |
14505 | # define machine_arch_type MACH_TYPE_SMDK2443 | |
14506 | # endif | |
14507 | # define machine_is_smdk2443() (machine_arch_type == MACH_TYPE_SMDK2443) | |
14508 | #else | |
14509 | # define machine_is_smdk2443() (0) | |
14510 | #endif | |
14511 | ||
14512 | #ifdef CONFIG_MACH_VDAVINCI | |
14513 | # ifdef machine_arch_type | |
14514 | # undef machine_arch_type | |
14515 | # define machine_arch_type __machine_arch_type | |
14516 | # else | |
14517 | # define machine_arch_type MACH_TYPE_VDAVINCI | |
14518 | # endif | |
14519 | # define machine_is_vdavinci() (machine_arch_type == MACH_TYPE_VDAVINCI) | |
14520 | #else | |
14521 | # define machine_is_vdavinci() (0) | |
14522 | #endif | |
14523 | ||
14524 | #ifdef CONFIG_MACH_ATC6 | |
14525 | # ifdef machine_arch_type | |
14526 | # undef machine_arch_type | |
14527 | # define machine_arch_type __machine_arch_type | |
14528 | # else | |
14529 | # define machine_arch_type MACH_TYPE_ATC6 | |
14530 | # endif | |
14531 | # define machine_is_atc6() (machine_arch_type == MACH_TYPE_ATC6) | |
14532 | #else | |
14533 | # define machine_is_atc6() (0) | |
14534 | #endif | |
14535 | ||
14536 | #ifdef CONFIG_MACH_MULTMDW | |
14537 | # ifdef machine_arch_type | |
14538 | # undef machine_arch_type | |
14539 | # define machine_arch_type __machine_arch_type | |
14540 | # else | |
14541 | # define machine_arch_type MACH_TYPE_MULTMDW | |
14542 | # endif | |
14543 | # define machine_is_multmdw() (machine_arch_type == MACH_TYPE_MULTMDW) | |
14544 | #else | |
14545 | # define machine_is_multmdw() (0) | |
14546 | #endif | |
14547 | ||
14548 | #ifdef CONFIG_MACH_MBA2440 | |
14549 | # ifdef machine_arch_type | |
14550 | # undef machine_arch_type | |
14551 | # define machine_arch_type __machine_arch_type | |
14552 | # else | |
14553 | # define machine_arch_type MACH_TYPE_MBA2440 | |
14554 | # endif | |
14555 | # define machine_is_mba2440() (machine_arch_type == MACH_TYPE_MBA2440) | |
14556 | #else | |
14557 | # define machine_is_mba2440() (0) | |
14558 | #endif | |
14559 | ||
14560 | #ifdef CONFIG_MACH_ECSD | |
14561 | # ifdef machine_arch_type | |
14562 | # undef machine_arch_type | |
14563 | # define machine_arch_type __machine_arch_type | |
14564 | # else | |
14565 | # define machine_arch_type MACH_TYPE_ECSD | |
14566 | # endif | |
14567 | # define machine_is_ecsd() (machine_arch_type == MACH_TYPE_ECSD) | |
14568 | #else | |
14569 | # define machine_is_ecsd() (0) | |
14570 | #endif | |
14571 | ||
14572 | #ifdef CONFIG_MACH_ZIRE31 | |
14573 | # ifdef machine_arch_type | |
14574 | # undef machine_arch_type | |
14575 | # define machine_arch_type __machine_arch_type | |
14576 | # else | |
14577 | # define machine_arch_type MACH_TYPE_ZIRE31 | |
14578 | # endif | |
14579 | # define machine_is_zire31() (machine_arch_type == MACH_TYPE_ZIRE31) | |
14580 | #else | |
14581 | # define machine_is_zire31() (0) | |
14582 | #endif | |
14583 | ||
14584 | #ifdef CONFIG_MACH_FSG | |
14585 | # ifdef machine_arch_type | |
14586 | # undef machine_arch_type | |
14587 | # define machine_arch_type __machine_arch_type | |
14588 | # else | |
14589 | # define machine_arch_type MACH_TYPE_FSG | |
14590 | # endif | |
14591 | # define machine_is_fsg() (machine_arch_type == MACH_TYPE_FSG) | |
14592 | #else | |
14593 | # define machine_is_fsg() (0) | |
14594 | #endif | |
14595 | ||
14596 | #ifdef CONFIG_MACH_RAZOR101 | |
14597 | # ifdef machine_arch_type | |
14598 | # undef machine_arch_type | |
14599 | # define machine_arch_type __machine_arch_type | |
14600 | # else | |
14601 | # define machine_arch_type MACH_TYPE_RAZOR101 | |
14602 | # endif | |
14603 | # define machine_is_razor101() (machine_arch_type == MACH_TYPE_RAZOR101) | |
14604 | #else | |
14605 | # define machine_is_razor101() (0) | |
14606 | #endif | |
14607 | ||
14608 | #ifdef CONFIG_MACH_OPERA_TDM | |
14609 | # ifdef machine_arch_type | |
14610 | # undef machine_arch_type | |
14611 | # define machine_arch_type __machine_arch_type | |
14612 | # else | |
14613 | # define machine_arch_type MACH_TYPE_OPERA_TDM | |
14614 | # endif | |
14615 | # define machine_is_opera_tdm() (machine_arch_type == MACH_TYPE_OPERA_TDM) | |
14616 | #else | |
14617 | # define machine_is_opera_tdm() (0) | |
14618 | #endif | |
14619 | ||
14620 | #ifdef CONFIG_MACH_COMCERTO | |
14621 | # ifdef machine_arch_type | |
14622 | # undef machine_arch_type | |
14623 | # define machine_arch_type __machine_arch_type | |
14624 | # else | |
14625 | # define machine_arch_type MACH_TYPE_COMCERTO | |
14626 | # endif | |
14627 | # define machine_is_comcerto() (machine_arch_type == MACH_TYPE_COMCERTO) | |
14628 | #else | |
14629 | # define machine_is_comcerto() (0) | |
14630 | #endif | |
14631 | ||
14632 | #ifdef CONFIG_MACH_TB0319 | |
14633 | # ifdef machine_arch_type | |
14634 | # undef machine_arch_type | |
14635 | # define machine_arch_type __machine_arch_type | |
14636 | # else | |
14637 | # define machine_arch_type MACH_TYPE_TB0319 | |
14638 | # endif | |
14639 | # define machine_is_tb0319() (machine_arch_type == MACH_TYPE_TB0319) | |
14640 | #else | |
14641 | # define machine_is_tb0319() (0) | |
14642 | #endif | |
14643 | ||
14644 | #ifdef CONFIG_MACH_KWS8000 | |
14645 | # ifdef machine_arch_type | |
14646 | # undef machine_arch_type | |
14647 | # define machine_arch_type __machine_arch_type | |
14648 | # else | |
14649 | # define machine_arch_type MACH_TYPE_KWS8000 | |
14650 | # endif | |
14651 | # define machine_is_kws8000() (machine_arch_type == MACH_TYPE_KWS8000) | |
14652 | #else | |
14653 | # define machine_is_kws8000() (0) | |
14654 | #endif | |
14655 | ||
14656 | #ifdef CONFIG_MACH_B2 | |
14657 | # ifdef machine_arch_type | |
14658 | # undef machine_arch_type | |
14659 | # define machine_arch_type __machine_arch_type | |
14660 | # else | |
14661 | # define machine_arch_type MACH_TYPE_B2 | |
14662 | # endif | |
14663 | # define machine_is_b2() (machine_arch_type == MACH_TYPE_B2) | |
14664 | #else | |
14665 | # define machine_is_b2() (0) | |
14666 | #endif | |
14667 | ||
14668 | #ifdef CONFIG_MACH_LCL54 | |
14669 | # ifdef machine_arch_type | |
14670 | # undef machine_arch_type | |
14671 | # define machine_arch_type __machine_arch_type | |
14672 | # else | |
14673 | # define machine_arch_type MACH_TYPE_LCL54 | |
14674 | # endif | |
14675 | # define machine_is_lcl54() (machine_arch_type == MACH_TYPE_LCL54) | |
14676 | #else | |
14677 | # define machine_is_lcl54() (0) | |
14678 | #endif | |
14679 | ||
14680 | #ifdef CONFIG_MACH_AT91SAM9260EK | |
14681 | # ifdef machine_arch_type | |
14682 | # undef machine_arch_type | |
14683 | # define machine_arch_type __machine_arch_type | |
14684 | # else | |
14685 | # define machine_arch_type MACH_TYPE_AT91SAM9260EK | |
14686 | # endif | |
14687 | # define machine_is_at91sam9260ek() (machine_arch_type == MACH_TYPE_AT91SAM9260EK) | |
14688 | #else | |
14689 | # define machine_is_at91sam9260ek() (0) | |
14690 | #endif | |
14691 | ||
14692 | #ifdef CONFIG_MACH_GLANTANK | |
14693 | # ifdef machine_arch_type | |
14694 | # undef machine_arch_type | |
14695 | # define machine_arch_type __machine_arch_type | |
14696 | # else | |
14697 | # define machine_arch_type MACH_TYPE_GLANTANK | |
14698 | # endif | |
14699 | # define machine_is_glantank() (machine_arch_type == MACH_TYPE_GLANTANK) | |
14700 | #else | |
14701 | # define machine_is_glantank() (0) | |
14702 | #endif | |
14703 | ||
14704 | #ifdef CONFIG_MACH_N2100 | |
14705 | # ifdef machine_arch_type | |
14706 | # undef machine_arch_type | |
14707 | # define machine_arch_type __machine_arch_type | |
14708 | # else | |
14709 | # define machine_arch_type MACH_TYPE_N2100 | |
14710 | # endif | |
14711 | # define machine_is_n2100() (machine_arch_type == MACH_TYPE_N2100) | |
14712 | #else | |
14713 | # define machine_is_n2100() (0) | |
14714 | #endif | |
14715 | ||
14716 | #ifdef CONFIG_MACH_N4100 | |
14717 | # ifdef machine_arch_type | |
14718 | # undef machine_arch_type | |
14719 | # define machine_arch_type __machine_arch_type | |
14720 | # else | |
14721 | # define machine_arch_type MACH_TYPE_N4100 | |
14722 | # endif | |
14723 | # define machine_is_n4100() (machine_arch_type == MACH_TYPE_N4100) | |
14724 | #else | |
14725 | # define machine_is_n4100() (0) | |
14726 | #endif | |
14727 | ||
14728 | #ifdef CONFIG_MACH_VERTICAL_RSC4 | |
14729 | # ifdef machine_arch_type | |
14730 | # undef machine_arch_type | |
14731 | # define machine_arch_type __machine_arch_type | |
14732 | # else | |
14733 | # define machine_arch_type MACH_TYPE_VERTICAL_RSC4 | |
14734 | # endif | |
14735 | # define machine_is_rsc4() (machine_arch_type == MACH_TYPE_VERTICAL_RSC4) | |
14736 | #else | |
14737 | # define machine_is_rsc4() (0) | |
14738 | #endif | |
14739 | ||
14740 | #ifdef CONFIG_MACH_SG8100 | |
14741 | # ifdef machine_arch_type | |
14742 | # undef machine_arch_type | |
14743 | # define machine_arch_type __machine_arch_type | |
14744 | # else | |
14745 | # define machine_arch_type MACH_TYPE_SG8100 | |
14746 | # endif | |
14747 | # define machine_is_sg8100() (machine_arch_type == MACH_TYPE_SG8100) | |
14748 | #else | |
14749 | # define machine_is_sg8100() (0) | |
14750 | #endif | |
14751 | ||
14752 | #ifdef CONFIG_MACH_IM42XX | |
14753 | # ifdef machine_arch_type | |
14754 | # undef machine_arch_type | |
14755 | # define machine_arch_type __machine_arch_type | |
14756 | # else | |
14757 | # define machine_arch_type MACH_TYPE_IM42XX | |
14758 | # endif | |
14759 | # define machine_is_im42xx() (machine_arch_type == MACH_TYPE_IM42XX) | |
14760 | #else | |
14761 | # define machine_is_im42xx() (0) | |
14762 | #endif | |
14763 | ||
14764 | #ifdef CONFIG_MACH_FTXX | |
14765 | # ifdef machine_arch_type | |
14766 | # undef machine_arch_type | |
14767 | # define machine_arch_type __machine_arch_type | |
14768 | # else | |
14769 | # define machine_arch_type MACH_TYPE_FTXX | |
14770 | # endif | |
14771 | # define machine_is_ftxx() (machine_arch_type == MACH_TYPE_FTXX) | |
14772 | #else | |
14773 | # define machine_is_ftxx() (0) | |
14774 | #endif | |
14775 | ||
14776 | #ifdef CONFIG_MACH_LWFUSION | |
14777 | # ifdef machine_arch_type | |
14778 | # undef machine_arch_type | |
14779 | # define machine_arch_type __machine_arch_type | |
14780 | # else | |
14781 | # define machine_arch_type MACH_TYPE_LWFUSION | |
14782 | # endif | |
14783 | # define machine_is_lwfusion() (machine_arch_type == MACH_TYPE_LWFUSION) | |
14784 | #else | |
14785 | # define machine_is_lwfusion() (0) | |
14786 | #endif | |
14787 | ||
14788 | #ifdef CONFIG_MACH_QT2410 | |
14789 | # ifdef machine_arch_type | |
14790 | # undef machine_arch_type | |
14791 | # define machine_arch_type __machine_arch_type | |
14792 | # else | |
14793 | # define machine_arch_type MACH_TYPE_QT2410 | |
14794 | # endif | |
14795 | # define machine_is_qt2410() (machine_arch_type == MACH_TYPE_QT2410) | |
14796 | #else | |
14797 | # define machine_is_qt2410() (0) | |
14798 | #endif | |
14799 | ||
14800 | #ifdef CONFIG_MACH_KIXRP435 | |
14801 | # ifdef machine_arch_type | |
14802 | # undef machine_arch_type | |
14803 | # define machine_arch_type __machine_arch_type | |
14804 | # else | |
14805 | # define machine_arch_type MACH_TYPE_KIXRP435 | |
14806 | # endif | |
14807 | # define machine_is_kixrp435() (machine_arch_type == MACH_TYPE_KIXRP435) | |
14808 | #else | |
14809 | # define machine_is_kixrp435() (0) | |
14810 | #endif | |
14811 | ||
14812 | #ifdef CONFIG_MACH_CCW9C | |
14813 | # ifdef machine_arch_type | |
14814 | # undef machine_arch_type | |
14815 | # define machine_arch_type __machine_arch_type | |
14816 | # else | |
14817 | # define machine_arch_type MACH_TYPE_CCW9C | |
14818 | # endif | |
14819 | # define machine_is_ccw9c() (machine_arch_type == MACH_TYPE_CCW9C) | |
14820 | #else | |
14821 | # define machine_is_ccw9c() (0) | |
14822 | #endif | |
14823 | ||
14824 | #ifdef CONFIG_MACH_DABHS | |
14825 | # ifdef machine_arch_type | |
14826 | # undef machine_arch_type | |
14827 | # define machine_arch_type __machine_arch_type | |
14828 | # else | |
14829 | # define machine_arch_type MACH_TYPE_DABHS | |
14830 | # endif | |
14831 | # define machine_is_dabhs() (machine_arch_type == MACH_TYPE_DABHS) | |
14832 | #else | |
14833 | # define machine_is_dabhs() (0) | |
14834 | #endif | |
14835 | ||
14836 | #ifdef CONFIG_MACH_GZMX | |
14837 | # ifdef machine_arch_type | |
14838 | # undef machine_arch_type | |
14839 | # define machine_arch_type __machine_arch_type | |
14840 | # else | |
14841 | # define machine_arch_type MACH_TYPE_GZMX | |
14842 | # endif | |
14843 | # define machine_is_gzmx() (machine_arch_type == MACH_TYPE_GZMX) | |
14844 | #else | |
14845 | # define machine_is_gzmx() (0) | |
14846 | #endif | |
14847 | ||
14848 | #ifdef CONFIG_MACH_IPNW100AP | |
14849 | # ifdef machine_arch_type | |
14850 | # undef machine_arch_type | |
14851 | # define machine_arch_type __machine_arch_type | |
14852 | # else | |
14853 | # define machine_arch_type MACH_TYPE_IPNW100AP | |
14854 | # endif | |
14855 | # define machine_is_ipnw100ap() (machine_arch_type == MACH_TYPE_IPNW100AP) | |
14856 | #else | |
14857 | # define machine_is_ipnw100ap() (0) | |
14858 | #endif | |
14859 | ||
14860 | #ifdef CONFIG_MACH_CC9P9360DEV | |
14861 | # ifdef machine_arch_type | |
14862 | # undef machine_arch_type | |
14863 | # define machine_arch_type __machine_arch_type | |
14864 | # else | |
14865 | # define machine_arch_type MACH_TYPE_CC9P9360DEV | |
14866 | # endif | |
14867 | # define machine_is_cc9p9360dev() (machine_arch_type == MACH_TYPE_CC9P9360DEV) | |
14868 | #else | |
14869 | # define machine_is_cc9p9360dev() (0) | |
14870 | #endif | |
14871 | ||
14872 | #ifdef CONFIG_MACH_CC9P9750DEV | |
14873 | # ifdef machine_arch_type | |
14874 | # undef machine_arch_type | |
14875 | # define machine_arch_type __machine_arch_type | |
14876 | # else | |
14877 | # define machine_arch_type MACH_TYPE_CC9P9750DEV | |
14878 | # endif | |
14879 | # define machine_is_cc9p9750dev() (machine_arch_type == MACH_TYPE_CC9P9750DEV) | |
14880 | #else | |
14881 | # define machine_is_cc9p9750dev() (0) | |
14882 | #endif | |
14883 | ||
14884 | #ifdef CONFIG_MACH_CC9P9360VAL | |
14885 | # ifdef machine_arch_type | |
14886 | # undef machine_arch_type | |
14887 | # define machine_arch_type __machine_arch_type | |
14888 | # else | |
14889 | # define machine_arch_type MACH_TYPE_CC9P9360VAL | |
14890 | # endif | |
14891 | # define machine_is_cc9p9360val() (machine_arch_type == MACH_TYPE_CC9P9360VAL) | |
14892 | #else | |
14893 | # define machine_is_cc9p9360val() (0) | |
14894 | #endif | |
14895 | ||
14896 | #ifdef CONFIG_MACH_CC9P9750VAL | |
14897 | # ifdef machine_arch_type | |
14898 | # undef machine_arch_type | |
14899 | # define machine_arch_type __machine_arch_type | |
14900 | # else | |
14901 | # define machine_arch_type MACH_TYPE_CC9P9750VAL | |
14902 | # endif | |
14903 | # define machine_is_cc9p9750val() (machine_arch_type == MACH_TYPE_CC9P9750VAL) | |
14904 | #else | |
14905 | # define machine_is_cc9p9750val() (0) | |
14906 | #endif | |
14907 | ||
14908 | #ifdef CONFIG_MACH_NX70V | |
14909 | # ifdef machine_arch_type | |
14910 | # undef machine_arch_type | |
14911 | # define machine_arch_type __machine_arch_type | |
14912 | # else | |
14913 | # define machine_arch_type MACH_TYPE_NX70V | |
14914 | # endif | |
14915 | # define machine_is_nx70v() (machine_arch_type == MACH_TYPE_NX70V) | |
14916 | #else | |
14917 | # define machine_is_nx70v() (0) | |
14918 | #endif | |
14919 | ||
14920 | #ifdef CONFIG_MACH_AT91RM9200DF | |
14921 | # ifdef machine_arch_type | |
14922 | # undef machine_arch_type | |
14923 | # define machine_arch_type __machine_arch_type | |
14924 | # else | |
14925 | # define machine_arch_type MACH_TYPE_AT91RM9200DF | |
14926 | # endif | |
14927 | # define machine_is_at91rm9200df() (machine_arch_type == MACH_TYPE_AT91RM9200DF) | |
14928 | #else | |
14929 | # define machine_is_at91rm9200df() (0) | |
14930 | #endif | |
14931 | ||
14932 | #ifdef CONFIG_MACH_SE_PILOT2 | |
14933 | # ifdef machine_arch_type | |
14934 | # undef machine_arch_type | |
14935 | # define machine_arch_type __machine_arch_type | |
14936 | # else | |
14937 | # define machine_arch_type MACH_TYPE_SE_PILOT2 | |
14938 | # endif | |
14939 | # define machine_is_se_pilot2() (machine_arch_type == MACH_TYPE_SE_PILOT2) | |
14940 | #else | |
14941 | # define machine_is_se_pilot2() (0) | |
14942 | #endif | |
14943 | ||
14944 | #ifdef CONFIG_MACH_MTCN_T800 | |
14945 | # ifdef machine_arch_type | |
14946 | # undef machine_arch_type | |
14947 | # define machine_arch_type __machine_arch_type | |
14948 | # else | |
14949 | # define machine_arch_type MACH_TYPE_MTCN_T800 | |
14950 | # endif | |
14951 | # define machine_is_mtcn_t800() (machine_arch_type == MACH_TYPE_MTCN_T800) | |
14952 | #else | |
14953 | # define machine_is_mtcn_t800() (0) | |
14954 | #endif | |
14955 | ||
14956 | #ifdef CONFIG_MACH_VCMX212 | |
14957 | # ifdef machine_arch_type | |
14958 | # undef machine_arch_type | |
14959 | # define machine_arch_type __machine_arch_type | |
14960 | # else | |
14961 | # define machine_arch_type MACH_TYPE_VCMX212 | |
14962 | # endif | |
14963 | # define machine_is_vcmx212() (machine_arch_type == MACH_TYPE_VCMX212) | |
14964 | #else | |
14965 | # define machine_is_vcmx212() (0) | |
14966 | #endif | |
14967 | ||
14968 | #ifdef CONFIG_MACH_LYNX | |
14969 | # ifdef machine_arch_type | |
14970 | # undef machine_arch_type | |
14971 | # define machine_arch_type __machine_arch_type | |
14972 | # else | |
14973 | # define machine_arch_type MACH_TYPE_LYNX | |
14974 | # endif | |
14975 | # define machine_is_lynx() (machine_arch_type == MACH_TYPE_LYNX) | |
14976 | #else | |
14977 | # define machine_is_lynx() (0) | |
14978 | #endif | |
14979 | ||
14980 | #ifdef CONFIG_MACH_AT91SAM9260ID | |
14981 | # ifdef machine_arch_type | |
14982 | # undef machine_arch_type | |
14983 | # define machine_arch_type __machine_arch_type | |
14984 | # else | |
14985 | # define machine_arch_type MACH_TYPE_AT91SAM9260ID | |
14986 | # endif | |
14987 | # define machine_is_at91sam9260id() (machine_arch_type == MACH_TYPE_AT91SAM9260ID) | |
14988 | #else | |
14989 | # define machine_is_at91sam9260id() (0) | |
14990 | #endif | |
14991 | ||
14992 | #ifdef CONFIG_MACH_HW86052 | |
14993 | # ifdef machine_arch_type | |
14994 | # undef machine_arch_type | |
14995 | # define machine_arch_type __machine_arch_type | |
14996 | # else | |
14997 | # define machine_arch_type MACH_TYPE_HW86052 | |
14998 | # endif | |
14999 | # define machine_is_hw86052() (machine_arch_type == MACH_TYPE_HW86052) | |
15000 | #else | |
15001 | # define machine_is_hw86052() (0) | |
15002 | #endif | |
15003 | ||
15004 | #ifdef CONFIG_MACH_PILZ_PMI3 | |
15005 | # ifdef machine_arch_type | |
15006 | # undef machine_arch_type | |
15007 | # define machine_arch_type __machine_arch_type | |
15008 | # else | |
15009 | # define machine_arch_type MACH_TYPE_PILZ_PMI3 | |
15010 | # endif | |
15011 | # define machine_is_pilz_pmi3() (machine_arch_type == MACH_TYPE_PILZ_PMI3) | |
15012 | #else | |
15013 | # define machine_is_pilz_pmi3() (0) | |
15014 | #endif | |
15015 | ||
15016 | #ifdef CONFIG_MACH_EDB9302A | |
15017 | # ifdef machine_arch_type | |
15018 | # undef machine_arch_type | |
15019 | # define machine_arch_type __machine_arch_type | |
15020 | # else | |
15021 | # define machine_arch_type MACH_TYPE_EDB9302A | |
15022 | # endif | |
15023 | # define machine_is_edb9302a() (machine_arch_type == MACH_TYPE_EDB9302A) | |
15024 | #else | |
15025 | # define machine_is_edb9302a() (0) | |
15026 | #endif | |
15027 | ||
15028 | #ifdef CONFIG_MACH_EDB9307A | |
15029 | # ifdef machine_arch_type | |
15030 | # undef machine_arch_type | |
15031 | # define machine_arch_type __machine_arch_type | |
15032 | # else | |
15033 | # define machine_arch_type MACH_TYPE_EDB9307A | |
15034 | # endif | |
15035 | # define machine_is_edb9307a() (machine_arch_type == MACH_TYPE_EDB9307A) | |
15036 | #else | |
15037 | # define machine_is_edb9307a() (0) | |
15038 | #endif | |
15039 | ||
15040 | #ifdef CONFIG_MACH_CT_DFS | |
15041 | # ifdef machine_arch_type | |
15042 | # undef machine_arch_type | |
15043 | # define machine_arch_type __machine_arch_type | |
15044 | # else | |
15045 | # define machine_arch_type MACH_TYPE_CT_DFS | |
15046 | # endif | |
15047 | # define machine_is_ct_dfs() (machine_arch_type == MACH_TYPE_CT_DFS) | |
15048 | #else | |
15049 | # define machine_is_ct_dfs() (0) | |
15050 | #endif | |
15051 | ||
15052 | #ifdef CONFIG_MACH_PILZ_PMI4 | |
15053 | # ifdef machine_arch_type | |
15054 | # undef machine_arch_type | |
15055 | # define machine_arch_type __machine_arch_type | |
15056 | # else | |
15057 | # define machine_arch_type MACH_TYPE_PILZ_PMI4 | |
15058 | # endif | |
15059 | # define machine_is_pilz_pmi4() (machine_arch_type == MACH_TYPE_PILZ_PMI4) | |
15060 | #else | |
15061 | # define machine_is_pilz_pmi4() (0) | |
15062 | #endif | |
15063 | ||
15064 | #ifdef CONFIG_MACH_XCEEDNP_IXP | |
15065 | # ifdef machine_arch_type | |
15066 | # undef machine_arch_type | |
15067 | # define machine_arch_type __machine_arch_type | |
15068 | # else | |
15069 | # define machine_arch_type MACH_TYPE_XCEEDNP_IXP | |
15070 | # endif | |
15071 | # define machine_is_xceednp_ixp() (machine_arch_type == MACH_TYPE_XCEEDNP_IXP) | |
15072 | #else | |
15073 | # define machine_is_xceednp_ixp() (0) | |
15074 | #endif | |
15075 | ||
15076 | #ifdef CONFIG_MACH_SMDK2442B | |
15077 | # ifdef machine_arch_type | |
15078 | # undef machine_arch_type | |
15079 | # define machine_arch_type __machine_arch_type | |
15080 | # else | |
15081 | # define machine_arch_type MACH_TYPE_SMDK2442B | |
15082 | # endif | |
15083 | # define machine_is_smdk2442b() (machine_arch_type == MACH_TYPE_SMDK2442B) | |
15084 | #else | |
15085 | # define machine_is_smdk2442b() (0) | |
15086 | #endif | |
15087 | ||
15088 | #ifdef CONFIG_MACH_XNODE | |
15089 | # ifdef machine_arch_type | |
15090 | # undef machine_arch_type | |
15091 | # define machine_arch_type __machine_arch_type | |
15092 | # else | |
15093 | # define machine_arch_type MACH_TYPE_XNODE | |
15094 | # endif | |
15095 | # define machine_is_xnode() (machine_arch_type == MACH_TYPE_XNODE) | |
15096 | #else | |
15097 | # define machine_is_xnode() (0) | |
15098 | #endif | |
15099 | ||
15100 | #ifdef CONFIG_MACH_AIDX270 | |
15101 | # ifdef machine_arch_type | |
15102 | # undef machine_arch_type | |
15103 | # define machine_arch_type __machine_arch_type | |
15104 | # else | |
15105 | # define machine_arch_type MACH_TYPE_AIDX270 | |
15106 | # endif | |
15107 | # define machine_is_aidx270() (machine_arch_type == MACH_TYPE_AIDX270) | |
15108 | #else | |
15109 | # define machine_is_aidx270() (0) | |
15110 | #endif | |
15111 | ||
15112 | #ifdef CONFIG_MACH_REMA | |
15113 | # ifdef machine_arch_type | |
15114 | # undef machine_arch_type | |
15115 | # define machine_arch_type __machine_arch_type | |
15116 | # else | |
15117 | # define machine_arch_type MACH_TYPE_REMA | |
15118 | # endif | |
15119 | # define machine_is_rema() (machine_arch_type == MACH_TYPE_REMA) | |
15120 | #else | |
15121 | # define machine_is_rema() (0) | |
15122 | #endif | |
15123 | ||
15124 | #ifdef CONFIG_MACH_BPS1000 | |
15125 | # ifdef machine_arch_type | |
15126 | # undef machine_arch_type | |
15127 | # define machine_arch_type __machine_arch_type | |
15128 | # else | |
15129 | # define machine_arch_type MACH_TYPE_BPS1000 | |
15130 | # endif | |
15131 | # define machine_is_bps1000() (machine_arch_type == MACH_TYPE_BPS1000) | |
15132 | #else | |
15133 | # define machine_is_bps1000() (0) | |
15134 | #endif | |
15135 | ||
15136 | #ifdef CONFIG_MACH_HW90350 | |
15137 | # ifdef machine_arch_type | |
15138 | # undef machine_arch_type | |
15139 | # define machine_arch_type __machine_arch_type | |
15140 | # else | |
15141 | # define machine_arch_type MACH_TYPE_HW90350 | |
15142 | # endif | |
15143 | # define machine_is_hw90350() (machine_arch_type == MACH_TYPE_HW90350) | |
15144 | #else | |
15145 | # define machine_is_hw90350() (0) | |
15146 | #endif | |
15147 | ||
799891ef | 15148 | #ifdef CONFIG_MACH_OMAP_3430SDP |
f43ad539 WD |
15149 | # ifdef machine_arch_type |
15150 | # undef machine_arch_type | |
15151 | # define machine_arch_type __machine_arch_type | |
15152 | # else | |
799891ef | 15153 | # define machine_arch_type MACH_TYPE_OMAP_3430SDP |
f43ad539 | 15154 | # endif |
799891ef | 15155 | # define machine_is_omap_3430sdp() (machine_arch_type == MACH_TYPE_OMAP_3430SDP) |
f43ad539 | 15156 | #else |
799891ef | 15157 | # define machine_is_omap_3430sdp() (0) |
f43ad539 WD |
15158 | #endif |
15159 | ||
15160 | #ifdef CONFIG_MACH_BLUETOUCH | |
15161 | # ifdef machine_arch_type | |
15162 | # undef machine_arch_type | |
15163 | # define machine_arch_type __machine_arch_type | |
15164 | # else | |
15165 | # define machine_arch_type MACH_TYPE_BLUETOUCH | |
15166 | # endif | |
15167 | # define machine_is_bluetouch() (machine_arch_type == MACH_TYPE_BLUETOUCH) | |
15168 | #else | |
15169 | # define machine_is_bluetouch() (0) | |
15170 | #endif | |
15171 | ||
15172 | #ifdef CONFIG_MACH_VSTMS | |
15173 | # ifdef machine_arch_type | |
15174 | # undef machine_arch_type | |
15175 | # define machine_arch_type __machine_arch_type | |
15176 | # else | |
15177 | # define machine_arch_type MACH_TYPE_VSTMS | |
15178 | # endif | |
15179 | # define machine_is_vstms() (machine_arch_type == MACH_TYPE_VSTMS) | |
15180 | #else | |
15181 | # define machine_is_vstms() (0) | |
15182 | #endif | |
15183 | ||
15184 | #ifdef CONFIG_MACH_XSBASE270 | |
15185 | # ifdef machine_arch_type | |
15186 | # undef machine_arch_type | |
15187 | # define machine_arch_type __machine_arch_type | |
15188 | # else | |
15189 | # define machine_arch_type MACH_TYPE_XSBASE270 | |
15190 | # endif | |
15191 | # define machine_is_xsbase270() (machine_arch_type == MACH_TYPE_XSBASE270) | |
15192 | #else | |
15193 | # define machine_is_xsbase270() (0) | |
15194 | #endif | |
15195 | ||
15196 | #ifdef CONFIG_MACH_AT91SAM9260EK_CN | |
15197 | # ifdef machine_arch_type | |
15198 | # undef machine_arch_type | |
15199 | # define machine_arch_type __machine_arch_type | |
15200 | # else | |
15201 | # define machine_arch_type MACH_TYPE_AT91SAM9260EK_CN | |
15202 | # endif | |
15203 | # define machine_is_at91sam9260ek_cn() (machine_arch_type == MACH_TYPE_AT91SAM9260EK_CN) | |
15204 | #else | |
15205 | # define machine_is_at91sam9260ek_cn() (0) | |
15206 | #endif | |
15207 | ||
15208 | #ifdef CONFIG_MACH_ADSTURBOXB | |
15209 | # ifdef machine_arch_type | |
15210 | # undef machine_arch_type | |
15211 | # define machine_arch_type __machine_arch_type | |
15212 | # else | |
15213 | # define machine_arch_type MACH_TYPE_ADSTURBOXB | |
15214 | # endif | |
15215 | # define machine_is_adsturboxb() (machine_arch_type == MACH_TYPE_ADSTURBOXB) | |
15216 | #else | |
15217 | # define machine_is_adsturboxb() (0) | |
15218 | #endif | |
15219 | ||
15220 | #ifdef CONFIG_MACH_OTI4110 | |
15221 | # ifdef machine_arch_type | |
15222 | # undef machine_arch_type | |
15223 | # define machine_arch_type __machine_arch_type | |
15224 | # else | |
15225 | # define machine_arch_type MACH_TYPE_OTI4110 | |
15226 | # endif | |
15227 | # define machine_is_oti4110() (machine_arch_type == MACH_TYPE_OTI4110) | |
15228 | #else | |
15229 | # define machine_is_oti4110() (0) | |
15230 | #endif | |
15231 | ||
15232 | #ifdef CONFIG_MACH_HME_PXA | |
15233 | # ifdef machine_arch_type | |
15234 | # undef machine_arch_type | |
15235 | # define machine_arch_type __machine_arch_type | |
15236 | # else | |
15237 | # define machine_arch_type MACH_TYPE_HME_PXA | |
15238 | # endif | |
15239 | # define machine_is_hme_pxa() (machine_arch_type == MACH_TYPE_HME_PXA) | |
15240 | #else | |
15241 | # define machine_is_hme_pxa() (0) | |
15242 | #endif | |
15243 | ||
15244 | #ifdef CONFIG_MACH_DEISTERDCA | |
15245 | # ifdef machine_arch_type | |
15246 | # undef machine_arch_type | |
15247 | # define machine_arch_type __machine_arch_type | |
15248 | # else | |
15249 | # define machine_arch_type MACH_TYPE_DEISTERDCA | |
15250 | # endif | |
15251 | # define machine_is_deisterdca() (machine_arch_type == MACH_TYPE_DEISTERDCA) | |
15252 | #else | |
15253 | # define machine_is_deisterdca() (0) | |
15254 | #endif | |
15255 | ||
15256 | #ifdef CONFIG_MACH_CES_SSEM2 | |
15257 | # ifdef machine_arch_type | |
15258 | # undef machine_arch_type | |
15259 | # define machine_arch_type __machine_arch_type | |
15260 | # else | |
15261 | # define machine_arch_type MACH_TYPE_CES_SSEM2 | |
15262 | # endif | |
15263 | # define machine_is_ces_ssem2() (machine_arch_type == MACH_TYPE_CES_SSEM2) | |
15264 | #else | |
15265 | # define machine_is_ces_ssem2() (0) | |
15266 | #endif | |
15267 | ||
15268 | #ifdef CONFIG_MACH_CES_MTR | |
15269 | # ifdef machine_arch_type | |
15270 | # undef machine_arch_type | |
15271 | # define machine_arch_type __machine_arch_type | |
15272 | # else | |
15273 | # define machine_arch_type MACH_TYPE_CES_MTR | |
15274 | # endif | |
15275 | # define machine_is_ces_mtr() (machine_arch_type == MACH_TYPE_CES_MTR) | |
15276 | #else | |
15277 | # define machine_is_ces_mtr() (0) | |
15278 | #endif | |
15279 | ||
15280 | #ifdef CONFIG_MACH_TDS_AVNG_SBC | |
15281 | # ifdef machine_arch_type | |
15282 | # undef machine_arch_type | |
15283 | # define machine_arch_type __machine_arch_type | |
15284 | # else | |
15285 | # define machine_arch_type MACH_TYPE_TDS_AVNG_SBC | |
15286 | # endif | |
15287 | # define machine_is_tds_avng_sbc() (machine_arch_type == MACH_TYPE_TDS_AVNG_SBC) | |
15288 | #else | |
15289 | # define machine_is_tds_avng_sbc() (0) | |
15290 | #endif | |
15291 | ||
15292 | #ifdef CONFIG_MACH_EVEREST | |
15293 | # ifdef machine_arch_type | |
15294 | # undef machine_arch_type | |
15295 | # define machine_arch_type __machine_arch_type | |
15296 | # else | |
15297 | # define machine_arch_type MACH_TYPE_EVEREST | |
15298 | # endif | |
15299 | # define machine_is_everest() (machine_arch_type == MACH_TYPE_EVEREST) | |
15300 | #else | |
15301 | # define machine_is_everest() (0) | |
15302 | #endif | |
15303 | ||
15304 | #ifdef CONFIG_MACH_PNX4010 | |
15305 | # ifdef machine_arch_type | |
15306 | # undef machine_arch_type | |
15307 | # define machine_arch_type __machine_arch_type | |
15308 | # else | |
15309 | # define machine_arch_type MACH_TYPE_PNX4010 | |
15310 | # endif | |
15311 | # define machine_is_pnx4010() (machine_arch_type == MACH_TYPE_PNX4010) | |
15312 | #else | |
15313 | # define machine_is_pnx4010() (0) | |
15314 | #endif | |
15315 | ||
15316 | #ifdef CONFIG_MACH_OXNAS | |
15317 | # ifdef machine_arch_type | |
15318 | # undef machine_arch_type | |
15319 | # define machine_arch_type __machine_arch_type | |
15320 | # else | |
15321 | # define machine_arch_type MACH_TYPE_OXNAS | |
15322 | # endif | |
15323 | # define machine_is_oxnas() (machine_arch_type == MACH_TYPE_OXNAS) | |
15324 | #else | |
15325 | # define machine_is_oxnas() (0) | |
15326 | #endif | |
15327 | ||
15328 | #ifdef CONFIG_MACH_FIORI | |
15329 | # ifdef machine_arch_type | |
15330 | # undef machine_arch_type | |
15331 | # define machine_arch_type __machine_arch_type | |
15332 | # else | |
15333 | # define machine_arch_type MACH_TYPE_FIORI | |
15334 | # endif | |
15335 | # define machine_is_fiori() (machine_arch_type == MACH_TYPE_FIORI) | |
15336 | #else | |
15337 | # define machine_is_fiori() (0) | |
15338 | #endif | |
15339 | ||
15340 | #ifdef CONFIG_MACH_ML1200 | |
15341 | # ifdef machine_arch_type | |
15342 | # undef machine_arch_type | |
15343 | # define machine_arch_type __machine_arch_type | |
15344 | # else | |
15345 | # define machine_arch_type MACH_TYPE_ML1200 | |
15346 | # endif | |
15347 | # define machine_is_ml1200() (machine_arch_type == MACH_TYPE_ML1200) | |
15348 | #else | |
15349 | # define machine_is_ml1200() (0) | |
15350 | #endif | |
15351 | ||
15352 | #ifdef CONFIG_MACH_PECOS | |
15353 | # ifdef machine_arch_type | |
15354 | # undef machine_arch_type | |
15355 | # define machine_arch_type __machine_arch_type | |
15356 | # else | |
15357 | # define machine_arch_type MACH_TYPE_PECOS | |
15358 | # endif | |
15359 | # define machine_is_pecos() (machine_arch_type == MACH_TYPE_PECOS) | |
15360 | #else | |
15361 | # define machine_is_pecos() (0) | |
15362 | #endif | |
15363 | ||
15364 | #ifdef CONFIG_MACH_NB2XXX | |
15365 | # ifdef machine_arch_type | |
15366 | # undef machine_arch_type | |
15367 | # define machine_arch_type __machine_arch_type | |
15368 | # else | |
15369 | # define machine_arch_type MACH_TYPE_NB2XXX | |
15370 | # endif | |
15371 | # define machine_is_nb2xxx() (machine_arch_type == MACH_TYPE_NB2XXX) | |
15372 | #else | |
15373 | # define machine_is_nb2xxx() (0) | |
15374 | #endif | |
15375 | ||
15376 | #ifdef CONFIG_MACH_HW6900 | |
15377 | # ifdef machine_arch_type | |
15378 | # undef machine_arch_type | |
15379 | # define machine_arch_type __machine_arch_type | |
15380 | # else | |
15381 | # define machine_arch_type MACH_TYPE_HW6900 | |
15382 | # endif | |
15383 | # define machine_is_hw6900() (machine_arch_type == MACH_TYPE_HW6900) | |
15384 | #else | |
15385 | # define machine_is_hw6900() (0) | |
15386 | #endif | |
15387 | ||
15388 | #ifdef CONFIG_MACH_CDCS_QUOLL | |
15389 | # ifdef machine_arch_type | |
15390 | # undef machine_arch_type | |
15391 | # define machine_arch_type __machine_arch_type | |
15392 | # else | |
15393 | # define machine_arch_type MACH_TYPE_CDCS_QUOLL | |
15394 | # endif | |
15395 | # define machine_is_cdcs_quoll() (machine_arch_type == MACH_TYPE_CDCS_QUOLL) | |
15396 | #else | |
15397 | # define machine_is_cdcs_quoll() (0) | |
15398 | #endif | |
15399 | ||
15400 | #ifdef CONFIG_MACH_QUICKSILVER | |
15401 | # ifdef machine_arch_type | |
15402 | # undef machine_arch_type | |
15403 | # define machine_arch_type __machine_arch_type | |
15404 | # else | |
15405 | # define machine_arch_type MACH_TYPE_QUICKSILVER | |
15406 | # endif | |
15407 | # define machine_is_quicksilver() (machine_arch_type == MACH_TYPE_QUICKSILVER) | |
15408 | #else | |
15409 | # define machine_is_quicksilver() (0) | |
15410 | #endif | |
15411 | ||
15412 | #ifdef CONFIG_MACH_UPLAT926 | |
15413 | # ifdef machine_arch_type | |
15414 | # undef machine_arch_type | |
15415 | # define machine_arch_type __machine_arch_type | |
15416 | # else | |
15417 | # define machine_arch_type MACH_TYPE_UPLAT926 | |
15418 | # endif | |
15419 | # define machine_is_uplat926() (machine_arch_type == MACH_TYPE_UPLAT926) | |
15420 | #else | |
15421 | # define machine_is_uplat926() (0) | |
15422 | #endif | |
15423 | ||
15424 | #ifdef CONFIG_MACH_DEP2410_THOMAS | |
15425 | # ifdef machine_arch_type | |
15426 | # undef machine_arch_type | |
15427 | # define machine_arch_type __machine_arch_type | |
15428 | # else | |
15429 | # define machine_arch_type MACH_TYPE_DEP2410_THOMAS | |
15430 | # endif | |
15431 | # define machine_is_dep2410_dep2410() (machine_arch_type == MACH_TYPE_DEP2410_THOMAS) | |
15432 | #else | |
15433 | # define machine_is_dep2410_dep2410() (0) | |
15434 | #endif | |
15435 | ||
15436 | #ifdef CONFIG_MACH_DTK2410 | |
15437 | # ifdef machine_arch_type | |
15438 | # undef machine_arch_type | |
15439 | # define machine_arch_type __machine_arch_type | |
15440 | # else | |
15441 | # define machine_arch_type MACH_TYPE_DTK2410 | |
15442 | # endif | |
15443 | # define machine_is_dtk2410() (machine_arch_type == MACH_TYPE_DTK2410) | |
15444 | #else | |
15445 | # define machine_is_dtk2410() (0) | |
15446 | #endif | |
15447 | ||
15448 | #ifdef CONFIG_MACH_CHILI | |
15449 | # ifdef machine_arch_type | |
15450 | # undef machine_arch_type | |
15451 | # define machine_arch_type __machine_arch_type | |
15452 | # else | |
15453 | # define machine_arch_type MACH_TYPE_CHILI | |
15454 | # endif | |
15455 | # define machine_is_chili() (machine_arch_type == MACH_TYPE_CHILI) | |
15456 | #else | |
15457 | # define machine_is_chili() (0) | |
15458 | #endif | |
15459 | ||
15460 | #ifdef CONFIG_MACH_DEMETER | |
15461 | # ifdef machine_arch_type | |
15462 | # undef machine_arch_type | |
15463 | # define machine_arch_type __machine_arch_type | |
15464 | # else | |
15465 | # define machine_arch_type MACH_TYPE_DEMETER | |
15466 | # endif | |
15467 | # define machine_is_demeter() (machine_arch_type == MACH_TYPE_DEMETER) | |
15468 | #else | |
15469 | # define machine_is_demeter() (0) | |
15470 | #endif | |
15471 | ||
15472 | #ifdef CONFIG_MACH_DIONYSUS | |
15473 | # ifdef machine_arch_type | |
15474 | # undef machine_arch_type | |
15475 | # define machine_arch_type __machine_arch_type | |
15476 | # else | |
15477 | # define machine_arch_type MACH_TYPE_DIONYSUS | |
15478 | # endif | |
15479 | # define machine_is_dionysus() (machine_arch_type == MACH_TYPE_DIONYSUS) | |
15480 | #else | |
15481 | # define machine_is_dionysus() (0) | |
15482 | #endif | |
15483 | ||
15484 | #ifdef CONFIG_MACH_AS352X | |
15485 | # ifdef machine_arch_type | |
15486 | # undef machine_arch_type | |
15487 | # define machine_arch_type __machine_arch_type | |
15488 | # else | |
15489 | # define machine_arch_type MACH_TYPE_AS352X | |
15490 | # endif | |
15491 | # define machine_is_as352x() (machine_arch_type == MACH_TYPE_AS352X) | |
15492 | #else | |
15493 | # define machine_is_as352x() (0) | |
15494 | #endif | |
15495 | ||
15496 | #ifdef CONFIG_MACH_SERVICE | |
15497 | # ifdef machine_arch_type | |
15498 | # undef machine_arch_type | |
15499 | # define machine_arch_type __machine_arch_type | |
15500 | # else | |
15501 | # define machine_arch_type MACH_TYPE_SERVICE | |
15502 | # endif | |
15503 | # define machine_is_service() (machine_arch_type == MACH_TYPE_SERVICE) | |
15504 | #else | |
15505 | # define machine_is_service() (0) | |
15506 | #endif | |
15507 | ||
15508 | #ifdef CONFIG_MACH_CS_E9301 | |
15509 | # ifdef machine_arch_type | |
15510 | # undef machine_arch_type | |
15511 | # define machine_arch_type __machine_arch_type | |
15512 | # else | |
15513 | # define machine_arch_type MACH_TYPE_CS_E9301 | |
15514 | # endif | |
15515 | # define machine_is_cs_e9301() (machine_arch_type == MACH_TYPE_CS_E9301) | |
15516 | #else | |
15517 | # define machine_is_cs_e9301() (0) | |
15518 | #endif | |
15519 | ||
15520 | #ifdef CONFIG_MACH_MICRO9M | |
15521 | # ifdef machine_arch_type | |
15522 | # undef machine_arch_type | |
15523 | # define machine_arch_type __machine_arch_type | |
15524 | # else | |
15525 | # define machine_arch_type MACH_TYPE_MICRO9M | |
15526 | # endif | |
15527 | # define machine_is_micro9m() (machine_arch_type == MACH_TYPE_MICRO9M) | |
15528 | #else | |
15529 | # define machine_is_micro9m() (0) | |
15530 | #endif | |
15531 | ||
15532 | #ifdef CONFIG_MACH_IA_MOSPCK | |
15533 | # ifdef machine_arch_type | |
15534 | # undef machine_arch_type | |
15535 | # define machine_arch_type __machine_arch_type | |
15536 | # else | |
15537 | # define machine_arch_type MACH_TYPE_IA_MOSPCK | |
15538 | # endif | |
15539 | # define machine_is_ia_mospck() (machine_arch_type == MACH_TYPE_IA_MOSPCK) | |
15540 | #else | |
15541 | # define machine_is_ia_mospck() (0) | |
15542 | #endif | |
15543 | ||
15544 | #ifdef CONFIG_MACH_QL201B | |
15545 | # ifdef machine_arch_type | |
15546 | # undef machine_arch_type | |
15547 | # define machine_arch_type __machine_arch_type | |
15548 | # else | |
15549 | # define machine_arch_type MACH_TYPE_QL201B | |
15550 | # endif | |
15551 | # define machine_is_ql201b() (machine_arch_type == MACH_TYPE_QL201B) | |
15552 | #else | |
15553 | # define machine_is_ql201b() (0) | |
15554 | #endif | |
15555 | ||
15556 | #ifdef CONFIG_MACH_BBM | |
15557 | # ifdef machine_arch_type | |
15558 | # undef machine_arch_type | |
15559 | # define machine_arch_type __machine_arch_type | |
15560 | # else | |
15561 | # define machine_arch_type MACH_TYPE_BBM | |
15562 | # endif | |
15563 | # define machine_is_bbm() (machine_arch_type == MACH_TYPE_BBM) | |
15564 | #else | |
15565 | # define machine_is_bbm() (0) | |
15566 | #endif | |
15567 | ||
15568 | #ifdef CONFIG_MACH_EXXX | |
15569 | # ifdef machine_arch_type | |
15570 | # undef machine_arch_type | |
15571 | # define machine_arch_type __machine_arch_type | |
15572 | # else | |
15573 | # define machine_arch_type MACH_TYPE_EXXX | |
15574 | # endif | |
15575 | # define machine_is_exxx() (machine_arch_type == MACH_TYPE_EXXX) | |
15576 | #else | |
15577 | # define machine_is_exxx() (0) | |
15578 | #endif | |
15579 | ||
15580 | #ifdef CONFIG_MACH_WMA11B | |
15581 | # ifdef machine_arch_type | |
15582 | # undef machine_arch_type | |
15583 | # define machine_arch_type __machine_arch_type | |
15584 | # else | |
15585 | # define machine_arch_type MACH_TYPE_WMA11B | |
15586 | # endif | |
15587 | # define machine_is_wma11b() (machine_arch_type == MACH_TYPE_WMA11B) | |
15588 | #else | |
15589 | # define machine_is_wma11b() (0) | |
15590 | #endif | |
15591 | ||
15592 | #ifdef CONFIG_MACH_PELCO_ATLAS | |
15593 | # ifdef machine_arch_type | |
15594 | # undef machine_arch_type | |
15595 | # define machine_arch_type __machine_arch_type | |
15596 | # else | |
15597 | # define machine_arch_type MACH_TYPE_PELCO_ATLAS | |
15598 | # endif | |
15599 | # define machine_is_pelco_atlas() (machine_arch_type == MACH_TYPE_PELCO_ATLAS) | |
15600 | #else | |
15601 | # define machine_is_pelco_atlas() (0) | |
15602 | #endif | |
15603 | ||
15604 | #ifdef CONFIG_MACH_G500 | |
15605 | # ifdef machine_arch_type | |
15606 | # undef machine_arch_type | |
15607 | # define machine_arch_type __machine_arch_type | |
15608 | # else | |
15609 | # define machine_arch_type MACH_TYPE_G500 | |
15610 | # endif | |
15611 | # define machine_is_g500() (machine_arch_type == MACH_TYPE_G500) | |
15612 | #else | |
15613 | # define machine_is_g500() (0) | |
15614 | #endif | |
15615 | ||
15616 | #ifdef CONFIG_MACH_BUG | |
15617 | # ifdef machine_arch_type | |
15618 | # undef machine_arch_type | |
15619 | # define machine_arch_type __machine_arch_type | |
15620 | # else | |
15621 | # define machine_arch_type MACH_TYPE_BUG | |
15622 | # endif | |
15623 | # define machine_is_bug() (machine_arch_type == MACH_TYPE_BUG) | |
15624 | #else | |
15625 | # define machine_is_bug() (0) | |
15626 | #endif | |
15627 | ||
15628 | #ifdef CONFIG_MACH_MX33ADS | |
15629 | # ifdef machine_arch_type | |
15630 | # undef machine_arch_type | |
15631 | # define machine_arch_type __machine_arch_type | |
15632 | # else | |
15633 | # define machine_arch_type MACH_TYPE_MX33ADS | |
15634 | # endif | |
15635 | # define machine_is_mx33ads() (machine_arch_type == MACH_TYPE_MX33ADS) | |
15636 | #else | |
15637 | # define machine_is_mx33ads() (0) | |
15638 | #endif | |
15639 | ||
15640 | #ifdef CONFIG_MACH_CHUB | |
15641 | # ifdef machine_arch_type | |
15642 | # undef machine_arch_type | |
15643 | # define machine_arch_type __machine_arch_type | |
15644 | # else | |
15645 | # define machine_arch_type MACH_TYPE_CHUB | |
15646 | # endif | |
15647 | # define machine_is_chub() (machine_arch_type == MACH_TYPE_CHUB) | |
15648 | #else | |
15649 | # define machine_is_chub() (0) | |
15650 | #endif | |
15651 | ||
15652 | #ifdef CONFIG_MACH_NEO1973_GTA01 | |
15653 | # ifdef machine_arch_type | |
15654 | # undef machine_arch_type | |
15655 | # define machine_arch_type __machine_arch_type | |
15656 | # else | |
15657 | # define machine_arch_type MACH_TYPE_NEO1973_GTA01 | |
15658 | # endif | |
15659 | # define machine_is_neo1973_gta01() (machine_arch_type == MACH_TYPE_NEO1973_GTA01) | |
15660 | #else | |
15661 | # define machine_is_neo1973_gta01() (0) | |
15662 | #endif | |
15663 | ||
15664 | #ifdef CONFIG_MACH_W90N740 | |
15665 | # ifdef machine_arch_type | |
15666 | # undef machine_arch_type | |
15667 | # define machine_arch_type __machine_arch_type | |
15668 | # else | |
15669 | # define machine_arch_type MACH_TYPE_W90N740 | |
15670 | # endif | |
15671 | # define machine_is_w90n740() (machine_arch_type == MACH_TYPE_W90N740) | |
15672 | #else | |
15673 | # define machine_is_w90n740() (0) | |
15674 | #endif | |
15675 | ||
15676 | #ifdef CONFIG_MACH_MEDALLION_SA2410 | |
15677 | # ifdef machine_arch_type | |
15678 | # undef machine_arch_type | |
15679 | # define machine_arch_type __machine_arch_type | |
15680 | # else | |
15681 | # define machine_arch_type MACH_TYPE_MEDALLION_SA2410 | |
15682 | # endif | |
15683 | # define machine_is_medallion_sa2410() (machine_arch_type == MACH_TYPE_MEDALLION_SA2410) | |
15684 | #else | |
15685 | # define machine_is_medallion_sa2410() (0) | |
15686 | #endif | |
15687 | ||
15688 | #ifdef CONFIG_MACH_IA_CPU_9200_2 | |
15689 | # ifdef machine_arch_type | |
15690 | # undef machine_arch_type | |
15691 | # define machine_arch_type __machine_arch_type | |
15692 | # else | |
15693 | # define machine_arch_type MACH_TYPE_IA_CPU_9200_2 | |
15694 | # endif | |
15695 | # define machine_is_ia_cpu_9200_2() (machine_arch_type == MACH_TYPE_IA_CPU_9200_2) | |
15696 | #else | |
15697 | # define machine_is_ia_cpu_9200_2() (0) | |
15698 | #endif | |
15699 | ||
15700 | #ifdef CONFIG_MACH_DIMMRM9200 | |
15701 | # ifdef machine_arch_type | |
15702 | # undef machine_arch_type | |
15703 | # define machine_arch_type __machine_arch_type | |
15704 | # else | |
15705 | # define machine_arch_type MACH_TYPE_DIMMRM9200 | |
15706 | # endif | |
15707 | # define machine_is_dimmrm9200() (machine_arch_type == MACH_TYPE_DIMMRM9200) | |
15708 | #else | |
15709 | # define machine_is_dimmrm9200() (0) | |
15710 | #endif | |
15711 | ||
15712 | #ifdef CONFIG_MACH_PM9261 | |
15713 | # ifdef machine_arch_type | |
15714 | # undef machine_arch_type | |
15715 | # define machine_arch_type __machine_arch_type | |
15716 | # else | |
15717 | # define machine_arch_type MACH_TYPE_PM9261 | |
15718 | # endif | |
15719 | # define machine_is_pm9261() (machine_arch_type == MACH_TYPE_PM9261) | |
15720 | #else | |
15721 | # define machine_is_pm9261() (0) | |
15722 | #endif | |
15723 | ||
15724 | #ifdef CONFIG_MACH_ML7304 | |
15725 | # ifdef machine_arch_type | |
15726 | # undef machine_arch_type | |
15727 | # define machine_arch_type __machine_arch_type | |
15728 | # else | |
15729 | # define machine_arch_type MACH_TYPE_ML7304 | |
15730 | # endif | |
15731 | # define machine_is_ml7304() (machine_arch_type == MACH_TYPE_ML7304) | |
15732 | #else | |
15733 | # define machine_is_ml7304() (0) | |
15734 | #endif | |
15735 | ||
15736 | #ifdef CONFIG_MACH_UCP250 | |
15737 | # ifdef machine_arch_type | |
15738 | # undef machine_arch_type | |
15739 | # define machine_arch_type __machine_arch_type | |
15740 | # else | |
15741 | # define machine_arch_type MACH_TYPE_UCP250 | |
15742 | # endif | |
15743 | # define machine_is_ucp250() (machine_arch_type == MACH_TYPE_UCP250) | |
15744 | #else | |
15745 | # define machine_is_ucp250() (0) | |
15746 | #endif | |
15747 | ||
15748 | #ifdef CONFIG_MACH_INTBOARD | |
15749 | # ifdef machine_arch_type | |
15750 | # undef machine_arch_type | |
15751 | # define machine_arch_type __machine_arch_type | |
15752 | # else | |
15753 | # define machine_arch_type MACH_TYPE_INTBOARD | |
15754 | # endif | |
15755 | # define machine_is_intboard() (machine_arch_type == MACH_TYPE_INTBOARD) | |
15756 | #else | |
15757 | # define machine_is_intboard() (0) | |
15758 | #endif | |
15759 | ||
15760 | #ifdef CONFIG_MACH_GULFSTREAM | |
15761 | # ifdef machine_arch_type | |
15762 | # undef machine_arch_type | |
15763 | # define machine_arch_type __machine_arch_type | |
15764 | # else | |
15765 | # define machine_arch_type MACH_TYPE_GULFSTREAM | |
15766 | # endif | |
15767 | # define machine_is_gulfstream() (machine_arch_type == MACH_TYPE_GULFSTREAM) | |
15768 | #else | |
15769 | # define machine_is_gulfstream() (0) | |
15770 | #endif | |
15771 | ||
15772 | #ifdef CONFIG_MACH_LABQUEST | |
15773 | # ifdef machine_arch_type | |
15774 | # undef machine_arch_type | |
15775 | # define machine_arch_type __machine_arch_type | |
15776 | # else | |
15777 | # define machine_arch_type MACH_TYPE_LABQUEST | |
15778 | # endif | |
15779 | # define machine_is_labquest() (machine_arch_type == MACH_TYPE_LABQUEST) | |
15780 | #else | |
15781 | # define machine_is_labquest() (0) | |
15782 | #endif | |
15783 | ||
15784 | #ifdef CONFIG_MACH_VCMX313 | |
15785 | # ifdef machine_arch_type | |
15786 | # undef machine_arch_type | |
15787 | # define machine_arch_type __machine_arch_type | |
15788 | # else | |
15789 | # define machine_arch_type MACH_TYPE_VCMX313 | |
15790 | # endif | |
15791 | # define machine_is_vcmx313() (machine_arch_type == MACH_TYPE_VCMX313) | |
15792 | #else | |
15793 | # define machine_is_vcmx313() (0) | |
15794 | #endif | |
15795 | ||
15796 | #ifdef CONFIG_MACH_URG200 | |
15797 | # ifdef machine_arch_type | |
15798 | # undef machine_arch_type | |
15799 | # define machine_arch_type __machine_arch_type | |
15800 | # else | |
15801 | # define machine_arch_type MACH_TYPE_URG200 | |
15802 | # endif | |
15803 | # define machine_is_urg200() (machine_arch_type == MACH_TYPE_URG200) | |
15804 | #else | |
15805 | # define machine_is_urg200() (0) | |
15806 | #endif | |
15807 | ||
15808 | #ifdef CONFIG_MACH_CPUX255LCDNET | |
15809 | # ifdef machine_arch_type | |
15810 | # undef machine_arch_type | |
15811 | # define machine_arch_type __machine_arch_type | |
15812 | # else | |
15813 | # define machine_arch_type MACH_TYPE_CPUX255LCDNET | |
15814 | # endif | |
15815 | # define machine_is_cpux255lcdnet() (machine_arch_type == MACH_TYPE_CPUX255LCDNET) | |
15816 | #else | |
15817 | # define machine_is_cpux255lcdnet() (0) | |
15818 | #endif | |
15819 | ||
15820 | #ifdef CONFIG_MACH_NETDCU9 | |
15821 | # ifdef machine_arch_type | |
15822 | # undef machine_arch_type | |
15823 | # define machine_arch_type __machine_arch_type | |
15824 | # else | |
15825 | # define machine_arch_type MACH_TYPE_NETDCU9 | |
15826 | # endif | |
15827 | # define machine_is_netdcu9() (machine_arch_type == MACH_TYPE_NETDCU9) | |
15828 | #else | |
15829 | # define machine_is_netdcu9() (0) | |
15830 | #endif | |
15831 | ||
15832 | #ifdef CONFIG_MACH_NETDCU10 | |
15833 | # ifdef machine_arch_type | |
15834 | # undef machine_arch_type | |
15835 | # define machine_arch_type __machine_arch_type | |
15836 | # else | |
15837 | # define machine_arch_type MACH_TYPE_NETDCU10 | |
15838 | # endif | |
15839 | # define machine_is_netdcu10() (machine_arch_type == MACH_TYPE_NETDCU10) | |
15840 | #else | |
15841 | # define machine_is_netdcu10() (0) | |
15842 | #endif | |
15843 | ||
15844 | #ifdef CONFIG_MACH_DSPG_DGA | |
15845 | # ifdef machine_arch_type | |
15846 | # undef machine_arch_type | |
15847 | # define machine_arch_type __machine_arch_type | |
15848 | # else | |
15849 | # define machine_arch_type MACH_TYPE_DSPG_DGA | |
15850 | # endif | |
15851 | # define machine_is_dspg_dga() (machine_arch_type == MACH_TYPE_DSPG_DGA) | |
15852 | #else | |
15853 | # define machine_is_dspg_dga() (0) | |
15854 | #endif | |
15855 | ||
15856 | #ifdef CONFIG_MACH_DSPG_DVW | |
15857 | # ifdef machine_arch_type | |
15858 | # undef machine_arch_type | |
15859 | # define machine_arch_type __machine_arch_type | |
15860 | # else | |
15861 | # define machine_arch_type MACH_TYPE_DSPG_DVW | |
15862 | # endif | |
15863 | # define machine_is_dspg_dvw() (machine_arch_type == MACH_TYPE_DSPG_DVW) | |
15864 | #else | |
15865 | # define machine_is_dspg_dvw() (0) | |
15866 | #endif | |
15867 | ||
15868 | #ifdef CONFIG_MACH_SOLOS | |
15869 | # ifdef machine_arch_type | |
15870 | # undef machine_arch_type | |
15871 | # define machine_arch_type __machine_arch_type | |
15872 | # else | |
15873 | # define machine_arch_type MACH_TYPE_SOLOS | |
15874 | # endif | |
15875 | # define machine_is_solos() (machine_arch_type == MACH_TYPE_SOLOS) | |
15876 | #else | |
15877 | # define machine_is_solos() (0) | |
15878 | #endif | |
15879 | ||
15880 | #ifdef CONFIG_MACH_AT91SAM9263EK | |
15881 | # ifdef machine_arch_type | |
15882 | # undef machine_arch_type | |
15883 | # define machine_arch_type __machine_arch_type | |
15884 | # else | |
15885 | # define machine_arch_type MACH_TYPE_AT91SAM9263EK | |
15886 | # endif | |
15887 | # define machine_is_at91sam9263ek() (machine_arch_type == MACH_TYPE_AT91SAM9263EK) | |
15888 | #else | |
15889 | # define machine_is_at91sam9263ek() (0) | |
15890 | #endif | |
15891 | ||
15892 | #ifdef CONFIG_MACH_OSSTBOX | |
15893 | # ifdef machine_arch_type | |
15894 | # undef machine_arch_type | |
15895 | # define machine_arch_type __machine_arch_type | |
15896 | # else | |
15897 | # define machine_arch_type MACH_TYPE_OSSTBOX | |
15898 | # endif | |
15899 | # define machine_is_osstbox() (machine_arch_type == MACH_TYPE_OSSTBOX) | |
15900 | #else | |
15901 | # define machine_is_osstbox() (0) | |
15902 | #endif | |
15903 | ||
15904 | #ifdef CONFIG_MACH_KBAT9261 | |
15905 | # ifdef machine_arch_type | |
15906 | # undef machine_arch_type | |
15907 | # define machine_arch_type __machine_arch_type | |
15908 | # else | |
15909 | # define machine_arch_type MACH_TYPE_KBAT9261 | |
15910 | # endif | |
15911 | # define machine_is_kbat9261() (machine_arch_type == MACH_TYPE_KBAT9261) | |
15912 | #else | |
15913 | # define machine_is_kbat9261() (0) | |
15914 | #endif | |
15915 | ||
15916 | #ifdef CONFIG_MACH_CT1100 | |
15917 | # ifdef machine_arch_type | |
15918 | # undef machine_arch_type | |
15919 | # define machine_arch_type __machine_arch_type | |
15920 | # else | |
15921 | # define machine_arch_type MACH_TYPE_CT1100 | |
15922 | # endif | |
15923 | # define machine_is_ct1100() (machine_arch_type == MACH_TYPE_CT1100) | |
15924 | #else | |
15925 | # define machine_is_ct1100() (0) | |
15926 | #endif | |
15927 | ||
15928 | #ifdef CONFIG_MACH_AKCPPXA | |
15929 | # ifdef machine_arch_type | |
15930 | # undef machine_arch_type | |
15931 | # define machine_arch_type __machine_arch_type | |
15932 | # else | |
15933 | # define machine_arch_type MACH_TYPE_AKCPPXA | |
15934 | # endif | |
15935 | # define machine_is_akcppxa() (machine_arch_type == MACH_TYPE_AKCPPXA) | |
15936 | #else | |
15937 | # define machine_is_akcppxa() (0) | |
15938 | #endif | |
15939 | ||
799891ef | 15940 | #ifdef CONFIG_MACH_OCHAYA1020 |
f43ad539 WD |
15941 | # ifdef machine_arch_type |
15942 | # undef machine_arch_type | |
15943 | # define machine_arch_type __machine_arch_type | |
15944 | # else | |
799891ef | 15945 | # define machine_arch_type MACH_TYPE_OCHAYA1020 |
f43ad539 | 15946 | # endif |
799891ef | 15947 | # define machine_is_ochaya1020() (machine_arch_type == MACH_TYPE_OCHAYA1020) |
f43ad539 | 15948 | #else |
799891ef | 15949 | # define machine_is_ochaya1020() (0) |
f43ad539 WD |
15950 | #endif |
15951 | ||
15952 | #ifdef CONFIG_MACH_HITRACK | |
15953 | # ifdef machine_arch_type | |
15954 | # undef machine_arch_type | |
15955 | # define machine_arch_type __machine_arch_type | |
15956 | # else | |
15957 | # define machine_arch_type MACH_TYPE_HITRACK | |
15958 | # endif | |
15959 | # define machine_is_hitrack() (machine_arch_type == MACH_TYPE_HITRACK) | |
15960 | #else | |
15961 | # define machine_is_hitrack() (0) | |
15962 | #endif | |
15963 | ||
15964 | #ifdef CONFIG_MACH_SYME1 | |
15965 | # ifdef machine_arch_type | |
15966 | # undef machine_arch_type | |
15967 | # define machine_arch_type __machine_arch_type | |
15968 | # else | |
15969 | # define machine_arch_type MACH_TYPE_SYME1 | |
15970 | # endif | |
15971 | # define machine_is_syme1() (machine_arch_type == MACH_TYPE_SYME1) | |
15972 | #else | |
15973 | # define machine_is_syme1() (0) | |
15974 | #endif | |
15975 | ||
15976 | #ifdef CONFIG_MACH_SYHL1 | |
15977 | # ifdef machine_arch_type | |
15978 | # undef machine_arch_type | |
15979 | # define machine_arch_type __machine_arch_type | |
15980 | # else | |
15981 | # define machine_arch_type MACH_TYPE_SYHL1 | |
15982 | # endif | |
15983 | # define machine_is_syhl1() (machine_arch_type == MACH_TYPE_SYHL1) | |
15984 | #else | |
15985 | # define machine_is_syhl1() (0) | |
15986 | #endif | |
15987 | ||
15988 | #ifdef CONFIG_MACH_EMPCA400 | |
15989 | # ifdef machine_arch_type | |
15990 | # undef machine_arch_type | |
15991 | # define machine_arch_type __machine_arch_type | |
15992 | # else | |
15993 | # define machine_arch_type MACH_TYPE_EMPCA400 | |
15994 | # endif | |
15995 | # define machine_is_empca400() (machine_arch_type == MACH_TYPE_EMPCA400) | |
15996 | #else | |
15997 | # define machine_is_empca400() (0) | |
15998 | #endif | |
15999 | ||
16000 | #ifdef CONFIG_MACH_EM7210 | |
16001 | # ifdef machine_arch_type | |
16002 | # undef machine_arch_type | |
16003 | # define machine_arch_type __machine_arch_type | |
16004 | # else | |
16005 | # define machine_arch_type MACH_TYPE_EM7210 | |
16006 | # endif | |
16007 | # define machine_is_em7210() (machine_arch_type == MACH_TYPE_EM7210) | |
16008 | #else | |
16009 | # define machine_is_em7210() (0) | |
16010 | #endif | |
16011 | ||
16012 | #ifdef CONFIG_MACH_HTCHERMES | |
16013 | # ifdef machine_arch_type | |
16014 | # undef machine_arch_type | |
16015 | # define machine_arch_type __machine_arch_type | |
16016 | # else | |
16017 | # define machine_arch_type MACH_TYPE_HTCHERMES | |
16018 | # endif | |
16019 | # define machine_is_htchermes() (machine_arch_type == MACH_TYPE_HTCHERMES) | |
16020 | #else | |
16021 | # define machine_is_htchermes() (0) | |
16022 | #endif | |
16023 | ||
16024 | #ifdef CONFIG_MACH_ETI_C1 | |
16025 | # ifdef machine_arch_type | |
16026 | # undef machine_arch_type | |
16027 | # define machine_arch_type __machine_arch_type | |
16028 | # else | |
16029 | # define machine_arch_type MACH_TYPE_ETI_C1 | |
16030 | # endif | |
16031 | # define machine_is_eti_c1() (machine_arch_type == MACH_TYPE_ETI_C1) | |
16032 | #else | |
16033 | # define machine_is_eti_c1() (0) | |
16034 | #endif | |
16035 | ||
16036 | #ifdef CONFIG_MACH_MACH_DEP2410 | |
16037 | # ifdef machine_arch_type | |
16038 | # undef machine_arch_type | |
16039 | # define machine_arch_type __machine_arch_type | |
16040 | # else | |
16041 | # define machine_arch_type MACH_TYPE_MACH_DEP2410 | |
16042 | # endif | |
16043 | # define machine_is_mach_dep2410() (machine_arch_type == MACH_TYPE_MACH_DEP2410) | |
16044 | #else | |
16045 | # define machine_is_mach_dep2410() (0) | |
16046 | #endif | |
16047 | ||
16048 | #ifdef CONFIG_MACH_AC100 | |
16049 | # ifdef machine_arch_type | |
16050 | # undef machine_arch_type | |
16051 | # define machine_arch_type __machine_arch_type | |
16052 | # else | |
16053 | # define machine_arch_type MACH_TYPE_AC100 | |
16054 | # endif | |
16055 | # define machine_is_ac100() (machine_arch_type == MACH_TYPE_AC100) | |
16056 | #else | |
16057 | # define machine_is_ac100() (0) | |
16058 | #endif | |
16059 | ||
16060 | #ifdef CONFIG_MACH_SNEETCH | |
16061 | # ifdef machine_arch_type | |
16062 | # undef machine_arch_type | |
16063 | # define machine_arch_type __machine_arch_type | |
16064 | # else | |
16065 | # define machine_arch_type MACH_TYPE_SNEETCH | |
16066 | # endif | |
16067 | # define machine_is_sneetch() (machine_arch_type == MACH_TYPE_SNEETCH) | |
16068 | #else | |
16069 | # define machine_is_sneetch() (0) | |
16070 | #endif | |
16071 | ||
16072 | #ifdef CONFIG_MACH_STUDENTMATE | |
16073 | # ifdef machine_arch_type | |
16074 | # undef machine_arch_type | |
16075 | # define machine_arch_type __machine_arch_type | |
16076 | # else | |
16077 | # define machine_arch_type MACH_TYPE_STUDENTMATE | |
16078 | # endif | |
16079 | # define machine_is_studentmate() (machine_arch_type == MACH_TYPE_STUDENTMATE) | |
16080 | #else | |
16081 | # define machine_is_studentmate() (0) | |
16082 | #endif | |
16083 | ||
16084 | #ifdef CONFIG_MACH_ZIR2410 | |
16085 | # ifdef machine_arch_type | |
16086 | # undef machine_arch_type | |
16087 | # define machine_arch_type __machine_arch_type | |
16088 | # else | |
16089 | # define machine_arch_type MACH_TYPE_ZIR2410 | |
16090 | # endif | |
16091 | # define machine_is_zir2410() (machine_arch_type == MACH_TYPE_ZIR2410) | |
16092 | #else | |
16093 | # define machine_is_zir2410() (0) | |
16094 | #endif | |
16095 | ||
16096 | #ifdef CONFIG_MACH_ZIR2413 | |
16097 | # ifdef machine_arch_type | |
16098 | # undef machine_arch_type | |
16099 | # define machine_arch_type __machine_arch_type | |
16100 | # else | |
16101 | # define machine_arch_type MACH_TYPE_ZIR2413 | |
16102 | # endif | |
16103 | # define machine_is_zir2413() (machine_arch_type == MACH_TYPE_ZIR2413) | |
16104 | #else | |
16105 | # define machine_is_zir2413() (0) | |
16106 | #endif | |
16107 | ||
16108 | #ifdef CONFIG_MACH_DLONIP3 | |
16109 | # ifdef machine_arch_type | |
16110 | # undef machine_arch_type | |
16111 | # define machine_arch_type __machine_arch_type | |
16112 | # else | |
16113 | # define machine_arch_type MACH_TYPE_DLONIP3 | |
16114 | # endif | |
16115 | # define machine_is_dlonip3() (machine_arch_type == MACH_TYPE_DLONIP3) | |
16116 | #else | |
16117 | # define machine_is_dlonip3() (0) | |
16118 | #endif | |
16119 | ||
16120 | #ifdef CONFIG_MACH_INSTREAM | |
16121 | # ifdef machine_arch_type | |
16122 | # undef machine_arch_type | |
16123 | # define machine_arch_type __machine_arch_type | |
16124 | # else | |
16125 | # define machine_arch_type MACH_TYPE_INSTREAM | |
16126 | # endif | |
16127 | # define machine_is_instream() (machine_arch_type == MACH_TYPE_INSTREAM) | |
16128 | #else | |
16129 | # define machine_is_instream() (0) | |
16130 | #endif | |
16131 | ||
16132 | #ifdef CONFIG_MACH_AMBARELLA | |
16133 | # ifdef machine_arch_type | |
16134 | # undef machine_arch_type | |
16135 | # define machine_arch_type __machine_arch_type | |
16136 | # else | |
16137 | # define machine_arch_type MACH_TYPE_AMBARELLA | |
16138 | # endif | |
16139 | # define machine_is_ambarella() (machine_arch_type == MACH_TYPE_AMBARELLA) | |
16140 | #else | |
16141 | # define machine_is_ambarella() (0) | |
16142 | #endif | |
16143 | ||
16144 | #ifdef CONFIG_MACH_NEVIS | |
16145 | # ifdef machine_arch_type | |
16146 | # undef machine_arch_type | |
16147 | # define machine_arch_type __machine_arch_type | |
16148 | # else | |
16149 | # define machine_arch_type MACH_TYPE_NEVIS | |
16150 | # endif | |
16151 | # define machine_is_nevis() (machine_arch_type == MACH_TYPE_NEVIS) | |
16152 | #else | |
16153 | # define machine_is_nevis() (0) | |
16154 | #endif | |
16155 | ||
16156 | #ifdef CONFIG_MACH_HTC_TRINITY | |
16157 | # ifdef machine_arch_type | |
16158 | # undef machine_arch_type | |
16159 | # define machine_arch_type __machine_arch_type | |
16160 | # else | |
16161 | # define machine_arch_type MACH_TYPE_HTC_TRINITY | |
16162 | # endif | |
16163 | # define machine_is_htc_trinity() (machine_arch_type == MACH_TYPE_HTC_TRINITY) | |
16164 | #else | |
16165 | # define machine_is_htc_trinity() (0) | |
16166 | #endif | |
16167 | ||
16168 | #ifdef CONFIG_MACH_QL202B | |
16169 | # ifdef machine_arch_type | |
16170 | # undef machine_arch_type | |
16171 | # define machine_arch_type __machine_arch_type | |
16172 | # else | |
16173 | # define machine_arch_type MACH_TYPE_QL202B | |
16174 | # endif | |
16175 | # define machine_is_ql202b() (machine_arch_type == MACH_TYPE_QL202B) | |
16176 | #else | |
16177 | # define machine_is_ql202b() (0) | |
16178 | #endif | |
16179 | ||
16180 | #ifdef CONFIG_MACH_VPAC270 | |
16181 | # ifdef machine_arch_type | |
16182 | # undef machine_arch_type | |
16183 | # define machine_arch_type __machine_arch_type | |
16184 | # else | |
16185 | # define machine_arch_type MACH_TYPE_VPAC270 | |
16186 | # endif | |
16187 | # define machine_is_vpac270() (machine_arch_type == MACH_TYPE_VPAC270) | |
16188 | #else | |
16189 | # define machine_is_vpac270() (0) | |
16190 | #endif | |
16191 | ||
16192 | #ifdef CONFIG_MACH_RD129 | |
16193 | # ifdef machine_arch_type | |
16194 | # undef machine_arch_type | |
16195 | # define machine_arch_type __machine_arch_type | |
16196 | # else | |
16197 | # define machine_arch_type MACH_TYPE_RD129 | |
16198 | # endif | |
16199 | # define machine_is_rd129() (machine_arch_type == MACH_TYPE_RD129) | |
16200 | #else | |
16201 | # define machine_is_rd129() (0) | |
16202 | #endif | |
16203 | ||
16204 | #ifdef CONFIG_MACH_HTCWIZARD | |
16205 | # ifdef machine_arch_type | |
16206 | # undef machine_arch_type | |
16207 | # define machine_arch_type __machine_arch_type | |
16208 | # else | |
16209 | # define machine_arch_type MACH_TYPE_HTCWIZARD | |
16210 | # endif | |
16211 | # define machine_is_htcwizard() (machine_arch_type == MACH_TYPE_HTCWIZARD) | |
16212 | #else | |
16213 | # define machine_is_htcwizard() (0) | |
16214 | #endif | |
16215 | ||
16216 | #ifdef CONFIG_MACH_XSCALE_TREO680 | |
16217 | # ifdef machine_arch_type | |
16218 | # undef machine_arch_type | |
16219 | # define machine_arch_type __machine_arch_type | |
16220 | # else | |
16221 | # define machine_arch_type MACH_TYPE_XSCALE_TREO680 | |
16222 | # endif | |
16223 | # define machine_is_xscale_treo680() (machine_arch_type == MACH_TYPE_XSCALE_TREO680) | |
16224 | #else | |
16225 | # define machine_is_xscale_treo680() (0) | |
16226 | #endif | |
16227 | ||
16228 | #ifdef CONFIG_MACH_TECON_TMEZON | |
16229 | # ifdef machine_arch_type | |
16230 | # undef machine_arch_type | |
16231 | # define machine_arch_type __machine_arch_type | |
16232 | # else | |
16233 | # define machine_arch_type MACH_TYPE_TECON_TMEZON | |
16234 | # endif | |
16235 | # define machine_is_tecon_tmezon() (machine_arch_type == MACH_TYPE_TECON_TMEZON) | |
16236 | #else | |
16237 | # define machine_is_tecon_tmezon() (0) | |
16238 | #endif | |
16239 | ||
16240 | #ifdef CONFIG_MACH_ZYLONITE | |
16241 | # ifdef machine_arch_type | |
16242 | # undef machine_arch_type | |
16243 | # define machine_arch_type __machine_arch_type | |
16244 | # else | |
16245 | # define machine_arch_type MACH_TYPE_ZYLONITE | |
16246 | # endif | |
16247 | # define machine_is_zylonite() (machine_arch_type == MACH_TYPE_ZYLONITE) | |
16248 | #else | |
16249 | # define machine_is_zylonite() (0) | |
16250 | #endif | |
16251 | ||
16252 | #ifdef CONFIG_MACH_GENE1270 | |
16253 | # ifdef machine_arch_type | |
16254 | # undef machine_arch_type | |
16255 | # define machine_arch_type __machine_arch_type | |
16256 | # else | |
16257 | # define machine_arch_type MACH_TYPE_GENE1270 | |
16258 | # endif | |
16259 | # define machine_is_gene1270() (machine_arch_type == MACH_TYPE_GENE1270) | |
16260 | #else | |
16261 | # define machine_is_gene1270() (0) | |
16262 | #endif | |
16263 | ||
16264 | #ifdef CONFIG_MACH_ZIR2412 | |
16265 | # ifdef machine_arch_type | |
16266 | # undef machine_arch_type | |
16267 | # define machine_arch_type __machine_arch_type | |
16268 | # else | |
16269 | # define machine_arch_type MACH_TYPE_ZIR2412 | |
16270 | # endif | |
16271 | # define machine_is_zir2412() (machine_arch_type == MACH_TYPE_ZIR2412) | |
16272 | #else | |
16273 | # define machine_is_zir2412() (0) | |
16274 | #endif | |
16275 | ||
16276 | #ifdef CONFIG_MACH_MX31LITE | |
16277 | # ifdef machine_arch_type | |
16278 | # undef machine_arch_type | |
16279 | # define machine_arch_type __machine_arch_type | |
16280 | # else | |
16281 | # define machine_arch_type MACH_TYPE_MX31LITE | |
16282 | # endif | |
16283 | # define machine_is_mx31lite() (machine_arch_type == MACH_TYPE_MX31LITE) | |
16284 | #else | |
16285 | # define machine_is_mx31lite() (0) | |
16286 | #endif | |
16287 | ||
16288 | #ifdef CONFIG_MACH_T700WX | |
16289 | # ifdef machine_arch_type | |
16290 | # undef machine_arch_type | |
16291 | # define machine_arch_type __machine_arch_type | |
16292 | # else | |
16293 | # define machine_arch_type MACH_TYPE_T700WX | |
16294 | # endif | |
16295 | # define machine_is_t700wx() (machine_arch_type == MACH_TYPE_T700WX) | |
16296 | #else | |
16297 | # define machine_is_t700wx() (0) | |
16298 | #endif | |
16299 | ||
16300 | #ifdef CONFIG_MACH_VF100 | |
16301 | # ifdef machine_arch_type | |
16302 | # undef machine_arch_type | |
16303 | # define machine_arch_type __machine_arch_type | |
16304 | # else | |
16305 | # define machine_arch_type MACH_TYPE_VF100 | |
16306 | # endif | |
16307 | # define machine_is_vf100() (machine_arch_type == MACH_TYPE_VF100) | |
16308 | #else | |
16309 | # define machine_is_vf100() (0) | |
16310 | #endif | |
16311 | ||
16312 | #ifdef CONFIG_MACH_NSB2 | |
16313 | # ifdef machine_arch_type | |
16314 | # undef machine_arch_type | |
16315 | # define machine_arch_type __machine_arch_type | |
16316 | # else | |
16317 | # define machine_arch_type MACH_TYPE_NSB2 | |
16318 | # endif | |
16319 | # define machine_is_nsb2() (machine_arch_type == MACH_TYPE_NSB2) | |
16320 | #else | |
16321 | # define machine_is_nsb2() (0) | |
16322 | #endif | |
16323 | ||
16324 | #ifdef CONFIG_MACH_NXHMI_BB | |
16325 | # ifdef machine_arch_type | |
16326 | # undef machine_arch_type | |
16327 | # define machine_arch_type __machine_arch_type | |
16328 | # else | |
16329 | # define machine_arch_type MACH_TYPE_NXHMI_BB | |
16330 | # endif | |
16331 | # define machine_is_nxhmi_bb() (machine_arch_type == MACH_TYPE_NXHMI_BB) | |
16332 | #else | |
16333 | # define machine_is_nxhmi_bb() (0) | |
16334 | #endif | |
16335 | ||
16336 | #ifdef CONFIG_MACH_NXHMI_RE | |
16337 | # ifdef machine_arch_type | |
16338 | # undef machine_arch_type | |
16339 | # define machine_arch_type __machine_arch_type | |
16340 | # else | |
16341 | # define machine_arch_type MACH_TYPE_NXHMI_RE | |
16342 | # endif | |
16343 | # define machine_is_nxhmi_re() (machine_arch_type == MACH_TYPE_NXHMI_RE) | |
16344 | #else | |
16345 | # define machine_is_nxhmi_re() (0) | |
16346 | #endif | |
16347 | ||
16348 | #ifdef CONFIG_MACH_N4100PRO | |
16349 | # ifdef machine_arch_type | |
16350 | # undef machine_arch_type | |
16351 | # define machine_arch_type __machine_arch_type | |
16352 | # else | |
16353 | # define machine_arch_type MACH_TYPE_N4100PRO | |
16354 | # endif | |
16355 | # define machine_is_n4100pro() (machine_arch_type == MACH_TYPE_N4100PRO) | |
16356 | #else | |
16357 | # define machine_is_n4100pro() (0) | |
16358 | #endif | |
16359 | ||
16360 | #ifdef CONFIG_MACH_SAM9260 | |
16361 | # ifdef machine_arch_type | |
16362 | # undef machine_arch_type | |
16363 | # define machine_arch_type __machine_arch_type | |
16364 | # else | |
16365 | # define machine_arch_type MACH_TYPE_SAM9260 | |
16366 | # endif | |
16367 | # define machine_is_sam9260() (machine_arch_type == MACH_TYPE_SAM9260) | |
16368 | #else | |
16369 | # define machine_is_sam9260() (0) | |
16370 | #endif | |
16371 | ||
16372 | #ifdef CONFIG_MACH_OMAP_TREO600 | |
16373 | # ifdef machine_arch_type | |
16374 | # undef machine_arch_type | |
16375 | # define machine_arch_type __machine_arch_type | |
16376 | # else | |
16377 | # define machine_arch_type MACH_TYPE_OMAP_TREO600 | |
16378 | # endif | |
16379 | # define machine_is_omap_treo600() (machine_arch_type == MACH_TYPE_OMAP_TREO600) | |
16380 | #else | |
16381 | # define machine_is_omap_treo600() (0) | |
16382 | #endif | |
16383 | ||
16384 | #ifdef CONFIG_MACH_INDY2410 | |
16385 | # ifdef machine_arch_type | |
16386 | # undef machine_arch_type | |
16387 | # define machine_arch_type __machine_arch_type | |
16388 | # else | |
16389 | # define machine_arch_type MACH_TYPE_INDY2410 | |
16390 | # endif | |
16391 | # define machine_is_indy2410() (machine_arch_type == MACH_TYPE_INDY2410) | |
16392 | #else | |
16393 | # define machine_is_indy2410() (0) | |
16394 | #endif | |
16395 | ||
16396 | #ifdef CONFIG_MACH_NELT_A | |
16397 | # ifdef machine_arch_type | |
16398 | # undef machine_arch_type | |
16399 | # define machine_arch_type __machine_arch_type | |
16400 | # else | |
16401 | # define machine_arch_type MACH_TYPE_NELT_A | |
16402 | # endif | |
16403 | # define machine_is_nelt_a() (machine_arch_type == MACH_TYPE_NELT_A) | |
16404 | #else | |
16405 | # define machine_is_nelt_a() (0) | |
16406 | #endif | |
16407 | ||
16408 | #ifdef CONFIG_MACH_N311 | |
16409 | # ifdef machine_arch_type | |
16410 | # undef machine_arch_type | |
16411 | # define machine_arch_type __machine_arch_type | |
16412 | # else | |
16413 | # define machine_arch_type MACH_TYPE_N311 | |
16414 | # endif | |
16415 | # define machine_is_n311() (machine_arch_type == MACH_TYPE_N311) | |
16416 | #else | |
16417 | # define machine_is_n311() (0) | |
16418 | #endif | |
16419 | ||
16420 | #ifdef CONFIG_MACH_AT91SAM9260VGK | |
16421 | # ifdef machine_arch_type | |
16422 | # undef machine_arch_type | |
16423 | # define machine_arch_type __machine_arch_type | |
16424 | # else | |
16425 | # define machine_arch_type MACH_TYPE_AT91SAM9260VGK | |
16426 | # endif | |
16427 | # define machine_is_at91sam9260vgk() (machine_arch_type == MACH_TYPE_AT91SAM9260VGK) | |
16428 | #else | |
16429 | # define machine_is_at91sam9260vgk() (0) | |
16430 | #endif | |
16431 | ||
16432 | #ifdef CONFIG_MACH_AT91LEPPE | |
16433 | # ifdef machine_arch_type | |
16434 | # undef machine_arch_type | |
16435 | # define machine_arch_type __machine_arch_type | |
16436 | # else | |
16437 | # define machine_arch_type MACH_TYPE_AT91LEPPE | |
16438 | # endif | |
16439 | # define machine_is_at91leppe() (machine_arch_type == MACH_TYPE_AT91LEPPE) | |
16440 | #else | |
16441 | # define machine_is_at91leppe() (0) | |
16442 | #endif | |
16443 | ||
16444 | #ifdef CONFIG_MACH_AT91LEPCCN | |
16445 | # ifdef machine_arch_type | |
16446 | # undef machine_arch_type | |
16447 | # define machine_arch_type __machine_arch_type | |
16448 | # else | |
16449 | # define machine_arch_type MACH_TYPE_AT91LEPCCN | |
16450 | # endif | |
16451 | # define machine_is_at91lepccn() (machine_arch_type == MACH_TYPE_AT91LEPCCN) | |
16452 | #else | |
16453 | # define machine_is_at91lepccn() (0) | |
16454 | #endif | |
16455 | ||
16456 | #ifdef CONFIG_MACH_APC7100 | |
16457 | # ifdef machine_arch_type | |
16458 | # undef machine_arch_type | |
16459 | # define machine_arch_type __machine_arch_type | |
16460 | # else | |
16461 | # define machine_arch_type MACH_TYPE_APC7100 | |
16462 | # endif | |
16463 | # define machine_is_apc7100() (machine_arch_type == MACH_TYPE_APC7100) | |
16464 | #else | |
16465 | # define machine_is_apc7100() (0) | |
16466 | #endif | |
16467 | ||
16468 | #ifdef CONFIG_MACH_STARGAZER | |
16469 | # ifdef machine_arch_type | |
16470 | # undef machine_arch_type | |
16471 | # define machine_arch_type __machine_arch_type | |
16472 | # else | |
16473 | # define machine_arch_type MACH_TYPE_STARGAZER | |
16474 | # endif | |
16475 | # define machine_is_stargazer() (machine_arch_type == MACH_TYPE_STARGAZER) | |
16476 | #else | |
16477 | # define machine_is_stargazer() (0) | |
16478 | #endif | |
16479 | ||
16480 | #ifdef CONFIG_MACH_SONATA | |
16481 | # ifdef machine_arch_type | |
16482 | # undef machine_arch_type | |
16483 | # define machine_arch_type __machine_arch_type | |
16484 | # else | |
16485 | # define machine_arch_type MACH_TYPE_SONATA | |
16486 | # endif | |
16487 | # define machine_is_sonata() (machine_arch_type == MACH_TYPE_SONATA) | |
16488 | #else | |
16489 | # define machine_is_sonata() (0) | |
16490 | #endif | |
16491 | ||
16492 | #ifdef CONFIG_MACH_SCHMOOGIE | |
16493 | # ifdef machine_arch_type | |
16494 | # undef machine_arch_type | |
16495 | # define machine_arch_type __machine_arch_type | |
16496 | # else | |
16497 | # define machine_arch_type MACH_TYPE_SCHMOOGIE | |
16498 | # endif | |
16499 | # define machine_is_schmoogie() (machine_arch_type == MACH_TYPE_SCHMOOGIE) | |
16500 | #else | |
16501 | # define machine_is_schmoogie() (0) | |
16502 | #endif | |
16503 | ||
c7f879ec HV |
16504 | #ifdef CONFIG_MACH_SFFSDR |
16505 | # ifdef machine_arch_type | |
16506 | # undef machine_arch_type | |
16507 | # define machine_arch_type __machine_arch_type | |
16508 | # else | |
16509 | # define machine_arch_type MACH_TYPE_SFFSDR | |
16510 | # endif | |
16511 | # define machine_is_sffsdr() (machine_arch_type == MACH_TYPE_SFFSDR) | |
16512 | #else | |
16513 | # define machine_is_sffsdr() (0) | |
16514 | #endif | |
16515 | ||
f43ad539 WD |
16516 | #ifdef CONFIG_MACH_AZTOOL |
16517 | # ifdef machine_arch_type | |
16518 | # undef machine_arch_type | |
16519 | # define machine_arch_type __machine_arch_type | |
16520 | # else | |
16521 | # define machine_arch_type MACH_TYPE_AZTOOL | |
16522 | # endif | |
16523 | # define machine_is_aztool() (machine_arch_type == MACH_TYPE_AZTOOL) | |
16524 | #else | |
16525 | # define machine_is_aztool() (0) | |
16526 | #endif | |
16527 | ||
16528 | #ifdef CONFIG_MACH_MIOA701 | |
16529 | # ifdef machine_arch_type | |
16530 | # undef machine_arch_type | |
16531 | # define machine_arch_type __machine_arch_type | |
16532 | # else | |
16533 | # define machine_arch_type MACH_TYPE_MIOA701 | |
16534 | # endif | |
16535 | # define machine_is_mioa701() (machine_arch_type == MACH_TYPE_MIOA701) | |
16536 | #else | |
16537 | # define machine_is_mioa701() (0) | |
16538 | #endif | |
16539 | ||
16540 | #ifdef CONFIG_MACH_SXNI9260 | |
16541 | # ifdef machine_arch_type | |
16542 | # undef machine_arch_type | |
16543 | # define machine_arch_type __machine_arch_type | |
16544 | # else | |
16545 | # define machine_arch_type MACH_TYPE_SXNI9260 | |
16546 | # endif | |
16547 | # define machine_is_sxni9260() (machine_arch_type == MACH_TYPE_SXNI9260) | |
16548 | #else | |
16549 | # define machine_is_sxni9260() (0) | |
16550 | #endif | |
16551 | ||
16552 | #ifdef CONFIG_MACH_MXC27520EVB | |
16553 | # ifdef machine_arch_type | |
16554 | # undef machine_arch_type | |
16555 | # define machine_arch_type __machine_arch_type | |
16556 | # else | |
16557 | # define machine_arch_type MACH_TYPE_MXC27520EVB | |
16558 | # endif | |
16559 | # define machine_is_mxc27520evb() (machine_arch_type == MACH_TYPE_MXC27520EVB) | |
16560 | #else | |
16561 | # define machine_is_mxc27520evb() (0) | |
16562 | #endif | |
16563 | ||
16564 | #ifdef CONFIG_MACH_ARMADILLO5X0 | |
16565 | # ifdef machine_arch_type | |
16566 | # undef machine_arch_type | |
16567 | # define machine_arch_type __machine_arch_type | |
16568 | # else | |
16569 | # define machine_arch_type MACH_TYPE_ARMADILLO5X0 | |
16570 | # endif | |
16571 | # define machine_is_armadillo5x0() (machine_arch_type == MACH_TYPE_ARMADILLO5X0) | |
16572 | #else | |
16573 | # define machine_is_armadillo5x0() (0) | |
16574 | #endif | |
16575 | ||
16576 | #ifdef CONFIG_MACH_MB9260 | |
16577 | # ifdef machine_arch_type | |
16578 | # undef machine_arch_type | |
16579 | # define machine_arch_type __machine_arch_type | |
16580 | # else | |
16581 | # define machine_arch_type MACH_TYPE_MB9260 | |
16582 | # endif | |
16583 | # define machine_is_mb9260() (machine_arch_type == MACH_TYPE_MB9260) | |
16584 | #else | |
16585 | # define machine_is_mb9260() (0) | |
16586 | #endif | |
16587 | ||
16588 | #ifdef CONFIG_MACH_MB9263 | |
16589 | # ifdef machine_arch_type | |
16590 | # undef machine_arch_type | |
16591 | # define machine_arch_type __machine_arch_type | |
16592 | # else | |
16593 | # define machine_arch_type MACH_TYPE_MB9263 | |
16594 | # endif | |
16595 | # define machine_is_mb9263() (machine_arch_type == MACH_TYPE_MB9263) | |
16596 | #else | |
16597 | # define machine_is_mb9263() (0) | |
16598 | #endif | |
16599 | ||
16600 | #ifdef CONFIG_MACH_IPAC9302 | |
16601 | # ifdef machine_arch_type | |
16602 | # undef machine_arch_type | |
16603 | # define machine_arch_type __machine_arch_type | |
16604 | # else | |
16605 | # define machine_arch_type MACH_TYPE_IPAC9302 | |
16606 | # endif | |
16607 | # define machine_is_ipac9302() (machine_arch_type == MACH_TYPE_IPAC9302) | |
16608 | #else | |
16609 | # define machine_is_ipac9302() (0) | |
16610 | #endif | |
16611 | ||
16612 | #ifdef CONFIG_MACH_CC9P9360JS | |
16613 | # ifdef machine_arch_type | |
16614 | # undef machine_arch_type | |
16615 | # define machine_arch_type __machine_arch_type | |
16616 | # else | |
16617 | # define machine_arch_type MACH_TYPE_CC9P9360JS | |
16618 | # endif | |
16619 | # define machine_is_cc9p9360js() (machine_arch_type == MACH_TYPE_CC9P9360JS) | |
16620 | #else | |
16621 | # define machine_is_cc9p9360js() (0) | |
16622 | #endif | |
16623 | ||
16624 | #ifdef CONFIG_MACH_GALLIUM | |
16625 | # ifdef machine_arch_type | |
16626 | # undef machine_arch_type | |
16627 | # define machine_arch_type __machine_arch_type | |
16628 | # else | |
16629 | # define machine_arch_type MACH_TYPE_GALLIUM | |
16630 | # endif | |
16631 | # define machine_is_gallium() (machine_arch_type == MACH_TYPE_GALLIUM) | |
16632 | #else | |
16633 | # define machine_is_gallium() (0) | |
16634 | #endif | |
16635 | ||
16636 | #ifdef CONFIG_MACH_MSC2410 | |
16637 | # ifdef machine_arch_type | |
16638 | # undef machine_arch_type | |
16639 | # define machine_arch_type __machine_arch_type | |
16640 | # else | |
16641 | # define machine_arch_type MACH_TYPE_MSC2410 | |
16642 | # endif | |
16643 | # define machine_is_msc2410() (machine_arch_type == MACH_TYPE_MSC2410) | |
16644 | #else | |
16645 | # define machine_is_msc2410() (0) | |
16646 | #endif | |
16647 | ||
16648 | #ifdef CONFIG_MACH_GHI270 | |
16649 | # ifdef machine_arch_type | |
16650 | # undef machine_arch_type | |
16651 | # define machine_arch_type __machine_arch_type | |
16652 | # else | |
16653 | # define machine_arch_type MACH_TYPE_GHI270 | |
16654 | # endif | |
16655 | # define machine_is_ghi270() (machine_arch_type == MACH_TYPE_GHI270) | |
16656 | #else | |
16657 | # define machine_is_ghi270() (0) | |
16658 | #endif | |
16659 | ||
16660 | #ifdef CONFIG_MACH_DAVINCI_LEONARDO | |
16661 | # ifdef machine_arch_type | |
16662 | # undef machine_arch_type | |
16663 | # define machine_arch_type __machine_arch_type | |
16664 | # else | |
16665 | # define machine_arch_type MACH_TYPE_DAVINCI_LEONARDO | |
16666 | # endif | |
16667 | # define machine_is_davinci_leonardo() (machine_arch_type == MACH_TYPE_DAVINCI_LEONARDO) | |
16668 | #else | |
16669 | # define machine_is_davinci_leonardo() (0) | |
16670 | #endif | |
16671 | ||
16672 | #ifdef CONFIG_MACH_OIAB | |
16673 | # ifdef machine_arch_type | |
16674 | # undef machine_arch_type | |
16675 | # define machine_arch_type __machine_arch_type | |
16676 | # else | |
16677 | # define machine_arch_type MACH_TYPE_OIAB | |
16678 | # endif | |
16679 | # define machine_is_oiab() (machine_arch_type == MACH_TYPE_OIAB) | |
16680 | #else | |
16681 | # define machine_is_oiab() (0) | |
16682 | #endif | |
16683 | ||
16684 | #ifdef CONFIG_MACH_SMDK6400 | |
16685 | # ifdef machine_arch_type | |
16686 | # undef machine_arch_type | |
16687 | # define machine_arch_type __machine_arch_type | |
16688 | # else | |
16689 | # define machine_arch_type MACH_TYPE_SMDK6400 | |
16690 | # endif | |
16691 | # define machine_is_smdk6400() (machine_arch_type == MACH_TYPE_SMDK6400) | |
16692 | #else | |
16693 | # define machine_is_smdk6400() (0) | |
16694 | #endif | |
16695 | ||
16696 | #ifdef CONFIG_MACH_NOKIA_N800 | |
16697 | # ifdef machine_arch_type | |
16698 | # undef machine_arch_type | |
16699 | # define machine_arch_type __machine_arch_type | |
16700 | # else | |
16701 | # define machine_arch_type MACH_TYPE_NOKIA_N800 | |
16702 | # endif | |
16703 | # define machine_is_nokia_n800() (machine_arch_type == MACH_TYPE_NOKIA_N800) | |
16704 | #else | |
16705 | # define machine_is_nokia_n800() (0) | |
16706 | #endif | |
16707 | ||
16708 | #ifdef CONFIG_MACH_GREENPHONE | |
16709 | # ifdef machine_arch_type | |
16710 | # undef machine_arch_type | |
16711 | # define machine_arch_type __machine_arch_type | |
16712 | # else | |
16713 | # define machine_arch_type MACH_TYPE_GREENPHONE | |
16714 | # endif | |
16715 | # define machine_is_greenphone() (machine_arch_type == MACH_TYPE_GREENPHONE) | |
16716 | #else | |
16717 | # define machine_is_greenphone() (0) | |
16718 | #endif | |
16719 | ||
16720 | #ifdef CONFIG_MACH_COMPEXWP18 | |
16721 | # ifdef machine_arch_type | |
16722 | # undef machine_arch_type | |
16723 | # define machine_arch_type __machine_arch_type | |
16724 | # else | |
16725 | # define machine_arch_type MACH_TYPE_COMPEXWP18 | |
16726 | # endif | |
16727 | # define machine_is_compex42x() (machine_arch_type == MACH_TYPE_COMPEXWP18) | |
16728 | #else | |
16729 | # define machine_is_compex42x() (0) | |
16730 | #endif | |
16731 | ||
16732 | #ifdef CONFIG_MACH_XMATE | |
16733 | # ifdef machine_arch_type | |
16734 | # undef machine_arch_type | |
16735 | # define machine_arch_type __machine_arch_type | |
16736 | # else | |
16737 | # define machine_arch_type MACH_TYPE_XMATE | |
16738 | # endif | |
16739 | # define machine_is_xmate() (machine_arch_type == MACH_TYPE_XMATE) | |
16740 | #else | |
16741 | # define machine_is_xmate() (0) | |
16742 | #endif | |
16743 | ||
16744 | #ifdef CONFIG_MACH_ENERGIZER | |
16745 | # ifdef machine_arch_type | |
16746 | # undef machine_arch_type | |
16747 | # define machine_arch_type __machine_arch_type | |
16748 | # else | |
16749 | # define machine_arch_type MACH_TYPE_ENERGIZER | |
16750 | # endif | |
16751 | # define machine_is_energizer() (machine_arch_type == MACH_TYPE_ENERGIZER) | |
16752 | #else | |
16753 | # define machine_is_energizer() (0) | |
16754 | #endif | |
16755 | ||
16756 | #ifdef CONFIG_MACH_IME1 | |
16757 | # ifdef machine_arch_type | |
16758 | # undef machine_arch_type | |
16759 | # define machine_arch_type __machine_arch_type | |
16760 | # else | |
16761 | # define machine_arch_type MACH_TYPE_IME1 | |
16762 | # endif | |
16763 | # define machine_is_ime1() (machine_arch_type == MACH_TYPE_IME1) | |
16764 | #else | |
16765 | # define machine_is_ime1() (0) | |
16766 | #endif | |
16767 | ||
16768 | #ifdef CONFIG_MACH_SWEDATMS | |
16769 | # ifdef machine_arch_type | |
16770 | # undef machine_arch_type | |
16771 | # define machine_arch_type __machine_arch_type | |
16772 | # else | |
16773 | # define machine_arch_type MACH_TYPE_SWEDATMS | |
16774 | # endif | |
16775 | # define machine_is_sweda_tms() (machine_arch_type == MACH_TYPE_SWEDATMS) | |
16776 | #else | |
16777 | # define machine_is_sweda_tms() (0) | |
16778 | #endif | |
16779 | ||
16780 | #ifdef CONFIG_MACH_NTNP435C | |
16781 | # ifdef machine_arch_type | |
16782 | # undef machine_arch_type | |
16783 | # define machine_arch_type __machine_arch_type | |
16784 | # else | |
16785 | # define machine_arch_type MACH_TYPE_NTNP435C | |
16786 | # endif | |
16787 | # define machine_is_ntnp435c() (machine_arch_type == MACH_TYPE_NTNP435C) | |
16788 | #else | |
16789 | # define machine_is_ntnp435c() (0) | |
16790 | #endif | |
16791 | ||
16792 | #ifdef CONFIG_MACH_SPECTRO2 | |
16793 | # ifdef machine_arch_type | |
16794 | # undef machine_arch_type | |
16795 | # define machine_arch_type __machine_arch_type | |
16796 | # else | |
16797 | # define machine_arch_type MACH_TYPE_SPECTRO2 | |
16798 | # endif | |
16799 | # define machine_is_spectro2() (machine_arch_type == MACH_TYPE_SPECTRO2) | |
16800 | #else | |
16801 | # define machine_is_spectro2() (0) | |
16802 | #endif | |
16803 | ||
16804 | #ifdef CONFIG_MACH_H6039 | |
16805 | # ifdef machine_arch_type | |
16806 | # undef machine_arch_type | |
16807 | # define machine_arch_type __machine_arch_type | |
16808 | # else | |
16809 | # define machine_arch_type MACH_TYPE_H6039 | |
16810 | # endif | |
16811 | # define machine_is_h6039() (machine_arch_type == MACH_TYPE_H6039) | |
16812 | #else | |
16813 | # define machine_is_h6039() (0) | |
16814 | #endif | |
16815 | ||
16816 | #ifdef CONFIG_MACH_EP80219 | |
16817 | # ifdef machine_arch_type | |
16818 | # undef machine_arch_type | |
16819 | # define machine_arch_type __machine_arch_type | |
16820 | # else | |
16821 | # define machine_arch_type MACH_TYPE_EP80219 | |
16822 | # endif | |
16823 | # define machine_is_ep80219() (machine_arch_type == MACH_TYPE_EP80219) | |
16824 | #else | |
16825 | # define machine_is_ep80219() (0) | |
16826 | #endif | |
16827 | ||
16828 | #ifdef CONFIG_MACH_SAMOA_II | |
16829 | # ifdef machine_arch_type | |
16830 | # undef machine_arch_type | |
16831 | # define machine_arch_type __machine_arch_type | |
16832 | # else | |
16833 | # define machine_arch_type MACH_TYPE_SAMOA_II | |
16834 | # endif | |
16835 | # define machine_is_samoa_ii() (machine_arch_type == MACH_TYPE_SAMOA_II) | |
16836 | #else | |
16837 | # define machine_is_samoa_ii() (0) | |
16838 | #endif | |
16839 | ||
16840 | #ifdef CONFIG_MACH_CWMXL | |
16841 | # ifdef machine_arch_type | |
16842 | # undef machine_arch_type | |
16843 | # define machine_arch_type __machine_arch_type | |
16844 | # else | |
16845 | # define machine_arch_type MACH_TYPE_CWMXL | |
16846 | # endif | |
16847 | # define machine_is_cwmxl() (machine_arch_type == MACH_TYPE_CWMXL) | |
16848 | #else | |
16849 | # define machine_is_cwmxl() (0) | |
16850 | #endif | |
16851 | ||
16852 | #ifdef CONFIG_MACH_AS9200 | |
16853 | # ifdef machine_arch_type | |
16854 | # undef machine_arch_type | |
16855 | # define machine_arch_type __machine_arch_type | |
16856 | # else | |
16857 | # define machine_arch_type MACH_TYPE_AS9200 | |
16858 | # endif | |
16859 | # define machine_is_as9200() (machine_arch_type == MACH_TYPE_AS9200) | |
16860 | #else | |
16861 | # define machine_is_as9200() (0) | |
16862 | #endif | |
16863 | ||
16864 | #ifdef CONFIG_MACH_SFX1149 | |
16865 | # ifdef machine_arch_type | |
16866 | # undef machine_arch_type | |
16867 | # define machine_arch_type __machine_arch_type | |
16868 | # else | |
16869 | # define machine_arch_type MACH_TYPE_SFX1149 | |
16870 | # endif | |
16871 | # define machine_is_sfx1149() (machine_arch_type == MACH_TYPE_SFX1149) | |
16872 | #else | |
16873 | # define machine_is_sfx1149() (0) | |
16874 | #endif | |
16875 | ||
16876 | #ifdef CONFIG_MACH_NAVI010 | |
16877 | # ifdef machine_arch_type | |
16878 | # undef machine_arch_type | |
16879 | # define machine_arch_type __machine_arch_type | |
16880 | # else | |
16881 | # define machine_arch_type MACH_TYPE_NAVI010 | |
16882 | # endif | |
16883 | # define machine_is_navi010() (machine_arch_type == MACH_TYPE_NAVI010) | |
16884 | #else | |
16885 | # define machine_is_navi010() (0) | |
16886 | #endif | |
16887 | ||
16888 | #ifdef CONFIG_MACH_MULTMDP | |
16889 | # ifdef machine_arch_type | |
16890 | # undef machine_arch_type | |
16891 | # define machine_arch_type __machine_arch_type | |
16892 | # else | |
16893 | # define machine_arch_type MACH_TYPE_MULTMDP | |
16894 | # endif | |
16895 | # define machine_is_multmdp() (machine_arch_type == MACH_TYPE_MULTMDP) | |
16896 | #else | |
16897 | # define machine_is_multmdp() (0) | |
16898 | #endif | |
16899 | ||
16900 | #ifdef CONFIG_MACH_SCB9520 | |
16901 | # ifdef machine_arch_type | |
16902 | # undef machine_arch_type | |
16903 | # define machine_arch_type __machine_arch_type | |
16904 | # else | |
16905 | # define machine_arch_type MACH_TYPE_SCB9520 | |
16906 | # endif | |
16907 | # define machine_is_scb9520() (machine_arch_type == MACH_TYPE_SCB9520) | |
16908 | #else | |
16909 | # define machine_is_scb9520() (0) | |
16910 | #endif | |
16911 | ||
16912 | #ifdef CONFIG_MACH_HTCATHENA | |
16913 | # ifdef machine_arch_type | |
16914 | # undef machine_arch_type | |
16915 | # define machine_arch_type __machine_arch_type | |
16916 | # else | |
16917 | # define machine_arch_type MACH_TYPE_HTCATHENA | |
16918 | # endif | |
16919 | # define machine_is_htcathena() (machine_arch_type == MACH_TYPE_HTCATHENA) | |
16920 | #else | |
16921 | # define machine_is_htcathena() (0) | |
16922 | #endif | |
16923 | ||
16924 | #ifdef CONFIG_MACH_XP179 | |
16925 | # ifdef machine_arch_type | |
16926 | # undef machine_arch_type | |
16927 | # define machine_arch_type __machine_arch_type | |
16928 | # else | |
16929 | # define machine_arch_type MACH_TYPE_XP179 | |
16930 | # endif | |
16931 | # define machine_is_xp179() (machine_arch_type == MACH_TYPE_XP179) | |
16932 | #else | |
16933 | # define machine_is_xp179() (0) | |
16934 | #endif | |
16935 | ||
16936 | #ifdef CONFIG_MACH_H4300 | |
16937 | # ifdef machine_arch_type | |
16938 | # undef machine_arch_type | |
16939 | # define machine_arch_type __machine_arch_type | |
16940 | # else | |
16941 | # define machine_arch_type MACH_TYPE_H4300 | |
16942 | # endif | |
16943 | # define machine_is_h4300() (machine_arch_type == MACH_TYPE_H4300) | |
16944 | #else | |
16945 | # define machine_is_h4300() (0) | |
16946 | #endif | |
16947 | ||
16948 | #ifdef CONFIG_MACH_GORAMO_MLR | |
16949 | # ifdef machine_arch_type | |
16950 | # undef machine_arch_type | |
16951 | # define machine_arch_type __machine_arch_type | |
16952 | # else | |
16953 | # define machine_arch_type MACH_TYPE_GORAMO_MLR | |
16954 | # endif | |
16955 | # define machine_is_goramo_mlr() (machine_arch_type == MACH_TYPE_GORAMO_MLR) | |
16956 | #else | |
16957 | # define machine_is_goramo_mlr() (0) | |
16958 | #endif | |
16959 | ||
16960 | #ifdef CONFIG_MACH_MXC30020EVB | |
16961 | # ifdef machine_arch_type | |
16962 | # undef machine_arch_type | |
16963 | # define machine_arch_type __machine_arch_type | |
16964 | # else | |
16965 | # define machine_arch_type MACH_TYPE_MXC30020EVB | |
16966 | # endif | |
16967 | # define machine_is_mxc30020evb() (machine_arch_type == MACH_TYPE_MXC30020EVB) | |
16968 | #else | |
16969 | # define machine_is_mxc30020evb() (0) | |
16970 | #endif | |
16971 | ||
799891ef | 16972 | #ifdef CONFIG_MACH_ADSBITSYG5 |
f43ad539 WD |
16973 | # ifdef machine_arch_type |
16974 | # undef machine_arch_type | |
16975 | # define machine_arch_type __machine_arch_type | |
16976 | # else | |
799891ef | 16977 | # define machine_arch_type MACH_TYPE_ADSBITSYG5 |
f43ad539 | 16978 | # endif |
799891ef | 16979 | # define machine_is_adsbitsyg5() (machine_arch_type == MACH_TYPE_ADSBITSYG5) |
f43ad539 | 16980 | #else |
799891ef | 16981 | # define machine_is_adsbitsyg5() (0) |
f43ad539 WD |
16982 | #endif |
16983 | ||
16984 | #ifdef CONFIG_MACH_ADSPORTALPLUS | |
16985 | # ifdef machine_arch_type | |
16986 | # undef machine_arch_type | |
16987 | # define machine_arch_type __machine_arch_type | |
16988 | # else | |
16989 | # define machine_arch_type MACH_TYPE_ADSPORTALPLUS | |
16990 | # endif | |
16991 | # define machine_is_adsportalplus() (machine_arch_type == MACH_TYPE_ADSPORTALPLUS) | |
16992 | #else | |
16993 | # define machine_is_adsportalplus() (0) | |
16994 | #endif | |
16995 | ||
16996 | #ifdef CONFIG_MACH_MMSP2PLUS | |
16997 | # ifdef machine_arch_type | |
16998 | # undef machine_arch_type | |
16999 | # define machine_arch_type __machine_arch_type | |
17000 | # else | |
17001 | # define machine_arch_type MACH_TYPE_MMSP2PLUS | |
17002 | # endif | |
17003 | # define machine_is_mmsp2plus() (machine_arch_type == MACH_TYPE_MMSP2PLUS) | |
17004 | #else | |
17005 | # define machine_is_mmsp2plus() (0) | |
17006 | #endif | |
17007 | ||
17008 | #ifdef CONFIG_MACH_EM_X270 | |
17009 | # ifdef machine_arch_type | |
17010 | # undef machine_arch_type | |
17011 | # define machine_arch_type __machine_arch_type | |
17012 | # else | |
17013 | # define machine_arch_type MACH_TYPE_EM_X270 | |
17014 | # endif | |
17015 | # define machine_is_em_x270() (machine_arch_type == MACH_TYPE_EM_X270) | |
17016 | #else | |
17017 | # define machine_is_em_x270() (0) | |
17018 | #endif | |
17019 | ||
17020 | #ifdef CONFIG_MACH_TPP302 | |
17021 | # ifdef machine_arch_type | |
17022 | # undef machine_arch_type | |
17023 | # define machine_arch_type __machine_arch_type | |
17024 | # else | |
17025 | # define machine_arch_type MACH_TYPE_TPP302 | |
17026 | # endif | |
17027 | # define machine_is_tpp302() (machine_arch_type == MACH_TYPE_TPP302) | |
17028 | #else | |
17029 | # define machine_is_tpp302() (0) | |
17030 | #endif | |
17031 | ||
17032 | #ifdef CONFIG_MACH_TPM104 | |
17033 | # ifdef machine_arch_type | |
17034 | # undef machine_arch_type | |
17035 | # define machine_arch_type __machine_arch_type | |
17036 | # else | |
17037 | # define machine_arch_type MACH_TYPE_TPM104 | |
17038 | # endif | |
17039 | # define machine_is_tpp104() (machine_arch_type == MACH_TYPE_TPM104) | |
17040 | #else | |
17041 | # define machine_is_tpp104() (0) | |
17042 | #endif | |
17043 | ||
17044 | #ifdef CONFIG_MACH_TPM102 | |
17045 | # ifdef machine_arch_type | |
17046 | # undef machine_arch_type | |
17047 | # define machine_arch_type __machine_arch_type | |
17048 | # else | |
17049 | # define machine_arch_type MACH_TYPE_TPM102 | |
17050 | # endif | |
17051 | # define machine_is_tpm102() (machine_arch_type == MACH_TYPE_TPM102) | |
17052 | #else | |
17053 | # define machine_is_tpm102() (0) | |
17054 | #endif | |
17055 | ||
17056 | #ifdef CONFIG_MACH_TPM109 | |
17057 | # ifdef machine_arch_type | |
17058 | # undef machine_arch_type | |
17059 | # define machine_arch_type __machine_arch_type | |
17060 | # else | |
17061 | # define machine_arch_type MACH_TYPE_TPM109 | |
17062 | # endif | |
17063 | # define machine_is_tpm109() (machine_arch_type == MACH_TYPE_TPM109) | |
17064 | #else | |
17065 | # define machine_is_tpm109() (0) | |
17066 | #endif | |
17067 | ||
17068 | #ifdef CONFIG_MACH_FBXO1 | |
17069 | # ifdef machine_arch_type | |
17070 | # undef machine_arch_type | |
17071 | # define machine_arch_type __machine_arch_type | |
17072 | # else | |
17073 | # define machine_arch_type MACH_TYPE_FBXO1 | |
17074 | # endif | |
17075 | # define machine_is_fbxo1() (machine_arch_type == MACH_TYPE_FBXO1) | |
17076 | #else | |
17077 | # define machine_is_fbxo1() (0) | |
17078 | #endif | |
17079 | ||
17080 | #ifdef CONFIG_MACH_HXD8 | |
17081 | # ifdef machine_arch_type | |
17082 | # undef machine_arch_type | |
17083 | # define machine_arch_type __machine_arch_type | |
17084 | # else | |
17085 | # define machine_arch_type MACH_TYPE_HXD8 | |
17086 | # endif | |
17087 | # define machine_is_hxd8() (machine_arch_type == MACH_TYPE_HXD8) | |
17088 | #else | |
17089 | # define machine_is_hxd8() (0) | |
17090 | #endif | |
17091 | ||
17092 | #ifdef CONFIG_MACH_NEO1973_GTA02 | |
17093 | # ifdef machine_arch_type | |
17094 | # undef machine_arch_type | |
17095 | # define machine_arch_type __machine_arch_type | |
17096 | # else | |
17097 | # define machine_arch_type MACH_TYPE_NEO1973_GTA02 | |
17098 | # endif | |
17099 | # define machine_is_neo1973_gta02() (machine_arch_type == MACH_TYPE_NEO1973_GTA02) | |
17100 | #else | |
17101 | # define machine_is_neo1973_gta02() (0) | |
17102 | #endif | |
17103 | ||
17104 | #ifdef CONFIG_MACH_EMTEST | |
17105 | # ifdef machine_arch_type | |
17106 | # undef machine_arch_type | |
17107 | # define machine_arch_type __machine_arch_type | |
17108 | # else | |
17109 | # define machine_arch_type MACH_TYPE_EMTEST | |
17110 | # endif | |
17111 | # define machine_is_emtest() (machine_arch_type == MACH_TYPE_EMTEST) | |
17112 | #else | |
17113 | # define machine_is_emtest() (0) | |
17114 | #endif | |
17115 | ||
17116 | #ifdef CONFIG_MACH_AD6900 | |
17117 | # ifdef machine_arch_type | |
17118 | # undef machine_arch_type | |
17119 | # define machine_arch_type __machine_arch_type | |
17120 | # else | |
17121 | # define machine_arch_type MACH_TYPE_AD6900 | |
17122 | # endif | |
17123 | # define machine_is_ad6900() (machine_arch_type == MACH_TYPE_AD6900) | |
17124 | #else | |
17125 | # define machine_is_ad6900() (0) | |
17126 | #endif | |
17127 | ||
17128 | #ifdef CONFIG_MACH_EUROPA | |
17129 | # ifdef machine_arch_type | |
17130 | # undef machine_arch_type | |
17131 | # define machine_arch_type __machine_arch_type | |
17132 | # else | |
17133 | # define machine_arch_type MACH_TYPE_EUROPA | |
17134 | # endif | |
17135 | # define machine_is_europa() (machine_arch_type == MACH_TYPE_EUROPA) | |
17136 | #else | |
17137 | # define machine_is_europa() (0) | |
17138 | #endif | |
17139 | ||
17140 | #ifdef CONFIG_MACH_METROCONNECT | |
17141 | # ifdef machine_arch_type | |
17142 | # undef machine_arch_type | |
17143 | # define machine_arch_type __machine_arch_type | |
17144 | # else | |
17145 | # define machine_arch_type MACH_TYPE_METROCONNECT | |
17146 | # endif | |
17147 | # define machine_is_metroconnect() (machine_arch_type == MACH_TYPE_METROCONNECT) | |
17148 | #else | |
17149 | # define machine_is_metroconnect() (0) | |
17150 | #endif | |
17151 | ||
17152 | #ifdef CONFIG_MACH_EZ_S2410 | |
17153 | # ifdef machine_arch_type | |
17154 | # undef machine_arch_type | |
17155 | # define machine_arch_type __machine_arch_type | |
17156 | # else | |
17157 | # define machine_arch_type MACH_TYPE_EZ_S2410 | |
17158 | # endif | |
17159 | # define machine_is_ez_s2410() (machine_arch_type == MACH_TYPE_EZ_S2410) | |
17160 | #else | |
17161 | # define machine_is_ez_s2410() (0) | |
17162 | #endif | |
17163 | ||
17164 | #ifdef CONFIG_MACH_EZ_S2440 | |
17165 | # ifdef machine_arch_type | |
17166 | # undef machine_arch_type | |
17167 | # define machine_arch_type __machine_arch_type | |
17168 | # else | |
17169 | # define machine_arch_type MACH_TYPE_EZ_S2440 | |
17170 | # endif | |
17171 | # define machine_is_ez_s2440() (machine_arch_type == MACH_TYPE_EZ_S2440) | |
17172 | #else | |
17173 | # define machine_is_ez_s2440() (0) | |
17174 | #endif | |
17175 | ||
17176 | #ifdef CONFIG_MACH_EZ_EP9312 | |
17177 | # ifdef machine_arch_type | |
17178 | # undef machine_arch_type | |
17179 | # define machine_arch_type __machine_arch_type | |
17180 | # else | |
17181 | # define machine_arch_type MACH_TYPE_EZ_EP9312 | |
17182 | # endif | |
17183 | # define machine_is_ez_ep9312() (machine_arch_type == MACH_TYPE_EZ_EP9312) | |
17184 | #else | |
17185 | # define machine_is_ez_ep9312() (0) | |
17186 | #endif | |
17187 | ||
17188 | #ifdef CONFIG_MACH_EZ_EP9315 | |
17189 | # ifdef machine_arch_type | |
17190 | # undef machine_arch_type | |
17191 | # define machine_arch_type __machine_arch_type | |
17192 | # else | |
17193 | # define machine_arch_type MACH_TYPE_EZ_EP9315 | |
17194 | # endif | |
17195 | # define machine_is_ez_ep9315() (machine_arch_type == MACH_TYPE_EZ_EP9315) | |
17196 | #else | |
17197 | # define machine_is_ez_ep9315() (0) | |
17198 | #endif | |
17199 | ||
17200 | #ifdef CONFIG_MACH_EZ_X7 | |
17201 | # ifdef machine_arch_type | |
17202 | # undef machine_arch_type | |
17203 | # define machine_arch_type __machine_arch_type | |
17204 | # else | |
17205 | # define machine_arch_type MACH_TYPE_EZ_X7 | |
17206 | # endif | |
17207 | # define machine_is_ez_x7() (machine_arch_type == MACH_TYPE_EZ_X7) | |
17208 | #else | |
17209 | # define machine_is_ez_x7() (0) | |
17210 | #endif | |
17211 | ||
17212 | #ifdef CONFIG_MACH_GODOTDB | |
17213 | # ifdef machine_arch_type | |
17214 | # undef machine_arch_type | |
17215 | # define machine_arch_type __machine_arch_type | |
17216 | # else | |
17217 | # define machine_arch_type MACH_TYPE_GODOTDB | |
17218 | # endif | |
17219 | # define machine_is_godotdb() (machine_arch_type == MACH_TYPE_GODOTDB) | |
17220 | #else | |
17221 | # define machine_is_godotdb() (0) | |
17222 | #endif | |
17223 | ||
17224 | #ifdef CONFIG_MACH_MISTRAL | |
17225 | # ifdef machine_arch_type | |
17226 | # undef machine_arch_type | |
17227 | # define machine_arch_type __machine_arch_type | |
17228 | # else | |
17229 | # define machine_arch_type MACH_TYPE_MISTRAL | |
17230 | # endif | |
17231 | # define machine_is_mistral() (machine_arch_type == MACH_TYPE_MISTRAL) | |
17232 | #else | |
17233 | # define machine_is_mistral() (0) | |
17234 | #endif | |
17235 | ||
17236 | #ifdef CONFIG_MACH_MSM | |
17237 | # ifdef machine_arch_type | |
17238 | # undef machine_arch_type | |
17239 | # define machine_arch_type __machine_arch_type | |
17240 | # else | |
17241 | # define machine_arch_type MACH_TYPE_MSM | |
17242 | # endif | |
17243 | # define machine_is_msm() (machine_arch_type == MACH_TYPE_MSM) | |
17244 | #else | |
17245 | # define machine_is_msm() (0) | |
17246 | #endif | |
17247 | ||
17248 | #ifdef CONFIG_MACH_CT5910 | |
17249 | # ifdef machine_arch_type | |
17250 | # undef machine_arch_type | |
17251 | # define machine_arch_type __machine_arch_type | |
17252 | # else | |
17253 | # define machine_arch_type MACH_TYPE_CT5910 | |
17254 | # endif | |
17255 | # define machine_is_ct5910() (machine_arch_type == MACH_TYPE_CT5910) | |
17256 | #else | |
17257 | # define machine_is_ct5910() (0) | |
17258 | #endif | |
17259 | ||
17260 | #ifdef CONFIG_MACH_CT5912 | |
17261 | # ifdef machine_arch_type | |
17262 | # undef machine_arch_type | |
17263 | # define machine_arch_type __machine_arch_type | |
17264 | # else | |
17265 | # define machine_arch_type MACH_TYPE_CT5912 | |
17266 | # endif | |
17267 | # define machine_is_ct5912() (machine_arch_type == MACH_TYPE_CT5912) | |
17268 | #else | |
17269 | # define machine_is_ct5912() (0) | |
17270 | #endif | |
17271 | ||
17272 | #ifdef CONFIG_MACH_HYNET_INE | |
17273 | # ifdef machine_arch_type | |
17274 | # undef machine_arch_type | |
17275 | # define machine_arch_type __machine_arch_type | |
17276 | # else | |
17277 | # define machine_arch_type MACH_TYPE_HYNET_INE | |
17278 | # endif | |
17279 | # define machine_is_hynet_ine() (machine_arch_type == MACH_TYPE_HYNET_INE) | |
17280 | #else | |
17281 | # define machine_is_hynet_ine() (0) | |
17282 | #endif | |
17283 | ||
17284 | #ifdef CONFIG_MACH_HYNET_APP | |
17285 | # ifdef machine_arch_type | |
17286 | # undef machine_arch_type | |
17287 | # define machine_arch_type __machine_arch_type | |
17288 | # else | |
17289 | # define machine_arch_type MACH_TYPE_HYNET_APP | |
17290 | # endif | |
17291 | # define machine_is_hynet_app() (machine_arch_type == MACH_TYPE_HYNET_APP) | |
17292 | #else | |
17293 | # define machine_is_hynet_app() (0) | |
17294 | #endif | |
17295 | ||
17296 | #ifdef CONFIG_MACH_MSM7200 | |
17297 | # ifdef machine_arch_type | |
17298 | # undef machine_arch_type | |
17299 | # define machine_arch_type __machine_arch_type | |
17300 | # else | |
17301 | # define machine_arch_type MACH_TYPE_MSM7200 | |
17302 | # endif | |
17303 | # define machine_is_msm7200() (machine_arch_type == MACH_TYPE_MSM7200) | |
17304 | #else | |
17305 | # define machine_is_msm7200() (0) | |
17306 | #endif | |
17307 | ||
17308 | #ifdef CONFIG_MACH_MSM7600 | |
17309 | # ifdef machine_arch_type | |
17310 | # undef machine_arch_type | |
17311 | # define machine_arch_type __machine_arch_type | |
17312 | # else | |
17313 | # define machine_arch_type MACH_TYPE_MSM7600 | |
17314 | # endif | |
17315 | # define machine_is_msm7600() (machine_arch_type == MACH_TYPE_MSM7600) | |
17316 | #else | |
17317 | # define machine_is_msm7600() (0) | |
17318 | #endif | |
17319 | ||
17320 | #ifdef CONFIG_MACH_CEB255 | |
17321 | # ifdef machine_arch_type | |
17322 | # undef machine_arch_type | |
17323 | # define machine_arch_type __machine_arch_type | |
17324 | # else | |
17325 | # define machine_arch_type MACH_TYPE_CEB255 | |
17326 | # endif | |
17327 | # define machine_is_ceb255() (machine_arch_type == MACH_TYPE_CEB255) | |
17328 | #else | |
17329 | # define machine_is_ceb255() (0) | |
17330 | #endif | |
17331 | ||
17332 | #ifdef CONFIG_MACH_CIEL | |
17333 | # ifdef machine_arch_type | |
17334 | # undef machine_arch_type | |
17335 | # define machine_arch_type __machine_arch_type | |
17336 | # else | |
17337 | # define machine_arch_type MACH_TYPE_CIEL | |
17338 | # endif | |
17339 | # define machine_is_ciel() (machine_arch_type == MACH_TYPE_CIEL) | |
17340 | #else | |
17341 | # define machine_is_ciel() (0) | |
17342 | #endif | |
17343 | ||
17344 | #ifdef CONFIG_MACH_SLM5650 | |
17345 | # ifdef machine_arch_type | |
17346 | # undef machine_arch_type | |
17347 | # define machine_arch_type __machine_arch_type | |
17348 | # else | |
17349 | # define machine_arch_type MACH_TYPE_SLM5650 | |
17350 | # endif | |
17351 | # define machine_is_slm5650() (machine_arch_type == MACH_TYPE_SLM5650) | |
17352 | #else | |
17353 | # define machine_is_slm5650() (0) | |
17354 | #endif | |
17355 | ||
17356 | #ifdef CONFIG_MACH_AT91SAM9RLEK | |
17357 | # ifdef machine_arch_type | |
17358 | # undef machine_arch_type | |
17359 | # define machine_arch_type __machine_arch_type | |
17360 | # else | |
17361 | # define machine_arch_type MACH_TYPE_AT91SAM9RLEK | |
17362 | # endif | |
17363 | # define machine_is_at91sam9rlek() (machine_arch_type == MACH_TYPE_AT91SAM9RLEK) | |
17364 | #else | |
17365 | # define machine_is_at91sam9rlek() (0) | |
17366 | #endif | |
17367 | ||
17368 | #ifdef CONFIG_MACH_COMTECH_ROUTER | |
17369 | # ifdef machine_arch_type | |
17370 | # undef machine_arch_type | |
17371 | # define machine_arch_type __machine_arch_type | |
17372 | # else | |
17373 | # define machine_arch_type MACH_TYPE_COMTECH_ROUTER | |
17374 | # endif | |
17375 | # define machine_is_comtech_router() (machine_arch_type == MACH_TYPE_COMTECH_ROUTER) | |
17376 | #else | |
17377 | # define machine_is_comtech_router() (0) | |
17378 | #endif | |
17379 | ||
17380 | #ifdef CONFIG_MACH_SBC2410X | |
17381 | # ifdef machine_arch_type | |
17382 | # undef machine_arch_type | |
17383 | # define machine_arch_type __machine_arch_type | |
17384 | # else | |
17385 | # define machine_arch_type MACH_TYPE_SBC2410X | |
17386 | # endif | |
17387 | # define machine_is_sbc2410x() (machine_arch_type == MACH_TYPE_SBC2410X) | |
17388 | #else | |
17389 | # define machine_is_sbc2410x() (0) | |
17390 | #endif | |
17391 | ||
17392 | #ifdef CONFIG_MACH_AT4X0BD | |
17393 | # ifdef machine_arch_type | |
17394 | # undef machine_arch_type | |
17395 | # define machine_arch_type __machine_arch_type | |
17396 | # else | |
17397 | # define machine_arch_type MACH_TYPE_AT4X0BD | |
17398 | # endif | |
17399 | # define machine_is_at4x0bd() (machine_arch_type == MACH_TYPE_AT4X0BD) | |
17400 | #else | |
17401 | # define machine_is_at4x0bd() (0) | |
17402 | #endif | |
17403 | ||
17404 | #ifdef CONFIG_MACH_CBIFR | |
17405 | # ifdef machine_arch_type | |
17406 | # undef machine_arch_type | |
17407 | # define machine_arch_type __machine_arch_type | |
17408 | # else | |
17409 | # define machine_arch_type MACH_TYPE_CBIFR | |
17410 | # endif | |
17411 | # define machine_is_cbifr() (machine_arch_type == MACH_TYPE_CBIFR) | |
17412 | #else | |
17413 | # define machine_is_cbifr() (0) | |
17414 | #endif | |
17415 | ||
17416 | #ifdef CONFIG_MACH_ARCOM_QUANTUM | |
17417 | # ifdef machine_arch_type | |
17418 | # undef machine_arch_type | |
17419 | # define machine_arch_type __machine_arch_type | |
17420 | # else | |
17421 | # define machine_arch_type MACH_TYPE_ARCOM_QUANTUM | |
17422 | # endif | |
17423 | # define machine_is_arcom_quantum() (machine_arch_type == MACH_TYPE_ARCOM_QUANTUM) | |
17424 | #else | |
17425 | # define machine_is_arcom_quantum() (0) | |
17426 | #endif | |
17427 | ||
17428 | #ifdef CONFIG_MACH_MATRIX520 | |
17429 | # ifdef machine_arch_type | |
17430 | # undef machine_arch_type | |
17431 | # define machine_arch_type __machine_arch_type | |
17432 | # else | |
17433 | # define machine_arch_type MACH_TYPE_MATRIX520 | |
17434 | # endif | |
17435 | # define machine_is_matrix520() (machine_arch_type == MACH_TYPE_MATRIX520) | |
17436 | #else | |
17437 | # define machine_is_matrix520() (0) | |
17438 | #endif | |
17439 | ||
17440 | #ifdef CONFIG_MACH_MATRIX510 | |
17441 | # ifdef machine_arch_type | |
17442 | # undef machine_arch_type | |
17443 | # define machine_arch_type __machine_arch_type | |
17444 | # else | |
17445 | # define machine_arch_type MACH_TYPE_MATRIX510 | |
17446 | # endif | |
17447 | # define machine_is_matrix510() (machine_arch_type == MACH_TYPE_MATRIX510) | |
17448 | #else | |
17449 | # define machine_is_matrix510() (0) | |
17450 | #endif | |
17451 | ||
17452 | #ifdef CONFIG_MACH_MATRIX500 | |
17453 | # ifdef machine_arch_type | |
17454 | # undef machine_arch_type | |
17455 | # define machine_arch_type __machine_arch_type | |
17456 | # else | |
17457 | # define machine_arch_type MACH_TYPE_MATRIX500 | |
17458 | # endif | |
17459 | # define machine_is_matrix500() (machine_arch_type == MACH_TYPE_MATRIX500) | |
17460 | #else | |
17461 | # define machine_is_matrix500() (0) | |
17462 | #endif | |
17463 | ||
17464 | #ifdef CONFIG_MACH_M501 | |
17465 | # ifdef machine_arch_type | |
17466 | # undef machine_arch_type | |
17467 | # define machine_arch_type __machine_arch_type | |
17468 | # else | |
17469 | # define machine_arch_type MACH_TYPE_M501 | |
17470 | # endif | |
17471 | # define machine_is_m501() (machine_arch_type == MACH_TYPE_M501) | |
17472 | #else | |
17473 | # define machine_is_m501() (0) | |
17474 | #endif | |
17475 | ||
17476 | #ifdef CONFIG_MACH_AAEON1270 | |
17477 | # ifdef machine_arch_type | |
17478 | # undef machine_arch_type | |
17479 | # define machine_arch_type __machine_arch_type | |
17480 | # else | |
17481 | # define machine_arch_type MACH_TYPE_AAEON1270 | |
17482 | # endif | |
17483 | # define machine_is_aaeon1270() (machine_arch_type == MACH_TYPE_AAEON1270) | |
17484 | #else | |
17485 | # define machine_is_aaeon1270() (0) | |
17486 | #endif | |
17487 | ||
17488 | #ifdef CONFIG_MACH_MATRIX500EV | |
17489 | # ifdef machine_arch_type | |
17490 | # undef machine_arch_type | |
17491 | # define machine_arch_type __machine_arch_type | |
17492 | # else | |
17493 | # define machine_arch_type MACH_TYPE_MATRIX500EV | |
17494 | # endif | |
17495 | # define machine_is_matrix500ev() (machine_arch_type == MACH_TYPE_MATRIX500EV) | |
17496 | #else | |
17497 | # define machine_is_matrix500ev() (0) | |
17498 | #endif | |
17499 | ||
17500 | #ifdef CONFIG_MACH_PAC500 | |
17501 | # ifdef machine_arch_type | |
17502 | # undef machine_arch_type | |
17503 | # define machine_arch_type __machine_arch_type | |
17504 | # else | |
17505 | # define machine_arch_type MACH_TYPE_PAC500 | |
17506 | # endif | |
17507 | # define machine_is_pac500() (machine_arch_type == MACH_TYPE_PAC500) | |
17508 | #else | |
17509 | # define machine_is_pac500() (0) | |
17510 | #endif | |
17511 | ||
17512 | #ifdef CONFIG_MACH_PNX8181 | |
17513 | # ifdef machine_arch_type | |
17514 | # undef machine_arch_type | |
17515 | # define machine_arch_type __machine_arch_type | |
17516 | # else | |
17517 | # define machine_arch_type MACH_TYPE_PNX8181 | |
17518 | # endif | |
17519 | # define machine_is_pnx8181() (machine_arch_type == MACH_TYPE_PNX8181) | |
17520 | #else | |
17521 | # define machine_is_pnx8181() (0) | |
17522 | #endif | |
17523 | ||
17524 | #ifdef CONFIG_MACH_COLIBRI320 | |
17525 | # ifdef machine_arch_type | |
17526 | # undef machine_arch_type | |
17527 | # define machine_arch_type __machine_arch_type | |
17528 | # else | |
17529 | # define machine_arch_type MACH_TYPE_COLIBRI320 | |
17530 | # endif | |
17531 | # define machine_is_colibri320() (machine_arch_type == MACH_TYPE_COLIBRI320) | |
17532 | #else | |
17533 | # define machine_is_colibri320() (0) | |
17534 | #endif | |
17535 | ||
17536 | #ifdef CONFIG_MACH_AZTOOLBB | |
17537 | # ifdef machine_arch_type | |
17538 | # undef machine_arch_type | |
17539 | # define machine_arch_type __machine_arch_type | |
17540 | # else | |
17541 | # define machine_arch_type MACH_TYPE_AZTOOLBB | |
17542 | # endif | |
17543 | # define machine_is_aztoolbb() (machine_arch_type == MACH_TYPE_AZTOOLBB) | |
17544 | #else | |
17545 | # define machine_is_aztoolbb() (0) | |
17546 | #endif | |
17547 | ||
17548 | #ifdef CONFIG_MACH_AZTOOLG2 | |
17549 | # ifdef machine_arch_type | |
17550 | # undef machine_arch_type | |
17551 | # define machine_arch_type __machine_arch_type | |
17552 | # else | |
17553 | # define machine_arch_type MACH_TYPE_AZTOOLG2 | |
17554 | # endif | |
17555 | # define machine_is_aztoolg2() (machine_arch_type == MACH_TYPE_AZTOOLG2) | |
17556 | #else | |
17557 | # define machine_is_aztoolg2() (0) | |
17558 | #endif | |
17559 | ||
17560 | #ifdef CONFIG_MACH_DVLHOST | |
17561 | # ifdef machine_arch_type | |
17562 | # undef machine_arch_type | |
17563 | # define machine_arch_type __machine_arch_type | |
17564 | # else | |
17565 | # define machine_arch_type MACH_TYPE_DVLHOST | |
17566 | # endif | |
17567 | # define machine_is_dvlhost() (machine_arch_type == MACH_TYPE_DVLHOST) | |
17568 | #else | |
17569 | # define machine_is_dvlhost() (0) | |
17570 | #endif | |
17571 | ||
17572 | #ifdef CONFIG_MACH_ZIR9200 | |
17573 | # ifdef machine_arch_type | |
17574 | # undef machine_arch_type | |
17575 | # define machine_arch_type __machine_arch_type | |
17576 | # else | |
17577 | # define machine_arch_type MACH_TYPE_ZIR9200 | |
17578 | # endif | |
17579 | # define machine_is_zir9200() (machine_arch_type == MACH_TYPE_ZIR9200) | |
17580 | #else | |
17581 | # define machine_is_zir9200() (0) | |
17582 | #endif | |
17583 | ||
17584 | #ifdef CONFIG_MACH_ZIR9260 | |
17585 | # ifdef machine_arch_type | |
17586 | # undef machine_arch_type | |
17587 | # define machine_arch_type __machine_arch_type | |
17588 | # else | |
17589 | # define machine_arch_type MACH_TYPE_ZIR9260 | |
17590 | # endif | |
17591 | # define machine_is_zir9260() (machine_arch_type == MACH_TYPE_ZIR9260) | |
17592 | #else | |
17593 | # define machine_is_zir9260() (0) | |
17594 | #endif | |
17595 | ||
17596 | #ifdef CONFIG_MACH_COCOPAH | |
17597 | # ifdef machine_arch_type | |
17598 | # undef machine_arch_type | |
17599 | # define machine_arch_type __machine_arch_type | |
17600 | # else | |
17601 | # define machine_arch_type MACH_TYPE_COCOPAH | |
17602 | # endif | |
17603 | # define machine_is_cocopah() (machine_arch_type == MACH_TYPE_COCOPAH) | |
17604 | #else | |
17605 | # define machine_is_cocopah() (0) | |
17606 | #endif | |
17607 | ||
17608 | #ifdef CONFIG_MACH_NDS | |
17609 | # ifdef machine_arch_type | |
17610 | # undef machine_arch_type | |
17611 | # define machine_arch_type __machine_arch_type | |
17612 | # else | |
17613 | # define machine_arch_type MACH_TYPE_NDS | |
17614 | # endif | |
17615 | # define machine_is_nds() (machine_arch_type == MACH_TYPE_NDS) | |
17616 | #else | |
17617 | # define machine_is_nds() (0) | |
17618 | #endif | |
17619 | ||
17620 | #ifdef CONFIG_MACH_ROSENCRANTZ | |
17621 | # ifdef machine_arch_type | |
17622 | # undef machine_arch_type | |
17623 | # define machine_arch_type __machine_arch_type | |
17624 | # else | |
17625 | # define machine_arch_type MACH_TYPE_ROSENCRANTZ | |
17626 | # endif | |
17627 | # define machine_is_rosencrantz() (machine_arch_type == MACH_TYPE_ROSENCRANTZ) | |
17628 | #else | |
17629 | # define machine_is_rosencrantz() (0) | |
17630 | #endif | |
17631 | ||
17632 | #ifdef CONFIG_MACH_FTTX_ODSC | |
17633 | # ifdef machine_arch_type | |
17634 | # undef machine_arch_type | |
17635 | # define machine_arch_type __machine_arch_type | |
17636 | # else | |
17637 | # define machine_arch_type MACH_TYPE_FTTX_ODSC | |
17638 | # endif | |
17639 | # define machine_is_fttx_odsc() (machine_arch_type == MACH_TYPE_FTTX_ODSC) | |
17640 | #else | |
17641 | # define machine_is_fttx_odsc() (0) | |
17642 | #endif | |
17643 | ||
17644 | #ifdef CONFIG_MACH_CLASSE_R6904 | |
17645 | # ifdef machine_arch_type | |
17646 | # undef machine_arch_type | |
17647 | # define machine_arch_type __machine_arch_type | |
17648 | # else | |
17649 | # define machine_arch_type MACH_TYPE_CLASSE_R6904 | |
17650 | # endif | |
17651 | # define machine_is_classe_r6904() (machine_arch_type == MACH_TYPE_CLASSE_R6904) | |
17652 | #else | |
17653 | # define machine_is_classe_r6904() (0) | |
17654 | #endif | |
17655 | ||
17656 | #ifdef CONFIG_MACH_CAM60 | |
17657 | # ifdef machine_arch_type | |
17658 | # undef machine_arch_type | |
17659 | # define machine_arch_type __machine_arch_type | |
17660 | # else | |
17661 | # define machine_arch_type MACH_TYPE_CAM60 | |
17662 | # endif | |
17663 | # define machine_is_cam60() (machine_arch_type == MACH_TYPE_CAM60) | |
17664 | #else | |
17665 | # define machine_is_cam60() (0) | |
17666 | #endif | |
17667 | ||
17668 | #ifdef CONFIG_MACH_MXC30031ADS | |
17669 | # ifdef machine_arch_type | |
17670 | # undef machine_arch_type | |
17671 | # define machine_arch_type __machine_arch_type | |
17672 | # else | |
17673 | # define machine_arch_type MACH_TYPE_MXC30031ADS | |
17674 | # endif | |
17675 | # define machine_is_mxc30031ads() (machine_arch_type == MACH_TYPE_MXC30031ADS) | |
17676 | #else | |
17677 | # define machine_is_mxc30031ads() (0) | |
17678 | #endif | |
17679 | ||
17680 | #ifdef CONFIG_MACH_DATACALL | |
17681 | # ifdef machine_arch_type | |
17682 | # undef machine_arch_type | |
17683 | # define machine_arch_type __machine_arch_type | |
17684 | # else | |
17685 | # define machine_arch_type MACH_TYPE_DATACALL | |
17686 | # endif | |
17687 | # define machine_is_datacall() (machine_arch_type == MACH_TYPE_DATACALL) | |
17688 | #else | |
17689 | # define machine_is_datacall() (0) | |
17690 | #endif | |
17691 | ||
17692 | #ifdef CONFIG_MACH_AT91EB01 | |
17693 | # ifdef machine_arch_type | |
17694 | # undef machine_arch_type | |
17695 | # define machine_arch_type __machine_arch_type | |
17696 | # else | |
17697 | # define machine_arch_type MACH_TYPE_AT91EB01 | |
17698 | # endif | |
17699 | # define machine_is_at91eb01() (machine_arch_type == MACH_TYPE_AT91EB01) | |
17700 | #else | |
17701 | # define machine_is_at91eb01() (0) | |
17702 | #endif | |
17703 | ||
17704 | #ifdef CONFIG_MACH_RTY | |
17705 | # ifdef machine_arch_type | |
17706 | # undef machine_arch_type | |
17707 | # define machine_arch_type __machine_arch_type | |
17708 | # else | |
17709 | # define machine_arch_type MACH_TYPE_RTY | |
17710 | # endif | |
17711 | # define machine_is_rty() (machine_arch_type == MACH_TYPE_RTY) | |
17712 | #else | |
17713 | # define machine_is_rty() (0) | |
17714 | #endif | |
17715 | ||
17716 | #ifdef CONFIG_MACH_DWL2100 | |
17717 | # ifdef machine_arch_type | |
17718 | # undef machine_arch_type | |
17719 | # define machine_arch_type __machine_arch_type | |
17720 | # else | |
17721 | # define machine_arch_type MACH_TYPE_DWL2100 | |
17722 | # endif | |
17723 | # define machine_is_dwl2100() (machine_arch_type == MACH_TYPE_DWL2100) | |
17724 | #else | |
17725 | # define machine_is_dwl2100() (0) | |
17726 | #endif | |
17727 | ||
17728 | #ifdef CONFIG_MACH_VINSI | |
17729 | # ifdef machine_arch_type | |
17730 | # undef machine_arch_type | |
17731 | # define machine_arch_type __machine_arch_type | |
17732 | # else | |
17733 | # define machine_arch_type MACH_TYPE_VINSI | |
17734 | # endif | |
17735 | # define machine_is_vinsi() (machine_arch_type == MACH_TYPE_VINSI) | |
17736 | #else | |
17737 | # define machine_is_vinsi() (0) | |
17738 | #endif | |
17739 | ||
17740 | #ifdef CONFIG_MACH_DB88F5281 | |
17741 | # ifdef machine_arch_type | |
17742 | # undef machine_arch_type | |
17743 | # define machine_arch_type __machine_arch_type | |
17744 | # else | |
17745 | # define machine_arch_type MACH_TYPE_DB88F5281 | |
17746 | # endif | |
17747 | # define machine_is_db88f5281() (machine_arch_type == MACH_TYPE_DB88F5281) | |
17748 | #else | |
17749 | # define machine_is_db88f5281() (0) | |
17750 | #endif | |
17751 | ||
17752 | #ifdef CONFIG_MACH_CSB726 | |
17753 | # ifdef machine_arch_type | |
17754 | # undef machine_arch_type | |
17755 | # define machine_arch_type __machine_arch_type | |
17756 | # else | |
17757 | # define machine_arch_type MACH_TYPE_CSB726 | |
17758 | # endif | |
17759 | # define machine_is_csb726() (machine_arch_type == MACH_TYPE_CSB726) | |
17760 | #else | |
17761 | # define machine_is_csb726() (0) | |
17762 | #endif | |
17763 | ||
17764 | #ifdef CONFIG_MACH_TIK27 | |
17765 | # ifdef machine_arch_type | |
17766 | # undef machine_arch_type | |
17767 | # define machine_arch_type __machine_arch_type | |
17768 | # else | |
17769 | # define machine_arch_type MACH_TYPE_TIK27 | |
17770 | # endif | |
17771 | # define machine_is_tik27() (machine_arch_type == MACH_TYPE_TIK27) | |
17772 | #else | |
17773 | # define machine_is_tik27() (0) | |
17774 | #endif | |
17775 | ||
17776 | #ifdef CONFIG_MACH_MX_UC7420 | |
17777 | # ifdef machine_arch_type | |
17778 | # undef machine_arch_type | |
17779 | # define machine_arch_type __machine_arch_type | |
17780 | # else | |
17781 | # define machine_arch_type MACH_TYPE_MX_UC7420 | |
17782 | # endif | |
17783 | # define machine_is_mx_uc7420() (machine_arch_type == MACH_TYPE_MX_UC7420) | |
17784 | #else | |
17785 | # define machine_is_mx_uc7420() (0) | |
d4fc6012 PP |
17786 | #endif |
17787 | ||
799891ef MS |
17788 | #ifdef CONFIG_MACH_RIRM3 |
17789 | # ifdef machine_arch_type | |
17790 | # undef machine_arch_type | |
17791 | # define machine_arch_type __machine_arch_type | |
17792 | # else | |
17793 | # define machine_arch_type MACH_TYPE_RIRM3 | |
17794 | # endif | |
17795 | # define machine_is_rirm3() (machine_arch_type == MACH_TYPE_RIRM3) | |
17796 | #else | |
17797 | # define machine_is_rirm3() (0) | |
17798 | #endif | |
17799 | ||
17800 | #ifdef CONFIG_MACH_PELCO_ODYSSEY | |
17801 | # ifdef machine_arch_type | |
17802 | # undef machine_arch_type | |
17803 | # define machine_arch_type __machine_arch_type | |
17804 | # else | |
17805 | # define machine_arch_type MACH_TYPE_PELCO_ODYSSEY | |
17806 | # endif | |
17807 | # define machine_is_pelco_odyssey() (machine_arch_type == MACH_TYPE_PELCO_ODYSSEY) | |
17808 | #else | |
17809 | # define machine_is_pelco_odyssey() (0) | |
17810 | #endif | |
17811 | ||
17812 | #ifdef CONFIG_MACH_ADX_ABOX | |
17813 | # ifdef machine_arch_type | |
17814 | # undef machine_arch_type | |
17815 | # define machine_arch_type __machine_arch_type | |
17816 | # else | |
17817 | # define machine_arch_type MACH_TYPE_ADX_ABOX | |
17818 | # endif | |
17819 | # define machine_is_adx_abox() (machine_arch_type == MACH_TYPE_ADX_ABOX) | |
17820 | #else | |
17821 | # define machine_is_adx_abox() (0) | |
17822 | #endif | |
17823 | ||
17824 | #ifdef CONFIG_MACH_ADX_TPID | |
17825 | # ifdef machine_arch_type | |
17826 | # undef machine_arch_type | |
17827 | # define machine_arch_type __machine_arch_type | |
17828 | # else | |
17829 | # define machine_arch_type MACH_TYPE_ADX_TPID | |
17830 | # endif | |
17831 | # define machine_is_adx_tpid() (machine_arch_type == MACH_TYPE_ADX_TPID) | |
17832 | #else | |
17833 | # define machine_is_adx_tpid() (0) | |
17834 | #endif | |
17835 | ||
17836 | #ifdef CONFIG_MACH_MINICHECK | |
17837 | # ifdef machine_arch_type | |
17838 | # undef machine_arch_type | |
17839 | # define machine_arch_type __machine_arch_type | |
17840 | # else | |
17841 | # define machine_arch_type MACH_TYPE_MINICHECK | |
17842 | # endif | |
17843 | # define machine_is_minicheck() (machine_arch_type == MACH_TYPE_MINICHECK) | |
17844 | #else | |
17845 | # define machine_is_minicheck() (0) | |
17846 | #endif | |
17847 | ||
17848 | #ifdef CONFIG_MACH_IDAM | |
17849 | # ifdef machine_arch_type | |
17850 | # undef machine_arch_type | |
17851 | # define machine_arch_type __machine_arch_type | |
17852 | # else | |
17853 | # define machine_arch_type MACH_TYPE_IDAM | |
17854 | # endif | |
17855 | # define machine_is_idam() (machine_arch_type == MACH_TYPE_IDAM) | |
17856 | #else | |
17857 | # define machine_is_idam() (0) | |
17858 | #endif | |
17859 | ||
17860 | #ifdef CONFIG_MACH_MARIO_MX | |
17861 | # ifdef machine_arch_type | |
17862 | # undef machine_arch_type | |
17863 | # define machine_arch_type __machine_arch_type | |
17864 | # else | |
17865 | # define machine_arch_type MACH_TYPE_MARIO_MX | |
17866 | # endif | |
17867 | # define machine_is_mario_mx() (machine_arch_type == MACH_TYPE_MARIO_MX) | |
17868 | #else | |
17869 | # define machine_is_mario_mx() (0) | |
17870 | #endif | |
17871 | ||
17872 | #ifdef CONFIG_MACH_VI1888 | |
17873 | # ifdef machine_arch_type | |
17874 | # undef machine_arch_type | |
17875 | # define machine_arch_type __machine_arch_type | |
17876 | # else | |
17877 | # define machine_arch_type MACH_TYPE_VI1888 | |
17878 | # endif | |
17879 | # define machine_is_vi1888() (machine_arch_type == MACH_TYPE_VI1888) | |
17880 | #else | |
17881 | # define machine_is_vi1888() (0) | |
17882 | #endif | |
17883 | ||
17884 | #ifdef CONFIG_MACH_ZR4230 | |
17885 | # ifdef machine_arch_type | |
17886 | # undef machine_arch_type | |
17887 | # define machine_arch_type __machine_arch_type | |
17888 | # else | |
17889 | # define machine_arch_type MACH_TYPE_ZR4230 | |
17890 | # endif | |
17891 | # define machine_is_zr4230() (machine_arch_type == MACH_TYPE_ZR4230) | |
17892 | #else | |
17893 | # define machine_is_zr4230() (0) | |
17894 | #endif | |
17895 | ||
17896 | #ifdef CONFIG_MACH_T1_IX_BLUE | |
17897 | # ifdef machine_arch_type | |
17898 | # undef machine_arch_type | |
17899 | # define machine_arch_type __machine_arch_type | |
17900 | # else | |
17901 | # define machine_arch_type MACH_TYPE_T1_IX_BLUE | |
17902 | # endif | |
17903 | # define machine_is_t1_ix_blue() (machine_arch_type == MACH_TYPE_T1_IX_BLUE) | |
17904 | #else | |
17905 | # define machine_is_t1_ix_blue() (0) | |
17906 | #endif | |
17907 | ||
17908 | #ifdef CONFIG_MACH_SYHQ2 | |
17909 | # ifdef machine_arch_type | |
17910 | # undef machine_arch_type | |
17911 | # define machine_arch_type __machine_arch_type | |
17912 | # else | |
17913 | # define machine_arch_type MACH_TYPE_SYHQ2 | |
17914 | # endif | |
17915 | # define machine_is_syhq2() (machine_arch_type == MACH_TYPE_SYHQ2) | |
17916 | #else | |
17917 | # define machine_is_syhq2() (0) | |
17918 | #endif | |
17919 | ||
17920 | #ifdef CONFIG_MACH_COMPUTIME_R3 | |
17921 | # ifdef machine_arch_type | |
17922 | # undef machine_arch_type | |
17923 | # define machine_arch_type __machine_arch_type | |
17924 | # else | |
17925 | # define machine_arch_type MACH_TYPE_COMPUTIME_R3 | |
17926 | # endif | |
17927 | # define machine_is_computime_r3() (machine_arch_type == MACH_TYPE_COMPUTIME_R3) | |
17928 | #else | |
17929 | # define machine_is_computime_r3() (0) | |
17930 | #endif | |
17931 | ||
17932 | #ifdef CONFIG_MACH_ORATIS | |
17933 | # ifdef machine_arch_type | |
17934 | # undef machine_arch_type | |
17935 | # define machine_arch_type __machine_arch_type | |
17936 | # else | |
17937 | # define machine_arch_type MACH_TYPE_ORATIS | |
17938 | # endif | |
17939 | # define machine_is_oratis() (machine_arch_type == MACH_TYPE_ORATIS) | |
17940 | #else | |
17941 | # define machine_is_oratis() (0) | |
17942 | #endif | |
17943 | ||
17944 | #ifdef CONFIG_MACH_MIKKO | |
17945 | # ifdef machine_arch_type | |
17946 | # undef machine_arch_type | |
17947 | # define machine_arch_type __machine_arch_type | |
17948 | # else | |
17949 | # define machine_arch_type MACH_TYPE_MIKKO | |
17950 | # endif | |
17951 | # define machine_is_mikko() (machine_arch_type == MACH_TYPE_MIKKO) | |
17952 | #else | |
17953 | # define machine_is_mikko() (0) | |
17954 | #endif | |
17955 | ||
17956 | #ifdef CONFIG_MACH_HOLON | |
17957 | # ifdef machine_arch_type | |
17958 | # undef machine_arch_type | |
17959 | # define machine_arch_type __machine_arch_type | |
17960 | # else | |
17961 | # define machine_arch_type MACH_TYPE_HOLON | |
17962 | # endif | |
17963 | # define machine_is_holon() (machine_arch_type == MACH_TYPE_HOLON) | |
17964 | #else | |
17965 | # define machine_is_holon() (0) | |
17966 | #endif | |
17967 | ||
17968 | #ifdef CONFIG_MACH_OLIP8 | |
17969 | # ifdef machine_arch_type | |
17970 | # undef machine_arch_type | |
17971 | # define machine_arch_type __machine_arch_type | |
17972 | # else | |
17973 | # define machine_arch_type MACH_TYPE_OLIP8 | |
17974 | # endif | |
17975 | # define machine_is_olip8() (machine_arch_type == MACH_TYPE_OLIP8) | |
17976 | #else | |
17977 | # define machine_is_olip8() (0) | |
17978 | #endif | |
17979 | ||
17980 | #ifdef CONFIG_MACH_GHI270HG | |
17981 | # ifdef machine_arch_type | |
17982 | # undef machine_arch_type | |
17983 | # define machine_arch_type __machine_arch_type | |
17984 | # else | |
17985 | # define machine_arch_type MACH_TYPE_GHI270HG | |
17986 | # endif | |
17987 | # define machine_is_ghi270hg() (machine_arch_type == MACH_TYPE_GHI270HG) | |
17988 | #else | |
17989 | # define machine_is_ghi270hg() (0) | |
17990 | #endif | |
17991 | ||
17992 | #ifdef CONFIG_MACH_DAVINCI_DM6467_EVM | |
17993 | # ifdef machine_arch_type | |
17994 | # undef machine_arch_type | |
17995 | # define machine_arch_type __machine_arch_type | |
17996 | # else | |
17997 | # define machine_arch_type MACH_TYPE_DAVINCI_DM6467_EVM | |
17998 | # endif | |
17999 | # define machine_is_davinci_dm6467_evm() (machine_arch_type == MACH_TYPE_DAVINCI_DM6467_EVM) | |
18000 | #else | |
18001 | # define machine_is_davinci_dm6467_evm() (0) | |
18002 | #endif | |
18003 | ||
18004 | #ifdef CONFIG_MACH_DAVINCI_DM350_EVM | |
18005 | # ifdef machine_arch_type | |
18006 | # undef machine_arch_type | |
18007 | # define machine_arch_type __machine_arch_type | |
18008 | # else | |
18009 | # define machine_arch_type MACH_TYPE_DAVINCI_DM350_EVM | |
18010 | # endif | |
18011 | # define machine_is_davinci_dm355_evm() (machine_arch_type == MACH_TYPE_DAVINCI_DM350_EVM) | |
18012 | #else | |
18013 | # define machine_is_davinci_dm355_evm() (0) | |
18014 | #endif | |
18015 | ||
18016 | #ifdef CONFIG_MACH_BLACKRIVER | |
18017 | # ifdef machine_arch_type | |
18018 | # undef machine_arch_type | |
18019 | # define machine_arch_type __machine_arch_type | |
18020 | # else | |
18021 | # define machine_arch_type MACH_TYPE_BLACKRIVER | |
18022 | # endif | |
18023 | # define machine_is_blackriver() (machine_arch_type == MACH_TYPE_BLACKRIVER) | |
18024 | #else | |
18025 | # define machine_is_blackriver() (0) | |
18026 | #endif | |
18027 | ||
18028 | #ifdef CONFIG_MACH_SANDGATEWP | |
18029 | # ifdef machine_arch_type | |
18030 | # undef machine_arch_type | |
18031 | # define machine_arch_type __machine_arch_type | |
18032 | # else | |
18033 | # define machine_arch_type MACH_TYPE_SANDGATEWP | |
18034 | # endif | |
18035 | # define machine_is_sandgate_wp() (machine_arch_type == MACH_TYPE_SANDGATEWP) | |
18036 | #else | |
18037 | # define machine_is_sandgate_wp() (0) | |
18038 | #endif | |
18039 | ||
18040 | #ifdef CONFIG_MACH_CDOTBWSG | |
18041 | # ifdef machine_arch_type | |
18042 | # undef machine_arch_type | |
18043 | # define machine_arch_type __machine_arch_type | |
18044 | # else | |
18045 | # define machine_arch_type MACH_TYPE_CDOTBWSG | |
18046 | # endif | |
18047 | # define machine_is_cdotbwsg() (machine_arch_type == MACH_TYPE_CDOTBWSG) | |
18048 | #else | |
18049 | # define machine_is_cdotbwsg() (0) | |
18050 | #endif | |
18051 | ||
18052 | #ifdef CONFIG_MACH_QUARK963 | |
18053 | # ifdef machine_arch_type | |
18054 | # undef machine_arch_type | |
18055 | # define machine_arch_type __machine_arch_type | |
18056 | # else | |
18057 | # define machine_arch_type MACH_TYPE_QUARK963 | |
18058 | # endif | |
18059 | # define machine_is_quark963() (machine_arch_type == MACH_TYPE_QUARK963) | |
18060 | #else | |
18061 | # define machine_is_quark963() (0) | |
18062 | #endif | |
18063 | ||
18064 | #ifdef CONFIG_MACH_CSB735 | |
18065 | # ifdef machine_arch_type | |
18066 | # undef machine_arch_type | |
18067 | # define machine_arch_type __machine_arch_type | |
18068 | # else | |
18069 | # define machine_arch_type MACH_TYPE_CSB735 | |
18070 | # endif | |
18071 | # define machine_is_csb735() (machine_arch_type == MACH_TYPE_CSB735) | |
18072 | #else | |
18073 | # define machine_is_csb735() (0) | |
18074 | #endif | |
18075 | ||
18076 | #ifdef CONFIG_MACH_LITTLETON | |
18077 | # ifdef machine_arch_type | |
18078 | # undef machine_arch_type | |
18079 | # define machine_arch_type __machine_arch_type | |
18080 | # else | |
18081 | # define machine_arch_type MACH_TYPE_LITTLETON | |
18082 | # endif | |
18083 | # define machine_is_littleton() (machine_arch_type == MACH_TYPE_LITTLETON) | |
18084 | #else | |
18085 | # define machine_is_littleton() (0) | |
18086 | #endif | |
18087 | ||
18088 | #ifdef CONFIG_MACH_MIO_P550 | |
18089 | # ifdef machine_arch_type | |
18090 | # undef machine_arch_type | |
18091 | # define machine_arch_type __machine_arch_type | |
18092 | # else | |
18093 | # define machine_arch_type MACH_TYPE_MIO_P550 | |
18094 | # endif | |
18095 | # define machine_is_mio_p550() (machine_arch_type == MACH_TYPE_MIO_P550) | |
18096 | #else | |
18097 | # define machine_is_mio_p550() (0) | |
18098 | #endif | |
18099 | ||
18100 | #ifdef CONFIG_MACH_MOTION2440 | |
18101 | # ifdef machine_arch_type | |
18102 | # undef machine_arch_type | |
18103 | # define machine_arch_type __machine_arch_type | |
18104 | # else | |
18105 | # define machine_arch_type MACH_TYPE_MOTION2440 | |
18106 | # endif | |
18107 | # define machine_is_motion2440() (machine_arch_type == MACH_TYPE_MOTION2440) | |
18108 | #else | |
18109 | # define machine_is_motion2440() (0) | |
18110 | #endif | |
18111 | ||
18112 | #ifdef CONFIG_MACH_IMM500 | |
18113 | # ifdef machine_arch_type | |
18114 | # undef machine_arch_type | |
18115 | # define machine_arch_type __machine_arch_type | |
18116 | # else | |
18117 | # define machine_arch_type MACH_TYPE_IMM500 | |
18118 | # endif | |
18119 | # define machine_is_imm500() (machine_arch_type == MACH_TYPE_IMM500) | |
18120 | #else | |
18121 | # define machine_is_imm500() (0) | |
18122 | #endif | |
18123 | ||
18124 | #ifdef CONFIG_MACH_HOMEMATIC | |
18125 | # ifdef machine_arch_type | |
18126 | # undef machine_arch_type | |
18127 | # define machine_arch_type __machine_arch_type | |
18128 | # else | |
18129 | # define machine_arch_type MACH_TYPE_HOMEMATIC | |
18130 | # endif | |
18131 | # define machine_is_homematic() (machine_arch_type == MACH_TYPE_HOMEMATIC) | |
18132 | #else | |
18133 | # define machine_is_homematic() (0) | |
18134 | #endif | |
18135 | ||
18136 | #ifdef CONFIG_MACH_ERMINE | |
18137 | # ifdef machine_arch_type | |
18138 | # undef machine_arch_type | |
18139 | # define machine_arch_type __machine_arch_type | |
18140 | # else | |
18141 | # define machine_arch_type MACH_TYPE_ERMINE | |
18142 | # endif | |
18143 | # define machine_is_ermine() (machine_arch_type == MACH_TYPE_ERMINE) | |
18144 | #else | |
18145 | # define machine_is_ermine() (0) | |
18146 | #endif | |
18147 | ||
18148 | #ifdef CONFIG_MACH_KB9202B | |
18149 | # ifdef machine_arch_type | |
18150 | # undef machine_arch_type | |
18151 | # define machine_arch_type __machine_arch_type | |
18152 | # else | |
18153 | # define machine_arch_type MACH_TYPE_KB9202B | |
18154 | # endif | |
18155 | # define machine_is_kb9202b() (machine_arch_type == MACH_TYPE_KB9202B) | |
18156 | #else | |
18157 | # define machine_is_kb9202b() (0) | |
18158 | #endif | |
18159 | ||
18160 | #ifdef CONFIG_MACH_HS1XX | |
18161 | # ifdef machine_arch_type | |
18162 | # undef machine_arch_type | |
18163 | # define machine_arch_type __machine_arch_type | |
18164 | # else | |
18165 | # define machine_arch_type MACH_TYPE_HS1XX | |
18166 | # endif | |
18167 | # define machine_is_hs1xx() (machine_arch_type == MACH_TYPE_HS1XX) | |
18168 | #else | |
18169 | # define machine_is_hs1xx() (0) | |
18170 | #endif | |
18171 | ||
18172 | #ifdef CONFIG_MACH_STUDENTMATE2440 | |
18173 | # ifdef machine_arch_type | |
18174 | # undef machine_arch_type | |
18175 | # define machine_arch_type __machine_arch_type | |
18176 | # else | |
18177 | # define machine_arch_type MACH_TYPE_STUDENTMATE2440 | |
18178 | # endif | |
18179 | # define machine_is_studentmate2440() (machine_arch_type == MACH_TYPE_STUDENTMATE2440) | |
18180 | #else | |
18181 | # define machine_is_studentmate2440() (0) | |
18182 | #endif | |
18183 | ||
18184 | #ifdef CONFIG_MACH_ARVOO_L1_Z1 | |
18185 | # ifdef machine_arch_type | |
18186 | # undef machine_arch_type | |
18187 | # define machine_arch_type __machine_arch_type | |
18188 | # else | |
18189 | # define machine_arch_type MACH_TYPE_ARVOO_L1_Z1 | |
18190 | # endif | |
18191 | # define machine_is_arvoo_l1_z1() (machine_arch_type == MACH_TYPE_ARVOO_L1_Z1) | |
18192 | #else | |
18193 | # define machine_is_arvoo_l1_z1() (0) | |
18194 | #endif | |
18195 | ||
18196 | #ifdef CONFIG_MACH_DEP2410K | |
18197 | # ifdef machine_arch_type | |
18198 | # undef machine_arch_type | |
18199 | # define machine_arch_type __machine_arch_type | |
18200 | # else | |
18201 | # define machine_arch_type MACH_TYPE_DEP2410K | |
18202 | # endif | |
18203 | # define machine_is_dep2410k() (machine_arch_type == MACH_TYPE_DEP2410K) | |
18204 | #else | |
18205 | # define machine_is_dep2410k() (0) | |
18206 | #endif | |
18207 | ||
18208 | #ifdef CONFIG_MACH_XXSVIDEO | |
18209 | # ifdef machine_arch_type | |
18210 | # undef machine_arch_type | |
18211 | # define machine_arch_type __machine_arch_type | |
18212 | # else | |
18213 | # define machine_arch_type MACH_TYPE_XXSVIDEO | |
18214 | # endif | |
18215 | # define machine_is_xxsvideo() (machine_arch_type == MACH_TYPE_XXSVIDEO) | |
18216 | #else | |
18217 | # define machine_is_xxsvideo() (0) | |
18218 | #endif | |
18219 | ||
18220 | #ifdef CONFIG_MACH_IM4004 | |
18221 | # ifdef machine_arch_type | |
18222 | # undef machine_arch_type | |
18223 | # define machine_arch_type __machine_arch_type | |
18224 | # else | |
18225 | # define machine_arch_type MACH_TYPE_IM4004 | |
18226 | # endif | |
18227 | # define machine_is_im4004() (machine_arch_type == MACH_TYPE_IM4004) | |
18228 | #else | |
18229 | # define machine_is_im4004() (0) | |
18230 | #endif | |
18231 | ||
18232 | #ifdef CONFIG_MACH_OCHAYA1050 | |
18233 | # ifdef machine_arch_type | |
18234 | # undef machine_arch_type | |
18235 | # define machine_arch_type __machine_arch_type | |
18236 | # else | |
18237 | # define machine_arch_type MACH_TYPE_OCHAYA1050 | |
18238 | # endif | |
18239 | # define machine_is_ochaya1050() (machine_arch_type == MACH_TYPE_OCHAYA1050) | |
18240 | #else | |
18241 | # define machine_is_ochaya1050() (0) | |
18242 | #endif | |
18243 | ||
18244 | #ifdef CONFIG_MACH_LEP9261 | |
18245 | # ifdef machine_arch_type | |
18246 | # undef machine_arch_type | |
18247 | # define machine_arch_type __machine_arch_type | |
18248 | # else | |
18249 | # define machine_arch_type MACH_TYPE_LEP9261 | |
18250 | # endif | |
18251 | # define machine_is_lep9261() (machine_arch_type == MACH_TYPE_LEP9261) | |
18252 | #else | |
18253 | # define machine_is_lep9261() (0) | |
18254 | #endif | |
18255 | ||
18256 | #ifdef CONFIG_MACH_SVENMEB | |
18257 | # ifdef machine_arch_type | |
18258 | # undef machine_arch_type | |
18259 | # define machine_arch_type __machine_arch_type | |
18260 | # else | |
18261 | # define machine_arch_type MACH_TYPE_SVENMEB | |
18262 | # endif | |
18263 | # define machine_is_svenmeb() (machine_arch_type == MACH_TYPE_SVENMEB) | |
18264 | #else | |
18265 | # define machine_is_svenmeb() (0) | |
18266 | #endif | |
18267 | ||
18268 | #ifdef CONFIG_MACH_FORTUNET2NE | |
18269 | # ifdef machine_arch_type | |
18270 | # undef machine_arch_type | |
18271 | # define machine_arch_type __machine_arch_type | |
18272 | # else | |
18273 | # define machine_arch_type MACH_TYPE_FORTUNET2NE | |
18274 | # endif | |
18275 | # define machine_is_fortunet2ne() (machine_arch_type == MACH_TYPE_FORTUNET2NE) | |
18276 | #else | |
18277 | # define machine_is_fortunet2ne() (0) | |
18278 | #endif | |
18279 | ||
18280 | #ifdef CONFIG_MACH_NXHX | |
18281 | # ifdef machine_arch_type | |
18282 | # undef machine_arch_type | |
18283 | # define machine_arch_type __machine_arch_type | |
18284 | # else | |
18285 | # define machine_arch_type MACH_TYPE_NXHX | |
18286 | # endif | |
18287 | # define machine_is_nxhx() (machine_arch_type == MACH_TYPE_NXHX) | |
18288 | #else | |
18289 | # define machine_is_nxhx() (0) | |
18290 | #endif | |
18291 | ||
18292 | #ifdef CONFIG_MACH_REALVIEW_PB11MP | |
18293 | # ifdef machine_arch_type | |
18294 | # undef machine_arch_type | |
18295 | # define machine_arch_type __machine_arch_type | |
18296 | # else | |
18297 | # define machine_arch_type MACH_TYPE_REALVIEW_PB11MP | |
18298 | # endif | |
18299 | # define machine_is_realview_pb11mp() (machine_arch_type == MACH_TYPE_REALVIEW_PB11MP) | |
18300 | #else | |
18301 | # define machine_is_realview_pb11mp() (0) | |
18302 | #endif | |
18303 | ||
18304 | #ifdef CONFIG_MACH_IDS500 | |
18305 | # ifdef machine_arch_type | |
18306 | # undef machine_arch_type | |
18307 | # define machine_arch_type __machine_arch_type | |
18308 | # else | |
18309 | # define machine_arch_type MACH_TYPE_IDS500 | |
18310 | # endif | |
18311 | # define machine_is_ids500() (machine_arch_type == MACH_TYPE_IDS500) | |
18312 | #else | |
18313 | # define machine_is_ids500() (0) | |
18314 | #endif | |
18315 | ||
18316 | #ifdef CONFIG_MACH_ORS_N725 | |
18317 | # ifdef machine_arch_type | |
18318 | # undef machine_arch_type | |
18319 | # define machine_arch_type __machine_arch_type | |
18320 | # else | |
18321 | # define machine_arch_type MACH_TYPE_ORS_N725 | |
18322 | # endif | |
18323 | # define machine_is_ors_n725() (machine_arch_type == MACH_TYPE_ORS_N725) | |
18324 | #else | |
18325 | # define machine_is_ors_n725() (0) | |
18326 | #endif | |
18327 | ||
18328 | #ifdef CONFIG_MACH_HSDARM | |
18329 | # ifdef machine_arch_type | |
18330 | # undef machine_arch_type | |
18331 | # define machine_arch_type __machine_arch_type | |
18332 | # else | |
18333 | # define machine_arch_type MACH_TYPE_HSDARM | |
18334 | # endif | |
18335 | # define machine_is_hsdarm() (machine_arch_type == MACH_TYPE_HSDARM) | |
18336 | #else | |
18337 | # define machine_is_hsdarm() (0) | |
18338 | #endif | |
18339 | ||
18340 | #ifdef CONFIG_MACH_SHA_PON003 | |
18341 | # ifdef machine_arch_type | |
18342 | # undef machine_arch_type | |
18343 | # define machine_arch_type __machine_arch_type | |
18344 | # else | |
18345 | # define machine_arch_type MACH_TYPE_SHA_PON003 | |
18346 | # endif | |
18347 | # define machine_is_sha_pon003() (machine_arch_type == MACH_TYPE_SHA_PON003) | |
18348 | #else | |
18349 | # define machine_is_sha_pon003() (0) | |
18350 | #endif | |
18351 | ||
18352 | #ifdef CONFIG_MACH_SHA_PON004 | |
18353 | # ifdef machine_arch_type | |
18354 | # undef machine_arch_type | |
18355 | # define machine_arch_type __machine_arch_type | |
18356 | # else | |
18357 | # define machine_arch_type MACH_TYPE_SHA_PON004 | |
18358 | # endif | |
18359 | # define machine_is_sha_pon004() (machine_arch_type == MACH_TYPE_SHA_PON004) | |
18360 | #else | |
18361 | # define machine_is_sha_pon004() (0) | |
18362 | #endif | |
18363 | ||
18364 | #ifdef CONFIG_MACH_SHA_PON007 | |
18365 | # ifdef machine_arch_type | |
18366 | # undef machine_arch_type | |
18367 | # define machine_arch_type __machine_arch_type | |
18368 | # else | |
18369 | # define machine_arch_type MACH_TYPE_SHA_PON007 | |
18370 | # endif | |
18371 | # define machine_is_sha_pon007() (machine_arch_type == MACH_TYPE_SHA_PON007) | |
18372 | #else | |
18373 | # define machine_is_sha_pon007() (0) | |
18374 | #endif | |
18375 | ||
18376 | #ifdef CONFIG_MACH_SHA_PON011 | |
18377 | # ifdef machine_arch_type | |
18378 | # undef machine_arch_type | |
18379 | # define machine_arch_type __machine_arch_type | |
18380 | # else | |
18381 | # define machine_arch_type MACH_TYPE_SHA_PON011 | |
18382 | # endif | |
18383 | # define machine_is_sha_pon011() (machine_arch_type == MACH_TYPE_SHA_PON011) | |
18384 | #else | |
18385 | # define machine_is_sha_pon011() (0) | |
18386 | #endif | |
18387 | ||
18388 | #ifdef CONFIG_MACH_H6042 | |
18389 | # ifdef machine_arch_type | |
18390 | # undef machine_arch_type | |
18391 | # define machine_arch_type __machine_arch_type | |
18392 | # else | |
18393 | # define machine_arch_type MACH_TYPE_H6042 | |
18394 | # endif | |
18395 | # define machine_is_h6042() (machine_arch_type == MACH_TYPE_H6042) | |
18396 | #else | |
18397 | # define machine_is_h6042() (0) | |
18398 | #endif | |
18399 | ||
18400 | #ifdef CONFIG_MACH_H6043 | |
18401 | # ifdef machine_arch_type | |
18402 | # undef machine_arch_type | |
18403 | # define machine_arch_type __machine_arch_type | |
18404 | # else | |
18405 | # define machine_arch_type MACH_TYPE_H6043 | |
18406 | # endif | |
18407 | # define machine_is_h6043() (machine_arch_type == MACH_TYPE_H6043) | |
18408 | #else | |
18409 | # define machine_is_h6043() (0) | |
18410 | #endif | |
18411 | ||
18412 | #ifdef CONFIG_MACH_LOOXC550 | |
18413 | # ifdef machine_arch_type | |
18414 | # undef machine_arch_type | |
18415 | # define machine_arch_type __machine_arch_type | |
18416 | # else | |
18417 | # define machine_arch_type MACH_TYPE_LOOXC550 | |
18418 | # endif | |
18419 | # define machine_is_looxc550() (machine_arch_type == MACH_TYPE_LOOXC550) | |
18420 | #else | |
18421 | # define machine_is_looxc550() (0) | |
18422 | #endif | |
18423 | ||
18424 | #ifdef CONFIG_MACH_CNTY_TITAN | |
18425 | # ifdef machine_arch_type | |
18426 | # undef machine_arch_type | |
18427 | # define machine_arch_type __machine_arch_type | |
18428 | # else | |
18429 | # define machine_arch_type MACH_TYPE_CNTY_TITAN | |
18430 | # endif | |
18431 | # define machine_is_cnty_titan() (machine_arch_type == MACH_TYPE_CNTY_TITAN) | |
18432 | #else | |
18433 | # define machine_is_cnty_titan() (0) | |
18434 | #endif | |
18435 | ||
18436 | #ifdef CONFIG_MACH_APP3XX | |
18437 | # ifdef machine_arch_type | |
18438 | # undef machine_arch_type | |
18439 | # define machine_arch_type __machine_arch_type | |
18440 | # else | |
18441 | # define machine_arch_type MACH_TYPE_APP3XX | |
18442 | # endif | |
18443 | # define machine_is_app3xx() (machine_arch_type == MACH_TYPE_APP3XX) | |
18444 | #else | |
18445 | # define machine_is_app3xx() (0) | |
18446 | #endif | |
18447 | ||
18448 | #ifdef CONFIG_MACH_SIDEOATSGRAMA | |
18449 | # ifdef machine_arch_type | |
18450 | # undef machine_arch_type | |
18451 | # define machine_arch_type __machine_arch_type | |
18452 | # else | |
18453 | # define machine_arch_type MACH_TYPE_SIDEOATSGRAMA | |
18454 | # endif | |
18455 | # define machine_is_sideoatsgrama() (machine_arch_type == MACH_TYPE_SIDEOATSGRAMA) | |
18456 | #else | |
18457 | # define machine_is_sideoatsgrama() (0) | |
18458 | #endif | |
18459 | ||
18460 | #ifdef CONFIG_MACH_XSCALE_PALMT700P | |
18461 | # ifdef machine_arch_type | |
18462 | # undef machine_arch_type | |
18463 | # define machine_arch_type __machine_arch_type | |
18464 | # else | |
18465 | # define machine_arch_type MACH_TYPE_XSCALE_PALMT700P | |
18466 | # endif | |
18467 | # define machine_is_xscale_palmt700p() (machine_arch_type == MACH_TYPE_XSCALE_PALMT700P) | |
18468 | #else | |
18469 | # define machine_is_xscale_palmt700p() (0) | |
18470 | #endif | |
18471 | ||
18472 | #ifdef CONFIG_MACH_XSCALE_PALMT700W | |
18473 | # ifdef machine_arch_type | |
18474 | # undef machine_arch_type | |
18475 | # define machine_arch_type __machine_arch_type | |
18476 | # else | |
18477 | # define machine_arch_type MACH_TYPE_XSCALE_PALMT700W | |
18478 | # endif | |
18479 | # define machine_is_xscale_palmt700w() (machine_arch_type == MACH_TYPE_XSCALE_PALMT700W) | |
18480 | #else | |
18481 | # define machine_is_xscale_palmt700w() (0) | |
18482 | #endif | |
18483 | ||
18484 | #ifdef CONFIG_MACH_XSCALE_PALMT750 | |
18485 | # ifdef machine_arch_type | |
18486 | # undef machine_arch_type | |
18487 | # define machine_arch_type __machine_arch_type | |
18488 | # else | |
18489 | # define machine_arch_type MACH_TYPE_XSCALE_PALMT750 | |
18490 | # endif | |
18491 | # define machine_is_xscale_palmt750() (machine_arch_type == MACH_TYPE_XSCALE_PALMT750) | |
18492 | #else | |
18493 | # define machine_is_xscale_palmt750() (0) | |
18494 | #endif | |
18495 | ||
18496 | #ifdef CONFIG_MACH_XSCALE_PALMT755P | |
18497 | # ifdef machine_arch_type | |
18498 | # undef machine_arch_type | |
18499 | # define machine_arch_type __machine_arch_type | |
18500 | # else | |
18501 | # define machine_arch_type MACH_TYPE_XSCALE_PALMT755P | |
18502 | # endif | |
18503 | # define machine_is_xscale_palmt755p() (machine_arch_type == MACH_TYPE_XSCALE_PALMT755P) | |
18504 | #else | |
18505 | # define machine_is_xscale_palmt755p() (0) | |
18506 | #endif | |
18507 | ||
18508 | #ifdef CONFIG_MACH_EZREGANUT9200 | |
18509 | # ifdef machine_arch_type | |
18510 | # undef machine_arch_type | |
18511 | # define machine_arch_type __machine_arch_type | |
18512 | # else | |
18513 | # define machine_arch_type MACH_TYPE_EZREGANUT9200 | |
18514 | # endif | |
18515 | # define machine_is_ezreganut9200() (machine_arch_type == MACH_TYPE_EZREGANUT9200) | |
18516 | #else | |
18517 | # define machine_is_ezreganut9200() (0) | |
18518 | #endif | |
18519 | ||
18520 | #ifdef CONFIG_MACH_SARGE | |
18521 | # ifdef machine_arch_type | |
18522 | # undef machine_arch_type | |
18523 | # define machine_arch_type __machine_arch_type | |
18524 | # else | |
18525 | # define machine_arch_type MACH_TYPE_SARGE | |
18526 | # endif | |
18527 | # define machine_is_sarge() (machine_arch_type == MACH_TYPE_SARGE) | |
18528 | #else | |
18529 | # define machine_is_sarge() (0) | |
18530 | #endif | |
18531 | ||
18532 | #ifdef CONFIG_MACH_A696 | |
18533 | # ifdef machine_arch_type | |
18534 | # undef machine_arch_type | |
18535 | # define machine_arch_type __machine_arch_type | |
18536 | # else | |
18537 | # define machine_arch_type MACH_TYPE_A696 | |
18538 | # endif | |
18539 | # define machine_is_a696() (machine_arch_type == MACH_TYPE_A696) | |
18540 | #else | |
18541 | # define machine_is_a696() (0) | |
18542 | #endif | |
18543 | ||
18544 | #ifdef CONFIG_MACH_TURTLE | |
18545 | # ifdef machine_arch_type | |
18546 | # undef machine_arch_type | |
18547 | # define machine_arch_type __machine_arch_type | |
18548 | # else | |
18549 | # define machine_arch_type MACH_TYPE_TURTLE | |
18550 | # endif | |
18551 | # define machine_is_turtle1916() (machine_arch_type == MACH_TYPE_TURTLE) | |
18552 | #else | |
18553 | # define machine_is_turtle1916() (0) | |
18554 | #endif | |
18555 | ||
18556 | #ifdef CONFIG_MACH_MX27_3DS | |
18557 | # ifdef machine_arch_type | |
18558 | # undef machine_arch_type | |
18559 | # define machine_arch_type __machine_arch_type | |
18560 | # else | |
18561 | # define machine_arch_type MACH_TYPE_MX27_3DS | |
18562 | # endif | |
18563 | # define machine_is_mx27_3ds() (machine_arch_type == MACH_TYPE_MX27_3DS) | |
18564 | #else | |
18565 | # define machine_is_mx27_3ds() (0) | |
18566 | #endif | |
18567 | ||
18568 | #ifdef CONFIG_MACH_BISHOP | |
18569 | # ifdef machine_arch_type | |
18570 | # undef machine_arch_type | |
18571 | # define machine_arch_type __machine_arch_type | |
18572 | # else | |
18573 | # define machine_arch_type MACH_TYPE_BISHOP | |
18574 | # endif | |
18575 | # define machine_is_bishop() (machine_arch_type == MACH_TYPE_BISHOP) | |
18576 | #else | |
18577 | # define machine_is_bishop() (0) | |
18578 | #endif | |
18579 | ||
18580 | #ifdef CONFIG_MACH_PXX | |
18581 | # ifdef machine_arch_type | |
18582 | # undef machine_arch_type | |
18583 | # define machine_arch_type __machine_arch_type | |
18584 | # else | |
18585 | # define machine_arch_type MACH_TYPE_PXX | |
18586 | # endif | |
18587 | # define machine_is_pxx() (machine_arch_type == MACH_TYPE_PXX) | |
18588 | #else | |
18589 | # define machine_is_pxx() (0) | |
18590 | #endif | |
18591 | ||
18592 | #ifdef CONFIG_MACH_REDWOOD | |
18593 | # ifdef machine_arch_type | |
18594 | # undef machine_arch_type | |
18595 | # define machine_arch_type __machine_arch_type | |
18596 | # else | |
18597 | # define machine_arch_type MACH_TYPE_REDWOOD | |
18598 | # endif | |
18599 | # define machine_is_redwood() (machine_arch_type == MACH_TYPE_REDWOOD) | |
18600 | #else | |
18601 | # define machine_is_redwood() (0) | |
18602 | #endif | |
18603 | ||
18604 | #ifdef CONFIG_MACH_OMAP_2430DLP | |
18605 | # ifdef machine_arch_type | |
18606 | # undef machine_arch_type | |
18607 | # define machine_arch_type __machine_arch_type | |
18608 | # else | |
18609 | # define machine_arch_type MACH_TYPE_OMAP_2430DLP | |
18610 | # endif | |
18611 | # define machine_is_omap_2430dlp() (machine_arch_type == MACH_TYPE_OMAP_2430DLP) | |
18612 | #else | |
18613 | # define machine_is_omap_2430dlp() (0) | |
18614 | #endif | |
18615 | ||
18616 | #ifdef CONFIG_MACH_OMAP_2430OSK | |
18617 | # ifdef machine_arch_type | |
18618 | # undef machine_arch_type | |
18619 | # define machine_arch_type __machine_arch_type | |
18620 | # else | |
18621 | # define machine_arch_type MACH_TYPE_OMAP_2430OSK | |
18622 | # endif | |
18623 | # define machine_is_omap_2430osk() (machine_arch_type == MACH_TYPE_OMAP_2430OSK) | |
18624 | #else | |
18625 | # define machine_is_omap_2430osk() (0) | |
18626 | #endif | |
18627 | ||
18628 | #ifdef CONFIG_MACH_SARDINE | |
18629 | # ifdef machine_arch_type | |
18630 | # undef machine_arch_type | |
18631 | # define machine_arch_type __machine_arch_type | |
18632 | # else | |
18633 | # define machine_arch_type MACH_TYPE_SARDINE | |
18634 | # endif | |
18635 | # define machine_is_sardine() (machine_arch_type == MACH_TYPE_SARDINE) | |
18636 | #else | |
18637 | # define machine_is_sardine() (0) | |
18638 | #endif | |
18639 | ||
18640 | #ifdef CONFIG_MACH_HALIBUT | |
18641 | # ifdef machine_arch_type | |
18642 | # undef machine_arch_type | |
18643 | # define machine_arch_type __machine_arch_type | |
18644 | # else | |
18645 | # define machine_arch_type MACH_TYPE_HALIBUT | |
18646 | # endif | |
18647 | # define machine_is_halibut() (machine_arch_type == MACH_TYPE_HALIBUT) | |
18648 | #else | |
18649 | # define machine_is_halibut() (0) | |
18650 | #endif | |
18651 | ||
18652 | #ifdef CONFIG_MACH_TROUT | |
18653 | # ifdef machine_arch_type | |
18654 | # undef machine_arch_type | |
18655 | # define machine_arch_type __machine_arch_type | |
18656 | # else | |
18657 | # define machine_arch_type MACH_TYPE_TROUT | |
18658 | # endif | |
18659 | # define machine_is_trout() (machine_arch_type == MACH_TYPE_TROUT) | |
18660 | #else | |
18661 | # define machine_is_trout() (0) | |
18662 | #endif | |
18663 | ||
18664 | #ifdef CONFIG_MACH_GOLDFISH | |
18665 | # ifdef machine_arch_type | |
18666 | # undef machine_arch_type | |
18667 | # define machine_arch_type __machine_arch_type | |
18668 | # else | |
18669 | # define machine_arch_type MACH_TYPE_GOLDFISH | |
18670 | # endif | |
18671 | # define machine_is_goldfish() (machine_arch_type == MACH_TYPE_GOLDFISH) | |
18672 | #else | |
18673 | # define machine_is_goldfish() (0) | |
18674 | #endif | |
18675 | ||
18676 | #ifdef CONFIG_MACH_GESBC2440 | |
18677 | # ifdef machine_arch_type | |
18678 | # undef machine_arch_type | |
18679 | # define machine_arch_type __machine_arch_type | |
18680 | # else | |
18681 | # define machine_arch_type MACH_TYPE_GESBC2440 | |
18682 | # endif | |
18683 | # define machine_is_gesbc2440() (machine_arch_type == MACH_TYPE_GESBC2440) | |
18684 | #else | |
18685 | # define machine_is_gesbc2440() (0) | |
18686 | #endif | |
18687 | ||
18688 | #ifdef CONFIG_MACH_NOMAD | |
18689 | # ifdef machine_arch_type | |
18690 | # undef machine_arch_type | |
18691 | # define machine_arch_type __machine_arch_type | |
18692 | # else | |
18693 | # define machine_arch_type MACH_TYPE_NOMAD | |
18694 | # endif | |
18695 | # define machine_is_nomad() (machine_arch_type == MACH_TYPE_NOMAD) | |
18696 | #else | |
18697 | # define machine_is_nomad() (0) | |
18698 | #endif | |
18699 | ||
18700 | #ifdef CONFIG_MACH_ROSALIND | |
18701 | # ifdef machine_arch_type | |
18702 | # undef machine_arch_type | |
18703 | # define machine_arch_type __machine_arch_type | |
18704 | # else | |
18705 | # define machine_arch_type MACH_TYPE_ROSALIND | |
18706 | # endif | |
18707 | # define machine_is_rosalind() (machine_arch_type == MACH_TYPE_ROSALIND) | |
18708 | #else | |
18709 | # define machine_is_rosalind() (0) | |
18710 | #endif | |
18711 | ||
18712 | #ifdef CONFIG_MACH_CC9P9215 | |
18713 | # ifdef machine_arch_type | |
18714 | # undef machine_arch_type | |
18715 | # define machine_arch_type __machine_arch_type | |
18716 | # else | |
18717 | # define machine_arch_type MACH_TYPE_CC9P9215 | |
18718 | # endif | |
18719 | # define machine_is_cc9p9215() (machine_arch_type == MACH_TYPE_CC9P9215) | |
18720 | #else | |
18721 | # define machine_is_cc9p9215() (0) | |
18722 | #endif | |
18723 | ||
18724 | #ifdef CONFIG_MACH_CC9P9210 | |
18725 | # ifdef machine_arch_type | |
18726 | # undef machine_arch_type | |
18727 | # define machine_arch_type __machine_arch_type | |
18728 | # else | |
18729 | # define machine_arch_type MACH_TYPE_CC9P9210 | |
18730 | # endif | |
18731 | # define machine_is_cc9p9210() (machine_arch_type == MACH_TYPE_CC9P9210) | |
18732 | #else | |
18733 | # define machine_is_cc9p9210() (0) | |
18734 | #endif | |
18735 | ||
18736 | #ifdef CONFIG_MACH_CC9P9215JS | |
18737 | # ifdef machine_arch_type | |
18738 | # undef machine_arch_type | |
18739 | # define machine_arch_type __machine_arch_type | |
18740 | # else | |
18741 | # define machine_arch_type MACH_TYPE_CC9P9215JS | |
18742 | # endif | |
18743 | # define machine_is_cc9p9215js() (machine_arch_type == MACH_TYPE_CC9P9215JS) | |
18744 | #else | |
18745 | # define machine_is_cc9p9215js() (0) | |
18746 | #endif | |
18747 | ||
18748 | #ifdef CONFIG_MACH_CC9P9210JS | |
18749 | # ifdef machine_arch_type | |
18750 | # undef machine_arch_type | |
18751 | # define machine_arch_type __machine_arch_type | |
18752 | # else | |
18753 | # define machine_arch_type MACH_TYPE_CC9P9210JS | |
18754 | # endif | |
18755 | # define machine_is_cc9p9210js() (machine_arch_type == MACH_TYPE_CC9P9210JS) | |
18756 | #else | |
18757 | # define machine_is_cc9p9210js() (0) | |
18758 | #endif | |
18759 | ||
18760 | #ifdef CONFIG_MACH_NASFFE | |
18761 | # ifdef machine_arch_type | |
18762 | # undef machine_arch_type | |
18763 | # define machine_arch_type __machine_arch_type | |
18764 | # else | |
18765 | # define machine_arch_type MACH_TYPE_NASFFE | |
18766 | # endif | |
18767 | # define machine_is_nasffe() (machine_arch_type == MACH_TYPE_NASFFE) | |
18768 | #else | |
18769 | # define machine_is_nasffe() (0) | |
18770 | #endif | |
18771 | ||
18772 | #ifdef CONFIG_MACH_TN2X0BD | |
18773 | # ifdef machine_arch_type | |
18774 | # undef machine_arch_type | |
18775 | # define machine_arch_type __machine_arch_type | |
18776 | # else | |
18777 | # define machine_arch_type MACH_TYPE_TN2X0BD | |
18778 | # endif | |
18779 | # define machine_is_tn2x0bd() (machine_arch_type == MACH_TYPE_TN2X0BD) | |
18780 | #else | |
18781 | # define machine_is_tn2x0bd() (0) | |
18782 | #endif | |
18783 | ||
18784 | #ifdef CONFIG_MACH_GWMPXA | |
18785 | # ifdef machine_arch_type | |
18786 | # undef machine_arch_type | |
18787 | # define machine_arch_type __machine_arch_type | |
18788 | # else | |
18789 | # define machine_arch_type MACH_TYPE_GWMPXA | |
18790 | # endif | |
18791 | # define machine_is_gwmpxa() (machine_arch_type == MACH_TYPE_GWMPXA) | |
18792 | #else | |
18793 | # define machine_is_gwmpxa() (0) | |
18794 | #endif | |
18795 | ||
18796 | #ifdef CONFIG_MACH_EXYPLUS | |
18797 | # ifdef machine_arch_type | |
18798 | # undef machine_arch_type | |
18799 | # define machine_arch_type __machine_arch_type | |
18800 | # else | |
18801 | # define machine_arch_type MACH_TYPE_EXYPLUS | |
18802 | # endif | |
18803 | # define machine_is_exyplus() (machine_arch_type == MACH_TYPE_EXYPLUS) | |
18804 | #else | |
18805 | # define machine_is_exyplus() (0) | |
18806 | #endif | |
18807 | ||
18808 | #ifdef CONFIG_MACH_JADOO21 | |
18809 | # ifdef machine_arch_type | |
18810 | # undef machine_arch_type | |
18811 | # define machine_arch_type __machine_arch_type | |
18812 | # else | |
18813 | # define machine_arch_type MACH_TYPE_JADOO21 | |
18814 | # endif | |
18815 | # define machine_is_jadoo21() (machine_arch_type == MACH_TYPE_JADOO21) | |
18816 | #else | |
18817 | # define machine_is_jadoo21() (0) | |
18818 | #endif | |
18819 | ||
18820 | #ifdef CONFIG_MACH_LOOXN560 | |
18821 | # ifdef machine_arch_type | |
18822 | # undef machine_arch_type | |
18823 | # define machine_arch_type __machine_arch_type | |
18824 | # else | |
18825 | # define machine_arch_type MACH_TYPE_LOOXN560 | |
18826 | # endif | |
18827 | # define machine_is_looxn560() (machine_arch_type == MACH_TYPE_LOOXN560) | |
18828 | #else | |
18829 | # define machine_is_looxn560() (0) | |
18830 | #endif | |
18831 | ||
18832 | #ifdef CONFIG_MACH_BONSAI | |
18833 | # ifdef machine_arch_type | |
18834 | # undef machine_arch_type | |
18835 | # define machine_arch_type __machine_arch_type | |
18836 | # else | |
18837 | # define machine_arch_type MACH_TYPE_BONSAI | |
18838 | # endif | |
18839 | # define machine_is_bonsai() (machine_arch_type == MACH_TYPE_BONSAI) | |
18840 | #else | |
18841 | # define machine_is_bonsai() (0) | |
18842 | #endif | |
18843 | ||
18844 | #ifdef CONFIG_MACH_ADSMILGATO | |
18845 | # ifdef machine_arch_type | |
18846 | # undef machine_arch_type | |
18847 | # define machine_arch_type __machine_arch_type | |
18848 | # else | |
18849 | # define machine_arch_type MACH_TYPE_ADSMILGATO | |
18850 | # endif | |
18851 | # define machine_is_adsmilgato() (machine_arch_type == MACH_TYPE_ADSMILGATO) | |
18852 | #else | |
18853 | # define machine_is_adsmilgato() (0) | |
18854 | #endif | |
18855 | ||
18856 | #ifdef CONFIG_MACH_GBA | |
18857 | # ifdef machine_arch_type | |
18858 | # undef machine_arch_type | |
18859 | # define machine_arch_type __machine_arch_type | |
18860 | # else | |
18861 | # define machine_arch_type MACH_TYPE_GBA | |
18862 | # endif | |
18863 | # define machine_is_gba() (machine_arch_type == MACH_TYPE_GBA) | |
18864 | #else | |
18865 | # define machine_is_gba() (0) | |
18866 | #endif | |
18867 | ||
18868 | #ifdef CONFIG_MACH_H6044 | |
18869 | # ifdef machine_arch_type | |
18870 | # undef machine_arch_type | |
18871 | # define machine_arch_type __machine_arch_type | |
18872 | # else | |
18873 | # define machine_arch_type MACH_TYPE_H6044 | |
18874 | # endif | |
18875 | # define machine_is_h6044() (machine_arch_type == MACH_TYPE_H6044) | |
18876 | #else | |
18877 | # define machine_is_h6044() (0) | |
18878 | #endif | |
18879 | ||
18880 | #ifdef CONFIG_MACH_APP | |
18881 | # ifdef machine_arch_type | |
18882 | # undef machine_arch_type | |
18883 | # define machine_arch_type __machine_arch_type | |
18884 | # else | |
18885 | # define machine_arch_type MACH_TYPE_APP | |
18886 | # endif | |
18887 | # define machine_is_app() (machine_arch_type == MACH_TYPE_APP) | |
18888 | #else | |
18889 | # define machine_is_app() (0) | |
18890 | #endif | |
18891 | ||
18892 | #ifdef CONFIG_MACH_TCT_HAMMER | |
18893 | # ifdef machine_arch_type | |
18894 | # undef machine_arch_type | |
18895 | # define machine_arch_type __machine_arch_type | |
18896 | # else | |
18897 | # define machine_arch_type MACH_TYPE_TCT_HAMMER | |
18898 | # endif | |
18899 | # define machine_is_tct_hammer() (machine_arch_type == MACH_TYPE_TCT_HAMMER) | |
18900 | #else | |
18901 | # define machine_is_tct_hammer() (0) | |
18902 | #endif | |
18903 | ||
18904 | #ifdef CONFIG_MACH_HERMES | |
18905 | # ifdef machine_arch_type | |
18906 | # undef machine_arch_type | |
18907 | # define machine_arch_type __machine_arch_type | |
18908 | # else | |
18909 | # define machine_arch_type MACH_TYPE_HERMES | |
18910 | # endif | |
18911 | # define machine_is_herald() (machine_arch_type == MACH_TYPE_HERMES) | |
18912 | #else | |
18913 | # define machine_is_herald() (0) | |
18914 | #endif | |
18915 | ||
18916 | #ifdef CONFIG_MACH_ARTEMIS | |
18917 | # ifdef machine_arch_type | |
18918 | # undef machine_arch_type | |
18919 | # define machine_arch_type __machine_arch_type | |
18920 | # else | |
18921 | # define machine_arch_type MACH_TYPE_ARTEMIS | |
18922 | # endif | |
18923 | # define machine_is_artemis() (machine_arch_type == MACH_TYPE_ARTEMIS) | |
18924 | #else | |
18925 | # define machine_is_artemis() (0) | |
18926 | #endif | |
18927 | ||
18928 | #ifdef CONFIG_MACH_HTCTITAN | |
18929 | # ifdef machine_arch_type | |
18930 | # undef machine_arch_type | |
18931 | # define machine_arch_type __machine_arch_type | |
18932 | # else | |
18933 | # define machine_arch_type MACH_TYPE_HTCTITAN | |
18934 | # endif | |
18935 | # define machine_is_htctitan() (machine_arch_type == MACH_TYPE_HTCTITAN) | |
18936 | #else | |
18937 | # define machine_is_htctitan() (0) | |
18938 | #endif | |
18939 | ||
18940 | #ifdef CONFIG_MACH_QRANIUM | |
18941 | # ifdef machine_arch_type | |
18942 | # undef machine_arch_type | |
18943 | # define machine_arch_type __machine_arch_type | |
18944 | # else | |
18945 | # define machine_arch_type MACH_TYPE_QRANIUM | |
18946 | # endif | |
18947 | # define machine_is_qranium() (machine_arch_type == MACH_TYPE_QRANIUM) | |
18948 | #else | |
18949 | # define machine_is_qranium() (0) | |
18950 | #endif | |
18951 | ||
18952 | #ifdef CONFIG_MACH_ADX_WSC2 | |
18953 | # ifdef machine_arch_type | |
18954 | # undef machine_arch_type | |
18955 | # define machine_arch_type __machine_arch_type | |
18956 | # else | |
18957 | # define machine_arch_type MACH_TYPE_ADX_WSC2 | |
18958 | # endif | |
18959 | # define machine_is_adx_wsc2() (machine_arch_type == MACH_TYPE_ADX_WSC2) | |
18960 | #else | |
18961 | # define machine_is_adx_wsc2() (0) | |
18962 | #endif | |
18963 | ||
18964 | #ifdef CONFIG_MACH_ADX_MEDINET | |
18965 | # ifdef machine_arch_type | |
18966 | # undef machine_arch_type | |
18967 | # define machine_arch_type __machine_arch_type | |
18968 | # else | |
18969 | # define machine_arch_type MACH_TYPE_ADX_MEDINET | |
18970 | # endif | |
18971 | # define machine_is_adx_medinet() (machine_arch_type == MACH_TYPE_ADX_MEDINET) | |
18972 | #else | |
18973 | # define machine_is_adx_medinet() (0) | |
18974 | #endif | |
18975 | ||
18976 | #ifdef CONFIG_MACH_BBOARD | |
18977 | # ifdef machine_arch_type | |
18978 | # undef machine_arch_type | |
18979 | # define machine_arch_type __machine_arch_type | |
18980 | # else | |
18981 | # define machine_arch_type MACH_TYPE_BBOARD | |
18982 | # endif | |
18983 | # define machine_is_bboard() (machine_arch_type == MACH_TYPE_BBOARD) | |
18984 | #else | |
18985 | # define machine_is_bboard() (0) | |
18986 | #endif | |
18987 | ||
18988 | #ifdef CONFIG_MACH_CAMBRIA | |
18989 | # ifdef machine_arch_type | |
18990 | # undef machine_arch_type | |
18991 | # define machine_arch_type __machine_arch_type | |
18992 | # else | |
18993 | # define machine_arch_type MACH_TYPE_CAMBRIA | |
18994 | # endif | |
18995 | # define machine_is_cambria() (machine_arch_type == MACH_TYPE_CAMBRIA) | |
18996 | #else | |
18997 | # define machine_is_cambria() (0) | |
18998 | #endif | |
18999 | ||
19000 | #ifdef CONFIG_MACH_MT7XXX | |
19001 | # ifdef machine_arch_type | |
19002 | # undef machine_arch_type | |
19003 | # define machine_arch_type __machine_arch_type | |
19004 | # else | |
19005 | # define machine_arch_type MACH_TYPE_MT7XXX | |
19006 | # endif | |
19007 | # define machine_is_mt7xxx() (machine_arch_type == MACH_TYPE_MT7XXX) | |
19008 | #else | |
19009 | # define machine_is_mt7xxx() (0) | |
19010 | #endif | |
19011 | ||
19012 | #ifdef CONFIG_MACH_MATRIX512 | |
19013 | # ifdef machine_arch_type | |
19014 | # undef machine_arch_type | |
19015 | # define machine_arch_type __machine_arch_type | |
19016 | # else | |
19017 | # define machine_arch_type MACH_TYPE_MATRIX512 | |
19018 | # endif | |
19019 | # define machine_is_matrix512() (machine_arch_type == MACH_TYPE_MATRIX512) | |
19020 | #else | |
19021 | # define machine_is_matrix512() (0) | |
19022 | #endif | |
19023 | ||
19024 | #ifdef CONFIG_MACH_MATRIX522 | |
19025 | # ifdef machine_arch_type | |
19026 | # undef machine_arch_type | |
19027 | # define machine_arch_type __machine_arch_type | |
19028 | # else | |
19029 | # define machine_arch_type MACH_TYPE_MATRIX522 | |
19030 | # endif | |
19031 | # define machine_is_matrix522() (machine_arch_type == MACH_TYPE_MATRIX522) | |
19032 | #else | |
19033 | # define machine_is_matrix522() (0) | |
19034 | #endif | |
19035 | ||
19036 | #ifdef CONFIG_MACH_IPAC5010 | |
19037 | # ifdef machine_arch_type | |
19038 | # undef machine_arch_type | |
19039 | # define machine_arch_type __machine_arch_type | |
19040 | # else | |
19041 | # define machine_arch_type MACH_TYPE_IPAC5010 | |
19042 | # endif | |
19043 | # define machine_is_ipac5010() (machine_arch_type == MACH_TYPE_IPAC5010) | |
19044 | #else | |
19045 | # define machine_is_ipac5010() (0) | |
19046 | #endif | |
19047 | ||
19048 | #ifdef CONFIG_MACH_SAKURA | |
19049 | # ifdef machine_arch_type | |
19050 | # undef machine_arch_type | |
19051 | # define machine_arch_type __machine_arch_type | |
19052 | # else | |
19053 | # define machine_arch_type MACH_TYPE_SAKURA | |
19054 | # endif | |
19055 | # define machine_is_sakura() (machine_arch_type == MACH_TYPE_SAKURA) | |
19056 | #else | |
19057 | # define machine_is_sakura() (0) | |
19058 | #endif | |
19059 | ||
19060 | #ifdef CONFIG_MACH_GROCX | |
19061 | # ifdef machine_arch_type | |
19062 | # undef machine_arch_type | |
19063 | # define machine_arch_type __machine_arch_type | |
19064 | # else | |
19065 | # define machine_arch_type MACH_TYPE_GROCX | |
19066 | # endif | |
19067 | # define machine_is_grocx() (machine_arch_type == MACH_TYPE_GROCX) | |
19068 | #else | |
19069 | # define machine_is_grocx() (0) | |
19070 | #endif | |
19071 | ||
19072 | #ifdef CONFIG_MACH_PM9263 | |
19073 | # ifdef machine_arch_type | |
19074 | # undef machine_arch_type | |
19075 | # define machine_arch_type __machine_arch_type | |
19076 | # else | |
19077 | # define machine_arch_type MACH_TYPE_PM9263 | |
19078 | # endif | |
19079 | # define machine_is_pm9263() (machine_arch_type == MACH_TYPE_PM9263) | |
19080 | #else | |
19081 | # define machine_is_pm9263() (0) | |
19082 | #endif | |
19083 | ||
19084 | #ifdef CONFIG_MACH_SIM_ONE | |
19085 | # ifdef machine_arch_type | |
19086 | # undef machine_arch_type | |
19087 | # define machine_arch_type __machine_arch_type | |
19088 | # else | |
19089 | # define machine_arch_type MACH_TYPE_SIM_ONE | |
19090 | # endif | |
19091 | # define machine_is_sim_one() (machine_arch_type == MACH_TYPE_SIM_ONE) | |
19092 | #else | |
19093 | # define machine_is_sim_one() (0) | |
19094 | #endif | |
19095 | ||
19096 | #ifdef CONFIG_MACH_ACQ132 | |
19097 | # ifdef machine_arch_type | |
19098 | # undef machine_arch_type | |
19099 | # define machine_arch_type __machine_arch_type | |
19100 | # else | |
19101 | # define machine_arch_type MACH_TYPE_ACQ132 | |
19102 | # endif | |
19103 | # define machine_is_acq132() (machine_arch_type == MACH_TYPE_ACQ132) | |
19104 | #else | |
19105 | # define machine_is_acq132() (0) | |
19106 | #endif | |
19107 | ||
19108 | #ifdef CONFIG_MACH_DATR | |
19109 | # ifdef machine_arch_type | |
19110 | # undef machine_arch_type | |
19111 | # define machine_arch_type __machine_arch_type | |
19112 | # else | |
19113 | # define machine_arch_type MACH_TYPE_DATR | |
19114 | # endif | |
19115 | # define machine_is_datr() (machine_arch_type == MACH_TYPE_DATR) | |
19116 | #else | |
19117 | # define machine_is_datr() (0) | |
19118 | #endif | |
19119 | ||
19120 | #ifdef CONFIG_MACH_ACTUX1 | |
19121 | # ifdef machine_arch_type | |
19122 | # undef machine_arch_type | |
19123 | # define machine_arch_type __machine_arch_type | |
19124 | # else | |
19125 | # define machine_arch_type MACH_TYPE_ACTUX1 | |
19126 | # endif | |
19127 | # define machine_is_actux1() (machine_arch_type == MACH_TYPE_ACTUX1) | |
19128 | #else | |
19129 | # define machine_is_actux1() (0) | |
19130 | #endif | |
19131 | ||
19132 | #ifdef CONFIG_MACH_ACTUX2 | |
19133 | # ifdef machine_arch_type | |
19134 | # undef machine_arch_type | |
19135 | # define machine_arch_type __machine_arch_type | |
19136 | # else | |
19137 | # define machine_arch_type MACH_TYPE_ACTUX2 | |
19138 | # endif | |
19139 | # define machine_is_actux2() (machine_arch_type == MACH_TYPE_ACTUX2) | |
19140 | #else | |
19141 | # define machine_is_actux2() (0) | |
19142 | #endif | |
19143 | ||
19144 | #ifdef CONFIG_MACH_ACTUX3 | |
19145 | # ifdef machine_arch_type | |
19146 | # undef machine_arch_type | |
19147 | # define machine_arch_type __machine_arch_type | |
19148 | # else | |
19149 | # define machine_arch_type MACH_TYPE_ACTUX3 | |
19150 | # endif | |
19151 | # define machine_is_actux3() (machine_arch_type == MACH_TYPE_ACTUX3) | |
19152 | #else | |
19153 | # define machine_is_actux3() (0) | |
19154 | #endif | |
19155 | ||
19156 | #ifdef CONFIG_MACH_FLEXIT | |
19157 | # ifdef machine_arch_type | |
19158 | # undef machine_arch_type | |
19159 | # define machine_arch_type __machine_arch_type | |
19160 | # else | |
19161 | # define machine_arch_type MACH_TYPE_FLEXIT | |
19162 | # endif | |
19163 | # define machine_is_flexit() (machine_arch_type == MACH_TYPE_FLEXIT) | |
19164 | #else | |
19165 | # define machine_is_flexit() (0) | |
19166 | #endif | |
19167 | ||
19168 | #ifdef CONFIG_MACH_BH2X0BD | |
19169 | # ifdef machine_arch_type | |
19170 | # undef machine_arch_type | |
19171 | # define machine_arch_type __machine_arch_type | |
19172 | # else | |
19173 | # define machine_arch_type MACH_TYPE_BH2X0BD | |
19174 | # endif | |
19175 | # define machine_is_bh2x0bd() (machine_arch_type == MACH_TYPE_BH2X0BD) | |
19176 | #else | |
19177 | # define machine_is_bh2x0bd() (0) | |
19178 | #endif | |
19179 | ||
19180 | #ifdef CONFIG_MACH_ATB2002 | |
19181 | # ifdef machine_arch_type | |
19182 | # undef machine_arch_type | |
19183 | # define machine_arch_type __machine_arch_type | |
19184 | # else | |
19185 | # define machine_arch_type MACH_TYPE_ATB2002 | |
19186 | # endif | |
19187 | # define machine_is_atb2002() (machine_arch_type == MACH_TYPE_ATB2002) | |
19188 | #else | |
19189 | # define machine_is_atb2002() (0) | |
19190 | #endif | |
19191 | ||
19192 | #ifdef CONFIG_MACH_XENON | |
19193 | # ifdef machine_arch_type | |
19194 | # undef machine_arch_type | |
19195 | # define machine_arch_type __machine_arch_type | |
19196 | # else | |
19197 | # define machine_arch_type MACH_TYPE_XENON | |
19198 | # endif | |
19199 | # define machine_is_xenon() (machine_arch_type == MACH_TYPE_XENON) | |
19200 | #else | |
19201 | # define machine_is_xenon() (0) | |
19202 | #endif | |
19203 | ||
19204 | #ifdef CONFIG_MACH_FM607 | |
19205 | # ifdef machine_arch_type | |
19206 | # undef machine_arch_type | |
19207 | # define machine_arch_type __machine_arch_type | |
19208 | # else | |
19209 | # define machine_arch_type MACH_TYPE_FM607 | |
19210 | # endif | |
19211 | # define machine_is_fm607() (machine_arch_type == MACH_TYPE_FM607) | |
19212 | #else | |
19213 | # define machine_is_fm607() (0) | |
19214 | #endif | |
19215 | ||
19216 | #ifdef CONFIG_MACH_MATRIX514 | |
19217 | # ifdef machine_arch_type | |
19218 | # undef machine_arch_type | |
19219 | # define machine_arch_type __machine_arch_type | |
19220 | # else | |
19221 | # define machine_arch_type MACH_TYPE_MATRIX514 | |
19222 | # endif | |
19223 | # define machine_is_matrix514() (machine_arch_type == MACH_TYPE_MATRIX514) | |
19224 | #else | |
19225 | # define machine_is_matrix514() (0) | |
19226 | #endif | |
19227 | ||
19228 | #ifdef CONFIG_MACH_MATRIX524 | |
19229 | # ifdef machine_arch_type | |
19230 | # undef machine_arch_type | |
19231 | # define machine_arch_type __machine_arch_type | |
19232 | # else | |
19233 | # define machine_arch_type MACH_TYPE_MATRIX524 | |
19234 | # endif | |
19235 | # define machine_is_matrix524() (machine_arch_type == MACH_TYPE_MATRIX524) | |
19236 | #else | |
19237 | # define machine_is_matrix524() (0) | |
19238 | #endif | |
19239 | ||
19240 | #ifdef CONFIG_MACH_INPOD | |
19241 | # ifdef machine_arch_type | |
19242 | # undef machine_arch_type | |
19243 | # define machine_arch_type __machine_arch_type | |
19244 | # else | |
19245 | # define machine_arch_type MACH_TYPE_INPOD | |
19246 | # endif | |
19247 | # define machine_is_inpod() (machine_arch_type == MACH_TYPE_INPOD) | |
19248 | #else | |
19249 | # define machine_is_inpod() (0) | |
19250 | #endif | |
19251 | ||
19252 | #ifdef CONFIG_MACH_JIVE | |
19253 | # ifdef machine_arch_type | |
19254 | # undef machine_arch_type | |
19255 | # define machine_arch_type __machine_arch_type | |
19256 | # else | |
19257 | # define machine_arch_type MACH_TYPE_JIVE | |
19258 | # endif | |
19259 | # define machine_is_jive() (machine_arch_type == MACH_TYPE_JIVE) | |
19260 | #else | |
19261 | # define machine_is_jive() (0) | |
19262 | #endif | |
19263 | ||
19264 | #ifdef CONFIG_MACH_TLL_MX21 | |
19265 | # ifdef machine_arch_type | |
19266 | # undef machine_arch_type | |
19267 | # define machine_arch_type __machine_arch_type | |
19268 | # else | |
19269 | # define machine_arch_type MACH_TYPE_TLL_MX21 | |
19270 | # endif | |
19271 | # define machine_is_tll_mx21() (machine_arch_type == MACH_TYPE_TLL_MX21) | |
19272 | #else | |
19273 | # define machine_is_tll_mx21() (0) | |
19274 | #endif | |
19275 | ||
19276 | #ifdef CONFIG_MACH_SBC2800 | |
19277 | # ifdef machine_arch_type | |
19278 | # undef machine_arch_type | |
19279 | # define machine_arch_type __machine_arch_type | |
19280 | # else | |
19281 | # define machine_arch_type MACH_TYPE_SBC2800 | |
19282 | # endif | |
19283 | # define machine_is_sbc2800() (machine_arch_type == MACH_TYPE_SBC2800) | |
19284 | #else | |
19285 | # define machine_is_sbc2800() (0) | |
19286 | #endif | |
19287 | ||
19288 | #ifdef CONFIG_MACH_CC7UCAMRY | |
19289 | # ifdef machine_arch_type | |
19290 | # undef machine_arch_type | |
19291 | # define machine_arch_type __machine_arch_type | |
19292 | # else | |
19293 | # define machine_arch_type MACH_TYPE_CC7UCAMRY | |
19294 | # endif | |
19295 | # define machine_is_cc7ucamry() (machine_arch_type == MACH_TYPE_CC7UCAMRY) | |
19296 | #else | |
19297 | # define machine_is_cc7ucamry() (0) | |
19298 | #endif | |
19299 | ||
19300 | #ifdef CONFIG_MACH_UBISYS_P9_SC15 | |
19301 | # ifdef machine_arch_type | |
19302 | # undef machine_arch_type | |
19303 | # define machine_arch_type __machine_arch_type | |
19304 | # else | |
19305 | # define machine_arch_type MACH_TYPE_UBISYS_P9_SC15 | |
19306 | # endif | |
19307 | # define machine_is_ubisys_p9_sc15() (machine_arch_type == MACH_TYPE_UBISYS_P9_SC15) | |
19308 | #else | |
19309 | # define machine_is_ubisys_p9_sc15() (0) | |
19310 | #endif | |
19311 | ||
19312 | #ifdef CONFIG_MACH_UBISYS_P9_SSC2D10 | |
19313 | # ifdef machine_arch_type | |
19314 | # undef machine_arch_type | |
19315 | # define machine_arch_type __machine_arch_type | |
19316 | # else | |
19317 | # define machine_arch_type MACH_TYPE_UBISYS_P9_SSC2D10 | |
19318 | # endif | |
19319 | # define machine_is_ubisys_p9_ssc2d10() (machine_arch_type == MACH_TYPE_UBISYS_P9_SSC2D10) | |
19320 | #else | |
19321 | # define machine_is_ubisys_p9_ssc2d10() (0) | |
19322 | #endif | |
19323 | ||
19324 | #ifdef CONFIG_MACH_UBISYS_P9_RCU3 | |
19325 | # ifdef machine_arch_type | |
19326 | # undef machine_arch_type | |
19327 | # define machine_arch_type __machine_arch_type | |
19328 | # else | |
19329 | # define machine_arch_type MACH_TYPE_UBISYS_P9_RCU3 | |
19330 | # endif | |
19331 | # define machine_is_ubisys_p9_rcu3() (machine_arch_type == MACH_TYPE_UBISYS_P9_RCU3) | |
19332 | #else | |
19333 | # define machine_is_ubisys_p9_rcu3() (0) | |
19334 | #endif | |
19335 | ||
19336 | #ifdef CONFIG_MACH_AML_M8000 | |
19337 | # ifdef machine_arch_type | |
19338 | # undef machine_arch_type | |
19339 | # define machine_arch_type __machine_arch_type | |
19340 | # else | |
19341 | # define machine_arch_type MACH_TYPE_AML_M8000 | |
19342 | # endif | |
19343 | # define machine_is_aml_m8000() (machine_arch_type == MACH_TYPE_AML_M8000) | |
19344 | #else | |
19345 | # define machine_is_aml_m8000() (0) | |
19346 | #endif | |
19347 | ||
19348 | #ifdef CONFIG_MACH_SNAPPER_270 | |
19349 | # ifdef machine_arch_type | |
19350 | # undef machine_arch_type | |
19351 | # define machine_arch_type __machine_arch_type | |
19352 | # else | |
19353 | # define machine_arch_type MACH_TYPE_SNAPPER_270 | |
19354 | # endif | |
19355 | # define machine_is_snapper_270() (machine_arch_type == MACH_TYPE_SNAPPER_270) | |
19356 | #else | |
19357 | # define machine_is_snapper_270() (0) | |
19358 | #endif | |
19359 | ||
19360 | #ifdef CONFIG_MACH_OMAP_BBX | |
19361 | # ifdef machine_arch_type | |
19362 | # undef machine_arch_type | |
19363 | # define machine_arch_type __machine_arch_type | |
19364 | # else | |
19365 | # define machine_arch_type MACH_TYPE_OMAP_BBX | |
19366 | # endif | |
19367 | # define machine_is_omap_bbx() (machine_arch_type == MACH_TYPE_OMAP_BBX) | |
19368 | #else | |
19369 | # define machine_is_omap_bbx() (0) | |
19370 | #endif | |
19371 | ||
19372 | #ifdef CONFIG_MACH_UCN2410 | |
19373 | # ifdef machine_arch_type | |
19374 | # undef machine_arch_type | |
19375 | # define machine_arch_type __machine_arch_type | |
19376 | # else | |
19377 | # define machine_arch_type MACH_TYPE_UCN2410 | |
19378 | # endif | |
19379 | # define machine_is_ucn2410() (machine_arch_type == MACH_TYPE_UCN2410) | |
19380 | #else | |
19381 | # define machine_is_ucn2410() (0) | |
19382 | #endif | |
19383 | ||
19384 | #ifdef CONFIG_MACH_SAM9_L9260 | |
19385 | # ifdef machine_arch_type | |
19386 | # undef machine_arch_type | |
19387 | # define machine_arch_type __machine_arch_type | |
19388 | # else | |
19389 | # define machine_arch_type MACH_TYPE_SAM9_L9260 | |
19390 | # endif | |
19391 | # define machine_is_sam9_l9260() (machine_arch_type == MACH_TYPE_SAM9_L9260) | |
19392 | #else | |
19393 | # define machine_is_sam9_l9260() (0) | |
19394 | #endif | |
19395 | ||
19396 | #ifdef CONFIG_MACH_ETI_C2 | |
19397 | # ifdef machine_arch_type | |
19398 | # undef machine_arch_type | |
19399 | # define machine_arch_type __machine_arch_type | |
19400 | # else | |
19401 | # define machine_arch_type MACH_TYPE_ETI_C2 | |
19402 | # endif | |
19403 | # define machine_is_eti_c2() (machine_arch_type == MACH_TYPE_ETI_C2) | |
19404 | #else | |
19405 | # define machine_is_eti_c2() (0) | |
19406 | #endif | |
19407 | ||
19408 | #ifdef CONFIG_MACH_AVALANCHE | |
19409 | # ifdef machine_arch_type | |
19410 | # undef machine_arch_type | |
19411 | # define machine_arch_type __machine_arch_type | |
19412 | # else | |
19413 | # define machine_arch_type MACH_TYPE_AVALANCHE | |
19414 | # endif | |
19415 | # define machine_is_avalanche() (machine_arch_type == MACH_TYPE_AVALANCHE) | |
19416 | #else | |
19417 | # define machine_is_avalanche() (0) | |
19418 | #endif | |
19419 | ||
19420 | #ifdef CONFIG_MACH_REALVIEW_PB1176 | |
19421 | # ifdef machine_arch_type | |
19422 | # undef machine_arch_type | |
19423 | # define machine_arch_type __machine_arch_type | |
19424 | # else | |
19425 | # define machine_arch_type MACH_TYPE_REALVIEW_PB1176 | |
19426 | # endif | |
19427 | # define machine_is_realview_pb1176() (machine_arch_type == MACH_TYPE_REALVIEW_PB1176) | |
19428 | #else | |
19429 | # define machine_is_realview_pb1176() (0) | |
19430 | #endif | |
19431 | ||
19432 | #ifdef CONFIG_MACH_DP1500 | |
19433 | # ifdef machine_arch_type | |
19434 | # undef machine_arch_type | |
19435 | # define machine_arch_type __machine_arch_type | |
19436 | # else | |
19437 | # define machine_arch_type MACH_TYPE_DP1500 | |
19438 | # endif | |
19439 | # define machine_is_dp1500() (machine_arch_type == MACH_TYPE_DP1500) | |
19440 | #else | |
19441 | # define machine_is_dp1500() (0) | |
19442 | #endif | |
19443 | ||
19444 | #ifdef CONFIG_MACH_APPLE_IPHONE | |
19445 | # ifdef machine_arch_type | |
19446 | # undef machine_arch_type | |
19447 | # define machine_arch_type __machine_arch_type | |
19448 | # else | |
19449 | # define machine_arch_type MACH_TYPE_APPLE_IPHONE | |
19450 | # endif | |
19451 | # define machine_is_apple_iphone() (machine_arch_type == MACH_TYPE_APPLE_IPHONE) | |
19452 | #else | |
19453 | # define machine_is_apple_iphone() (0) | |
19454 | #endif | |
19455 | ||
19456 | #ifdef CONFIG_MACH_YL9200 | |
19457 | # ifdef machine_arch_type | |
19458 | # undef machine_arch_type | |
19459 | # define machine_arch_type __machine_arch_type | |
19460 | # else | |
19461 | # define machine_arch_type MACH_TYPE_YL9200 | |
19462 | # endif | |
19463 | # define machine_is_yl9200() (machine_arch_type == MACH_TYPE_YL9200) | |
19464 | #else | |
19465 | # define machine_is_yl9200() (0) | |
19466 | #endif | |
19467 | ||
19468 | #ifdef CONFIG_MACH_RD88F5182 | |
19469 | # ifdef machine_arch_type | |
19470 | # undef machine_arch_type | |
19471 | # define machine_arch_type __machine_arch_type | |
19472 | # else | |
19473 | # define machine_arch_type MACH_TYPE_RD88F5182 | |
19474 | # endif | |
19475 | # define machine_is_rd88f5182() (machine_arch_type == MACH_TYPE_RD88F5182) | |
19476 | #else | |
19477 | # define machine_is_rd88f5182() (0) | |
19478 | #endif | |
19479 | ||
19480 | #ifdef CONFIG_MACH_KUROBOX_PRO | |
19481 | # ifdef machine_arch_type | |
19482 | # undef machine_arch_type | |
19483 | # define machine_arch_type __machine_arch_type | |
19484 | # else | |
19485 | # define machine_arch_type MACH_TYPE_KUROBOX_PRO | |
19486 | # endif | |
19487 | # define machine_is_kurobox_pro() (machine_arch_type == MACH_TYPE_KUROBOX_PRO) | |
19488 | #else | |
19489 | # define machine_is_kurobox_pro() (0) | |
19490 | #endif | |
19491 | ||
19492 | #ifdef CONFIG_MACH_SE_POET | |
19493 | # ifdef machine_arch_type | |
19494 | # undef machine_arch_type | |
19495 | # define machine_arch_type __machine_arch_type | |
19496 | # else | |
19497 | # define machine_arch_type MACH_TYPE_SE_POET | |
19498 | # endif | |
19499 | # define machine_is_se_poet() (machine_arch_type == MACH_TYPE_SE_POET) | |
19500 | #else | |
19501 | # define machine_is_se_poet() (0) | |
19502 | #endif | |
19503 | ||
19504 | #ifdef CONFIG_MACH_MX31_3DS | |
19505 | # ifdef machine_arch_type | |
19506 | # undef machine_arch_type | |
19507 | # define machine_arch_type __machine_arch_type | |
19508 | # else | |
19509 | # define machine_arch_type MACH_TYPE_MX31_3DS | |
19510 | # endif | |
19511 | # define machine_is_mx31_3ds() (machine_arch_type == MACH_TYPE_MX31_3DS) | |
19512 | #else | |
19513 | # define machine_is_mx31_3ds() (0) | |
19514 | #endif | |
19515 | ||
19516 | #ifdef CONFIG_MACH_R270 | |
19517 | # ifdef machine_arch_type | |
19518 | # undef machine_arch_type | |
19519 | # define machine_arch_type __machine_arch_type | |
19520 | # else | |
19521 | # define machine_arch_type MACH_TYPE_R270 | |
19522 | # endif | |
19523 | # define machine_is_r270() (machine_arch_type == MACH_TYPE_R270) | |
19524 | #else | |
19525 | # define machine_is_r270() (0) | |
19526 | #endif | |
19527 | ||
19528 | #ifdef CONFIG_MACH_ARMOUR21 | |
19529 | # ifdef machine_arch_type | |
19530 | # undef machine_arch_type | |
19531 | # define machine_arch_type __machine_arch_type | |
19532 | # else | |
19533 | # define machine_arch_type MACH_TYPE_ARMOUR21 | |
19534 | # endif | |
19535 | # define machine_is_armour21() (machine_arch_type == MACH_TYPE_ARMOUR21) | |
19536 | #else | |
19537 | # define machine_is_armour21() (0) | |
19538 | #endif | |
19539 | ||
19540 | #ifdef CONFIG_MACH_DT2 | |
19541 | # ifdef machine_arch_type | |
19542 | # undef machine_arch_type | |
19543 | # define machine_arch_type __machine_arch_type | |
19544 | # else | |
19545 | # define machine_arch_type MACH_TYPE_DT2 | |
19546 | # endif | |
19547 | # define machine_is_dt2() (machine_arch_type == MACH_TYPE_DT2) | |
19548 | #else | |
19549 | # define machine_is_dt2() (0) | |
19550 | #endif | |
19551 | ||
19552 | #ifdef CONFIG_MACH_VT4 | |
19553 | # ifdef machine_arch_type | |
19554 | # undef machine_arch_type | |
19555 | # define machine_arch_type __machine_arch_type | |
19556 | # else | |
19557 | # define machine_arch_type MACH_TYPE_VT4 | |
19558 | # endif | |
19559 | # define machine_is_vt4() (machine_arch_type == MACH_TYPE_VT4) | |
19560 | #else | |
19561 | # define machine_is_vt4() (0) | |
19562 | #endif | |
19563 | ||
19564 | #ifdef CONFIG_MACH_TYCO320 | |
19565 | # ifdef machine_arch_type | |
19566 | # undef machine_arch_type | |
19567 | # define machine_arch_type __machine_arch_type | |
19568 | # else | |
19569 | # define machine_arch_type MACH_TYPE_TYCO320 | |
19570 | # endif | |
19571 | # define machine_is_tyco320() (machine_arch_type == MACH_TYPE_TYCO320) | |
19572 | #else | |
19573 | # define machine_is_tyco320() (0) | |
19574 | #endif | |
19575 | ||
19576 | #ifdef CONFIG_MACH_ADMA | |
19577 | # ifdef machine_arch_type | |
19578 | # undef machine_arch_type | |
19579 | # define machine_arch_type __machine_arch_type | |
19580 | # else | |
19581 | # define machine_arch_type MACH_TYPE_ADMA | |
19582 | # endif | |
19583 | # define machine_is_adma() (machine_arch_type == MACH_TYPE_ADMA) | |
19584 | #else | |
19585 | # define machine_is_adma() (0) | |
19586 | #endif | |
19587 | ||
19588 | #ifdef CONFIG_MACH_WP188 | |
19589 | # ifdef machine_arch_type | |
19590 | # undef machine_arch_type | |
19591 | # define machine_arch_type __machine_arch_type | |
19592 | # else | |
19593 | # define machine_arch_type MACH_TYPE_WP188 | |
19594 | # endif | |
19595 | # define machine_is_wp188() (machine_arch_type == MACH_TYPE_WP188) | |
19596 | #else | |
19597 | # define machine_is_wp188() (0) | |
19598 | #endif | |
19599 | ||
19600 | #ifdef CONFIG_MACH_CORSICA | |
19601 | # ifdef machine_arch_type | |
19602 | # undef machine_arch_type | |
19603 | # define machine_arch_type __machine_arch_type | |
19604 | # else | |
19605 | # define machine_arch_type MACH_TYPE_CORSICA | |
19606 | # endif | |
19607 | # define machine_is_corsica() (machine_arch_type == MACH_TYPE_CORSICA) | |
19608 | #else | |
19609 | # define machine_is_corsica() (0) | |
19610 | #endif | |
19611 | ||
19612 | #ifdef CONFIG_MACH_BIGEYE | |
19613 | # ifdef machine_arch_type | |
19614 | # undef machine_arch_type | |
19615 | # define machine_arch_type __machine_arch_type | |
19616 | # else | |
19617 | # define machine_arch_type MACH_TYPE_BIGEYE | |
19618 | # endif | |
19619 | # define machine_is_bigeye() (machine_arch_type == MACH_TYPE_BIGEYE) | |
19620 | #else | |
19621 | # define machine_is_bigeye() (0) | |
19622 | #endif | |
19623 | ||
19624 | #ifdef CONFIG_MACH_TLL5000 | |
19625 | # ifdef machine_arch_type | |
19626 | # undef machine_arch_type | |
19627 | # define machine_arch_type __machine_arch_type | |
19628 | # else | |
19629 | # define machine_arch_type MACH_TYPE_TLL5000 | |
19630 | # endif | |
19631 | # define machine_is_tll5000() (machine_arch_type == MACH_TYPE_TLL5000) | |
19632 | #else | |
19633 | # define machine_is_tll5000() (0) | |
19634 | #endif | |
19635 | ||
19636 | #ifdef CONFIG_MACH_HNI_X270 | |
19637 | # ifdef machine_arch_type | |
19638 | # undef machine_arch_type | |
19639 | # define machine_arch_type __machine_arch_type | |
19640 | # else | |
19641 | # define machine_arch_type MACH_TYPE_HNI_X270 | |
19642 | # endif | |
19643 | # define machine_is_hni270() (machine_arch_type == MACH_TYPE_HNI_X270) | |
19644 | #else | |
19645 | # define machine_is_hni270() (0) | |
19646 | #endif | |
19647 | ||
19648 | #ifdef CONFIG_MACH_QONG | |
19649 | # ifdef machine_arch_type | |
19650 | # undef machine_arch_type | |
19651 | # define machine_arch_type __machine_arch_type | |
19652 | # else | |
19653 | # define machine_arch_type MACH_TYPE_QONG | |
19654 | # endif | |
19655 | # define machine_is_qong() (machine_arch_type == MACH_TYPE_QONG) | |
19656 | #else | |
19657 | # define machine_is_qong() (0) | |
19658 | #endif | |
19659 | ||
19660 | #ifdef CONFIG_MACH_TCOMPACT | |
19661 | # ifdef machine_arch_type | |
19662 | # undef machine_arch_type | |
19663 | # define machine_arch_type __machine_arch_type | |
19664 | # else | |
19665 | # define machine_arch_type MACH_TYPE_TCOMPACT | |
19666 | # endif | |
19667 | # define machine_is_tcompact() (machine_arch_type == MACH_TYPE_TCOMPACT) | |
19668 | #else | |
19669 | # define machine_is_tcompact() (0) | |
19670 | #endif | |
19671 | ||
19672 | #ifdef CONFIG_MACH_PUMA5 | |
19673 | # ifdef machine_arch_type | |
19674 | # undef machine_arch_type | |
19675 | # define machine_arch_type __machine_arch_type | |
19676 | # else | |
19677 | # define machine_arch_type MACH_TYPE_PUMA5 | |
19678 | # endif | |
19679 | # define machine_is_puma5() (machine_arch_type == MACH_TYPE_PUMA5) | |
19680 | #else | |
19681 | # define machine_is_puma5() (0) | |
19682 | #endif | |
19683 | ||
19684 | #ifdef CONFIG_MACH_ELARA | |
19685 | # ifdef machine_arch_type | |
19686 | # undef machine_arch_type | |
19687 | # define machine_arch_type __machine_arch_type | |
19688 | # else | |
19689 | # define machine_arch_type MACH_TYPE_ELARA | |
19690 | # endif | |
19691 | # define machine_is_elara() (machine_arch_type == MACH_TYPE_ELARA) | |
19692 | #else | |
19693 | # define machine_is_elara() (0) | |
19694 | #endif | |
19695 | ||
19696 | #ifdef CONFIG_MACH_ELLINGTON | |
19697 | # ifdef machine_arch_type | |
19698 | # undef machine_arch_type | |
19699 | # define machine_arch_type __machine_arch_type | |
19700 | # else | |
19701 | # define machine_arch_type MACH_TYPE_ELLINGTON | |
19702 | # endif | |
19703 | # define machine_is_ellington() (machine_arch_type == MACH_TYPE_ELLINGTON) | |
19704 | #else | |
19705 | # define machine_is_ellington() (0) | |
19706 | #endif | |
19707 | ||
19708 | #ifdef CONFIG_MACH_XDA_ATOM | |
19709 | # ifdef machine_arch_type | |
19710 | # undef machine_arch_type | |
19711 | # define machine_arch_type __machine_arch_type | |
19712 | # else | |
19713 | # define machine_arch_type MACH_TYPE_XDA_ATOM | |
19714 | # endif | |
19715 | # define machine_is_xda_atom() (machine_arch_type == MACH_TYPE_XDA_ATOM) | |
19716 | #else | |
19717 | # define machine_is_xda_atom() (0) | |
19718 | #endif | |
19719 | ||
19720 | #ifdef CONFIG_MACH_ENERGIZER2 | |
19721 | # ifdef machine_arch_type | |
19722 | # undef machine_arch_type | |
19723 | # define machine_arch_type __machine_arch_type | |
19724 | # else | |
19725 | # define machine_arch_type MACH_TYPE_ENERGIZER2 | |
19726 | # endif | |
19727 | # define machine_is_energizer2() (machine_arch_type == MACH_TYPE_ENERGIZER2) | |
19728 | #else | |
19729 | # define machine_is_energizer2() (0) | |
19730 | #endif | |
19731 | ||
19732 | #ifdef CONFIG_MACH_ODIN | |
19733 | # ifdef machine_arch_type | |
19734 | # undef machine_arch_type | |
19735 | # define machine_arch_type __machine_arch_type | |
19736 | # else | |
19737 | # define machine_arch_type MACH_TYPE_ODIN | |
19738 | # endif | |
19739 | # define machine_is_odin() (machine_arch_type == MACH_TYPE_ODIN) | |
19740 | #else | |
19741 | # define machine_is_odin() (0) | |
19742 | #endif | |
19743 | ||
19744 | #ifdef CONFIG_MACH_ACTUX4 | |
19745 | # ifdef machine_arch_type | |
19746 | # undef machine_arch_type | |
19747 | # define machine_arch_type __machine_arch_type | |
19748 | # else | |
19749 | # define machine_arch_type MACH_TYPE_ACTUX4 | |
19750 | # endif | |
19751 | # define machine_is_actux4() (machine_arch_type == MACH_TYPE_ACTUX4) | |
19752 | #else | |
19753 | # define machine_is_actux4() (0) | |
19754 | #endif | |
19755 | ||
19756 | #ifdef CONFIG_MACH_ESL_OMAP | |
19757 | # ifdef machine_arch_type | |
19758 | # undef machine_arch_type | |
19759 | # define machine_arch_type __machine_arch_type | |
19760 | # else | |
19761 | # define machine_arch_type MACH_TYPE_ESL_OMAP | |
19762 | # endif | |
19763 | # define machine_is_esl_omap() (machine_arch_type == MACH_TYPE_ESL_OMAP) | |
19764 | #else | |
19765 | # define machine_is_esl_omap() (0) | |
19766 | #endif | |
19767 | ||
19768 | #ifdef CONFIG_MACH_OMAP2EVM | |
19769 | # ifdef machine_arch_type | |
19770 | # undef machine_arch_type | |
19771 | # define machine_arch_type __machine_arch_type | |
19772 | # else | |
19773 | # define machine_arch_type MACH_TYPE_OMAP2EVM | |
19774 | # endif | |
19775 | # define machine_is_omap2evm() (machine_arch_type == MACH_TYPE_OMAP2EVM) | |
19776 | #else | |
19777 | # define machine_is_omap2evm() (0) | |
19778 | #endif | |
19779 | ||
19780 | #ifdef CONFIG_MACH_OMAP3EVM | |
19781 | # ifdef machine_arch_type | |
19782 | # undef machine_arch_type | |
19783 | # define machine_arch_type __machine_arch_type | |
19784 | # else | |
19785 | # define machine_arch_type MACH_TYPE_OMAP3EVM | |
19786 | # endif | |
19787 | # define machine_is_omap3evm() (machine_arch_type == MACH_TYPE_OMAP3EVM) | |
19788 | #else | |
19789 | # define machine_is_omap3evm() (0) | |
19790 | #endif | |
19791 | ||
19792 | #ifdef CONFIG_MACH_ADX_PCU57 | |
19793 | # ifdef machine_arch_type | |
19794 | # undef machine_arch_type | |
19795 | # define machine_arch_type __machine_arch_type | |
19796 | # else | |
19797 | # define machine_arch_type MACH_TYPE_ADX_PCU57 | |
19798 | # endif | |
19799 | # define machine_is_adx_pcu57() (machine_arch_type == MACH_TYPE_ADX_PCU57) | |
19800 | #else | |
19801 | # define machine_is_adx_pcu57() (0) | |
19802 | #endif | |
19803 | ||
19804 | #ifdef CONFIG_MACH_MONACO | |
19805 | # ifdef machine_arch_type | |
19806 | # undef machine_arch_type | |
19807 | # define machine_arch_type __machine_arch_type | |
19808 | # else | |
19809 | # define machine_arch_type MACH_TYPE_MONACO | |
19810 | # endif | |
19811 | # define machine_is_monaco() (machine_arch_type == MACH_TYPE_MONACO) | |
19812 | #else | |
19813 | # define machine_is_monaco() (0) | |
19814 | #endif | |
19815 | ||
19816 | #ifdef CONFIG_MACH_LEVANTE | |
19817 | # ifdef machine_arch_type | |
19818 | # undef machine_arch_type | |
19819 | # define machine_arch_type __machine_arch_type | |
19820 | # else | |
19821 | # define machine_arch_type MACH_TYPE_LEVANTE | |
19822 | # endif | |
19823 | # define machine_is_levante() (machine_arch_type == MACH_TYPE_LEVANTE) | |
19824 | #else | |
19825 | # define machine_is_levante() (0) | |
19826 | #endif | |
19827 | ||
19828 | #ifdef CONFIG_MACH_TMXIPX425 | |
19829 | # ifdef machine_arch_type | |
19830 | # undef machine_arch_type | |
19831 | # define machine_arch_type __machine_arch_type | |
19832 | # else | |
19833 | # define machine_arch_type MACH_TYPE_TMXIPX425 | |
19834 | # endif | |
19835 | # define machine_is_tmxipx425() (machine_arch_type == MACH_TYPE_TMXIPX425) | |
19836 | #else | |
19837 | # define machine_is_tmxipx425() (0) | |
19838 | #endif | |
19839 | ||
19840 | #ifdef CONFIG_MACH_LEEP | |
19841 | # ifdef machine_arch_type | |
19842 | # undef machine_arch_type | |
19843 | # define machine_arch_type __machine_arch_type | |
19844 | # else | |
19845 | # define machine_arch_type MACH_TYPE_LEEP | |
19846 | # endif | |
19847 | # define machine_is_leep() (machine_arch_type == MACH_TYPE_LEEP) | |
19848 | #else | |
19849 | # define machine_is_leep() (0) | |
19850 | #endif | |
19851 | ||
19852 | #ifdef CONFIG_MACH_RAAD | |
19853 | # ifdef machine_arch_type | |
19854 | # undef machine_arch_type | |
19855 | # define machine_arch_type __machine_arch_type | |
19856 | # else | |
19857 | # define machine_arch_type MACH_TYPE_RAAD | |
19858 | # endif | |
19859 | # define machine_is_raad() (machine_arch_type == MACH_TYPE_RAAD) | |
19860 | #else | |
19861 | # define machine_is_raad() (0) | |
19862 | #endif | |
19863 | ||
19864 | #ifdef CONFIG_MACH_DNS323 | |
19865 | # ifdef machine_arch_type | |
19866 | # undef machine_arch_type | |
19867 | # define machine_arch_type __machine_arch_type | |
19868 | # else | |
19869 | # define machine_arch_type MACH_TYPE_DNS323 | |
19870 | # endif | |
19871 | # define machine_is_dns323() (machine_arch_type == MACH_TYPE_DNS323) | |
19872 | #else | |
19873 | # define machine_is_dns323() (0) | |
19874 | #endif | |
19875 | ||
19876 | #ifdef CONFIG_MACH_AP1000 | |
19877 | # ifdef machine_arch_type | |
19878 | # undef machine_arch_type | |
19879 | # define machine_arch_type __machine_arch_type | |
19880 | # else | |
19881 | # define machine_arch_type MACH_TYPE_AP1000 | |
19882 | # endif | |
19883 | # define machine_is_ap1000() (machine_arch_type == MACH_TYPE_AP1000) | |
19884 | #else | |
19885 | # define machine_is_ap1000() (0) | |
19886 | #endif | |
19887 | ||
19888 | #ifdef CONFIG_MACH_A9SAM6432 | |
19889 | # ifdef machine_arch_type | |
19890 | # undef machine_arch_type | |
19891 | # define machine_arch_type __machine_arch_type | |
19892 | # else | |
19893 | # define machine_arch_type MACH_TYPE_A9SAM6432 | |
19894 | # endif | |
19895 | # define machine_is_a9sam6432() (machine_arch_type == MACH_TYPE_A9SAM6432) | |
19896 | #else | |
19897 | # define machine_is_a9sam6432() (0) | |
19898 | #endif | |
19899 | ||
19900 | #ifdef CONFIG_MACH_SHINY | |
19901 | # ifdef machine_arch_type | |
19902 | # undef machine_arch_type | |
19903 | # define machine_arch_type __machine_arch_type | |
19904 | # else | |
19905 | # define machine_arch_type MACH_TYPE_SHINY | |
19906 | # endif | |
19907 | # define machine_is_shiny() (machine_arch_type == MACH_TYPE_SHINY) | |
19908 | #else | |
19909 | # define machine_is_shiny() (0) | |
19910 | #endif | |
19911 | ||
19912 | #ifdef CONFIG_MACH_OMAP3_BEAGLE | |
19913 | # ifdef machine_arch_type | |
19914 | # undef machine_arch_type | |
19915 | # define machine_arch_type __machine_arch_type | |
19916 | # else | |
19917 | # define machine_arch_type MACH_TYPE_OMAP3_BEAGLE | |
19918 | # endif | |
19919 | # define machine_is_omap3_beagle() (machine_arch_type == MACH_TYPE_OMAP3_BEAGLE) | |
19920 | #else | |
19921 | # define machine_is_omap3_beagle() (0) | |
19922 | #endif | |
19923 | ||
19924 | #ifdef CONFIG_MACH_CSR_BDB2 | |
19925 | # ifdef machine_arch_type | |
19926 | # undef machine_arch_type | |
19927 | # define machine_arch_type __machine_arch_type | |
19928 | # else | |
19929 | # define machine_arch_type MACH_TYPE_CSR_BDB2 | |
19930 | # endif | |
19931 | # define machine_is_csr_bdb2() (machine_arch_type == MACH_TYPE_CSR_BDB2) | |
19932 | #else | |
19933 | # define machine_is_csr_bdb2() (0) | |
19934 | #endif | |
19935 | ||
19936 | #ifdef CONFIG_MACH_NOKIA_N810 | |
19937 | # ifdef machine_arch_type | |
19938 | # undef machine_arch_type | |
19939 | # define machine_arch_type __machine_arch_type | |
19940 | # else | |
19941 | # define machine_arch_type MACH_TYPE_NOKIA_N810 | |
19942 | # endif | |
19943 | # define machine_is_nokia_n810() (machine_arch_type == MACH_TYPE_NOKIA_N810) | |
19944 | #else | |
19945 | # define machine_is_nokia_n810() (0) | |
19946 | #endif | |
19947 | ||
19948 | #ifdef CONFIG_MACH_C270 | |
19949 | # ifdef machine_arch_type | |
19950 | # undef machine_arch_type | |
19951 | # define machine_arch_type __machine_arch_type | |
19952 | # else | |
19953 | # define machine_arch_type MACH_TYPE_C270 | |
19954 | # endif | |
19955 | # define machine_is_c270() (machine_arch_type == MACH_TYPE_C270) | |
19956 | #else | |
19957 | # define machine_is_c270() (0) | |
19958 | #endif | |
19959 | ||
19960 | #ifdef CONFIG_MACH_SENTRY | |
19961 | # ifdef machine_arch_type | |
19962 | # undef machine_arch_type | |
19963 | # define machine_arch_type __machine_arch_type | |
19964 | # else | |
19965 | # define machine_arch_type MACH_TYPE_SENTRY | |
19966 | # endif | |
19967 | # define machine_is_sentry() (machine_arch_type == MACH_TYPE_SENTRY) | |
19968 | #else | |
19969 | # define machine_is_sentry() (0) | |
19970 | #endif | |
19971 | ||
19972 | #ifdef CONFIG_MACH_PCM038 | |
19973 | # ifdef machine_arch_type | |
19974 | # undef machine_arch_type | |
19975 | # define machine_arch_type __machine_arch_type | |
19976 | # else | |
19977 | # define machine_arch_type MACH_TYPE_PCM038 | |
19978 | # endif | |
19979 | # define machine_is_pcm038() (machine_arch_type == MACH_TYPE_PCM038) | |
19980 | #else | |
19981 | # define machine_is_pcm038() (0) | |
19982 | #endif | |
19983 | ||
19984 | #ifdef CONFIG_MACH_ANC300 | |
19985 | # ifdef machine_arch_type | |
19986 | # undef machine_arch_type | |
19987 | # define machine_arch_type __machine_arch_type | |
19988 | # else | |
19989 | # define machine_arch_type MACH_TYPE_ANC300 | |
19990 | # endif | |
19991 | # define machine_is_anc300() (machine_arch_type == MACH_TYPE_ANC300) | |
19992 | #else | |
19993 | # define machine_is_anc300() (0) | |
19994 | #endif | |
19995 | ||
19996 | #ifdef CONFIG_MACH_HTCKAISER | |
19997 | # ifdef machine_arch_type | |
19998 | # undef machine_arch_type | |
19999 | # define machine_arch_type __machine_arch_type | |
20000 | # else | |
20001 | # define machine_arch_type MACH_TYPE_HTCKAISER | |
20002 | # endif | |
20003 | # define machine_is_htckaiser() (machine_arch_type == MACH_TYPE_HTCKAISER) | |
20004 | #else | |
20005 | # define machine_is_htckaiser() (0) | |
20006 | #endif | |
20007 | ||
20008 | #ifdef CONFIG_MACH_SBAT100 | |
20009 | # ifdef machine_arch_type | |
20010 | # undef machine_arch_type | |
20011 | # define machine_arch_type __machine_arch_type | |
20012 | # else | |
20013 | # define machine_arch_type MACH_TYPE_SBAT100 | |
20014 | # endif | |
20015 | # define machine_is_sbat100() (machine_arch_type == MACH_TYPE_SBAT100) | |
20016 | #else | |
20017 | # define machine_is_sbat100() (0) | |
20018 | #endif | |
20019 | ||
20020 | #ifdef CONFIG_MACH_MODUNORM | |
20021 | # ifdef machine_arch_type | |
20022 | # undef machine_arch_type | |
20023 | # define machine_arch_type __machine_arch_type | |
20024 | # else | |
20025 | # define machine_arch_type MACH_TYPE_MODUNORM | |
20026 | # endif | |
20027 | # define machine_is_modunorm() (machine_arch_type == MACH_TYPE_MODUNORM) | |
20028 | #else | |
20029 | # define machine_is_modunorm() (0) | |
20030 | #endif | |
20031 | ||
20032 | #ifdef CONFIG_MACH_PELOS_TWARM | |
20033 | # ifdef machine_arch_type | |
20034 | # undef machine_arch_type | |
20035 | # define machine_arch_type __machine_arch_type | |
20036 | # else | |
20037 | # define machine_arch_type MACH_TYPE_PELOS_TWARM | |
20038 | # endif | |
20039 | # define machine_is_pelos_twarm() (machine_arch_type == MACH_TYPE_PELOS_TWARM) | |
20040 | #else | |
20041 | # define machine_is_pelos_twarm() (0) | |
20042 | #endif | |
20043 | ||
20044 | #ifdef CONFIG_MACH_FLANK | |
20045 | # ifdef machine_arch_type | |
20046 | # undef machine_arch_type | |
20047 | # define machine_arch_type __machine_arch_type | |
20048 | # else | |
20049 | # define machine_arch_type MACH_TYPE_FLANK | |
20050 | # endif | |
20051 | # define machine_is_flank() (machine_arch_type == MACH_TYPE_FLANK) | |
20052 | #else | |
20053 | # define machine_is_flank() (0) | |
20054 | #endif | |
20055 | ||
20056 | #ifdef CONFIG_MACH_SIRLOIN | |
20057 | # ifdef machine_arch_type | |
20058 | # undef machine_arch_type | |
20059 | # define machine_arch_type __machine_arch_type | |
20060 | # else | |
20061 | # define machine_arch_type MACH_TYPE_SIRLOIN | |
20062 | # endif | |
20063 | # define machine_is_sirloin() (machine_arch_type == MACH_TYPE_SIRLOIN) | |
20064 | #else | |
20065 | # define machine_is_sirloin() (0) | |
20066 | #endif | |
20067 | ||
20068 | #ifdef CONFIG_MACH_BRISKET | |
20069 | # ifdef machine_arch_type | |
20070 | # undef machine_arch_type | |
20071 | # define machine_arch_type __machine_arch_type | |
20072 | # else | |
20073 | # define machine_arch_type MACH_TYPE_BRISKET | |
20074 | # endif | |
20075 | # define machine_is_brisket() (machine_arch_type == MACH_TYPE_BRISKET) | |
20076 | #else | |
20077 | # define machine_is_brisket() (0) | |
20078 | #endif | |
20079 | ||
20080 | #ifdef CONFIG_MACH_CHUCK | |
20081 | # ifdef machine_arch_type | |
20082 | # undef machine_arch_type | |
20083 | # define machine_arch_type __machine_arch_type | |
20084 | # else | |
20085 | # define machine_arch_type MACH_TYPE_CHUCK | |
20086 | # endif | |
20087 | # define machine_is_chuck() (machine_arch_type == MACH_TYPE_CHUCK) | |
20088 | #else | |
20089 | # define machine_is_chuck() (0) | |
20090 | #endif | |
20091 | ||
20092 | #ifdef CONFIG_MACH_OTTER | |
20093 | # ifdef machine_arch_type | |
20094 | # undef machine_arch_type | |
20095 | # define machine_arch_type __machine_arch_type | |
20096 | # else | |
20097 | # define machine_arch_type MACH_TYPE_OTTER | |
20098 | # endif | |
20099 | # define machine_is_otter() (machine_arch_type == MACH_TYPE_OTTER) | |
20100 | #else | |
20101 | # define machine_is_otter() (0) | |
20102 | #endif | |
20103 | ||
20104 | #ifdef CONFIG_MACH_DAVINCI_LDK | |
20105 | # ifdef machine_arch_type | |
20106 | # undef machine_arch_type | |
20107 | # define machine_arch_type __machine_arch_type | |
20108 | # else | |
20109 | # define machine_arch_type MACH_TYPE_DAVINCI_LDK | |
20110 | # endif | |
20111 | # define machine_is_davinci_ldk() (machine_arch_type == MACH_TYPE_DAVINCI_LDK) | |
20112 | #else | |
20113 | # define machine_is_davinci_ldk() (0) | |
20114 | #endif | |
20115 | ||
20116 | #ifdef CONFIG_MACH_PHREEDOM | |
20117 | # ifdef machine_arch_type | |
20118 | # undef machine_arch_type | |
20119 | # define machine_arch_type __machine_arch_type | |
20120 | # else | |
20121 | # define machine_arch_type MACH_TYPE_PHREEDOM | |
20122 | # endif | |
20123 | # define machine_is_phreedom() (machine_arch_type == MACH_TYPE_PHREEDOM) | |
20124 | #else | |
20125 | # define machine_is_phreedom() (0) | |
20126 | #endif | |
20127 | ||
20128 | #ifdef CONFIG_MACH_SG310 | |
20129 | # ifdef machine_arch_type | |
20130 | # undef machine_arch_type | |
20131 | # define machine_arch_type __machine_arch_type | |
20132 | # else | |
20133 | # define machine_arch_type MACH_TYPE_SG310 | |
20134 | # endif | |
20135 | # define machine_is_sg310() (machine_arch_type == MACH_TYPE_SG310) | |
20136 | #else | |
20137 | # define machine_is_sg310() (0) | |
20138 | #endif | |
20139 | ||
20140 | #ifdef CONFIG_MACH_TS209 | |
20141 | # ifdef machine_arch_type | |
20142 | # undef machine_arch_type | |
20143 | # define machine_arch_type __machine_arch_type | |
20144 | # else | |
20145 | # define machine_arch_type MACH_TYPE_TS209 | |
20146 | # endif | |
20147 | # define machine_is_ts_x09() (machine_arch_type == MACH_TYPE_TS209) | |
20148 | #else | |
20149 | # define machine_is_ts_x09() (0) | |
20150 | #endif | |
20151 | ||
20152 | #ifdef CONFIG_MACH_AT91CAP9ADK | |
20153 | # ifdef machine_arch_type | |
20154 | # undef machine_arch_type | |
20155 | # define machine_arch_type __machine_arch_type | |
20156 | # else | |
20157 | # define machine_arch_type MACH_TYPE_AT91CAP9ADK | |
20158 | # endif | |
20159 | # define machine_is_at91cap9adk() (machine_arch_type == MACH_TYPE_AT91CAP9ADK) | |
20160 | #else | |
20161 | # define machine_is_at91cap9adk() (0) | |
20162 | #endif | |
20163 | ||
20164 | #ifdef CONFIG_MACH_TION9315 | |
20165 | # ifdef machine_arch_type | |
20166 | # undef machine_arch_type | |
20167 | # define machine_arch_type __machine_arch_type | |
20168 | # else | |
20169 | # define machine_arch_type MACH_TYPE_TION9315 | |
20170 | # endif | |
20171 | # define machine_is_tion9315() (machine_arch_type == MACH_TYPE_TION9315) | |
20172 | #else | |
20173 | # define machine_is_tion9315() (0) | |
20174 | #endif | |
20175 | ||
20176 | #ifdef CONFIG_MACH_MAST | |
20177 | # ifdef machine_arch_type | |
20178 | # undef machine_arch_type | |
20179 | # define machine_arch_type __machine_arch_type | |
20180 | # else | |
20181 | # define machine_arch_type MACH_TYPE_MAST | |
20182 | # endif | |
20183 | # define machine_is_mast() (machine_arch_type == MACH_TYPE_MAST) | |
20184 | #else | |
20185 | # define machine_is_mast() (0) | |
20186 | #endif | |
20187 | ||
20188 | #ifdef CONFIG_MACH_PFW | |
20189 | # ifdef machine_arch_type | |
20190 | # undef machine_arch_type | |
20191 | # define machine_arch_type __machine_arch_type | |
20192 | # else | |
20193 | # define machine_arch_type MACH_TYPE_PFW | |
20194 | # endif | |
20195 | # define machine_is_pfw() (machine_arch_type == MACH_TYPE_PFW) | |
20196 | #else | |
20197 | # define machine_is_pfw() (0) | |
20198 | #endif | |
20199 | ||
20200 | #ifdef CONFIG_MACH_YL_P2440 | |
20201 | # ifdef machine_arch_type | |
20202 | # undef machine_arch_type | |
20203 | # define machine_arch_type __machine_arch_type | |
20204 | # else | |
20205 | # define machine_arch_type MACH_TYPE_YL_P2440 | |
20206 | # endif | |
20207 | # define machine_is_yl_p2440() (machine_arch_type == MACH_TYPE_YL_P2440) | |
20208 | #else | |
20209 | # define machine_is_yl_p2440() (0) | |
20210 | #endif | |
20211 | ||
20212 | #ifdef CONFIG_MACH_ZSBC32 | |
20213 | # ifdef machine_arch_type | |
20214 | # undef machine_arch_type | |
20215 | # define machine_arch_type __machine_arch_type | |
20216 | # else | |
20217 | # define machine_arch_type MACH_TYPE_ZSBC32 | |
20218 | # endif | |
20219 | # define machine_is_zsbc32() (machine_arch_type == MACH_TYPE_ZSBC32) | |
20220 | #else | |
20221 | # define machine_is_zsbc32() (0) | |
20222 | #endif | |
20223 | ||
20224 | #ifdef CONFIG_MACH_OMAP_PACE2 | |
20225 | # ifdef machine_arch_type | |
20226 | # undef machine_arch_type | |
20227 | # define machine_arch_type __machine_arch_type | |
20228 | # else | |
20229 | # define machine_arch_type MACH_TYPE_OMAP_PACE2 | |
20230 | # endif | |
20231 | # define machine_is_omap_pace2() (machine_arch_type == MACH_TYPE_OMAP_PACE2) | |
20232 | #else | |
20233 | # define machine_is_omap_pace2() (0) | |
20234 | #endif | |
20235 | ||
20236 | #ifdef CONFIG_MACH_IMX_PACE2 | |
20237 | # ifdef machine_arch_type | |
20238 | # undef machine_arch_type | |
20239 | # define machine_arch_type __machine_arch_type | |
20240 | # else | |
20241 | # define machine_arch_type MACH_TYPE_IMX_PACE2 | |
20242 | # endif | |
20243 | # define machine_is_imx_pace2() (machine_arch_type == MACH_TYPE_IMX_PACE2) | |
20244 | #else | |
20245 | # define machine_is_imx_pace2() (0) | |
20246 | #endif | |
20247 | ||
20248 | #ifdef CONFIG_MACH_MX31MOBOARD | |
20249 | # ifdef machine_arch_type | |
20250 | # undef machine_arch_type | |
20251 | # define machine_arch_type __machine_arch_type | |
20252 | # else | |
20253 | # define machine_arch_type MACH_TYPE_MX31MOBOARD | |
20254 | # endif | |
20255 | # define machine_is_mx31moboard() (machine_arch_type == MACH_TYPE_MX31MOBOARD) | |
20256 | #else | |
20257 | # define machine_is_mx31moboard() (0) | |
20258 | #endif | |
20259 | ||
20260 | #ifdef CONFIG_MACH_MX37_3DS | |
20261 | # ifdef machine_arch_type | |
20262 | # undef machine_arch_type | |
20263 | # define machine_arch_type __machine_arch_type | |
20264 | # else | |
20265 | # define machine_arch_type MACH_TYPE_MX37_3DS | |
20266 | # endif | |
20267 | # define machine_is_mx37_3ds() (machine_arch_type == MACH_TYPE_MX37_3DS) | |
20268 | #else | |
20269 | # define machine_is_mx37_3ds() (0) | |
20270 | #endif | |
20271 | ||
20272 | #ifdef CONFIG_MACH_RCC | |
20273 | # ifdef machine_arch_type | |
20274 | # undef machine_arch_type | |
20275 | # define machine_arch_type __machine_arch_type | |
20276 | # else | |
20277 | # define machine_arch_type MACH_TYPE_RCC | |
20278 | # endif | |
20279 | # define machine_is_rcc() (machine_arch_type == MACH_TYPE_RCC) | |
20280 | #else | |
20281 | # define machine_is_rcc() (0) | |
20282 | #endif | |
20283 | ||
20284 | #ifdef CONFIG_MACH_ARM9 | |
20285 | # ifdef machine_arch_type | |
20286 | # undef machine_arch_type | |
20287 | # define machine_arch_type __machine_arch_type | |
20288 | # else | |
20289 | # define machine_arch_type MACH_TYPE_ARM9 | |
20290 | # endif | |
20291 | # define machine_is_dmp() (machine_arch_type == MACH_TYPE_ARM9) | |
20292 | #else | |
20293 | # define machine_is_dmp() (0) | |
20294 | #endif | |
20295 | ||
20296 | #ifdef CONFIG_MACH_VISION_EP9307 | |
20297 | # ifdef machine_arch_type | |
20298 | # undef machine_arch_type | |
20299 | # define machine_arch_type __machine_arch_type | |
20300 | # else | |
20301 | # define machine_arch_type MACH_TYPE_VISION_EP9307 | |
20302 | # endif | |
20303 | # define machine_is_vision_ep9307() (machine_arch_type == MACH_TYPE_VISION_EP9307) | |
20304 | #else | |
20305 | # define machine_is_vision_ep9307() (0) | |
20306 | #endif | |
20307 | ||
20308 | #ifdef CONFIG_MACH_SCLY1000 | |
20309 | # ifdef machine_arch_type | |
20310 | # undef machine_arch_type | |
20311 | # define machine_arch_type __machine_arch_type | |
20312 | # else | |
20313 | # define machine_arch_type MACH_TYPE_SCLY1000 | |
20314 | # endif | |
20315 | # define machine_is_scly1000() (machine_arch_type == MACH_TYPE_SCLY1000) | |
20316 | #else | |
20317 | # define machine_is_scly1000() (0) | |
20318 | #endif | |
20319 | ||
20320 | #ifdef CONFIG_MACH_FONTEL_EP | |
20321 | # ifdef machine_arch_type | |
20322 | # undef machine_arch_type | |
20323 | # define machine_arch_type __machine_arch_type | |
20324 | # else | |
20325 | # define machine_arch_type MACH_TYPE_FONTEL_EP | |
20326 | # endif | |
20327 | # define machine_is_fontel_ep() (machine_arch_type == MACH_TYPE_FONTEL_EP) | |
20328 | #else | |
20329 | # define machine_is_fontel_ep() (0) | |
20330 | #endif | |
20331 | ||
20332 | #ifdef CONFIG_MACH_VOICEBLUE3G | |
20333 | # ifdef machine_arch_type | |
20334 | # undef machine_arch_type | |
20335 | # define machine_arch_type __machine_arch_type | |
20336 | # else | |
20337 | # define machine_arch_type MACH_TYPE_VOICEBLUE3G | |
20338 | # endif | |
20339 | # define machine_is_voiceblue3g() (machine_arch_type == MACH_TYPE_VOICEBLUE3G) | |
20340 | #else | |
20341 | # define machine_is_voiceblue3g() (0) | |
20342 | #endif | |
20343 | ||
20344 | #ifdef CONFIG_MACH_TT9200 | |
20345 | # ifdef machine_arch_type | |
20346 | # undef machine_arch_type | |
20347 | # define machine_arch_type __machine_arch_type | |
20348 | # else | |
20349 | # define machine_arch_type MACH_TYPE_TT9200 | |
20350 | # endif | |
20351 | # define machine_is_tt9200() (machine_arch_type == MACH_TYPE_TT9200) | |
20352 | #else | |
20353 | # define machine_is_tt9200() (0) | |
20354 | #endif | |
20355 | ||
20356 | #ifdef CONFIG_MACH_DIGI2410 | |
20357 | # ifdef machine_arch_type | |
20358 | # undef machine_arch_type | |
20359 | # define machine_arch_type __machine_arch_type | |
20360 | # else | |
20361 | # define machine_arch_type MACH_TYPE_DIGI2410 | |
20362 | # endif | |
20363 | # define machine_is_digi2410() (machine_arch_type == MACH_TYPE_DIGI2410) | |
20364 | #else | |
20365 | # define machine_is_digi2410() (0) | |
20366 | #endif | |
20367 | ||
20368 | #ifdef CONFIG_MACH_TERASTATION_PRO2 | |
20369 | # ifdef machine_arch_type | |
20370 | # undef machine_arch_type | |
20371 | # define machine_arch_type __machine_arch_type | |
20372 | # else | |
20373 | # define machine_arch_type MACH_TYPE_TERASTATION_PRO2 | |
20374 | # endif | |
20375 | # define machine_is_terastation_pro2() (machine_arch_type == MACH_TYPE_TERASTATION_PRO2) | |
20376 | #else | |
20377 | # define machine_is_terastation_pro2() (0) | |
20378 | #endif | |
20379 | ||
20380 | #ifdef CONFIG_MACH_LINKSTATION_PRO | |
20381 | # ifdef machine_arch_type | |
20382 | # undef machine_arch_type | |
20383 | # define machine_arch_type __machine_arch_type | |
20384 | # else | |
20385 | # define machine_arch_type MACH_TYPE_LINKSTATION_PRO | |
20386 | # endif | |
20387 | # define machine_is_linkstation_pro() (machine_arch_type == MACH_TYPE_LINKSTATION_PRO) | |
20388 | #else | |
20389 | # define machine_is_linkstation_pro() (0) | |
20390 | #endif | |
20391 | ||
20392 | #ifdef CONFIG_MACH_MOTOROLA_A780 | |
20393 | # ifdef machine_arch_type | |
20394 | # undef machine_arch_type | |
20395 | # define machine_arch_type __machine_arch_type | |
20396 | # else | |
20397 | # define machine_arch_type MACH_TYPE_MOTOROLA_A780 | |
20398 | # endif | |
20399 | # define machine_is_motorola_a780() (machine_arch_type == MACH_TYPE_MOTOROLA_A780) | |
20400 | #else | |
20401 | # define machine_is_motorola_a780() (0) | |
20402 | #endif | |
20403 | ||
20404 | #ifdef CONFIG_MACH_MOTOROLA_E6 | |
20405 | # ifdef machine_arch_type | |
20406 | # undef machine_arch_type | |
20407 | # define machine_arch_type __machine_arch_type | |
20408 | # else | |
20409 | # define machine_arch_type MACH_TYPE_MOTOROLA_E6 | |
20410 | # endif | |
20411 | # define machine_is_motorola_e6() (machine_arch_type == MACH_TYPE_MOTOROLA_E6) | |
20412 | #else | |
20413 | # define machine_is_motorola_e6() (0) | |
20414 | #endif | |
20415 | ||
20416 | #ifdef CONFIG_MACH_MOTOROLA_E2 | |
20417 | # ifdef machine_arch_type | |
20418 | # undef machine_arch_type | |
20419 | # define machine_arch_type __machine_arch_type | |
20420 | # else | |
20421 | # define machine_arch_type MACH_TYPE_MOTOROLA_E2 | |
20422 | # endif | |
20423 | # define machine_is_motorola_e2() (machine_arch_type == MACH_TYPE_MOTOROLA_E2) | |
20424 | #else | |
20425 | # define machine_is_motorola_e2() (0) | |
20426 | #endif | |
20427 | ||
20428 | #ifdef CONFIG_MACH_MOTOROLA_E680 | |
20429 | # ifdef machine_arch_type | |
20430 | # undef machine_arch_type | |
20431 | # define machine_arch_type __machine_arch_type | |
20432 | # else | |
20433 | # define machine_arch_type MACH_TYPE_MOTOROLA_E680 | |
20434 | # endif | |
20435 | # define machine_is_motorola_e680() (machine_arch_type == MACH_TYPE_MOTOROLA_E680) | |
20436 | #else | |
20437 | # define machine_is_motorola_e680() (0) | |
20438 | #endif | |
20439 | ||
20440 | #ifdef CONFIG_MACH_UR2410 | |
20441 | # ifdef machine_arch_type | |
20442 | # undef machine_arch_type | |
20443 | # define machine_arch_type __machine_arch_type | |
20444 | # else | |
20445 | # define machine_arch_type MACH_TYPE_UR2410 | |
20446 | # endif | |
20447 | # define machine_is_ur2410() (machine_arch_type == MACH_TYPE_UR2410) | |
20448 | #else | |
20449 | # define machine_is_ur2410() (0) | |
20450 | #endif | |
20451 | ||
20452 | #ifdef CONFIG_MACH_TAS9261 | |
20453 | # ifdef machine_arch_type | |
20454 | # undef machine_arch_type | |
20455 | # define machine_arch_type __machine_arch_type | |
20456 | # else | |
20457 | # define machine_arch_type MACH_TYPE_TAS9261 | |
20458 | # endif | |
20459 | # define machine_is_tas9261() (machine_arch_type == MACH_TYPE_TAS9261) | |
20460 | #else | |
20461 | # define machine_is_tas9261() (0) | |
20462 | #endif | |
20463 | ||
20464 | #ifdef CONFIG_MACH_HERMES_HD | |
20465 | # ifdef machine_arch_type | |
20466 | # undef machine_arch_type | |
20467 | # define machine_arch_type __machine_arch_type | |
20468 | # else | |
20469 | # define machine_arch_type MACH_TYPE_HERMES_HD | |
20470 | # endif | |
20471 | # define machine_is_davinci_hermes_hd() (machine_arch_type == MACH_TYPE_HERMES_HD) | |
20472 | #else | |
20473 | # define machine_is_davinci_hermes_hd() (0) | |
20474 | #endif | |
20475 | ||
20476 | #ifdef CONFIG_MACH_PERSEO_HD | |
20477 | # ifdef machine_arch_type | |
20478 | # undef machine_arch_type | |
20479 | # define machine_arch_type __machine_arch_type | |
20480 | # else | |
20481 | # define machine_arch_type MACH_TYPE_PERSEO_HD | |
20482 | # endif | |
20483 | # define machine_is_davinci_perseo_hd() (machine_arch_type == MACH_TYPE_PERSEO_HD) | |
20484 | #else | |
20485 | # define machine_is_davinci_perseo_hd() (0) | |
20486 | #endif | |
20487 | ||
20488 | #ifdef CONFIG_MACH_STARGAZER2 | |
20489 | # ifdef machine_arch_type | |
20490 | # undef machine_arch_type | |
20491 | # define machine_arch_type __machine_arch_type | |
20492 | # else | |
20493 | # define machine_arch_type MACH_TYPE_STARGAZER2 | |
20494 | # endif | |
20495 | # define machine_is_stargazer2() (machine_arch_type == MACH_TYPE_STARGAZER2) | |
20496 | #else | |
20497 | # define machine_is_stargazer2() (0) | |
20498 | #endif | |
20499 | ||
20500 | #ifdef CONFIG_MACH_E350 | |
20501 | # ifdef machine_arch_type | |
20502 | # undef machine_arch_type | |
20503 | # define machine_arch_type __machine_arch_type | |
20504 | # else | |
20505 | # define machine_arch_type MACH_TYPE_E350 | |
20506 | # endif | |
20507 | # define machine_is_e350() (machine_arch_type == MACH_TYPE_E350) | |
20508 | #else | |
20509 | # define machine_is_e350() (0) | |
20510 | #endif | |
20511 | ||
20512 | #ifdef CONFIG_MACH_WPCM450 | |
20513 | # ifdef machine_arch_type | |
20514 | # undef machine_arch_type | |
20515 | # define machine_arch_type __machine_arch_type | |
20516 | # else | |
20517 | # define machine_arch_type MACH_TYPE_WPCM450 | |
20518 | # endif | |
20519 | # define machine_is_wpcm450() (machine_arch_type == MACH_TYPE_WPCM450) | |
20520 | #else | |
20521 | # define machine_is_wpcm450() (0) | |
20522 | #endif | |
20523 | ||
20524 | #ifdef CONFIG_MACH_CARTESIO | |
20525 | # ifdef machine_arch_type | |
20526 | # undef machine_arch_type | |
20527 | # define machine_arch_type __machine_arch_type | |
20528 | # else | |
20529 | # define machine_arch_type MACH_TYPE_CARTESIO | |
20530 | # endif | |
20531 | # define machine_is_cartesio() (machine_arch_type == MACH_TYPE_CARTESIO) | |
20532 | #else | |
20533 | # define machine_is_cartesio() (0) | |
20534 | #endif | |
20535 | ||
20536 | #ifdef CONFIG_MACH_TOYBOX | |
20537 | # ifdef machine_arch_type | |
20538 | # undef machine_arch_type | |
20539 | # define machine_arch_type __machine_arch_type | |
20540 | # else | |
20541 | # define machine_arch_type MACH_TYPE_TOYBOX | |
20542 | # endif | |
20543 | # define machine_is_toybox() (machine_arch_type == MACH_TYPE_TOYBOX) | |
20544 | #else | |
20545 | # define machine_is_toybox() (0) | |
20546 | #endif | |
20547 | ||
20548 | #ifdef CONFIG_MACH_TX27 | |
20549 | # ifdef machine_arch_type | |
20550 | # undef machine_arch_type | |
20551 | # define machine_arch_type __machine_arch_type | |
20552 | # else | |
20553 | # define machine_arch_type MACH_TYPE_TX27 | |
20554 | # endif | |
20555 | # define machine_is_tx27() (machine_arch_type == MACH_TYPE_TX27) | |
20556 | #else | |
20557 | # define machine_is_tx27() (0) | |
20558 | #endif | |
20559 | ||
20560 | #ifdef CONFIG_MACH_TS409 | |
20561 | # ifdef machine_arch_type | |
20562 | # undef machine_arch_type | |
20563 | # define machine_arch_type __machine_arch_type | |
20564 | # else | |
20565 | # define machine_arch_type MACH_TYPE_TS409 | |
20566 | # endif | |
20567 | # define machine_is_ts409() (machine_arch_type == MACH_TYPE_TS409) | |
20568 | #else | |
20569 | # define machine_is_ts409() (0) | |
20570 | #endif | |
20571 | ||
20572 | #ifdef CONFIG_MACH_P300 | |
20573 | # ifdef machine_arch_type | |
20574 | # undef machine_arch_type | |
20575 | # define machine_arch_type __machine_arch_type | |
20576 | # else | |
20577 | # define machine_arch_type MACH_TYPE_P300 | |
20578 | # endif | |
20579 | # define machine_is_p300() (machine_arch_type == MACH_TYPE_P300) | |
20580 | #else | |
20581 | # define machine_is_p300() (0) | |
20582 | #endif | |
20583 | ||
20584 | #ifdef CONFIG_MACH_XDACOMET | |
20585 | # ifdef machine_arch_type | |
20586 | # undef machine_arch_type | |
20587 | # define machine_arch_type __machine_arch_type | |
20588 | # else | |
20589 | # define machine_arch_type MACH_TYPE_XDACOMET | |
20590 | # endif | |
20591 | # define machine_is_xdacomet() (machine_arch_type == MACH_TYPE_XDACOMET) | |
20592 | #else | |
20593 | # define machine_is_xdacomet() (0) | |
20594 | #endif | |
20595 | ||
20596 | #ifdef CONFIG_MACH_DEXFLEX2 | |
20597 | # ifdef machine_arch_type | |
20598 | # undef machine_arch_type | |
20599 | # define machine_arch_type __machine_arch_type | |
20600 | # else | |
20601 | # define machine_arch_type MACH_TYPE_DEXFLEX2 | |
20602 | # endif | |
20603 | # define machine_is_dexflex2() (machine_arch_type == MACH_TYPE_DEXFLEX2) | |
20604 | #else | |
20605 | # define machine_is_dexflex2() (0) | |
20606 | #endif | |
20607 | ||
1cb8e980 WD |
20608 | /* |
20609 | * These have not yet been registered | |
20610 | */ | |
a1f4a3dd WD |
20611 | /* #define MACH_TYPE_367 <<not registered>> */ |
20612 | #define machine_is_esl_wireless_tab() (0) | |
1cb8e980 WD |
20613 | |
20614 | #ifndef machine_arch_type | |
20615 | #define machine_arch_type __machine_arch_type | |
20616 | #endif | |
20617 | ||
20618 | #endif |