diff options
Diffstat (limited to 'meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-machtypes.patch')
-rw-r--r-- | meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-machtypes.patch | 4121 |
1 files changed, 4121 insertions, 0 deletions
diff --git a/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-machtypes.patch b/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-machtypes.patch new file mode 100644 index 0000000000..db3cee6e99 --- /dev/null +++ b/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-machtypes.patch | |||
@@ -0,0 +1,4121 @@ | |||
1 | This adds a more recent version of mach-types.h to u-boot | ||
2 | |||
3 | Signed-off-by: Harald Welte <laforge@openmoko.org> | ||
4 | |||
5 | Index: u-boot/include/asm-arm/mach-types.h | ||
6 | =================================================================== | ||
7 | --- u-boot.orig/include/asm-arm/mach-types.h | ||
8 | +++ u-boot/include/asm-arm/mach-types.h | ||
9 | @@ -424,7 +424,7 @@ | ||
10 | #define MACH_TYPE_MPORT3S 411 | ||
11 | #define MACH_TYPE_RA_ALPHA 412 | ||
12 | #define MACH_TYPE_XCEP 413 | ||
13 | -#define MACH_TYPE_ARCOM_MERCURY 414 | ||
14 | +#define MACH_TYPE_ARCOM_VULCAN 414 | ||
15 | #define MACH_TYPE_STARGATE 415 | ||
16 | #define MACH_TYPE_ARMADILLOJ 416 | ||
17 | #define MACH_TYPE_ELROY_JACK 417 | ||
18 | @@ -457,7 +457,7 @@ | ||
19 | #define MACH_TYPE_XM250 444 | ||
20 | #define MACH_TYPE_T6TC1XB 445 | ||
21 | #define MACH_TYPE_ESS710 446 | ||
22 | -#define MACH_TYPE_MX3ADS 447 | ||
23 | +#define MACH_TYPE_MX31ADS 447 | ||
24 | #define MACH_TYPE_HIMALAYA 448 | ||
25 | #define MACH_TYPE_BOLFENK 449 | ||
26 | #define MACH_TYPE_AT91RM9200KR 450 | ||
27 | @@ -736,7 +736,311 @@ | ||
28 | #define MACH_TYPE_LN2410SBC 725 | ||
29 | #define MACH_TYPE_CB3RUFC 726 | ||
30 | #define MACH_TYPE_MP2USB 727 | ||
31 | -#define MACH_TYPE_PDNB3 1002 | ||
32 | +#define MACH_TYPE_NTNP425C 728 | ||
33 | +#define MACH_TYPE_COLIBRI 729 | ||
34 | +#define MACH_TYPE_PCM7220 730 | ||
35 | +#define MACH_TYPE_GATEWAY7001 731 | ||
36 | +#define MACH_TYPE_PCM027 732 | ||
37 | +#define MACH_TYPE_CMPXA 733 | ||
38 | +#define MACH_TYPE_ANUBIS 734 | ||
39 | +#define MACH_TYPE_ITE8152 735 | ||
40 | +#define MACH_TYPE_LPC3XXX 736 | ||
41 | +#define MACH_TYPE_PUPPETEER 737 | ||
42 | +#define MACH_TYPE_MACH_VADATECH 738 | ||
43 | +#define MACH_TYPE_E570 739 | ||
44 | +#define MACH_TYPE_X50 740 | ||
45 | +#define MACH_TYPE_RECON 741 | ||
46 | +#define MACH_TYPE_XBOARDGP8 742 | ||
47 | +#define MACH_TYPE_FPIC2 743 | ||
48 | +#define MACH_TYPE_AKITA 744 | ||
49 | +#define MACH_TYPE_A81 745 | ||
50 | +#define MACH_TYPE_SVM_SC25X 746 | ||
51 | +#define MACH_TYPE_VADATECH020 747 | ||
52 | +#define MACH_TYPE_TLI 748 | ||
53 | +#define MACH_TYPE_EDB9315LC 749 | ||
54 | +#define MACH_TYPE_PASSEC 750 | ||
55 | +#define MACH_TYPE_DS_TIGER 751 | ||
56 | +#define MACH_TYPE_E310 752 | ||
57 | +#define MACH_TYPE_E330 753 | ||
58 | +#define MACH_TYPE_RT3000 754 | ||
59 | +#define MACH_TYPE_NOKIA770 755 | ||
60 | +#define MACH_TYPE_PNX0106 756 | ||
61 | +#define MACH_TYPE_HX21XX 757 | ||
62 | +#define MACH_TYPE_FARADAY 758 | ||
63 | +#define MACH_TYPE_SBC9312 759 | ||
64 | +#define MACH_TYPE_BATMAN 760 | ||
65 | +#define MACH_TYPE_JPD201 761 | ||
66 | +#define MACH_TYPE_MIPSA 762 | ||
67 | +#define MACH_TYPE_KACOM 763 | ||
68 | +#define MACH_TYPE_SWARCOCPU 764 | ||
69 | +#define MACH_TYPE_SWARCODSL 765 | ||
70 | +#define MACH_TYPE_BLUEANGEL 766 | ||
71 | +#define MACH_TYPE_HAIRYGRAMA 767 | ||
72 | +#define MACH_TYPE_BANFF 768 | ||
73 | +#define MACH_TYPE_CARMEVA 769 | ||
74 | +#define MACH_TYPE_SAM255 770 | ||
75 | +#define MACH_TYPE_PPM10 771 | ||
76 | +#define MACH_TYPE_EDB9315A 772 | ||
77 | +#define MACH_TYPE_SUNSET 773 | ||
78 | +#define MACH_TYPE_STARGATE2 774 | ||
79 | +#define MACH_TYPE_INTELMOTE2 775 | ||
80 | +#define MACH_TYPE_TRIZEPS4 776 | ||
81 | +#define MACH_TYPE_MAINSTONE2 777 | ||
82 | +#define MACH_TYPE_EZ_IXP42X 778 | ||
83 | +#define MACH_TYPE_TAPWAVE_ZODIAC 779 | ||
84 | +#define MACH_TYPE_UNIVERSALMETER 780 | ||
85 | +#define MACH_TYPE_HICOARM9 781 | ||
86 | +#define MACH_TYPE_PNX4008 782 | ||
87 | +#define MACH_TYPE_KWS6000 783 | ||
88 | +#define MACH_TYPE_PORTUX920T 784 | ||
89 | +#define MACH_TYPE_EZ_X5 785 | ||
90 | +#define MACH_TYPE_OMAP_RUDOLPH 786 | ||
91 | +#define MACH_TYPE_CPUAT91 787 | ||
92 | +#define MACH_TYPE_REA9200 788 | ||
93 | +#define MACH_TYPE_ACTS_PUNE_SA1110 789 | ||
94 | +#define MACH_TYPE_IXP425 790 | ||
95 | +#define MACH_TYPE_ARGONPLUSODYSSEY 791 | ||
96 | +#define MACH_TYPE_PERCH 792 | ||
97 | +#define MACH_TYPE_EIS05R1 793 | ||
98 | +#define MACH_TYPE_PEPPERPAD 794 | ||
99 | +#define MACH_TYPE_SB3010 795 | ||
100 | +#define MACH_TYPE_RM9200 796 | ||
101 | +#define MACH_TYPE_DMA03 797 | ||
102 | +#define MACH_TYPE_ROAD_S101 798 | ||
103 | +#define MACH_TYPE_IQ_NEXTGEN_A 799 | ||
104 | +#define MACH_TYPE_IQ_NEXTGEN_B 800 | ||
105 | +#define MACH_TYPE_IQ_NEXTGEN_C 801 | ||
106 | +#define MACH_TYPE_IQ_NEXTGEN_D 802 | ||
107 | +#define MACH_TYPE_IQ_NEXTGEN_E 803 | ||
108 | +#define MACH_TYPE_MALLOW_AT91 804 | ||
109 | +#define MACH_TYPE_CYBERTRACKER_I 805 | ||
110 | +#define MACH_TYPE_GESBC931X 806 | ||
111 | +#define MACH_TYPE_CENTIPAD 807 | ||
112 | +#define MACH_TYPE_ARMSOC 808 | ||
113 | +#define MACH_TYPE_SE4200 809 | ||
114 | +#define MACH_TYPE_EMS197A 810 | ||
115 | +#define MACH_TYPE_MICRO9 811 | ||
116 | +#define MACH_TYPE_MICRO9L 812 | ||
117 | +#define MACH_TYPE_UC5471DSP 813 | ||
118 | +#define MACH_TYPE_SJ5471ENG 814 | ||
119 | +#define MACH_TYPE_CMPXA26X 815 | ||
120 | +#define MACH_TYPE_NC 816 | ||
121 | +#define MACH_TYPE_OMAP_PALMTE 817 | ||
122 | +#define MACH_TYPE_AJAX52X 818 | ||
123 | +#define MACH_TYPE_SIRIUSTAR 819 | ||
124 | +#define MACH_TYPE_IODATA_HDLG 820 | ||
125 | +#define MACH_TYPE_AT91RM9200UTL 821 | ||
126 | +#define MACH_TYPE_BIOSAFE 822 | ||
127 | +#define MACH_TYPE_MP1000 823 | ||
128 | +#define MACH_TYPE_PARSY 824 | ||
129 | +#define MACH_TYPE_CCXP 825 | ||
130 | +#define MACH_TYPE_OMAP_GSAMPLE 826 | ||
131 | +#define MACH_TYPE_REALVIEW_EB 827 | ||
132 | +#define MACH_TYPE_SAMOA 828 | ||
133 | +#define MACH_TYPE_T3XSCALE 829 | ||
134 | +#define MACH_TYPE_I878 830 | ||
135 | +#define MACH_TYPE_BORZOI 831 | ||
136 | +#define MACH_TYPE_GECKO 832 | ||
137 | +#define MACH_TYPE_DS101 833 | ||
138 | +#define MACH_TYPE_OMAP_PALMTT2 834 | ||
139 | +#define MACH_TYPE_XSCALE_PALMLD 835 | ||
140 | +#define MACH_TYPE_CC9C 836 | ||
141 | +#define MACH_TYPE_SBC1670 837 | ||
142 | +#define MACH_TYPE_IXDP28X5 838 | ||
143 | +#define MACH_TYPE_OMAP_PALMTT 839 | ||
144 | +#define MACH_TYPE_ML696K 840 | ||
145 | +#define MACH_TYPE_ARCOM_ZEUS 841 | ||
146 | +#define MACH_TYPE_OSIRIS 842 | ||
147 | +#define MACH_TYPE_MAESTRO 843 | ||
148 | +#define MACH_TYPE_TUNGE2 844 | ||
149 | +#define MACH_TYPE_IXBBM 845 | ||
150 | +#define MACH_TYPE_MX27 846 | ||
151 | +#define MACH_TYPE_AX8004 847 | ||
152 | +#define MACH_TYPE_AT91SAM9261EK 848 | ||
153 | +#define MACH_TYPE_LOFT 849 | ||
154 | +#define MACH_TYPE_MAGPIE 850 | ||
155 | +#define MACH_TYPE_MX21 851 | ||
156 | +#define MACH_TYPE_MB87M3400 852 | ||
157 | +#define MACH_TYPE_MGUARD_DELTA 853 | ||
158 | +#define MACH_TYPE_DAVINCI_DVDP 854 | ||
159 | +#define MACH_TYPE_HTCUNIVERSAL 855 | ||
160 | +#define MACH_TYPE_TPAD 856 | ||
161 | +#define MACH_TYPE_ROVERP3 857 | ||
162 | +#define MACH_TYPE_JORNADA928 858 | ||
163 | +#define MACH_TYPE_MV88FXX81 859 | ||
164 | +#define MACH_TYPE_STMP36XX 860 | ||
165 | +#define MACH_TYPE_SXNI79524 861 | ||
166 | +#define MACH_TYPE_AMS_DELTA 862 | ||
167 | +#define MACH_TYPE_URANIUM 863 | ||
168 | +#define MACH_TYPE_UCON 864 | ||
169 | +#define MACH_TYPE_NAS100D 865 | ||
170 | +#define MACH_TYPE_L083_1000 866 | ||
171 | +#define MACH_TYPE_EZX 867 | ||
172 | +#define MACH_TYPE_PNX5220 868 | ||
173 | +#define MACH_TYPE_BUTTE 869 | ||
174 | +#define MACH_TYPE_SRM2 870 | ||
175 | +#define MACH_TYPE_DSBR 871 | ||
176 | +#define MACH_TYPE_CRYSTALBALL 872 | ||
177 | +#define MACH_TYPE_TINYPXA27X 873 | ||
178 | +#define MACH_TYPE_HERBIE 874 | ||
179 | +#define MACH_TYPE_MAGICIAN 875 | ||
180 | +#define MACH_TYPE_CM4002 876 | ||
181 | +#define MACH_TYPE_B4 877 | ||
182 | +#define MACH_TYPE_MAUI 878 | ||
183 | +#define MACH_TYPE_CYBERTRACKER_G 879 | ||
184 | +#define MACH_TYPE_NXDKN 880 | ||
185 | +#define MACH_TYPE_MIO8390 881 | ||
186 | +#define MACH_TYPE_OMI_BOARD 882 | ||
187 | +#define MACH_TYPE_MX21CIV 883 | ||
188 | +#define MACH_TYPE_MAHI_CDAC 884 | ||
189 | +#define MACH_TYPE_XSCALE_PALMTX 885 | ||
190 | +#define MACH_TYPE_S3C2413 887 | ||
191 | +#define MACH_TYPE_SAMSYS_EP0 888 | ||
192 | +#define MACH_TYPE_WG302V1 889 | ||
193 | +#define MACH_TYPE_WG302V2 890 | ||
194 | +#define MACH_TYPE_EB42X 891 | ||
195 | +#define MACH_TYPE_IQ331ES 892 | ||
196 | +#define MACH_TYPE_COSYDSP 893 | ||
197 | +#define MACH_TYPE_UPLAT7D 894 | ||
198 | +#define MACH_TYPE_PTDAVINCI 895 | ||
199 | +#define MACH_TYPE_MBUS 896 | ||
200 | +#define MACH_TYPE_NADIA2VB 897 | ||
201 | +#define MACH_TYPE_R1000 898 | ||
202 | +#define MACH_TYPE_HW90250 899 | ||
203 | +#define MACH_TYPE_OMAP_2430SDP 900 | ||
204 | +#define MACH_TYPE_DAVINCI_EVM 901 | ||
205 | +#define MACH_TYPE_OMAP_TORNADO 902 | ||
206 | +#define MACH_TYPE_OLOCREEK 903 | ||
207 | +#define MACH_TYPE_PALMZ72 904 | ||
208 | +#define MACH_TYPE_NXDB500 905 | ||
209 | +#define MACH_TYPE_APF9328 906 | ||
210 | +#define MACH_TYPE_OMAP_WIPOQ 907 | ||
211 | +#define MACH_TYPE_OMAP_TWIP 908 | ||
212 | +#define MACH_TYPE_XSCALE_PALMTREO650 909 | ||
213 | +#define MACH_TYPE_ACUMEN 910 | ||
214 | +#define MACH_TYPE_XP100 911 | ||
215 | +#define MACH_TYPE_FS2410 912 | ||
216 | +#define MACH_TYPE_PXA270_CERF 913 | ||
217 | +#define MACH_TYPE_SQ2FTLPALM 914 | ||
218 | +#define MACH_TYPE_BSEMSERVER 915 | ||
219 | +#define MACH_TYPE_NETCLIENT 916 | ||
220 | +#define MACH_TYPE_XSCALE_PALMTT5 917 | ||
221 | +#define MACH_TYPE_OMAP_PALMTC 918 | ||
222 | +#define MACH_TYPE_OMAP_APOLLON 919 | ||
223 | +#define MACH_TYPE_ARGONLVEVB 920 | ||
224 | +#define MACH_TYPE_REA_2D 921 | ||
225 | +#define MACH_TYPE_TI3E524 922 | ||
226 | +#define MACH_TYPE_ATEB9200 923 | ||
227 | +#define MACH_TYPE_AUCKLAND 924 | ||
228 | +#define MACH_TYPE_AK3320M 925 | ||
229 | +#define MACH_TYPE_DURAMAX 926 | ||
230 | +#define MACH_TYPE_N35 927 | ||
231 | +#define MACH_TYPE_PRONGHORN 928 | ||
232 | +#define MACH_TYPE_FUNDY 929 | ||
233 | +#define MACH_TYPE_LOGICPD_PXA270 930 | ||
234 | +#define MACH_TYPE_CPU777 931 | ||
235 | +#define MACH_TYPE_SIMICON9201 932 | ||
236 | +#define MACH_TYPE_LEAP2_HPM 933 | ||
237 | +#define MACH_TYPE_CM922TXA10 934 | ||
238 | +#define MACH_TYPE_PXA 935 | ||
239 | +#define MACH_TYPE_SANDGATE2 936 | ||
240 | +#define MACH_TYPE_SANDGATE2G 937 | ||
241 | +#define MACH_TYPE_SANDGATE2P 938 | ||
242 | +#define MACH_TYPE_FRED_JACK 939 | ||
243 | +#define MACH_TYPE_TTG_COLOR1 940 | ||
244 | +#define MACH_TYPE_NXEB500HMI 941 | ||
245 | +#define MACH_TYPE_NETDCU8 942 | ||
246 | +#define MACH_TYPE_ML675050_CPU_BOA 943 | ||
247 | +#define MACH_TYPE_NG_FVX538 944 | ||
248 | +#define MACH_TYPE_NG_FVS338 945 | ||
249 | +#define MACH_TYPE_PNX4103 946 | ||
250 | +#define MACH_TYPE_HESDB 947 | ||
251 | +#define MACH_TYPE_XSILO 948 | ||
252 | +#define MACH_TYPE_ESPRESSO 949 | ||
253 | +#define MACH_TYPE_EMLC 950 | ||
254 | +#define MACH_TYPE_SISTERON 951 | ||
255 | +#define MACH_TYPE_RX1950 952 | ||
256 | +#define MACH_TYPE_TSC_VENUS 953 | ||
257 | +#define MACH_TYPE_DS101J 954 | ||
258 | +#define MACH_TYPE_MXC30030ADS 955 | ||
259 | +#define MACH_TYPE_FUJITSU_WIMAXSOC 956 | ||
260 | +#define MACH_TYPE_DUALPCMODEM 957 | ||
261 | +#define MACH_TYPE_GESBC9312 958 | ||
262 | +#define MACH_TYPE_HTCAPACHE 959 | ||
263 | +#define MACH_TYPE_IXDP435 960 | ||
264 | +#define MACH_TYPE_CATPROVT100 961 | ||
265 | +#define MACH_TYPE_PICOTUX1XX 962 | ||
266 | +#define MACH_TYPE_PICOTUX2XX 963 | ||
267 | +#define MACH_TYPE_DSMG600 964 | ||
268 | +#define MACH_TYPE_EMPC2 965 | ||
269 | +#define MACH_TYPE_VENTURA 966 | ||
270 | +#define MACH_TYPE_PHIDGET_SBC 967 | ||
271 | +#define MACH_TYPE_IJ3K 968 | ||
272 | +#define MACH_TYPE_PISGAH 969 | ||
273 | +#define MACH_TYPE_OMAP_FSAMPLE 970 | ||
274 | +#define MACH_TYPE_SG720 971 | ||
275 | +#define MACH_TYPE_REDFOX 972 | ||
276 | +#define MACH_TYPE_MYSH_EP9315_1 973 | ||
277 | +#define MACH_TYPE_TPF106 974 | ||
278 | +#define MACH_TYPE_AT91RM9200KG 975 | ||
279 | +#define MACH_TYPE_SLEDB 976 | ||
280 | +#define MACH_TYPE_ONTRACK 977 | ||
281 | +#define MACH_TYPE_PM1200 978 | ||
282 | +#define MACH_TYPE_ESS24XXX 979 | ||
283 | +#define MACH_TYPE_COREMP7 980 | ||
284 | +#define MACH_TYPE_NEXCODER_6446 981 | ||
285 | +#define MACH_TYPE_STVC8380 982 | ||
286 | +#define MACH_TYPE_TEKLYNX 983 | ||
287 | +#define MACH_TYPE_CARBONADO 984 | ||
288 | +#define MACH_TYPE_SYSMOS_MP730 985 | ||
289 | +#define MACH_TYPE_SNAPPER_CL15 986 | ||
290 | +#define MACH_TYPE_PGIGIM 987 | ||
291 | +#define MACH_TYPE_PTX9160P2 988 | ||
292 | +#define MACH_TYPE_DCORE1 989 | ||
293 | +#define MACH_TYPE_VICTORPXA 990 | ||
294 | +#define MACH_TYPE_MX2DTB 991 | ||
295 | +#define MACH_TYPE_PXA_IREX_ER0100 992 | ||
296 | +#define MACH_TYPE_OMAP_PALMZ71 993 | ||
297 | +#define MACH_TYPE_BARTEC_DEG 994 | ||
298 | +#define MACH_TYPE_HW50251 995 | ||
299 | +#define MACH_TYPE_IBOX 996 | ||
300 | +#define MACH_TYPE_ATLASLH7A404 997 | ||
301 | +#define MACH_TYPE_PT2026 998 | ||
302 | +#define MACH_TYPE_HTCALPINE 999 | ||
303 | +#define MACH_TYPE_BARTEC_VTU 1000 | ||
304 | +#define MACH_TYPE_VCOREII 1001 | ||
305 | +#define MACH_TYPE_PDNB3 1002 | ||
306 | +#define MACH_TYPE_HTCBEETLES 1003 | ||
307 | +#define MACH_TYPE_S3C6400 1004 | ||
308 | +#define MACH_TYPE_S3C2443 1005 | ||
309 | +#define MACH_TYPE_OMAP_LDK 1006 | ||
310 | +#define MACH_TYPE_SMDK2460 1007 | ||
311 | +#define MACH_TYPE_SMDK2440 1008 | ||
312 | +#define MACH_TYPE_SMDK2412 1009 | ||
313 | +#define MACH_TYPE_WEBBOX 1010 | ||
314 | +#define MACH_TYPE_CWWNDP 1011 | ||
315 | +#define MACH_TYPE_DRAGON 1012 | ||
316 | +#define MACH_TYPE_OPENDO_CPU_BOARD 1013 | ||
317 | +#define MACH_TYPE_CCM2200 1014 | ||
318 | +#define MACH_TYPE_ETWARM 1015 | ||
319 | +#define MACH_TYPE_M93030 1016 | ||
320 | +#define MACH_TYPE_CC7U 1017 | ||
321 | +#define MACH_TYPE_MTT_RANGER 1018 | ||
322 | +#define MACH_TYPE_NEXUS 1019 | ||
323 | +#define MACH_TYPE_DESMAN 1020 | ||
324 | +#define MACH_TYPE_BKDE303 1021 | ||
325 | +#define MACH_TYPE_SMDK2413 1022 | ||
326 | +#define MACH_TYPE_AML_M7200 1023 | ||
327 | +#define MACH_TYPE_AML_M5900 1024 | ||
328 | +#define MACH_TYPE_SG640 1025 | ||
329 | +#define MACH_TYPE_EDG79524 1026 | ||
330 | +#define MACH_TYPE_AI2410 1027 | ||
331 | +#define MACH_TYPE_IXP465 1028 | ||
332 | +#define MACH_TYPE_BALLOON3 1029 | ||
333 | +#define MACH_TYPE_QT2410 1108 | ||
334 | +#define MACH_TYPE_NEO1973_GTA01 1182 | ||
335 | +#define MACH_TYPE_HXD8 1303 | ||
336 | +#define MACH_TYPE_NEO1973_GTA02 1304 | ||
337 | |||
338 | #ifdef CONFIG_ARCH_EBSA110 | ||
339 | # ifdef machine_arch_type | ||
340 | @@ -3541,9 +3845,9 @@ | ||
341 | # else | ||
342 | # define machine_arch_type MACH_TYPE_RAMSES | ||
343 | # endif | ||
344 | -# define machine_is_ramses() (machine_arch_type == MACH_TYPE_RAMSES) | ||
345 | +# define machine_is_mnci() (machine_arch_type == MACH_TYPE_RAMSES) | ||
346 | #else | ||
347 | -# define machine_is_ramses() (0) | ||
348 | +# define machine_is_mnci() (0) | ||
349 | #endif | ||
350 | |||
351 | #ifdef CONFIG_ARCH_S28X | ||
352 | @@ -4501,9 +4805,9 @@ | ||
353 | # else | ||
354 | # define machine_arch_type MACH_TYPE_M825XX | ||
355 | # endif | ||
356 | -# define machine_is_m825xx() (machine_arch_type == MACH_TYPE_M825XX) | ||
357 | +# define machine_is_comcerto() (machine_arch_type == MACH_TYPE_M825XX) | ||
358 | #else | ||
359 | -# define machine_is_m825xx() (0) | ||
360 | +# define machine_is_comcerto() (0) | ||
361 | #endif | ||
362 | |||
363 | #ifdef CONFIG_SA1100_M7100 | ||
364 | @@ -5658,16 +5962,16 @@ | ||
365 | # define machine_is_xcep() (0) | ||
366 | #endif | ||
367 | |||
368 | -#ifdef CONFIG_MACH_ARCOM_MERCURY | ||
369 | +#ifdef CONFIG_MACH_ARCOM_VULCAN | ||
370 | # ifdef machine_arch_type | ||
371 | # undef machine_arch_type | ||
372 | # define machine_arch_type __machine_arch_type | ||
373 | # else | ||
374 | -# define machine_arch_type MACH_TYPE_ARCOM_MERCURY | ||
375 | +# define machine_arch_type MACH_TYPE_ARCOM_VULCAN | ||
376 | # endif | ||
377 | -# define machine_is_arcom_mercury() (machine_arch_type == MACH_TYPE_ARCOM_MERCURY) | ||
378 | +# define machine_is_arcom_vulcan() (machine_arch_type == MACH_TYPE_ARCOM_VULCAN) | ||
379 | #else | ||
380 | -# define machine_is_arcom_mercury() (0) | ||
381 | +# define machine_is_arcom_vulcan() (0) | ||
382 | #endif | ||
383 | |||
384 | #ifdef CONFIG_MACH_STARGATE | ||
385 | @@ -6054,16 +6358,16 @@ | ||
386 | # define machine_is_ess710() (0) | ||
387 | #endif | ||
388 | |||
389 | -#ifdef CONFIG_MACH_MX3ADS | ||
390 | +#ifdef CONFIG_MACH_MX31ADS | ||
391 | # ifdef machine_arch_type | ||
392 | # undef machine_arch_type | ||
393 | # define machine_arch_type __machine_arch_type | ||
394 | # else | ||
395 | -# define machine_arch_type MACH_TYPE_MX3ADS | ||
396 | +# define machine_arch_type MACH_TYPE_MX31ADS | ||
397 | # endif | ||
398 | -# define machine_is_mx3ads() (machine_arch_type == MACH_TYPE_MX3ADS) | ||
399 | +# define machine_is_mx31ads() (machine_arch_type == MACH_TYPE_MX31ADS) | ||
400 | #else | ||
401 | -# define machine_is_mx3ads() (0) | ||
402 | +# define machine_is_mx31ads() (0) | ||
403 | #endif | ||
404 | |||
405 | #ifdef CONFIG_MACH_HIMALAYA | ||
406 | @@ -7333,9 +7637,9 @@ | ||
407 | # else | ||
408 | # define machine_arch_type MACH_TYPE_ARGONPLUSEVB | ||
409 | # endif | ||
410 | -# define machine_is_argonplusevb() (machine_arch_type == MACH_TYPE_ARGONPLUSEVB) | ||
411 | +# define machine_is_i30030evb() (machine_arch_type == MACH_TYPE_ARGONPLUSEVB) | ||
412 | #else | ||
413 | -# define machine_is_argonplusevb() (0) | ||
414 | +# define machine_is_i30030evb() (0) | ||
415 | #endif | ||
416 | |||
417 | #ifdef CONFIG_MACH_SCMA11EVB | ||
418 | @@ -7345,9 +7649,9 @@ | ||
419 | # else | ||
420 | # define machine_arch_type MACH_TYPE_SCMA11EVB | ||
421 | # endif | ||
422 | -# define machine_is_scma11evb() (machine_arch_type == MACH_TYPE_SCMA11EVB) | ||
423 | +# define machine_is_mxc27530evb() (machine_arch_type == MACH_TYPE_SCMA11EVB) | ||
424 | #else | ||
425 | -# define machine_is_scma11evb() (0) | ||
426 | +# define machine_is_mxc27530evb() (0) | ||
427 | #endif | ||
428 | |||
429 | #ifdef CONFIG_MACH_SMDK2800 | ||
430 | @@ -8305,9 +8609,9 @@ | ||
431 | # else | ||
432 | # define machine_arch_type MACH_TYPE_SCMA11BB | ||
433 | # endif | ||
434 | -# define machine_is_scma11bb() (machine_arch_type == MACH_TYPE_SCMA11BB) | ||
435 | +# define machine_is_mxc27530ads() (machine_arch_type == MACH_TYPE_SCMA11BB) | ||
436 | #else | ||
437 | -# define machine_is_scma11bb() (0) | ||
438 | +# define machine_is_mxc27530ads() (0) | ||
439 | #endif | ||
440 | |||
441 | #ifdef CONFIG_MACH_TRIZEPS3 | ||
442 | @@ -9193,9 +9497,9 @@ | ||
443 | # else | ||
444 | # define machine_arch_type MACH_TYPE_ZEUSEVB | ||
445 | # endif | ||
446 | -# define machine_is_zeusevb() (machine_arch_type == MACH_TYPE_ZEUSEVB) | ||
447 | +# define machine_is_mxc91131evb() (machine_arch_type == MACH_TYPE_ZEUSEVB) | ||
448 | #else | ||
449 | -# define machine_is_zeusevb() (0) | ||
450 | +# define machine_is_mxc91131evb() (0) | ||
451 | #endif | ||
452 | |||
453 | #ifdef CONFIG_MACH_P700 | ||
454 | @@ -9402,6 +9706,3667 @@ | ||
455 | # define machine_is_mp2usb() (0) | ||
456 | #endif | ||
457 | |||
458 | +#ifdef CONFIG_MACH_NTNP425C | ||
459 | +# ifdef machine_arch_type | ||
460 | +# undef machine_arch_type | ||
461 | +# define machine_arch_type __machine_arch_type | ||
462 | +# else | ||
463 | +# define machine_arch_type MACH_TYPE_NTNP425C | ||
464 | +# endif | ||
465 | +# define machine_is_ntnp425c() (machine_arch_type == MACH_TYPE_NTNP425C) | ||
466 | +#else | ||
467 | +# define machine_is_ntnp425c() (0) | ||
468 | +#endif | ||
469 | + | ||
470 | +#ifdef CONFIG_MACH_COLIBRI | ||
471 | +# ifdef machine_arch_type | ||
472 | +# undef machine_arch_type | ||
473 | +# define machine_arch_type __machine_arch_type | ||
474 | +# else | ||
475 | +# define machine_arch_type MACH_TYPE_COLIBRI | ||
476 | +# endif | ||
477 | +# define machine_is_colibri() (machine_arch_type == MACH_TYPE_COLIBRI) | ||
478 | +#else | ||
479 | +# define machine_is_colibri() (0) | ||
480 | +#endif | ||
481 | + | ||
482 | +#ifdef CONFIG_MACH_PCM7220 | ||
483 | +# ifdef machine_arch_type | ||
484 | +# undef machine_arch_type | ||
485 | +# define machine_arch_type __machine_arch_type | ||
486 | +# else | ||
487 | +# define machine_arch_type MACH_TYPE_PCM7220 | ||
488 | +# endif | ||
489 | +# define machine_is_pcm7220() (machine_arch_type == MACH_TYPE_PCM7220) | ||
490 | +#else | ||
491 | +# define machine_is_pcm7220() (0) | ||
492 | +#endif | ||
493 | + | ||
494 | +#ifdef CONFIG_MACH_GATEWAY7001 | ||
495 | +# ifdef machine_arch_type | ||
496 | +# undef machine_arch_type | ||
497 | +# define machine_arch_type __machine_arch_type | ||
498 | +# else | ||
499 | +# define machine_arch_type MACH_TYPE_GATEWAY7001 | ||
500 | +# endif | ||
501 | +# define machine_is_gateway7001() (machine_arch_type == MACH_TYPE_GATEWAY7001) | ||
502 | +#else | ||
503 | +# define machine_is_gateway7001() (0) | ||
504 | +#endif | ||
505 | + | ||
506 | +#ifdef CONFIG_MACH_PCM027 | ||
507 | +# ifdef machine_arch_type | ||
508 | +# undef machine_arch_type | ||
509 | +# define machine_arch_type __machine_arch_type | ||
510 | +# else | ||
511 | +# define machine_arch_type MACH_TYPE_PCM027 | ||
512 | +# endif | ||
513 | +# define machine_is_pcm027() (machine_arch_type == MACH_TYPE_PCM027) | ||
514 | +#else | ||
515 | +# define machine_is_pcm027() (0) | ||
516 | +#endif | ||
517 | + | ||
518 | +#ifdef CONFIG_MACH_CMPXA | ||
519 | +# ifdef machine_arch_type | ||
520 | +# undef machine_arch_type | ||
521 | +# define machine_arch_type __machine_arch_type | ||
522 | +# else | ||
523 | +# define machine_arch_type MACH_TYPE_CMPXA | ||
524 | +# endif | ||
525 | +# define machine_is_cmpxa() (machine_arch_type == MACH_TYPE_CMPXA) | ||
526 | +#else | ||
527 | +# define machine_is_cmpxa() (0) | ||
528 | +#endif | ||
529 | + | ||
530 | +#ifdef CONFIG_MACH_ANUBIS | ||
531 | +# ifdef machine_arch_type | ||
532 | +# undef machine_arch_type | ||
533 | +# define machine_arch_type __machine_arch_type | ||
534 | +# else | ||
535 | +# define machine_arch_type MACH_TYPE_ANUBIS | ||
536 | +# endif | ||
537 | +# define machine_is_anubis() (machine_arch_type == MACH_TYPE_ANUBIS) | ||
538 | +#else | ||
539 | +# define machine_is_anubis() (0) | ||
540 | +#endif | ||
541 | + | ||
542 | +#ifdef CONFIG_MACH_ITE8152 | ||
543 | +# ifdef machine_arch_type | ||
544 | +# undef machine_arch_type | ||
545 | +# define machine_arch_type __machine_arch_type | ||
546 | +# else | ||
547 | +# define machine_arch_type MACH_TYPE_ITE8152 | ||
548 | +# endif | ||
549 | +# define machine_is_ite8152() (machine_arch_type == MACH_TYPE_ITE8152) | ||
550 | +#else | ||
551 | +# define machine_is_ite8152() (0) | ||
552 | +#endif | ||
553 | + | ||
554 | +#ifdef CONFIG_MACH_LPC3XXX | ||
555 | +# ifdef machine_arch_type | ||
556 | +# undef machine_arch_type | ||
557 | +# define machine_arch_type __machine_arch_type | ||
558 | +# else | ||
559 | +# define machine_arch_type MACH_TYPE_LPC3XXX | ||
560 | +# endif | ||
561 | +# define machine_is_lpc3xxx() (machine_arch_type == MACH_TYPE_LPC3XXX) | ||
562 | +#else | ||
563 | +# define machine_is_lpc3xxx() (0) | ||
564 | +#endif | ||
565 | + | ||
566 | +#ifdef CONFIG_MACH_PUPPETEER | ||
567 | +# ifdef machine_arch_type | ||
568 | +# undef machine_arch_type | ||
569 | +# define machine_arch_type __machine_arch_type | ||
570 | +# else | ||
571 | +# define machine_arch_type MACH_TYPE_PUPPETEER | ||
572 | +# endif | ||
573 | +# define machine_is_puppeteer() (machine_arch_type == MACH_TYPE_PUPPETEER) | ||
574 | +#else | ||
575 | +# define machine_is_puppeteer() (0) | ||
576 | +#endif | ||
577 | + | ||
578 | +#ifdef CONFIG_MACH_MACH_VADATECH | ||
579 | +# ifdef machine_arch_type | ||
580 | +# undef machine_arch_type | ||
581 | +# define machine_arch_type __machine_arch_type | ||
582 | +# else | ||
583 | +# define machine_arch_type MACH_TYPE_MACH_VADATECH | ||
584 | +# endif | ||
585 | +# define machine_is_vt001() (machine_arch_type == MACH_TYPE_MACH_VADATECH) | ||
586 | +#else | ||
587 | +# define machine_is_vt001() (0) | ||
588 | +#endif | ||
589 | + | ||
590 | +#ifdef CONFIG_MACH_E570 | ||
591 | +# ifdef machine_arch_type | ||
592 | +# undef machine_arch_type | ||
593 | +# define machine_arch_type __machine_arch_type | ||
594 | +# else | ||
595 | +# define machine_arch_type MACH_TYPE_E570 | ||
596 | +# endif | ||
597 | +# define machine_is_e570() (machine_arch_type == MACH_TYPE_E570) | ||
598 | +#else | ||
599 | +# define machine_is_e570() (0) | ||
600 | +#endif | ||
601 | + | ||
602 | +#ifdef CONFIG_MACH_X50 | ||
603 | +# ifdef machine_arch_type | ||
604 | +# undef machine_arch_type | ||
605 | +# define machine_arch_type __machine_arch_type | ||
606 | +# else | ||
607 | +# define machine_arch_type MACH_TYPE_X50 | ||
608 | +# endif | ||
609 | +# define machine_is_x50() (machine_arch_type == MACH_TYPE_X50) | ||
610 | +#else | ||
611 | +# define machine_is_x50() (0) | ||
612 | +#endif | ||
613 | + | ||
614 | +#ifdef CONFIG_MACH_RECON | ||
615 | +# ifdef machine_arch_type | ||
616 | +# undef machine_arch_type | ||
617 | +# define machine_arch_type __machine_arch_type | ||
618 | +# else | ||
619 | +# define machine_arch_type MACH_TYPE_RECON | ||
620 | +# endif | ||
621 | +# define machine_is_recon() (machine_arch_type == MACH_TYPE_RECON) | ||
622 | +#else | ||
623 | +# define machine_is_recon() (0) | ||
624 | +#endif | ||
625 | + | ||
626 | +#ifdef CONFIG_MACH_XBOARDGP8 | ||
627 | +# ifdef machine_arch_type | ||
628 | +# undef machine_arch_type | ||
629 | +# define machine_arch_type __machine_arch_type | ||
630 | +# else | ||
631 | +# define machine_arch_type MACH_TYPE_XBOARDGP8 | ||
632 | +# endif | ||
633 | +# define machine_is_xboardgp8() (machine_arch_type == MACH_TYPE_XBOARDGP8) | ||
634 | +#else | ||
635 | +# define machine_is_xboardgp8() (0) | ||
636 | +#endif | ||
637 | + | ||
638 | +#ifdef CONFIG_MACH_FPIC2 | ||
639 | +# ifdef machine_arch_type | ||
640 | +# undef machine_arch_type | ||
641 | +# define machine_arch_type __machine_arch_type | ||
642 | +# else | ||
643 | +# define machine_arch_type MACH_TYPE_FPIC2 | ||
644 | +# endif | ||
645 | +# define machine_is_fpic2() (machine_arch_type == MACH_TYPE_FPIC2) | ||
646 | +#else | ||
647 | +# define machine_is_fpic2() (0) | ||
648 | +#endif | ||
649 | + | ||
650 | +#ifdef CONFIG_MACH_AKITA | ||
651 | +# ifdef machine_arch_type | ||
652 | +# undef machine_arch_type | ||
653 | +# define machine_arch_type __machine_arch_type | ||
654 | +# else | ||
655 | +# define machine_arch_type MACH_TYPE_AKITA | ||
656 | +# endif | ||
657 | +# define machine_is_akita() (machine_arch_type == MACH_TYPE_AKITA) | ||
658 | +#else | ||
659 | +# define machine_is_akita() (0) | ||
660 | +#endif | ||
661 | + | ||
662 | +#ifdef CONFIG_MACH_A81 | ||
663 | +# ifdef machine_arch_type | ||
664 | +# undef machine_arch_type | ||
665 | +# define machine_arch_type __machine_arch_type | ||
666 | +# else | ||
667 | +# define machine_arch_type MACH_TYPE_A81 | ||
668 | +# endif | ||
669 | +# define machine_is_a81() (machine_arch_type == MACH_TYPE_A81) | ||
670 | +#else | ||
671 | +# define machine_is_a81() (0) | ||
672 | +#endif | ||
673 | + | ||
674 | +#ifdef CONFIG_MACH_SVM_SC25X | ||
675 | +# ifdef machine_arch_type | ||
676 | +# undef machine_arch_type | ||
677 | +# define machine_arch_type __machine_arch_type | ||
678 | +# else | ||
679 | +# define machine_arch_type MACH_TYPE_SVM_SC25X | ||
680 | +# endif | ||
681 | +# define machine_is_svm_sc25x() (machine_arch_type == MACH_TYPE_SVM_SC25X) | ||
682 | +#else | ||
683 | +# define machine_is_svm_sc25x() (0) | ||
684 | +#endif | ||
685 | + | ||
686 | +#ifdef CONFIG_MACH_VADATECH020 | ||
687 | +# ifdef machine_arch_type | ||
688 | +# undef machine_arch_type | ||
689 | +# define machine_arch_type __machine_arch_type | ||
690 | +# else | ||
691 | +# define machine_arch_type MACH_TYPE_VADATECH020 | ||
692 | +# endif | ||
693 | +# define machine_is_vt020() (machine_arch_type == MACH_TYPE_VADATECH020) | ||
694 | +#else | ||
695 | +# define machine_is_vt020() (0) | ||
696 | +#endif | ||
697 | + | ||
698 | +#ifdef CONFIG_MACH_TLI | ||
699 | +# ifdef machine_arch_type | ||
700 | +# undef machine_arch_type | ||
701 | +# define machine_arch_type __machine_arch_type | ||
702 | +# else | ||
703 | +# define machine_arch_type MACH_TYPE_TLI | ||
704 | +# endif | ||
705 | +# define machine_is_tli() (machine_arch_type == MACH_TYPE_TLI) | ||
706 | +#else | ||
707 | +# define machine_is_tli() (0) | ||
708 | +#endif | ||
709 | + | ||
710 | +#ifdef CONFIG_MACH_EDB9315LC | ||
711 | +# ifdef machine_arch_type | ||
712 | +# undef machine_arch_type | ||
713 | +# define machine_arch_type __machine_arch_type | ||
714 | +# else | ||
715 | +# define machine_arch_type MACH_TYPE_EDB9315LC | ||
716 | +# endif | ||
717 | +# define machine_is_edb9315lc() (machine_arch_type == MACH_TYPE_EDB9315LC) | ||
718 | +#else | ||
719 | +# define machine_is_edb9315lc() (0) | ||
720 | +#endif | ||
721 | + | ||
722 | +#ifdef CONFIG_MACH_PASSEC | ||
723 | +# ifdef machine_arch_type | ||
724 | +# undef machine_arch_type | ||
725 | +# define machine_arch_type __machine_arch_type | ||
726 | +# else | ||
727 | +# define machine_arch_type MACH_TYPE_PASSEC | ||
728 | +# endif | ||
729 | +# define machine_is_passec() (machine_arch_type == MACH_TYPE_PASSEC) | ||
730 | +#else | ||
731 | +# define machine_is_passec() (0) | ||
732 | +#endif | ||
733 | + | ||
734 | +#ifdef CONFIG_MACH_DS_TIGER | ||
735 | +# ifdef machine_arch_type | ||
736 | +# undef machine_arch_type | ||
737 | +# define machine_arch_type __machine_arch_type | ||
738 | +# else | ||
739 | +# define machine_arch_type MACH_TYPE_DS_TIGER | ||
740 | +# endif | ||
741 | +# define machine_is_ds_tiger() (machine_arch_type == MACH_TYPE_DS_TIGER) | ||
742 | +#else | ||
743 | +# define machine_is_ds_tiger() (0) | ||
744 | +#endif | ||
745 | + | ||
746 | +#ifdef CONFIG_MACH_E310 | ||
747 | +# ifdef machine_arch_type | ||
748 | +# undef machine_arch_type | ||
749 | +# define machine_arch_type __machine_arch_type | ||
750 | +# else | ||
751 | +# define machine_arch_type MACH_TYPE_E310 | ||
752 | +# endif | ||
753 | +# define machine_is_e310() (machine_arch_type == MACH_TYPE_E310) | ||
754 | +#else | ||
755 | +# define machine_is_e310() (0) | ||
756 | +#endif | ||
757 | + | ||
758 | +#ifdef CONFIG_MACH_E330 | ||
759 | +# ifdef machine_arch_type | ||
760 | +# undef machine_arch_type | ||
761 | +# define machine_arch_type __machine_arch_type | ||
762 | +# else | ||
763 | +# define machine_arch_type MACH_TYPE_E330 | ||
764 | +# endif | ||
765 | +# define machine_is_e330() (machine_arch_type == MACH_TYPE_E330) | ||
766 | +#else | ||
767 | +# define machine_is_e330() (0) | ||
768 | +#endif | ||
769 | + | ||
770 | +#ifdef CONFIG_MACH_RT3000 | ||
771 | +# ifdef machine_arch_type | ||
772 | +# undef machine_arch_type | ||
773 | +# define machine_arch_type __machine_arch_type | ||
774 | +# else | ||
775 | +# define machine_arch_type MACH_TYPE_RT3000 | ||
776 | +# endif | ||
777 | +# define machine_is_rt3000() (machine_arch_type == MACH_TYPE_RT3000) | ||
778 | +#else | ||
779 | +# define machine_is_rt3000() (0) | ||
780 | +#endif | ||
781 | + | ||
782 | +#ifdef CONFIG_MACH_NOKIA770 | ||
783 | +# ifdef machine_arch_type | ||
784 | +# undef machine_arch_type | ||
785 | +# define machine_arch_type __machine_arch_type | ||
786 | +# else | ||
787 | +# define machine_arch_type MACH_TYPE_NOKIA770 | ||
788 | +# endif | ||
789 | +# define machine_is_nokia770() (machine_arch_type == MACH_TYPE_NOKIA770) | ||
790 | +#else | ||
791 | +# define machine_is_nokia770() (0) | ||
792 | +#endif | ||
793 | + | ||
794 | +#ifdef CONFIG_MACH_PNX0106 | ||
795 | +# ifdef machine_arch_type | ||
796 | +# undef machine_arch_type | ||
797 | +# define machine_arch_type __machine_arch_type | ||
798 | +# else | ||
799 | +# define machine_arch_type MACH_TYPE_PNX0106 | ||
800 | +# endif | ||
801 | +# define machine_is_pnx0106() (machine_arch_type == MACH_TYPE_PNX0106) | ||
802 | +#else | ||
803 | +# define machine_is_pnx0106() (0) | ||
804 | +#endif | ||
805 | + | ||
806 | +#ifdef CONFIG_MACH_HX21XX | ||
807 | +# ifdef machine_arch_type | ||
808 | +# undef machine_arch_type | ||
809 | +# define machine_arch_type __machine_arch_type | ||
810 | +# else | ||
811 | +# define machine_arch_type MACH_TYPE_HX21XX | ||
812 | +# endif | ||
813 | +# define machine_is_hx21xx() (machine_arch_type == MACH_TYPE_HX21XX) | ||
814 | +#else | ||
815 | +# define machine_is_hx21xx() (0) | ||
816 | +#endif | ||
817 | + | ||
818 | +#ifdef CONFIG_MACH_FARADAY | ||
819 | +# ifdef machine_arch_type | ||
820 | +# undef machine_arch_type | ||
821 | +# define machine_arch_type __machine_arch_type | ||
822 | +# else | ||
823 | +# define machine_arch_type MACH_TYPE_FARADAY | ||
824 | +# endif | ||
825 | +# define machine_is_faraday() (machine_arch_type == MACH_TYPE_FARADAY) | ||
826 | +#else | ||
827 | +# define machine_is_faraday() (0) | ||
828 | +#endif | ||
829 | + | ||
830 | +#ifdef CONFIG_MACH_SBC9312 | ||
831 | +# ifdef machine_arch_type | ||
832 | +# undef machine_arch_type | ||
833 | +# define machine_arch_type __machine_arch_type | ||
834 | +# else | ||
835 | +# define machine_arch_type MACH_TYPE_SBC9312 | ||
836 | +# endif | ||
837 | +# define machine_is_sbc9312() (machine_arch_type == MACH_TYPE_SBC9312) | ||
838 | +#else | ||
839 | +# define machine_is_sbc9312() (0) | ||
840 | +#endif | ||
841 | + | ||
842 | +#ifdef CONFIG_MACH_BATMAN | ||
843 | +# ifdef machine_arch_type | ||
844 | +# undef machine_arch_type | ||
845 | +# define machine_arch_type __machine_arch_type | ||
846 | +# else | ||
847 | +# define machine_arch_type MACH_TYPE_BATMAN | ||
848 | +# endif | ||
849 | +# define machine_is_batman() (machine_arch_type == MACH_TYPE_BATMAN) | ||
850 | +#else | ||
851 | +# define machine_is_batman() (0) | ||
852 | +#endif | ||
853 | + | ||
854 | +#ifdef CONFIG_MACH_JPD201 | ||
855 | +# ifdef machine_arch_type | ||
856 | +# undef machine_arch_type | ||
857 | +# define machine_arch_type __machine_arch_type | ||
858 | +# else | ||
859 | +# define machine_arch_type MACH_TYPE_JPD201 | ||
860 | +# endif | ||
861 | +# define machine_is_jpd201() (machine_arch_type == MACH_TYPE_JPD201) | ||
862 | +#else | ||
863 | +# define machine_is_jpd201() (0) | ||
864 | +#endif | ||
865 | + | ||
866 | +#ifdef CONFIG_MACH_MIPSA | ||
867 | +# ifdef machine_arch_type | ||
868 | +# undef machine_arch_type | ||
869 | +# define machine_arch_type __machine_arch_type | ||
870 | +# else | ||
871 | +# define machine_arch_type MACH_TYPE_MIPSA | ||
872 | +# endif | ||
873 | +# define machine_is_mipsa() (machine_arch_type == MACH_TYPE_MIPSA) | ||
874 | +#else | ||
875 | +# define machine_is_mipsa() (0) | ||
876 | +#endif | ||
877 | + | ||
878 | +#ifdef CONFIG_MACH_KACOM | ||
879 | +# ifdef machine_arch_type | ||
880 | +# undef machine_arch_type | ||
881 | +# define machine_arch_type __machine_arch_type | ||
882 | +# else | ||
883 | +# define machine_arch_type MACH_TYPE_KACOM | ||
884 | +# endif | ||
885 | +# define machine_is_kacom() (machine_arch_type == MACH_TYPE_KACOM) | ||
886 | +#else | ||
887 | +# define machine_is_kacom() (0) | ||
888 | +#endif | ||
889 | + | ||
890 | +#ifdef CONFIG_MACH_SWARCOCPU | ||
891 | +# ifdef machine_arch_type | ||
892 | +# undef machine_arch_type | ||
893 | +# define machine_arch_type __machine_arch_type | ||
894 | +# else | ||
895 | +# define machine_arch_type MACH_TYPE_SWARCOCPU | ||
896 | +# endif | ||
897 | +# define machine_is_swarcocpu() (machine_arch_type == MACH_TYPE_SWARCOCPU) | ||
898 | +#else | ||
899 | +# define machine_is_swarcocpu() (0) | ||
900 | +#endif | ||
901 | + | ||
902 | +#ifdef CONFIG_MACH_SWARCODSL | ||
903 | +# ifdef machine_arch_type | ||
904 | +# undef machine_arch_type | ||
905 | +# define machine_arch_type __machine_arch_type | ||
906 | +# else | ||
907 | +# define machine_arch_type MACH_TYPE_SWARCODSL | ||
908 | +# endif | ||
909 | +# define machine_is_swarcodsl() (machine_arch_type == MACH_TYPE_SWARCODSL) | ||
910 | +#else | ||
911 | +# define machine_is_swarcodsl() (0) | ||
912 | +#endif | ||
913 | + | ||
914 | +#ifdef CONFIG_MACH_BLUEANGEL | ||
915 | +# ifdef machine_arch_type | ||
916 | +# undef machine_arch_type | ||
917 | +# define machine_arch_type __machine_arch_type | ||
918 | +# else | ||
919 | +# define machine_arch_type MACH_TYPE_BLUEANGEL | ||
920 | +# endif | ||
921 | +# define machine_is_blueangel() (machine_arch_type == MACH_TYPE_BLUEANGEL) | ||
922 | +#else | ||
923 | +# define machine_is_blueangel() (0) | ||
924 | +#endif | ||
925 | + | ||
926 | +#ifdef CONFIG_MACH_HAIRYGRAMA | ||
927 | +# ifdef machine_arch_type | ||
928 | +# undef machine_arch_type | ||
929 | +# define machine_arch_type __machine_arch_type | ||
930 | +# else | ||
931 | +# define machine_arch_type MACH_TYPE_HAIRYGRAMA | ||
932 | +# endif | ||
933 | +# define machine_is_hairygrama() (machine_arch_type == MACH_TYPE_HAIRYGRAMA) | ||
934 | +#else | ||
935 | +# define machine_is_hairygrama() (0) | ||
936 | +#endif | ||
937 | + | ||
938 | +#ifdef CONFIG_MACH_BANFF | ||
939 | +# ifdef machine_arch_type | ||
940 | +# undef machine_arch_type | ||
941 | +# define machine_arch_type __machine_arch_type | ||
942 | +# else | ||
943 | +# define machine_arch_type MACH_TYPE_BANFF | ||
944 | +# endif | ||
945 | +# define machine_is_banff() (machine_arch_type == MACH_TYPE_BANFF) | ||
946 | +#else | ||
947 | +# define machine_is_banff() (0) | ||
948 | +#endif | ||
949 | + | ||
950 | +#ifdef CONFIG_MACH_CARMEVA | ||
951 | +# ifdef machine_arch_type | ||
952 | +# undef machine_arch_type | ||
953 | +# define machine_arch_type __machine_arch_type | ||
954 | +# else | ||
955 | +# define machine_arch_type MACH_TYPE_CARMEVA | ||
956 | +# endif | ||
957 | +# define machine_is_carmeva() (machine_arch_type == MACH_TYPE_CARMEVA) | ||
958 | +#else | ||
959 | +# define machine_is_carmeva() (0) | ||
960 | +#endif | ||
961 | + | ||
962 | +#ifdef CONFIG_MACH_SAM255 | ||
963 | +# ifdef machine_arch_type | ||
964 | +# undef machine_arch_type | ||
965 | +# define machine_arch_type __machine_arch_type | ||
966 | +# else | ||
967 | +# define machine_arch_type MACH_TYPE_SAM255 | ||
968 | +# endif | ||
969 | +# define machine_is_sam255() (machine_arch_type == MACH_TYPE_SAM255) | ||
970 | +#else | ||
971 | +# define machine_is_sam255() (0) | ||
972 | +#endif | ||
973 | + | ||
974 | +#ifdef CONFIG_MACH_PPM10 | ||
975 | +# ifdef machine_arch_type | ||
976 | +# undef machine_arch_type | ||
977 | +# define machine_arch_type __machine_arch_type | ||
978 | +# else | ||
979 | +# define machine_arch_type MACH_TYPE_PPM10 | ||
980 | +# endif | ||
981 | +# define machine_is_ppm10() (machine_arch_type == MACH_TYPE_PPM10) | ||
982 | +#else | ||
983 | +# define machine_is_ppm10() (0) | ||
984 | +#endif | ||
985 | + | ||
986 | +#ifdef CONFIG_MACH_EDB9315A | ||
987 | +# ifdef machine_arch_type | ||
988 | +# undef machine_arch_type | ||
989 | +# define machine_arch_type __machine_arch_type | ||
990 | +# else | ||
991 | +# define machine_arch_type MACH_TYPE_EDB9315A | ||
992 | +# endif | ||
993 | +# define machine_is_edb9315a() (machine_arch_type == MACH_TYPE_EDB9315A) | ||
994 | +#else | ||
995 | +# define machine_is_edb9315a() (0) | ||
996 | +#endif | ||
997 | + | ||
998 | +#ifdef CONFIG_MACH_SUNSET | ||
999 | +# ifdef machine_arch_type | ||
1000 | +# undef machine_arch_type | ||
1001 | +# define machine_arch_type __machine_arch_type | ||
1002 | +# else | ||
1003 | +# define machine_arch_type MACH_TYPE_SUNSET | ||
1004 | +# endif | ||
1005 | +# define machine_is_sunset() (machine_arch_type == MACH_TYPE_SUNSET) | ||
1006 | +#else | ||
1007 | +# define machine_is_sunset() (0) | ||
1008 | +#endif | ||
1009 | + | ||
1010 | +#ifdef CONFIG_MACH_STARGATE2 | ||
1011 | +# ifdef machine_arch_type | ||
1012 | +# undef machine_arch_type | ||
1013 | +# define machine_arch_type __machine_arch_type | ||
1014 | +# else | ||
1015 | +# define machine_arch_type MACH_TYPE_STARGATE2 | ||
1016 | +# endif | ||
1017 | +# define machine_is_stargate2() (machine_arch_type == MACH_TYPE_STARGATE2) | ||
1018 | +#else | ||
1019 | +# define machine_is_stargate2() (0) | ||
1020 | +#endif | ||
1021 | + | ||
1022 | +#ifdef CONFIG_MACH_INTELMOTE2 | ||
1023 | +# ifdef machine_arch_type | ||
1024 | +# undef machine_arch_type | ||
1025 | +# define machine_arch_type __machine_arch_type | ||
1026 | +# else | ||
1027 | +# define machine_arch_type MACH_TYPE_INTELMOTE2 | ||
1028 | +# endif | ||
1029 | +# define machine_is_intelmote2() (machine_arch_type == MACH_TYPE_INTELMOTE2) | ||
1030 | +#else | ||
1031 | +# define machine_is_intelmote2() (0) | ||
1032 | +#endif | ||
1033 | + | ||
1034 | +#ifdef CONFIG_MACH_TRIZEPS4 | ||
1035 | +# ifdef machine_arch_type | ||
1036 | +# undef machine_arch_type | ||
1037 | +# define machine_arch_type __machine_arch_type | ||
1038 | +# else | ||
1039 | +# define machine_arch_type MACH_TYPE_TRIZEPS4 | ||
1040 | +# endif | ||
1041 | +# define machine_is_trizeps4() (machine_arch_type == MACH_TYPE_TRIZEPS4) | ||
1042 | +#else | ||
1043 | +# define machine_is_trizeps4() (0) | ||
1044 | +#endif | ||
1045 | + | ||
1046 | +#ifdef CONFIG_MACH_MAINSTONE2 | ||
1047 | +# ifdef machine_arch_type | ||
1048 | +# undef machine_arch_type | ||
1049 | +# define machine_arch_type __machine_arch_type | ||
1050 | +# else | ||
1051 | +# define machine_arch_type MACH_TYPE_MAINSTONE2 | ||
1052 | +# endif | ||
1053 | +# define machine_is_mainstone2() (machine_arch_type == MACH_TYPE_MAINSTONE2) | ||
1054 | +#else | ||
1055 | +# define machine_is_mainstone2() (0) | ||
1056 | +#endif | ||
1057 | + | ||
1058 | +#ifdef CONFIG_MACH_EZ_IXP42X | ||
1059 | +# ifdef machine_arch_type | ||
1060 | +# undef machine_arch_type | ||
1061 | +# define machine_arch_type __machine_arch_type | ||
1062 | +# else | ||
1063 | +# define machine_arch_type MACH_TYPE_EZ_IXP42X | ||
1064 | +# endif | ||
1065 | +# define machine_is_ez_ixp42x() (machine_arch_type == MACH_TYPE_EZ_IXP42X) | ||
1066 | +#else | ||
1067 | +# define machine_is_ez_ixp42x() (0) | ||
1068 | +#endif | ||
1069 | + | ||
1070 | +#ifdef CONFIG_MACH_TAPWAVE_ZODIAC | ||
1071 | +# ifdef machine_arch_type | ||
1072 | +# undef machine_arch_type | ||
1073 | +# define machine_arch_type __machine_arch_type | ||
1074 | +# else | ||
1075 | +# define machine_arch_type MACH_TYPE_TAPWAVE_ZODIAC | ||
1076 | +# endif | ||
1077 | +# define machine_is_tapwave_zodiac() (machine_arch_type == MACH_TYPE_TAPWAVE_ZODIAC) | ||
1078 | +#else | ||
1079 | +# define machine_is_tapwave_zodiac() (0) | ||
1080 | +#endif | ||
1081 | + | ||
1082 | +#ifdef CONFIG_MACH_UNIVERSALMETER | ||
1083 | +# ifdef machine_arch_type | ||
1084 | +# undef machine_arch_type | ||
1085 | +# define machine_arch_type __machine_arch_type | ||
1086 | +# else | ||
1087 | +# define machine_arch_type MACH_TYPE_UNIVERSALMETER | ||
1088 | +# endif | ||
1089 | +# define machine_is_universalmeter() (machine_arch_type == MACH_TYPE_UNIVERSALMETER) | ||
1090 | +#else | ||
1091 | +# define machine_is_universalmeter() (0) | ||
1092 | +#endif | ||
1093 | + | ||
1094 | +#ifdef CONFIG_MACH_HICOARM9 | ||
1095 | +# ifdef machine_arch_type | ||
1096 | +# undef machine_arch_type | ||
1097 | +# define machine_arch_type __machine_arch_type | ||
1098 | +# else | ||
1099 | +# define machine_arch_type MACH_TYPE_HICOARM9 | ||
1100 | +# endif | ||
1101 | +# define machine_is_hicoarm9() (machine_arch_type == MACH_TYPE_HICOARM9) | ||
1102 | +#else | ||
1103 | +# define machine_is_hicoarm9() (0) | ||
1104 | +#endif | ||
1105 | + | ||
1106 | +#ifdef CONFIG_MACH_PNX4008 | ||
1107 | +# ifdef machine_arch_type | ||
1108 | +# undef machine_arch_type | ||
1109 | +# define machine_arch_type __machine_arch_type | ||
1110 | +# else | ||
1111 | +# define machine_arch_type MACH_TYPE_PNX4008 | ||
1112 | +# endif | ||
1113 | +# define machine_is_pnx4008() (machine_arch_type == MACH_TYPE_PNX4008) | ||
1114 | +#else | ||
1115 | +# define machine_is_pnx4008() (0) | ||
1116 | +#endif | ||
1117 | + | ||
1118 | +#ifdef CONFIG_MACH_KWS6000 | ||
1119 | +# ifdef machine_arch_type | ||
1120 | +# undef machine_arch_type | ||
1121 | +# define machine_arch_type __machine_arch_type | ||
1122 | +# else | ||
1123 | +# define machine_arch_type MACH_TYPE_KWS6000 | ||
1124 | +# endif | ||
1125 | +# define machine_is_kws6000() (machine_arch_type == MACH_TYPE_KWS6000) | ||
1126 | +#else | ||
1127 | +# define machine_is_kws6000() (0) | ||
1128 | +#endif | ||
1129 | + | ||
1130 | +#ifdef CONFIG_MACH_PORTUX920T | ||
1131 | +# ifdef machine_arch_type | ||
1132 | +# undef machine_arch_type | ||
1133 | +# define machine_arch_type __machine_arch_type | ||
1134 | +# else | ||
1135 | +# define machine_arch_type MACH_TYPE_PORTUX920T | ||
1136 | +# endif | ||
1137 | +# define machine_is_portux920t() (machine_arch_type == MACH_TYPE_PORTUX920T) | ||
1138 | +#else | ||
1139 | +# define machine_is_portux920t() (0) | ||
1140 | +#endif | ||
1141 | + | ||
1142 | +#ifdef CONFIG_MACH_EZ_X5 | ||
1143 | +# ifdef machine_arch_type | ||
1144 | +# undef machine_arch_type | ||
1145 | +# define machine_arch_type __machine_arch_type | ||
1146 | +# else | ||
1147 | +# define machine_arch_type MACH_TYPE_EZ_X5 | ||
1148 | +# endif | ||
1149 | +# define machine_is_ez_x5() (machine_arch_type == MACH_TYPE_EZ_X5) | ||
1150 | +#else | ||
1151 | +# define machine_is_ez_x5() (0) | ||
1152 | +#endif | ||
1153 | + | ||
1154 | +#ifdef CONFIG_MACH_OMAP_RUDOLPH | ||
1155 | +# ifdef machine_arch_type | ||
1156 | +# undef machine_arch_type | ||
1157 | +# define machine_arch_type __machine_arch_type | ||
1158 | +# else | ||
1159 | +# define machine_arch_type MACH_TYPE_OMAP_RUDOLPH | ||
1160 | +# endif | ||
1161 | +# define machine_is_omap_rudolph() (machine_arch_type == MACH_TYPE_OMAP_RUDOLPH) | ||
1162 | +#else | ||
1163 | +# define machine_is_omap_rudolph() (0) | ||
1164 | +#endif | ||
1165 | + | ||
1166 | +#ifdef CONFIG_MACH_CPUAT91 | ||
1167 | +# ifdef machine_arch_type | ||
1168 | +# undef machine_arch_type | ||
1169 | +# define machine_arch_type __machine_arch_type | ||
1170 | +# else | ||
1171 | +# define machine_arch_type MACH_TYPE_CPUAT91 | ||
1172 | +# endif | ||
1173 | +# define machine_is_cpuat91() (machine_arch_type == MACH_TYPE_CPUAT91) | ||
1174 | +#else | ||
1175 | +# define machine_is_cpuat91() (0) | ||
1176 | +#endif | ||
1177 | + | ||
1178 | +#ifdef CONFIG_MACH_REA9200 | ||
1179 | +# ifdef machine_arch_type | ||
1180 | +# undef machine_arch_type | ||
1181 | +# define machine_arch_type __machine_arch_type | ||
1182 | +# else | ||
1183 | +# define machine_arch_type MACH_TYPE_REA9200 | ||
1184 | +# endif | ||
1185 | +# define machine_is_rea9200() (machine_arch_type == MACH_TYPE_REA9200) | ||
1186 | +#else | ||
1187 | +# define machine_is_rea9200() (0) | ||
1188 | +#endif | ||
1189 | + | ||
1190 | +#ifdef CONFIG_MACH_ACTS_PUNE_SA1110 | ||
1191 | +# ifdef machine_arch_type | ||
1192 | +# undef machine_arch_type | ||
1193 | +# define machine_arch_type __machine_arch_type | ||
1194 | +# else | ||
1195 | +# define machine_arch_type MACH_TYPE_ACTS_PUNE_SA1110 | ||
1196 | +# endif | ||
1197 | +# define machine_is_acts_pune_sa1110() (machine_arch_type == MACH_TYPE_ACTS_PUNE_SA1110) | ||
1198 | +#else | ||
1199 | +# define machine_is_acts_pune_sa1110() (0) | ||
1200 | +#endif | ||
1201 | + | ||
1202 | +#ifdef CONFIG_MACH_IXP425 | ||
1203 | +# ifdef machine_arch_type | ||
1204 | +# undef machine_arch_type | ||
1205 | +# define machine_arch_type __machine_arch_type | ||
1206 | +# else | ||
1207 | +# define machine_arch_type MACH_TYPE_IXP425 | ||
1208 | +# endif | ||
1209 | +# define machine_is_ixp425() (machine_arch_type == MACH_TYPE_IXP425) | ||
1210 | +#else | ||
1211 | +# define machine_is_ixp425() (0) | ||
1212 | +#endif | ||
1213 | + | ||
1214 | +#ifdef CONFIG_MACH_ARGONPLUSODYSSEY | ||
1215 | +# ifdef machine_arch_type | ||
1216 | +# undef machine_arch_type | ||
1217 | +# define machine_arch_type __machine_arch_type | ||
1218 | +# else | ||
1219 | +# define machine_arch_type MACH_TYPE_ARGONPLUSODYSSEY | ||
1220 | +# endif | ||
1221 | +# define machine_is_i30030ads() (machine_arch_type == MACH_TYPE_ARGONPLUSODYSSEY) | ||
1222 | +#else | ||
1223 | +# define machine_is_i30030ads() (0) | ||
1224 | +#endif | ||
1225 | + | ||
1226 | +#ifdef CONFIG_MACH_PERCH | ||
1227 | +# ifdef machine_arch_type | ||
1228 | +# undef machine_arch_type | ||
1229 | +# define machine_arch_type __machine_arch_type | ||
1230 | +# else | ||
1231 | +# define machine_arch_type MACH_TYPE_PERCH | ||
1232 | +# endif | ||
1233 | +# define machine_is_perch() (machine_arch_type == MACH_TYPE_PERCH) | ||
1234 | +#else | ||
1235 | +# define machine_is_perch() (0) | ||
1236 | +#endif | ||
1237 | + | ||
1238 | +#ifdef CONFIG_MACH_EIS05R1 | ||
1239 | +# ifdef machine_arch_type | ||
1240 | +# undef machine_arch_type | ||
1241 | +# define machine_arch_type __machine_arch_type | ||
1242 | +# else | ||
1243 | +# define machine_arch_type MACH_TYPE_EIS05R1 | ||
1244 | +# endif | ||
1245 | +# define machine_is_eis05r1() (machine_arch_type == MACH_TYPE_EIS05R1) | ||
1246 | +#else | ||
1247 | +# define machine_is_eis05r1() (0) | ||
1248 | +#endif | ||
1249 | + | ||
1250 | +#ifdef CONFIG_MACH_PEPPERPAD | ||
1251 | +# ifdef machine_arch_type | ||
1252 | +# undef machine_arch_type | ||
1253 | +# define machine_arch_type __machine_arch_type | ||
1254 | +# else | ||
1255 | +# define machine_arch_type MACH_TYPE_PEPPERPAD | ||
1256 | +# endif | ||
1257 | +# define machine_is_pepperpad() (machine_arch_type == MACH_TYPE_PEPPERPAD) | ||
1258 | +#else | ||
1259 | +# define machine_is_pepperpad() (0) | ||
1260 | +#endif | ||
1261 | + | ||
1262 | +#ifdef CONFIG_MACH_SB3010 | ||
1263 | +# ifdef machine_arch_type | ||
1264 | +# undef machine_arch_type | ||
1265 | +# define machine_arch_type __machine_arch_type | ||
1266 | +# else | ||
1267 | +# define machine_arch_type MACH_TYPE_SB3010 | ||
1268 | +# endif | ||
1269 | +# define machine_is_sb3010() (machine_arch_type == MACH_TYPE_SB3010) | ||
1270 | +#else | ||
1271 | +# define machine_is_sb3010() (0) | ||
1272 | +#endif | ||
1273 | + | ||
1274 | +#ifdef CONFIG_MACH_RM9200 | ||
1275 | +# ifdef machine_arch_type | ||
1276 | +# undef machine_arch_type | ||
1277 | +# define machine_arch_type __machine_arch_type | ||
1278 | +# else | ||
1279 | +# define machine_arch_type MACH_TYPE_RM9200 | ||
1280 | +# endif | ||
1281 | +# define machine_is_rm9200() (machine_arch_type == MACH_TYPE_RM9200) | ||
1282 | +#else | ||
1283 | +# define machine_is_rm9200() (0) | ||
1284 | +#endif | ||
1285 | + | ||
1286 | +#ifdef CONFIG_MACH_DMA03 | ||
1287 | +# ifdef machine_arch_type | ||
1288 | +# undef machine_arch_type | ||
1289 | +# define machine_arch_type __machine_arch_type | ||
1290 | +# else | ||
1291 | +# define machine_arch_type MACH_TYPE_DMA03 | ||
1292 | +# endif | ||
1293 | +# define machine_is_dma03() (machine_arch_type == MACH_TYPE_DMA03) | ||
1294 | +#else | ||
1295 | +# define machine_is_dma03() (0) | ||
1296 | +#endif | ||
1297 | + | ||
1298 | +#ifdef CONFIG_MACH_ROAD_S101 | ||
1299 | +# ifdef machine_arch_type | ||
1300 | +# undef machine_arch_type | ||
1301 | +# define machine_arch_type __machine_arch_type | ||
1302 | +# else | ||
1303 | +# define machine_arch_type MACH_TYPE_ROAD_S101 | ||
1304 | +# endif | ||
1305 | +# define machine_is_road_s101() (machine_arch_type == MACH_TYPE_ROAD_S101) | ||
1306 | +#else | ||
1307 | +# define machine_is_road_s101() (0) | ||
1308 | +#endif | ||
1309 | + | ||
1310 | +#ifdef CONFIG_MACH_IQ_NEXTGEN_A | ||
1311 | +# ifdef machine_arch_type | ||
1312 | +# undef machine_arch_type | ||
1313 | +# define machine_arch_type __machine_arch_type | ||
1314 | +# else | ||
1315 | +# define machine_arch_type MACH_TYPE_IQ_NEXTGEN_A | ||
1316 | +# endif | ||
1317 | +# define machine_is_iq_nextgen_a() (machine_arch_type == MACH_TYPE_IQ_NEXTGEN_A) | ||
1318 | +#else | ||
1319 | +# define machine_is_iq_nextgen_a() (0) | ||
1320 | +#endif | ||
1321 | + | ||
1322 | +#ifdef CONFIG_MACH_IQ_NEXTGEN_B | ||
1323 | +# ifdef machine_arch_type | ||
1324 | +# undef machine_arch_type | ||
1325 | +# define machine_arch_type __machine_arch_type | ||
1326 | +# else | ||
1327 | +# define machine_arch_type MACH_TYPE_IQ_NEXTGEN_B | ||
1328 | +# endif | ||
1329 | +# define machine_is_iq_nextgen_b() (machine_arch_type == MACH_TYPE_IQ_NEXTGEN_B) | ||
1330 | +#else | ||
1331 | +# define machine_is_iq_nextgen_b() (0) | ||
1332 | +#endif | ||
1333 | + | ||
1334 | +#ifdef CONFIG_MACH_IQ_NEXTGEN_C | ||
1335 | +# ifdef machine_arch_type | ||
1336 | +# undef machine_arch_type | ||
1337 | +# define machine_arch_type __machine_arch_type | ||
1338 | +# else | ||
1339 | +# define machine_arch_type MACH_TYPE_IQ_NEXTGEN_C | ||
1340 | +# endif | ||
1341 | +# define machine_is_iq_nextgen_c() (machine_arch_type == MACH_TYPE_IQ_NEXTGEN_C) | ||
1342 | +#else | ||
1343 | +# define machine_is_iq_nextgen_c() (0) | ||
1344 | +#endif | ||
1345 | + | ||
1346 | +#ifdef CONFIG_MACH_IQ_NEXTGEN_D | ||
1347 | +# ifdef machine_arch_type | ||
1348 | +# undef machine_arch_type | ||
1349 | +# define machine_arch_type __machine_arch_type | ||
1350 | +# else | ||
1351 | +# define machine_arch_type MACH_TYPE_IQ_NEXTGEN_D | ||
1352 | +# endif | ||
1353 | +# define machine_is_iq_nextgen_d() (machine_arch_type == MACH_TYPE_IQ_NEXTGEN_D) | ||
1354 | +#else | ||
1355 | +# define machine_is_iq_nextgen_d() (0) | ||
1356 | +#endif | ||
1357 | + | ||
1358 | +#ifdef CONFIG_MACH_IQ_NEXTGEN_E | ||
1359 | +# ifdef machine_arch_type | ||
1360 | +# undef machine_arch_type | ||
1361 | +# define machine_arch_type __machine_arch_type | ||
1362 | +# else | ||
1363 | +# define machine_arch_type MACH_TYPE_IQ_NEXTGEN_E | ||
1364 | +# endif | ||
1365 | +# define machine_is_iq_nextgen_e() (machine_arch_type == MACH_TYPE_IQ_NEXTGEN_E) | ||
1366 | +#else | ||
1367 | +# define machine_is_iq_nextgen_e() (0) | ||
1368 | +#endif | ||
1369 | + | ||
1370 | +#ifdef CONFIG_MACH_MALLOW_AT91 | ||
1371 | +# ifdef machine_arch_type | ||
1372 | +# undef machine_arch_type | ||
1373 | +# define machine_arch_type __machine_arch_type | ||
1374 | +# else | ||
1375 | +# define machine_arch_type MACH_TYPE_MALLOW_AT91 | ||
1376 | +# endif | ||
1377 | +# define machine_is_mallow_at91() (machine_arch_type == MACH_TYPE_MALLOW_AT91) | ||
1378 | +#else | ||
1379 | +# define machine_is_mallow_at91() (0) | ||
1380 | +#endif | ||
1381 | + | ||
1382 | +#ifdef CONFIG_MACH_CYBERTRACKER_I | ||
1383 | +# ifdef machine_arch_type | ||
1384 | +# undef machine_arch_type | ||
1385 | +# define machine_arch_type __machine_arch_type | ||
1386 | +# else | ||
1387 | +# define machine_arch_type MACH_TYPE_CYBERTRACKER_I | ||
1388 | +# endif | ||
1389 | +# define machine_is_cybertracker_i() (machine_arch_type == MACH_TYPE_CYBERTRACKER_I) | ||
1390 | +#else | ||
1391 | +# define machine_is_cybertracker_i() (0) | ||
1392 | +#endif | ||
1393 | + | ||
1394 | +#ifdef CONFIG_MACH_GESBC931X | ||
1395 | +# ifdef machine_arch_type | ||
1396 | +# undef machine_arch_type | ||
1397 | +# define machine_arch_type __machine_arch_type | ||
1398 | +# else | ||
1399 | +# define machine_arch_type MACH_TYPE_GESBC931X | ||
1400 | +# endif | ||
1401 | +# define machine_is_gesbc931x() (machine_arch_type == MACH_TYPE_GESBC931X) | ||
1402 | +#else | ||
1403 | +# define machine_is_gesbc931x() (0) | ||
1404 | +#endif | ||
1405 | + | ||
1406 | +#ifdef CONFIG_MACH_CENTIPAD | ||
1407 | +# ifdef machine_arch_type | ||
1408 | +# undef machine_arch_type | ||
1409 | +# define machine_arch_type __machine_arch_type | ||
1410 | +# else | ||
1411 | +# define machine_arch_type MACH_TYPE_CENTIPAD | ||
1412 | +# endif | ||
1413 | +# define machine_is_centipad() (machine_arch_type == MACH_TYPE_CENTIPAD) | ||
1414 | +#else | ||
1415 | +# define machine_is_centipad() (0) | ||
1416 | +#endif | ||
1417 | + | ||
1418 | +#ifdef CONFIG_MACH_ARMSOC | ||
1419 | +# ifdef machine_arch_type | ||
1420 | +# undef machine_arch_type | ||
1421 | +# define machine_arch_type __machine_arch_type | ||
1422 | +# else | ||
1423 | +# define machine_arch_type MACH_TYPE_ARMSOC | ||
1424 | +# endif | ||
1425 | +# define machine_is_armsoc() (machine_arch_type == MACH_TYPE_ARMSOC) | ||
1426 | +#else | ||
1427 | +# define machine_is_armsoc() (0) | ||
1428 | +#endif | ||
1429 | + | ||
1430 | +#ifdef CONFIG_MACH_SE4200 | ||
1431 | +# ifdef machine_arch_type | ||
1432 | +# undef machine_arch_type | ||
1433 | +# define machine_arch_type __machine_arch_type | ||
1434 | +# else | ||
1435 | +# define machine_arch_type MACH_TYPE_SE4200 | ||
1436 | +# endif | ||
1437 | +# define machine_is_se4200() (machine_arch_type == MACH_TYPE_SE4200) | ||
1438 | +#else | ||
1439 | +# define machine_is_se4200() (0) | ||
1440 | +#endif | ||
1441 | + | ||
1442 | +#ifdef CONFIG_MACH_EMS197A | ||
1443 | +# ifdef machine_arch_type | ||
1444 | +# undef machine_arch_type | ||
1445 | +# define machine_arch_type __machine_arch_type | ||
1446 | +# else | ||
1447 | +# define machine_arch_type MACH_TYPE_EMS197A | ||
1448 | +# endif | ||
1449 | +# define machine_is_ems197a() (machine_arch_type == MACH_TYPE_EMS197A) | ||
1450 | +#else | ||
1451 | +# define machine_is_ems197a() (0) | ||
1452 | +#endif | ||
1453 | + | ||
1454 | +#ifdef CONFIG_MACH_MICRO9 | ||
1455 | +# ifdef machine_arch_type | ||
1456 | +# undef machine_arch_type | ||
1457 | +# define machine_arch_type __machine_arch_type | ||
1458 | +# else | ||
1459 | +# define machine_arch_type MACH_TYPE_MICRO9 | ||
1460 | +# endif | ||
1461 | +# define machine_is_micro9() (machine_arch_type == MACH_TYPE_MICRO9) | ||
1462 | +#else | ||
1463 | +# define machine_is_micro9() (0) | ||
1464 | +#endif | ||
1465 | + | ||
1466 | +#ifdef CONFIG_MACH_MICRO9L | ||
1467 | +# ifdef machine_arch_type | ||
1468 | +# undef machine_arch_type | ||
1469 | +# define machine_arch_type __machine_arch_type | ||
1470 | +# else | ||
1471 | +# define machine_arch_type MACH_TYPE_MICRO9L | ||
1472 | +# endif | ||
1473 | +# define machine_is_micro9l() (machine_arch_type == MACH_TYPE_MICRO9L) | ||
1474 | +#else | ||
1475 | +# define machine_is_micro9l() (0) | ||
1476 | +#endif | ||
1477 | + | ||
1478 | +#ifdef CONFIG_MACH_UC5471DSP | ||
1479 | +# ifdef machine_arch_type | ||
1480 | +# undef machine_arch_type | ||
1481 | +# define machine_arch_type __machine_arch_type | ||
1482 | +# else | ||
1483 | +# define machine_arch_type MACH_TYPE_UC5471DSP | ||
1484 | +# endif | ||
1485 | +# define machine_is_uc5471dsp() (machine_arch_type == MACH_TYPE_UC5471DSP) | ||
1486 | +#else | ||
1487 | +# define machine_is_uc5471dsp() (0) | ||
1488 | +#endif | ||
1489 | + | ||
1490 | +#ifdef CONFIG_MACH_SJ5471ENG | ||
1491 | +# ifdef machine_arch_type | ||
1492 | +# undef machine_arch_type | ||
1493 | +# define machine_arch_type __machine_arch_type | ||
1494 | +# else | ||
1495 | +# define machine_arch_type MACH_TYPE_SJ5471ENG | ||
1496 | +# endif | ||
1497 | +# define machine_is_sj5471eng() (machine_arch_type == MACH_TYPE_SJ5471ENG) | ||
1498 | +#else | ||
1499 | +# define machine_is_sj5471eng() (0) | ||
1500 | +#endif | ||
1501 | + | ||
1502 | +#ifdef CONFIG_MACH_CMPXA26X | ||
1503 | +# ifdef machine_arch_type | ||
1504 | +# undef machine_arch_type | ||
1505 | +# define machine_arch_type __machine_arch_type | ||
1506 | +# else | ||
1507 | +# define machine_arch_type MACH_TYPE_CMPXA26X | ||
1508 | +# endif | ||
1509 | +# define machine_is_none() (machine_arch_type == MACH_TYPE_CMPXA26X) | ||
1510 | +#else | ||
1511 | +# define machine_is_none() (0) | ||
1512 | +#endif | ||
1513 | + | ||
1514 | +#ifdef CONFIG_MACH_NC | ||
1515 | +# ifdef machine_arch_type | ||
1516 | +# undef machine_arch_type | ||
1517 | +# define machine_arch_type __machine_arch_type | ||
1518 | +# else | ||
1519 | +# define machine_arch_type MACH_TYPE_NC | ||
1520 | +# endif | ||
1521 | +# define machine_is_nc1() (machine_arch_type == MACH_TYPE_NC) | ||
1522 | +#else | ||
1523 | +# define machine_is_nc1() (0) | ||
1524 | +#endif | ||
1525 | + | ||
1526 | +#ifdef CONFIG_MACH_OMAP_PALMTE | ||
1527 | +# ifdef machine_arch_type | ||
1528 | +# undef machine_arch_type | ||
1529 | +# define machine_arch_type __machine_arch_type | ||
1530 | +# else | ||
1531 | +# define machine_arch_type MACH_TYPE_OMAP_PALMTE | ||
1532 | +# endif | ||
1533 | +# define machine_is_omap_palmte() (machine_arch_type == MACH_TYPE_OMAP_PALMTE) | ||
1534 | +#else | ||
1535 | +# define machine_is_omap_palmte() (0) | ||
1536 | +#endif | ||
1537 | + | ||
1538 | +#ifdef CONFIG_MACH_AJAX52X | ||
1539 | +# ifdef machine_arch_type | ||
1540 | +# undef machine_arch_type | ||
1541 | +# define machine_arch_type __machine_arch_type | ||
1542 | +# else | ||
1543 | +# define machine_arch_type MACH_TYPE_AJAX52X | ||
1544 | +# endif | ||
1545 | +# define machine_is_ajax52x() (machine_arch_type == MACH_TYPE_AJAX52X) | ||
1546 | +#else | ||
1547 | +# define machine_is_ajax52x() (0) | ||
1548 | +#endif | ||
1549 | + | ||
1550 | +#ifdef CONFIG_MACH_SIRIUSTAR | ||
1551 | +# ifdef machine_arch_type | ||
1552 | +# undef machine_arch_type | ||
1553 | +# define machine_arch_type __machine_arch_type | ||
1554 | +# else | ||
1555 | +# define machine_arch_type MACH_TYPE_SIRIUSTAR | ||
1556 | +# endif | ||
1557 | +# define machine_is_siriustar() (machine_arch_type == MACH_TYPE_SIRIUSTAR) | ||
1558 | +#else | ||
1559 | +# define machine_is_siriustar() (0) | ||
1560 | +#endif | ||
1561 | + | ||
1562 | +#ifdef CONFIG_MACH_IODATA_HDLG | ||
1563 | +# ifdef machine_arch_type | ||
1564 | +# undef machine_arch_type | ||
1565 | +# define machine_arch_type __machine_arch_type | ||
1566 | +# else | ||
1567 | +# define machine_arch_type MACH_TYPE_IODATA_HDLG | ||
1568 | +# endif | ||
1569 | +# define machine_is_iodata_hdlg() (machine_arch_type == MACH_TYPE_IODATA_HDLG) | ||
1570 | +#else | ||
1571 | +# define machine_is_iodata_hdlg() (0) | ||
1572 | +#endif | ||
1573 | + | ||
1574 | +#ifdef CONFIG_MACH_AT91RM9200UTL | ||
1575 | +# ifdef machine_arch_type | ||
1576 | +# undef machine_arch_type | ||
1577 | +# define machine_arch_type __machine_arch_type | ||
1578 | +# else | ||
1579 | +# define machine_arch_type MACH_TYPE_AT91RM9200UTL | ||
1580 | +# endif | ||
1581 | +# define machine_is_at91rm9200utl() (machine_arch_type == MACH_TYPE_AT91RM9200UTL) | ||
1582 | +#else | ||
1583 | +# define machine_is_at91rm9200utl() (0) | ||
1584 | +#endif | ||
1585 | + | ||
1586 | +#ifdef CONFIG_MACH_BIOSAFE | ||
1587 | +# ifdef machine_arch_type | ||
1588 | +# undef machine_arch_type | ||
1589 | +# define machine_arch_type __machine_arch_type | ||
1590 | +# else | ||
1591 | +# define machine_arch_type MACH_TYPE_BIOSAFE | ||
1592 | +# endif | ||
1593 | +# define machine_is_biosafe() (machine_arch_type == MACH_TYPE_BIOSAFE) | ||
1594 | +#else | ||
1595 | +# define machine_is_biosafe() (0) | ||
1596 | +#endif | ||
1597 | + | ||
1598 | +#ifdef CONFIG_MACH_MP1000 | ||
1599 | +# ifdef machine_arch_type | ||
1600 | +# undef machine_arch_type | ||
1601 | +# define machine_arch_type __machine_arch_type | ||
1602 | +# else | ||
1603 | +# define machine_arch_type MACH_TYPE_MP1000 | ||
1604 | +# endif | ||
1605 | +# define machine_is_mp1000() (machine_arch_type == MACH_TYPE_MP1000) | ||
1606 | +#else | ||
1607 | +# define machine_is_mp1000() (0) | ||
1608 | +#endif | ||
1609 | + | ||
1610 | +#ifdef CONFIG_MACH_PARSY | ||
1611 | +# ifdef machine_arch_type | ||
1612 | +# undef machine_arch_type | ||
1613 | +# define machine_arch_type __machine_arch_type | ||
1614 | +# else | ||
1615 | +# define machine_arch_type MACH_TYPE_PARSY | ||
1616 | +# endif | ||
1617 | +# define machine_is_parsy() (machine_arch_type == MACH_TYPE_PARSY) | ||
1618 | +#else | ||
1619 | +# define machine_is_parsy() (0) | ||
1620 | +#endif | ||
1621 | + | ||
1622 | +#ifdef CONFIG_MACH_CCXP | ||
1623 | +# ifdef machine_arch_type | ||
1624 | +# undef machine_arch_type | ||
1625 | +# define machine_arch_type __machine_arch_type | ||
1626 | +# else | ||
1627 | +# define machine_arch_type MACH_TYPE_CCXP | ||
1628 | +# endif | ||
1629 | +# define machine_is_ccxp270() (machine_arch_type == MACH_TYPE_CCXP) | ||
1630 | +#else | ||
1631 | +# define machine_is_ccxp270() (0) | ||
1632 | +#endif | ||
1633 | + | ||
1634 | +#ifdef CONFIG_MACH_OMAP_GSAMPLE | ||
1635 | +# ifdef machine_arch_type | ||
1636 | +# undef machine_arch_type | ||
1637 | +# define machine_arch_type __machine_arch_type | ||
1638 | +# else | ||
1639 | +# define machine_arch_type MACH_TYPE_OMAP_GSAMPLE | ||
1640 | +# endif | ||
1641 | +# define machine_is_omap_gsample() (machine_arch_type == MACH_TYPE_OMAP_GSAMPLE) | ||
1642 | +#else | ||
1643 | +# define machine_is_omap_gsample() (0) | ||
1644 | +#endif | ||
1645 | + | ||
1646 | +#ifdef CONFIG_MACH_REALVIEW_EB | ||
1647 | +# ifdef machine_arch_type | ||
1648 | +# undef machine_arch_type | ||
1649 | +# define machine_arch_type __machine_arch_type | ||
1650 | +# else | ||
1651 | +# define machine_arch_type MACH_TYPE_REALVIEW_EB | ||
1652 | +# endif | ||
1653 | +# define machine_is_realview_eb() (machine_arch_type == MACH_TYPE_REALVIEW_EB) | ||
1654 | +#else | ||
1655 | +# define machine_is_realview_eb() (0) | ||
1656 | +#endif | ||
1657 | + | ||
1658 | +#ifdef CONFIG_MACH_SAMOA | ||
1659 | +# ifdef machine_arch_type | ||
1660 | +# undef machine_arch_type | ||
1661 | +# define machine_arch_type __machine_arch_type | ||
1662 | +# else | ||
1663 | +# define machine_arch_type MACH_TYPE_SAMOA | ||
1664 | +# endif | ||
1665 | +# define machine_is_samoa() (machine_arch_type == MACH_TYPE_SAMOA) | ||
1666 | +#else | ||
1667 | +# define machine_is_samoa() (0) | ||
1668 | +#endif | ||
1669 | + | ||
1670 | +#ifdef CONFIG_MACH_T3XSCALE | ||
1671 | +# ifdef machine_arch_type | ||
1672 | +# undef machine_arch_type | ||
1673 | +# define machine_arch_type __machine_arch_type | ||
1674 | +# else | ||
1675 | +# define machine_arch_type MACH_TYPE_T3XSCALE | ||
1676 | +# endif | ||
1677 | +# define machine_is_t3xscale() (machine_arch_type == MACH_TYPE_T3XSCALE) | ||
1678 | +#else | ||
1679 | +# define machine_is_t3xscale() (0) | ||
1680 | +#endif | ||
1681 | + | ||
1682 | +#ifdef CONFIG_MACH_I878 | ||
1683 | +# ifdef machine_arch_type | ||
1684 | +# undef machine_arch_type | ||
1685 | +# define machine_arch_type __machine_arch_type | ||
1686 | +# else | ||
1687 | +# define machine_arch_type MACH_TYPE_I878 | ||
1688 | +# endif | ||
1689 | +# define machine_is_i878() (machine_arch_type == MACH_TYPE_I878) | ||
1690 | +#else | ||
1691 | +# define machine_is_i878() (0) | ||
1692 | +#endif | ||
1693 | + | ||
1694 | +#ifdef CONFIG_MACH_BORZOI | ||
1695 | +# ifdef machine_arch_type | ||
1696 | +# undef machine_arch_type | ||
1697 | +# define machine_arch_type __machine_arch_type | ||
1698 | +# else | ||
1699 | +# define machine_arch_type MACH_TYPE_BORZOI | ||
1700 | +# endif | ||
1701 | +# define machine_is_borzoi() (machine_arch_type == MACH_TYPE_BORZOI) | ||
1702 | +#else | ||
1703 | +# define machine_is_borzoi() (0) | ||
1704 | +#endif | ||
1705 | + | ||
1706 | +#ifdef CONFIG_MACH_GECKO | ||
1707 | +# ifdef machine_arch_type | ||
1708 | +# undef machine_arch_type | ||
1709 | +# define machine_arch_type __machine_arch_type | ||
1710 | +# else | ||
1711 | +# define machine_arch_type MACH_TYPE_GECKO | ||
1712 | +# endif | ||
1713 | +# define machine_is_gecko() (machine_arch_type == MACH_TYPE_GECKO) | ||
1714 | +#else | ||
1715 | +# define machine_is_gecko() (0) | ||
1716 | +#endif | ||
1717 | + | ||
1718 | +#ifdef CONFIG_MACH_DS101 | ||
1719 | +# ifdef machine_arch_type | ||
1720 | +# undef machine_arch_type | ||
1721 | +# define machine_arch_type __machine_arch_type | ||
1722 | +# else | ||
1723 | +# define machine_arch_type MACH_TYPE_DS101 | ||
1724 | +# endif | ||
1725 | +# define machine_is_ds101() (machine_arch_type == MACH_TYPE_DS101) | ||
1726 | +#else | ||
1727 | +# define machine_is_ds101() (0) | ||
1728 | +#endif | ||
1729 | + | ||
1730 | +#ifdef CONFIG_MACH_OMAP_PALMTT2 | ||
1731 | +# ifdef machine_arch_type | ||
1732 | +# undef machine_arch_type | ||
1733 | +# define machine_arch_type __machine_arch_type | ||
1734 | +# else | ||
1735 | +# define machine_arch_type MACH_TYPE_OMAP_PALMTT2 | ||
1736 | +# endif | ||
1737 | +# define machine_is_omap_palmtt2() (machine_arch_type == MACH_TYPE_OMAP_PALMTT2) | ||
1738 | +#else | ||
1739 | +# define machine_is_omap_palmtt2() (0) | ||
1740 | +#endif | ||
1741 | + | ||
1742 | +#ifdef CONFIG_MACH_XSCALE_PALMLD | ||
1743 | +# ifdef machine_arch_type | ||
1744 | +# undef machine_arch_type | ||
1745 | +# define machine_arch_type __machine_arch_type | ||
1746 | +# else | ||
1747 | +# define machine_arch_type MACH_TYPE_XSCALE_PALMLD | ||
1748 | +# endif | ||
1749 | +# define machine_is_xscale_palmld() (machine_arch_type == MACH_TYPE_XSCALE_PALMLD) | ||
1750 | +#else | ||
1751 | +# define machine_is_xscale_palmld() (0) | ||
1752 | +#endif | ||
1753 | + | ||
1754 | +#ifdef CONFIG_MACH_CC9C | ||
1755 | +# ifdef machine_arch_type | ||
1756 | +# undef machine_arch_type | ||
1757 | +# define machine_arch_type __machine_arch_type | ||
1758 | +# else | ||
1759 | +# define machine_arch_type MACH_TYPE_CC9C | ||
1760 | +# endif | ||
1761 | +# define machine_is_cc9c() (machine_arch_type == MACH_TYPE_CC9C) | ||
1762 | +#else | ||
1763 | +# define machine_is_cc9c() (0) | ||
1764 | +#endif | ||
1765 | + | ||
1766 | +#ifdef CONFIG_MACH_SBC1670 | ||
1767 | +# ifdef machine_arch_type | ||
1768 | +# undef machine_arch_type | ||
1769 | +# define machine_arch_type __machine_arch_type | ||
1770 | +# else | ||
1771 | +# define machine_arch_type MACH_TYPE_SBC1670 | ||
1772 | +# endif | ||
1773 | +# define machine_is_sbc1670() (machine_arch_type == MACH_TYPE_SBC1670) | ||
1774 | +#else | ||
1775 | +# define machine_is_sbc1670() (0) | ||
1776 | +#endif | ||
1777 | + | ||
1778 | +#ifdef CONFIG_MACH_IXDP28X5 | ||
1779 | +# ifdef machine_arch_type | ||
1780 | +# undef machine_arch_type | ||
1781 | +# define machine_arch_type __machine_arch_type | ||
1782 | +# else | ||
1783 | +# define machine_arch_type MACH_TYPE_IXDP28X5 | ||
1784 | +# endif | ||
1785 | +# define machine_is_ixdp28x5() (machine_arch_type == MACH_TYPE_IXDP28X5) | ||
1786 | +#else | ||
1787 | +# define machine_is_ixdp28x5() (0) | ||
1788 | +#endif | ||
1789 | + | ||
1790 | +#ifdef CONFIG_MACH_OMAP_PALMTT | ||
1791 | +# ifdef machine_arch_type | ||
1792 | +# undef machine_arch_type | ||
1793 | +# define machine_arch_type __machine_arch_type | ||
1794 | +# else | ||
1795 | +# define machine_arch_type MACH_TYPE_OMAP_PALMTT | ||
1796 | +# endif | ||
1797 | +# define machine_is_omap_palmtt() (machine_arch_type == MACH_TYPE_OMAP_PALMTT) | ||
1798 | +#else | ||
1799 | +# define machine_is_omap_palmtt() (0) | ||
1800 | +#endif | ||
1801 | + | ||
1802 | +#ifdef CONFIG_MACH_ML696K | ||
1803 | +# ifdef machine_arch_type | ||
1804 | +# undef machine_arch_type | ||
1805 | +# define machine_arch_type __machine_arch_type | ||
1806 | +# else | ||
1807 | +# define machine_arch_type MACH_TYPE_ML696K | ||
1808 | +# endif | ||
1809 | +# define machine_is_ml696k() (machine_arch_type == MACH_TYPE_ML696K) | ||
1810 | +#else | ||
1811 | +# define machine_is_ml696k() (0) | ||
1812 | +#endif | ||
1813 | + | ||
1814 | +#ifdef CONFIG_MACH_ARCOM_ZEUS | ||
1815 | +# ifdef machine_arch_type | ||
1816 | +# undef machine_arch_type | ||
1817 | +# define machine_arch_type __machine_arch_type | ||
1818 | +# else | ||
1819 | +# define machine_arch_type MACH_TYPE_ARCOM_ZEUS | ||
1820 | +# endif | ||
1821 | +# define machine_is_arcom_zeus() (machine_arch_type == MACH_TYPE_ARCOM_ZEUS) | ||
1822 | +#else | ||
1823 | +# define machine_is_arcom_zeus() (0) | ||
1824 | +#endif | ||
1825 | + | ||
1826 | +#ifdef CONFIG_MACH_OSIRIS | ||
1827 | +# ifdef machine_arch_type | ||
1828 | +# undef machine_arch_type | ||
1829 | +# define machine_arch_type __machine_arch_type | ||
1830 | +# else | ||
1831 | +# define machine_arch_type MACH_TYPE_OSIRIS | ||
1832 | +# endif | ||
1833 | +# define machine_is_osiris() (machine_arch_type == MACH_TYPE_OSIRIS) | ||
1834 | +#else | ||
1835 | +# define machine_is_osiris() (0) | ||
1836 | +#endif | ||
1837 | + | ||
1838 | +#ifdef CONFIG_MACH_MAESTRO | ||
1839 | +# ifdef machine_arch_type | ||
1840 | +# undef machine_arch_type | ||
1841 | +# define machine_arch_type __machine_arch_type | ||
1842 | +# else | ||
1843 | +# define machine_arch_type MACH_TYPE_MAESTRO | ||
1844 | +# endif | ||
1845 | +# define machine_is_maestro() (machine_arch_type == MACH_TYPE_MAESTRO) | ||
1846 | +#else | ||
1847 | +# define machine_is_maestro() (0) | ||
1848 | +#endif | ||
1849 | + | ||
1850 | +#ifdef CONFIG_MACH_TUNGE2 | ||
1851 | +# ifdef machine_arch_type | ||
1852 | +# undef machine_arch_type | ||
1853 | +# define machine_arch_type __machine_arch_type | ||
1854 | +# else | ||
1855 | +# define machine_arch_type MACH_TYPE_TUNGE2 | ||
1856 | +# endif | ||
1857 | +# define machine_is_tunge2() (machine_arch_type == MACH_TYPE_TUNGE2) | ||
1858 | +#else | ||
1859 | +# define machine_is_tunge2() (0) | ||
1860 | +#endif | ||
1861 | + | ||
1862 | +#ifdef CONFIG_MACH_IXBBM | ||
1863 | +# ifdef machine_arch_type | ||
1864 | +# undef machine_arch_type | ||
1865 | +# define machine_arch_type __machine_arch_type | ||
1866 | +# else | ||
1867 | +# define machine_arch_type MACH_TYPE_IXBBM | ||
1868 | +# endif | ||
1869 | +# define machine_is_ixbbm() (machine_arch_type == MACH_TYPE_IXBBM) | ||
1870 | +#else | ||
1871 | +# define machine_is_ixbbm() (0) | ||
1872 | +#endif | ||
1873 | + | ||
1874 | +#ifdef CONFIG_MACH_MX27 | ||
1875 | +# ifdef machine_arch_type | ||
1876 | +# undef machine_arch_type | ||
1877 | +# define machine_arch_type __machine_arch_type | ||
1878 | +# else | ||
1879 | +# define machine_arch_type MACH_TYPE_MX27 | ||
1880 | +# endif | ||
1881 | +# define machine_is_mx27ads() (machine_arch_type == MACH_TYPE_MX27) | ||
1882 | +#else | ||
1883 | +# define machine_is_mx27ads() (0) | ||
1884 | +#endif | ||
1885 | + | ||
1886 | +#ifdef CONFIG_MACH_AX8004 | ||
1887 | +# ifdef machine_arch_type | ||
1888 | +# undef machine_arch_type | ||
1889 | +# define machine_arch_type __machine_arch_type | ||
1890 | +# else | ||
1891 | +# define machine_arch_type MACH_TYPE_AX8004 | ||
1892 | +# endif | ||
1893 | +# define machine_is_ax8004() (machine_arch_type == MACH_TYPE_AX8004) | ||
1894 | +#else | ||
1895 | +# define machine_is_ax8004() (0) | ||
1896 | +#endif | ||
1897 | + | ||
1898 | +#ifdef CONFIG_MACH_AT91SAM9261EK | ||
1899 | +# ifdef machine_arch_type | ||
1900 | +# undef machine_arch_type | ||
1901 | +# define machine_arch_type __machine_arch_type | ||
1902 | +# else | ||
1903 | +# define machine_arch_type MACH_TYPE_AT91SAM9261EK | ||
1904 | +# endif | ||
1905 | +# define machine_is_at91sam9261ek() (machine_arch_type == MACH_TYPE_AT91SAM9261EK) | ||
1906 | +#else | ||
1907 | +# define machine_is_at91sam9261ek() (0) | ||
1908 | +#endif | ||
1909 | + | ||
1910 | +#ifdef CONFIG_MACH_LOFT | ||
1911 | +# ifdef machine_arch_type | ||
1912 | +# undef machine_arch_type | ||
1913 | +# define machine_arch_type __machine_arch_type | ||
1914 | +# else | ||
1915 | +# define machine_arch_type MACH_TYPE_LOFT | ||
1916 | +# endif | ||
1917 | +# define machine_is_loft() (machine_arch_type == MACH_TYPE_LOFT) | ||
1918 | +#else | ||
1919 | +# define machine_is_loft() (0) | ||
1920 | +#endif | ||
1921 | + | ||
1922 | +#ifdef CONFIG_MACH_MAGPIE | ||
1923 | +# ifdef machine_arch_type | ||
1924 | +# undef machine_arch_type | ||
1925 | +# define machine_arch_type __machine_arch_type | ||
1926 | +# else | ||
1927 | +# define machine_arch_type MACH_TYPE_MAGPIE | ||
1928 | +# endif | ||
1929 | +# define machine_is_magpie() (machine_arch_type == MACH_TYPE_MAGPIE) | ||
1930 | +#else | ||
1931 | +# define machine_is_magpie() (0) | ||
1932 | +#endif | ||
1933 | + | ||
1934 | +#ifdef CONFIG_MACH_MX21 | ||
1935 | +# ifdef machine_arch_type | ||
1936 | +# undef machine_arch_type | ||
1937 | +# define machine_arch_type __machine_arch_type | ||
1938 | +# else | ||
1939 | +# define machine_arch_type MACH_TYPE_MX21 | ||
1940 | +# endif | ||
1941 | +# define machine_is_mx21ads() (machine_arch_type == MACH_TYPE_MX21) | ||
1942 | +#else | ||
1943 | +# define machine_is_mx21ads() (0) | ||
1944 | +#endif | ||
1945 | + | ||
1946 | +#ifdef CONFIG_MACH_MB87M3400 | ||
1947 | +# ifdef machine_arch_type | ||
1948 | +# undef machine_arch_type | ||
1949 | +# define machine_arch_type __machine_arch_type | ||
1950 | +# else | ||
1951 | +# define machine_arch_type MACH_TYPE_MB87M3400 | ||
1952 | +# endif | ||
1953 | +# define machine_is_mb87m3400() (machine_arch_type == MACH_TYPE_MB87M3400) | ||
1954 | +#else | ||
1955 | +# define machine_is_mb87m3400() (0) | ||
1956 | +#endif | ||
1957 | + | ||
1958 | +#ifdef CONFIG_MACH_MGUARD_DELTA | ||
1959 | +# ifdef machine_arch_type | ||
1960 | +# undef machine_arch_type | ||
1961 | +# define machine_arch_type __machine_arch_type | ||
1962 | +# else | ||
1963 | +# define machine_arch_type MACH_TYPE_MGUARD_DELTA | ||
1964 | +# endif | ||
1965 | +# define machine_is_mguard_delta() (machine_arch_type == MACH_TYPE_MGUARD_DELTA) | ||
1966 | +#else | ||
1967 | +# define machine_is_mguard_delta() (0) | ||
1968 | +#endif | ||
1969 | + | ||
1970 | +#ifdef CONFIG_MACH_DAVINCI_DVDP | ||
1971 | +# ifdef machine_arch_type | ||
1972 | +# undef machine_arch_type | ||
1973 | +# define machine_arch_type __machine_arch_type | ||
1974 | +# else | ||
1975 | +# define machine_arch_type MACH_TYPE_DAVINCI_DVDP | ||
1976 | +# endif | ||
1977 | +# define machine_is_davinci_dvdp() (machine_arch_type == MACH_TYPE_DAVINCI_DVDP) | ||
1978 | +#else | ||
1979 | +# define machine_is_davinci_dvdp() (0) | ||
1980 | +#endif | ||
1981 | + | ||
1982 | +#ifdef CONFIG_MACH_HTCUNIVERSAL | ||
1983 | +# ifdef machine_arch_type | ||
1984 | +# undef machine_arch_type | ||
1985 | +# define machine_arch_type __machine_arch_type | ||
1986 | +# else | ||
1987 | +# define machine_arch_type MACH_TYPE_HTCUNIVERSAL | ||
1988 | +# endif | ||
1989 | +# define machine_is_htcuniversal() (machine_arch_type == MACH_TYPE_HTCUNIVERSAL) | ||
1990 | +#else | ||
1991 | +# define machine_is_htcuniversal() (0) | ||
1992 | +#endif | ||
1993 | + | ||
1994 | +#ifdef CONFIG_MACH_TPAD | ||
1995 | +# ifdef machine_arch_type | ||
1996 | +# undef machine_arch_type | ||
1997 | +# define machine_arch_type __machine_arch_type | ||
1998 | +# else | ||
1999 | +# define machine_arch_type MACH_TYPE_TPAD | ||
2000 | +# endif | ||
2001 | +# define machine_is_tpad() (machine_arch_type == MACH_TYPE_TPAD) | ||
2002 | +#else | ||
2003 | +# define machine_is_tpad() (0) | ||
2004 | +#endif | ||
2005 | + | ||
2006 | +#ifdef CONFIG_MACH_ROVERP3 | ||
2007 | +# ifdef machine_arch_type | ||
2008 | +# undef machine_arch_type | ||
2009 | +# define machine_arch_type __machine_arch_type | ||
2010 | +# else | ||
2011 | +# define machine_arch_type MACH_TYPE_ROVERP3 | ||
2012 | +# endif | ||
2013 | +# define machine_is_roverp3() (machine_arch_type == MACH_TYPE_ROVERP3) | ||
2014 | +#else | ||
2015 | +# define machine_is_roverp3() (0) | ||
2016 | +#endif | ||
2017 | + | ||
2018 | +#ifdef CONFIG_MACH_JORNADA928 | ||
2019 | +# ifdef machine_arch_type | ||
2020 | +# undef machine_arch_type | ||
2021 | +# define machine_arch_type __machine_arch_type | ||
2022 | +# else | ||
2023 | +# define machine_arch_type MACH_TYPE_JORNADA928 | ||
2024 | +# endif | ||
2025 | +# define machine_is_jornada928() (machine_arch_type == MACH_TYPE_JORNADA928) | ||
2026 | +#else | ||
2027 | +# define machine_is_jornada928() (0) | ||
2028 | +#endif | ||
2029 | + | ||
2030 | +#ifdef CONFIG_MACH_MV88FXX81 | ||
2031 | +# ifdef machine_arch_type | ||
2032 | +# undef machine_arch_type | ||
2033 | +# define machine_arch_type __machine_arch_type | ||
2034 | +# else | ||
2035 | +# define machine_arch_type MACH_TYPE_MV88FXX81 | ||
2036 | +# endif | ||
2037 | +# define machine_is_mv88fxx81() (machine_arch_type == MACH_TYPE_MV88FXX81) | ||
2038 | +#else | ||
2039 | +# define machine_is_mv88fxx81() (0) | ||
2040 | +#endif | ||
2041 | + | ||
2042 | +#ifdef CONFIG_MACH_STMP36XX | ||
2043 | +# ifdef machine_arch_type | ||
2044 | +# undef machine_arch_type | ||
2045 | +# define machine_arch_type __machine_arch_type | ||
2046 | +# else | ||
2047 | +# define machine_arch_type MACH_TYPE_STMP36XX | ||
2048 | +# endif | ||
2049 | +# define machine_is_stmp36xx() (machine_arch_type == MACH_TYPE_STMP36XX) | ||
2050 | +#else | ||
2051 | +# define machine_is_stmp36xx() (0) | ||
2052 | +#endif | ||
2053 | + | ||
2054 | +#ifdef CONFIG_MACH_SXNI79524 | ||
2055 | +# ifdef machine_arch_type | ||
2056 | +# undef machine_arch_type | ||
2057 | +# define machine_arch_type __machine_arch_type | ||
2058 | +# else | ||
2059 | +# define machine_arch_type MACH_TYPE_SXNI79524 | ||
2060 | +# endif | ||
2061 | +# define machine_is_sxni79524() (machine_arch_type == MACH_TYPE_SXNI79524) | ||
2062 | +#else | ||
2063 | +# define machine_is_sxni79524() (0) | ||
2064 | +#endif | ||
2065 | + | ||
2066 | +#ifdef CONFIG_MACH_AMS_DELTA | ||
2067 | +# ifdef machine_arch_type | ||
2068 | +# undef machine_arch_type | ||
2069 | +# define machine_arch_type __machine_arch_type | ||
2070 | +# else | ||
2071 | +# define machine_arch_type MACH_TYPE_AMS_DELTA | ||
2072 | +# endif | ||
2073 | +# define machine_is_ams_delta() (machine_arch_type == MACH_TYPE_AMS_DELTA) | ||
2074 | +#else | ||
2075 | +# define machine_is_ams_delta() (0) | ||
2076 | +#endif | ||
2077 | + | ||
2078 | +#ifdef CONFIG_MACH_URANIUM | ||
2079 | +# ifdef machine_arch_type | ||
2080 | +# undef machine_arch_type | ||
2081 | +# define machine_arch_type __machine_arch_type | ||
2082 | +# else | ||
2083 | +# define machine_arch_type MACH_TYPE_URANIUM | ||
2084 | +# endif | ||
2085 | +# define machine_is_uranium() (machine_arch_type == MACH_TYPE_URANIUM) | ||
2086 | +#else | ||
2087 | +# define machine_is_uranium() (0) | ||
2088 | +#endif | ||
2089 | + | ||
2090 | +#ifdef CONFIG_MACH_UCON | ||
2091 | +# ifdef machine_arch_type | ||
2092 | +# undef machine_arch_type | ||
2093 | +# define machine_arch_type __machine_arch_type | ||
2094 | +# else | ||
2095 | +# define machine_arch_type MACH_TYPE_UCON | ||
2096 | +# endif | ||
2097 | +# define machine_is_ucon() (machine_arch_type == MACH_TYPE_UCON) | ||
2098 | +#else | ||
2099 | +# define machine_is_ucon() (0) | ||
2100 | +#endif | ||
2101 | + | ||
2102 | +#ifdef CONFIG_MACH_NAS100D | ||
2103 | +# ifdef machine_arch_type | ||
2104 | +# undef machine_arch_type | ||
2105 | +# define machine_arch_type __machine_arch_type | ||
2106 | +# else | ||
2107 | +# define machine_arch_type MACH_TYPE_NAS100D | ||
2108 | +# endif | ||
2109 | +# define machine_is_nas100d() (machine_arch_type == MACH_TYPE_NAS100D) | ||
2110 | +#else | ||
2111 | +# define machine_is_nas100d() (0) | ||
2112 | +#endif | ||
2113 | + | ||
2114 | +#ifdef CONFIG_MACH_L083_1000 | ||
2115 | +# ifdef machine_arch_type | ||
2116 | +# undef machine_arch_type | ||
2117 | +# define machine_arch_type __machine_arch_type | ||
2118 | +# else | ||
2119 | +# define machine_arch_type MACH_TYPE_L083_1000 | ||
2120 | +# endif | ||
2121 | +# define machine_is_l083() (machine_arch_type == MACH_TYPE_L083_1000) | ||
2122 | +#else | ||
2123 | +# define machine_is_l083() (0) | ||
2124 | +#endif | ||
2125 | + | ||
2126 | +#ifdef CONFIG_MACH_EZX | ||
2127 | +# ifdef machine_arch_type | ||
2128 | +# undef machine_arch_type | ||
2129 | +# define machine_arch_type __machine_arch_type | ||
2130 | +# else | ||
2131 | +# define machine_arch_type MACH_TYPE_EZX | ||
2132 | +# endif | ||
2133 | +# define machine_is_ezx() (machine_arch_type == MACH_TYPE_EZX) | ||
2134 | +#else | ||
2135 | +# define machine_is_ezx() (0) | ||
2136 | +#endif | ||
2137 | + | ||
2138 | +#ifdef CONFIG_MACH_PNX5220 | ||
2139 | +# ifdef machine_arch_type | ||
2140 | +# undef machine_arch_type | ||
2141 | +# define machine_arch_type __machine_arch_type | ||
2142 | +# else | ||
2143 | +# define machine_arch_type MACH_TYPE_PNX5220 | ||
2144 | +# endif | ||
2145 | +# define machine_is_pnx5220() (machine_arch_type == MACH_TYPE_PNX5220) | ||
2146 | +#else | ||
2147 | +# define machine_is_pnx5220() (0) | ||
2148 | +#endif | ||
2149 | + | ||
2150 | +#ifdef CONFIG_MACH_BUTTE | ||
2151 | +# ifdef machine_arch_type | ||
2152 | +# undef machine_arch_type | ||
2153 | +# define machine_arch_type __machine_arch_type | ||
2154 | +# else | ||
2155 | +# define machine_arch_type MACH_TYPE_BUTTE | ||
2156 | +# endif | ||
2157 | +# define machine_is_butte() (machine_arch_type == MACH_TYPE_BUTTE) | ||
2158 | +#else | ||
2159 | +# define machine_is_butte() (0) | ||
2160 | +#endif | ||
2161 | + | ||
2162 | +#ifdef CONFIG_MACH_SRM2 | ||
2163 | +# ifdef machine_arch_type | ||
2164 | +# undef machine_arch_type | ||
2165 | +# define machine_arch_type __machine_arch_type | ||
2166 | +# else | ||
2167 | +# define machine_arch_type MACH_TYPE_SRM2 | ||
2168 | +# endif | ||
2169 | +# define machine_is_srm2() (machine_arch_type == MACH_TYPE_SRM2) | ||
2170 | +#else | ||
2171 | +# define machine_is_srm2() (0) | ||
2172 | +#endif | ||
2173 | + | ||
2174 | +#ifdef CONFIG_MACH_DSBR | ||
2175 | +# ifdef machine_arch_type | ||
2176 | +# undef machine_arch_type | ||
2177 | +# define machine_arch_type __machine_arch_type | ||
2178 | +# else | ||
2179 | +# define machine_arch_type MACH_TYPE_DSBR | ||
2180 | +# endif | ||
2181 | +# define machine_is_dsbr() (machine_arch_type == MACH_TYPE_DSBR) | ||
2182 | +#else | ||
2183 | +# define machine_is_dsbr() (0) | ||
2184 | +#endif | ||
2185 | + | ||
2186 | +#ifdef CONFIG_MACH_CRYSTALBALL | ||
2187 | +# ifdef machine_arch_type | ||
2188 | +# undef machine_arch_type | ||
2189 | +# define machine_arch_type __machine_arch_type | ||
2190 | +# else | ||
2191 | +# define machine_arch_type MACH_TYPE_CRYSTALBALL | ||
2192 | +# endif | ||
2193 | +# define machine_is_crystalball() (machine_arch_type == MACH_TYPE_CRYSTALBALL) | ||
2194 | +#else | ||
2195 | +# define machine_is_crystalball() (0) | ||
2196 | +#endif | ||
2197 | + | ||
2198 | +#ifdef CONFIG_MACH_TINYPXA27X | ||
2199 | +# ifdef machine_arch_type | ||
2200 | +# undef machine_arch_type | ||
2201 | +# define machine_arch_type __machine_arch_type | ||
2202 | +# else | ||
2203 | +# define machine_arch_type MACH_TYPE_TINYPXA27X | ||
2204 | +# endif | ||
2205 | +# define machine_is_tinypxa27x() (machine_arch_type == MACH_TYPE_TINYPXA27X) | ||
2206 | +#else | ||
2207 | +# define machine_is_tinypxa27x() (0) | ||
2208 | +#endif | ||
2209 | + | ||
2210 | +#ifdef CONFIG_MACH_HERBIE | ||
2211 | +# ifdef machine_arch_type | ||
2212 | +# undef machine_arch_type | ||
2213 | +# define machine_arch_type __machine_arch_type | ||
2214 | +# else | ||
2215 | +# define machine_arch_type MACH_TYPE_HERBIE | ||
2216 | +# endif | ||
2217 | +# define machine_is_herbie() (machine_arch_type == MACH_TYPE_HERBIE) | ||
2218 | +#else | ||
2219 | +# define machine_is_herbie() (0) | ||
2220 | +#endif | ||
2221 | + | ||
2222 | +#ifdef CONFIG_MACH_MAGICIAN | ||
2223 | +# ifdef machine_arch_type | ||
2224 | +# undef machine_arch_type | ||
2225 | +# define machine_arch_type __machine_arch_type | ||
2226 | +# else | ||
2227 | +# define machine_arch_type MACH_TYPE_MAGICIAN | ||
2228 | +# endif | ||
2229 | +# define machine_is_magician() (machine_arch_type == MACH_TYPE_MAGICIAN) | ||
2230 | +#else | ||
2231 | +# define machine_is_magician() (0) | ||
2232 | +#endif | ||
2233 | + | ||
2234 | +#ifdef CONFIG_MACH_CM4002 | ||
2235 | +# ifdef machine_arch_type | ||
2236 | +# undef machine_arch_type | ||
2237 | +# define machine_arch_type __machine_arch_type | ||
2238 | +# else | ||
2239 | +# define machine_arch_type MACH_TYPE_CM4002 | ||
2240 | +# endif | ||
2241 | +# define machine_is_cm4002() (machine_arch_type == MACH_TYPE_CM4002) | ||
2242 | +#else | ||
2243 | +# define machine_is_cm4002() (0) | ||
2244 | +#endif | ||
2245 | + | ||
2246 | +#ifdef CONFIG_MACH_B4 | ||
2247 | +# ifdef machine_arch_type | ||
2248 | +# undef machine_arch_type | ||
2249 | +# define machine_arch_type __machine_arch_type | ||
2250 | +# else | ||
2251 | +# define machine_arch_type MACH_TYPE_B4 | ||
2252 | +# endif | ||
2253 | +# define machine_is_b4() (machine_arch_type == MACH_TYPE_B4) | ||
2254 | +#else | ||
2255 | +# define machine_is_b4() (0) | ||
2256 | +#endif | ||
2257 | + | ||
2258 | +#ifdef CONFIG_MACH_MAUI | ||
2259 | +# ifdef machine_arch_type | ||
2260 | +# undef machine_arch_type | ||
2261 | +# define machine_arch_type __machine_arch_type | ||
2262 | +# else | ||
2263 | +# define machine_arch_type MACH_TYPE_MAUI | ||
2264 | +# endif | ||
2265 | +# define machine_is_maui() (machine_arch_type == MACH_TYPE_MAUI) | ||
2266 | +#else | ||
2267 | +# define machine_is_maui() (0) | ||
2268 | +#endif | ||
2269 | + | ||
2270 | +#ifdef CONFIG_MACH_CYBERTRACKER_G | ||
2271 | +# ifdef machine_arch_type | ||
2272 | +# undef machine_arch_type | ||
2273 | +# define machine_arch_type __machine_arch_type | ||
2274 | +# else | ||
2275 | +# define machine_arch_type MACH_TYPE_CYBERTRACKER_G | ||
2276 | +# endif | ||
2277 | +# define machine_is_cybertracker_g() (machine_arch_type == MACH_TYPE_CYBERTRACKER_G) | ||
2278 | +#else | ||
2279 | +# define machine_is_cybertracker_g() (0) | ||
2280 | +#endif | ||
2281 | + | ||
2282 | +#ifdef CONFIG_MACH_NXDKN | ||
2283 | +# ifdef machine_arch_type | ||
2284 | +# undef machine_arch_type | ||
2285 | +# define machine_arch_type __machine_arch_type | ||
2286 | +# else | ||
2287 | +# define machine_arch_type MACH_TYPE_NXDKN | ||
2288 | +# endif | ||
2289 | +# define machine_is_nxdkn() (machine_arch_type == MACH_TYPE_NXDKN) | ||
2290 | +#else | ||
2291 | +# define machine_is_nxdkn() (0) | ||
2292 | +#endif | ||
2293 | + | ||
2294 | +#ifdef CONFIG_MACH_MIO8390 | ||
2295 | +# ifdef machine_arch_type | ||
2296 | +# undef machine_arch_type | ||
2297 | +# define machine_arch_type __machine_arch_type | ||
2298 | +# else | ||
2299 | +# define machine_arch_type MACH_TYPE_MIO8390 | ||
2300 | +# endif | ||
2301 | +# define machine_is_mio8390() (machine_arch_type == MACH_TYPE_MIO8390) | ||
2302 | +#else | ||
2303 | +# define machine_is_mio8390() (0) | ||
2304 | +#endif | ||
2305 | + | ||
2306 | +#ifdef CONFIG_MACH_OMI_BOARD | ||
2307 | +# ifdef machine_arch_type | ||
2308 | +# undef machine_arch_type | ||
2309 | +# define machine_arch_type __machine_arch_type | ||
2310 | +# else | ||
2311 | +# define machine_arch_type MACH_TYPE_OMI_BOARD | ||
2312 | +# endif | ||
2313 | +# define machine_is_omi_board() (machine_arch_type == MACH_TYPE_OMI_BOARD) | ||
2314 | +#else | ||
2315 | +# define machine_is_omi_board() (0) | ||
2316 | +#endif | ||
2317 | + | ||
2318 | +#ifdef CONFIG_MACH_MX21CIV | ||
2319 | +# ifdef machine_arch_type | ||
2320 | +# undef machine_arch_type | ||
2321 | +# define machine_arch_type __machine_arch_type | ||
2322 | +# else | ||
2323 | +# define machine_arch_type MACH_TYPE_MX21CIV | ||
2324 | +# endif | ||
2325 | +# define machine_is_mx21civ() (machine_arch_type == MACH_TYPE_MX21CIV) | ||
2326 | +#else | ||
2327 | +# define machine_is_mx21civ() (0) | ||
2328 | +#endif | ||
2329 | + | ||
2330 | +#ifdef CONFIG_MACH_MAHI_CDAC | ||
2331 | +# ifdef machine_arch_type | ||
2332 | +# undef machine_arch_type | ||
2333 | +# define machine_arch_type __machine_arch_type | ||
2334 | +# else | ||
2335 | +# define machine_arch_type MACH_TYPE_MAHI_CDAC | ||
2336 | +# endif | ||
2337 | +# define machine_is_mahi_cdac() (machine_arch_type == MACH_TYPE_MAHI_CDAC) | ||
2338 | +#else | ||
2339 | +# define machine_is_mahi_cdac() (0) | ||
2340 | +#endif | ||
2341 | + | ||
2342 | +#ifdef CONFIG_MACH_XSCALE_PALMTX | ||
2343 | +# ifdef machine_arch_type | ||
2344 | +# undef machine_arch_type | ||
2345 | +# define machine_arch_type __machine_arch_type | ||
2346 | +# else | ||
2347 | +# define machine_arch_type MACH_TYPE_XSCALE_PALMTX | ||
2348 | +# endif | ||
2349 | +# define machine_is_xscale_palmtx() (machine_arch_type == MACH_TYPE_XSCALE_PALMTX) | ||
2350 | +#else | ||
2351 | +# define machine_is_xscale_palmtx() (0) | ||
2352 | +#endif | ||
2353 | + | ||
2354 | +#ifdef CONFIG_MACH_S3C2413 | ||
2355 | +# ifdef machine_arch_type | ||
2356 | +# undef machine_arch_type | ||
2357 | +# define machine_arch_type __machine_arch_type | ||
2358 | +# else | ||
2359 | +# define machine_arch_type MACH_TYPE_S3C2413 | ||
2360 | +# endif | ||
2361 | +# define machine_is_s3c2413() (machine_arch_type == MACH_TYPE_S3C2413) | ||
2362 | +#else | ||
2363 | +# define machine_is_s3c2413() (0) | ||
2364 | +#endif | ||
2365 | + | ||
2366 | +#ifdef CONFIG_MACH_SAMSYS_EP0 | ||
2367 | +# ifdef machine_arch_type | ||
2368 | +# undef machine_arch_type | ||
2369 | +# define machine_arch_type __machine_arch_type | ||
2370 | +# else | ||
2371 | +# define machine_arch_type MACH_TYPE_SAMSYS_EP0 | ||
2372 | +# endif | ||
2373 | +# define machine_is_samsys_ep0() (machine_arch_type == MACH_TYPE_SAMSYS_EP0) | ||
2374 | +#else | ||
2375 | +# define machine_is_samsys_ep0() (0) | ||
2376 | +#endif | ||
2377 | + | ||
2378 | +#ifdef CONFIG_MACH_WG302V1 | ||
2379 | +# ifdef machine_arch_type | ||
2380 | +# undef machine_arch_type | ||
2381 | +# define machine_arch_type __machine_arch_type | ||
2382 | +# else | ||
2383 | +# define machine_arch_type MACH_TYPE_WG302V1 | ||
2384 | +# endif | ||
2385 | +# define machine_is_wg302v1() (machine_arch_type == MACH_TYPE_WG302V1) | ||
2386 | +#else | ||
2387 | +# define machine_is_wg302v1() (0) | ||
2388 | +#endif | ||
2389 | + | ||
2390 | +#ifdef CONFIG_MACH_WG302V2 | ||
2391 | +# ifdef machine_arch_type | ||
2392 | +# undef machine_arch_type | ||
2393 | +# define machine_arch_type __machine_arch_type | ||
2394 | +# else | ||
2395 | +# define machine_arch_type MACH_TYPE_WG302V2 | ||
2396 | +# endif | ||
2397 | +# define machine_is_wg302v2() (machine_arch_type == MACH_TYPE_WG302V2) | ||
2398 | +#else | ||
2399 | +# define machine_is_wg302v2() (0) | ||
2400 | +#endif | ||
2401 | + | ||
2402 | +#ifdef CONFIG_MACH_EB42X | ||
2403 | +# ifdef machine_arch_type | ||
2404 | +# undef machine_arch_type | ||
2405 | +# define machine_arch_type __machine_arch_type | ||
2406 | +# else | ||
2407 | +# define machine_arch_type MACH_TYPE_EB42X | ||
2408 | +# endif | ||
2409 | +# define machine_is_eb42x() (machine_arch_type == MACH_TYPE_EB42X) | ||
2410 | +#else | ||
2411 | +# define machine_is_eb42x() (0) | ||
2412 | +#endif | ||
2413 | + | ||
2414 | +#ifdef CONFIG_MACH_IQ331ES | ||
2415 | +# ifdef machine_arch_type | ||
2416 | +# undef machine_arch_type | ||
2417 | +# define machine_arch_type __machine_arch_type | ||
2418 | +# else | ||
2419 | +# define machine_arch_type MACH_TYPE_IQ331ES | ||
2420 | +# endif | ||
2421 | +# define machine_is_iq331es() (machine_arch_type == MACH_TYPE_IQ331ES) | ||
2422 | +#else | ||
2423 | +# define machine_is_iq331es() (0) | ||
2424 | +#endif | ||
2425 | + | ||
2426 | +#ifdef CONFIG_MACH_COSYDSP | ||
2427 | +# ifdef machine_arch_type | ||
2428 | +# undef machine_arch_type | ||
2429 | +# define machine_arch_type __machine_arch_type | ||
2430 | +# else | ||
2431 | +# define machine_arch_type MACH_TYPE_COSYDSP | ||
2432 | +# endif | ||
2433 | +# define machine_is_cosydsp() (machine_arch_type == MACH_TYPE_COSYDSP) | ||
2434 | +#else | ||
2435 | +# define machine_is_cosydsp() (0) | ||
2436 | +#endif | ||
2437 | + | ||
2438 | +#ifdef CONFIG_MACH_UPLAT7D | ||
2439 | +# ifdef machine_arch_type | ||
2440 | +# undef machine_arch_type | ||
2441 | +# define machine_arch_type __machine_arch_type | ||
2442 | +# else | ||
2443 | +# define machine_arch_type MACH_TYPE_UPLAT7D | ||
2444 | +# endif | ||
2445 | +# define machine_is_uplat7d_proto() (machine_arch_type == MACH_TYPE_UPLAT7D) | ||
2446 | +#else | ||
2447 | +# define machine_is_uplat7d_proto() (0) | ||
2448 | +#endif | ||
2449 | + | ||
2450 | +#ifdef CONFIG_MACH_PTDAVINCI | ||
2451 | +# ifdef machine_arch_type | ||
2452 | +# undef machine_arch_type | ||
2453 | +# define machine_arch_type __machine_arch_type | ||
2454 | +# else | ||
2455 | +# define machine_arch_type MACH_TYPE_PTDAVINCI | ||
2456 | +# endif | ||
2457 | +# define machine_is_ptdavinci() (machine_arch_type == MACH_TYPE_PTDAVINCI) | ||
2458 | +#else | ||
2459 | +# define machine_is_ptdavinci() (0) | ||
2460 | +#endif | ||
2461 | + | ||
2462 | +#ifdef CONFIG_MACH_MBUS | ||
2463 | +# ifdef machine_arch_type | ||
2464 | +# undef machine_arch_type | ||
2465 | +# define machine_arch_type __machine_arch_type | ||
2466 | +# else | ||
2467 | +# define machine_arch_type MACH_TYPE_MBUS | ||
2468 | +# endif | ||
2469 | +# define machine_is_mbus() (machine_arch_type == MACH_TYPE_MBUS) | ||
2470 | +#else | ||
2471 | +# define machine_is_mbus() (0) | ||
2472 | +#endif | ||
2473 | + | ||
2474 | +#ifdef CONFIG_MACH_NADIA2VB | ||
2475 | +# ifdef machine_arch_type | ||
2476 | +# undef machine_arch_type | ||
2477 | +# define machine_arch_type __machine_arch_type | ||
2478 | +# else | ||
2479 | +# define machine_arch_type MACH_TYPE_NADIA2VB | ||
2480 | +# endif | ||
2481 | +# define machine_is_nadia2vb() (machine_arch_type == MACH_TYPE_NADIA2VB) | ||
2482 | +#else | ||
2483 | +# define machine_is_nadia2vb() (0) | ||
2484 | +#endif | ||
2485 | + | ||
2486 | +#ifdef CONFIG_MACH_R1000 | ||
2487 | +# ifdef machine_arch_type | ||
2488 | +# undef machine_arch_type | ||
2489 | +# define machine_arch_type __machine_arch_type | ||
2490 | +# else | ||
2491 | +# define machine_arch_type MACH_TYPE_R1000 | ||
2492 | +# endif | ||
2493 | +# define machine_is_r1000() (machine_arch_type == MACH_TYPE_R1000) | ||
2494 | +#else | ||
2495 | +# define machine_is_r1000() (0) | ||
2496 | +#endif | ||
2497 | + | ||
2498 | +#ifdef CONFIG_MACH_HW90250 | ||
2499 | +# ifdef machine_arch_type | ||
2500 | +# undef machine_arch_type | ||
2501 | +# define machine_arch_type __machine_arch_type | ||
2502 | +# else | ||
2503 | +# define machine_arch_type MACH_TYPE_HW90250 | ||
2504 | +# endif | ||
2505 | +# define machine_is_hw90250() (machine_arch_type == MACH_TYPE_HW90250) | ||
2506 | +#else | ||
2507 | +# define machine_is_hw90250() (0) | ||
2508 | +#endif | ||
2509 | + | ||
2510 | +#ifdef CONFIG_MACH_OMAP_2430SDP | ||
2511 | +# ifdef machine_arch_type | ||
2512 | +# undef machine_arch_type | ||
2513 | +# define machine_arch_type __machine_arch_type | ||
2514 | +# else | ||
2515 | +# define machine_arch_type MACH_TYPE_OMAP_2430SDP | ||
2516 | +# endif | ||
2517 | +# define machine_is_omap_2430sdp() (machine_arch_type == MACH_TYPE_OMAP_2430SDP) | ||
2518 | +#else | ||
2519 | +# define machine_is_omap_2430sdp() (0) | ||
2520 | +#endif | ||
2521 | + | ||
2522 | +#ifdef CONFIG_MACH_DAVINCI_EVM | ||
2523 | +# ifdef machine_arch_type | ||
2524 | +# undef machine_arch_type | ||
2525 | +# define machine_arch_type __machine_arch_type | ||
2526 | +# else | ||
2527 | +# define machine_arch_type MACH_TYPE_DAVINCI_EVM | ||
2528 | +# endif | ||
2529 | +# define machine_is_davinci_evm() (machine_arch_type == MACH_TYPE_DAVINCI_EVM) | ||
2530 | +#else | ||
2531 | +# define machine_is_davinci_evm() (0) | ||
2532 | +#endif | ||
2533 | + | ||
2534 | +#ifdef CONFIG_MACH_OMAP_TORNADO | ||
2535 | +# ifdef machine_arch_type | ||
2536 | +# undef machine_arch_type | ||
2537 | +# define machine_arch_type __machine_arch_type | ||
2538 | +# else | ||
2539 | +# define machine_arch_type MACH_TYPE_OMAP_TORNADO | ||
2540 | +# endif | ||
2541 | +# define machine_is_omap_tornado() (machine_arch_type == MACH_TYPE_OMAP_TORNADO) | ||
2542 | +#else | ||
2543 | +# define machine_is_omap_tornado() (0) | ||
2544 | +#endif | ||
2545 | + | ||
2546 | +#ifdef CONFIG_MACH_OLOCREEK | ||
2547 | +# ifdef machine_arch_type | ||
2548 | +# undef machine_arch_type | ||
2549 | +# define machine_arch_type __machine_arch_type | ||
2550 | +# else | ||
2551 | +# define machine_arch_type MACH_TYPE_OLOCREEK | ||
2552 | +# endif | ||
2553 | +# define machine_is_olocreek() (machine_arch_type == MACH_TYPE_OLOCREEK) | ||
2554 | +#else | ||
2555 | +# define machine_is_olocreek() (0) | ||
2556 | +#endif | ||
2557 | + | ||
2558 | +#ifdef CONFIG_MACH_PALMZ72 | ||
2559 | +# ifdef machine_arch_type | ||
2560 | +# undef machine_arch_type | ||
2561 | +# define machine_arch_type __machine_arch_type | ||
2562 | +# else | ||
2563 | +# define machine_arch_type MACH_TYPE_PALMZ72 | ||
2564 | +# endif | ||
2565 | +# define machine_is_palmz72() (machine_arch_type == MACH_TYPE_PALMZ72) | ||
2566 | +#else | ||
2567 | +# define machine_is_palmz72() (0) | ||
2568 | +#endif | ||
2569 | + | ||
2570 | +#ifdef CONFIG_MACH_NXDB500 | ||
2571 | +# ifdef machine_arch_type | ||
2572 | +# undef machine_arch_type | ||
2573 | +# define machine_arch_type __machine_arch_type | ||
2574 | +# else | ||
2575 | +# define machine_arch_type MACH_TYPE_NXDB500 | ||
2576 | +# endif | ||
2577 | +# define machine_is_nxdb500() (machine_arch_type == MACH_TYPE_NXDB500) | ||
2578 | +#else | ||
2579 | +# define machine_is_nxdb500() (0) | ||
2580 | +#endif | ||
2581 | + | ||
2582 | +#ifdef CONFIG_MACH_APF9328 | ||
2583 | +# ifdef machine_arch_type | ||
2584 | +# undef machine_arch_type | ||
2585 | +# define machine_arch_type __machine_arch_type | ||
2586 | +# else | ||
2587 | +# define machine_arch_type MACH_TYPE_APF9328 | ||
2588 | +# endif | ||
2589 | +# define machine_is_apf9328() (machine_arch_type == MACH_TYPE_APF9328) | ||
2590 | +#else | ||
2591 | +# define machine_is_apf9328() (0) | ||
2592 | +#endif | ||
2593 | + | ||
2594 | +#ifdef CONFIG_MACH_OMAP_WIPOQ | ||
2595 | +# ifdef machine_arch_type | ||
2596 | +# undef machine_arch_type | ||
2597 | +# define machine_arch_type __machine_arch_type | ||
2598 | +# else | ||
2599 | +# define machine_arch_type MACH_TYPE_OMAP_WIPOQ | ||
2600 | +# endif | ||
2601 | +# define machine_is_omap_wipoq() (machine_arch_type == MACH_TYPE_OMAP_WIPOQ) | ||
2602 | +#else | ||
2603 | +# define machine_is_omap_wipoq() (0) | ||
2604 | +#endif | ||
2605 | + | ||
2606 | +#ifdef CONFIG_MACH_OMAP_TWIP | ||
2607 | +# ifdef machine_arch_type | ||
2608 | +# undef machine_arch_type | ||
2609 | +# define machine_arch_type __machine_arch_type | ||
2610 | +# else | ||
2611 | +# define machine_arch_type MACH_TYPE_OMAP_TWIP | ||
2612 | +# endif | ||
2613 | +# define machine_is_omap_twip() (machine_arch_type == MACH_TYPE_OMAP_TWIP) | ||
2614 | +#else | ||
2615 | +# define machine_is_omap_twip() (0) | ||
2616 | +#endif | ||
2617 | + | ||
2618 | +#ifdef CONFIG_MACH_XSCALE_PALMTREO650 | ||
2619 | +# ifdef machine_arch_type | ||
2620 | +# undef machine_arch_type | ||
2621 | +# define machine_arch_type __machine_arch_type | ||
2622 | +# else | ||
2623 | +# define machine_arch_type MACH_TYPE_XSCALE_PALMTREO650 | ||
2624 | +# endif | ||
2625 | +# define machine_is_xscale_treo650() (machine_arch_type == MACH_TYPE_XSCALE_PALMTREO650) | ||
2626 | +#else | ||
2627 | +# define machine_is_xscale_treo650() (0) | ||
2628 | +#endif | ||
2629 | + | ||
2630 | +#ifdef CONFIG_MACH_ACUMEN | ||
2631 | +# ifdef machine_arch_type | ||
2632 | +# undef machine_arch_type | ||
2633 | +# define machine_arch_type __machine_arch_type | ||
2634 | +# else | ||
2635 | +# define machine_arch_type MACH_TYPE_ACUMEN | ||
2636 | +# endif | ||
2637 | +# define machine_is_acumen() (machine_arch_type == MACH_TYPE_ACUMEN) | ||
2638 | +#else | ||
2639 | +# define machine_is_acumen() (0) | ||
2640 | +#endif | ||
2641 | + | ||
2642 | +#ifdef CONFIG_MACH_XP100 | ||
2643 | +# ifdef machine_arch_type | ||
2644 | +# undef machine_arch_type | ||
2645 | +# define machine_arch_type __machine_arch_type | ||
2646 | +# else | ||
2647 | +# define machine_arch_type MACH_TYPE_XP100 | ||
2648 | +# endif | ||
2649 | +# define machine_is_xp100() (machine_arch_type == MACH_TYPE_XP100) | ||
2650 | +#else | ||
2651 | +# define machine_is_xp100() (0) | ||
2652 | +#endif | ||
2653 | + | ||
2654 | +#ifdef CONFIG_MACH_FS2410 | ||
2655 | +# ifdef machine_arch_type | ||
2656 | +# undef machine_arch_type | ||
2657 | +# define machine_arch_type __machine_arch_type | ||
2658 | +# else | ||
2659 | +# define machine_arch_type MACH_TYPE_FS2410 | ||
2660 | +# endif | ||
2661 | +# define machine_is_fs2410() (machine_arch_type == MACH_TYPE_FS2410) | ||
2662 | +#else | ||
2663 | +# define machine_is_fs2410() (0) | ||
2664 | +#endif | ||
2665 | + | ||
2666 | +#ifdef CONFIG_MACH_PXA270_CERF | ||
2667 | +# ifdef machine_arch_type | ||
2668 | +# undef machine_arch_type | ||
2669 | +# define machine_arch_type __machine_arch_type | ||
2670 | +# else | ||
2671 | +# define machine_arch_type MACH_TYPE_PXA270_CERF | ||
2672 | +# endif | ||
2673 | +# define machine_is_pxa270_cerf() (machine_arch_type == MACH_TYPE_PXA270_CERF) | ||
2674 | +#else | ||
2675 | +# define machine_is_pxa270_cerf() (0) | ||
2676 | +#endif | ||
2677 | + | ||
2678 | +#ifdef CONFIG_MACH_SQ2FTLPALM | ||
2679 | +# ifdef machine_arch_type | ||
2680 | +# undef machine_arch_type | ||
2681 | +# define machine_arch_type __machine_arch_type | ||
2682 | +# else | ||
2683 | +# define machine_arch_type MACH_TYPE_SQ2FTLPALM | ||
2684 | +# endif | ||
2685 | +# define machine_is_sq2ftlpalm() (machine_arch_type == MACH_TYPE_SQ2FTLPALM) | ||
2686 | +#else | ||
2687 | +# define machine_is_sq2ftlpalm() (0) | ||
2688 | +#endif | ||
2689 | + | ||
2690 | +#ifdef CONFIG_MACH_BSEMSERVER | ||
2691 | +# ifdef machine_arch_type | ||
2692 | +# undef machine_arch_type | ||
2693 | +# define machine_arch_type __machine_arch_type | ||
2694 | +# else | ||
2695 | +# define machine_arch_type MACH_TYPE_BSEMSERVER | ||
2696 | +# endif | ||
2697 | +# define machine_is_bsemserver() (machine_arch_type == MACH_TYPE_BSEMSERVER) | ||
2698 | +#else | ||
2699 | +# define machine_is_bsemserver() (0) | ||
2700 | +#endif | ||
2701 | + | ||
2702 | +#ifdef CONFIG_MACH_NETCLIENT | ||
2703 | +# ifdef machine_arch_type | ||
2704 | +# undef machine_arch_type | ||
2705 | +# define machine_arch_type __machine_arch_type | ||
2706 | +# else | ||
2707 | +# define machine_arch_type MACH_TYPE_NETCLIENT | ||
2708 | +# endif | ||
2709 | +# define machine_is_netclient() (machine_arch_type == MACH_TYPE_NETCLIENT) | ||
2710 | +#else | ||
2711 | +# define machine_is_netclient() (0) | ||
2712 | +#endif | ||
2713 | + | ||
2714 | +#ifdef CONFIG_MACH_XSCALE_PALMTT5 | ||
2715 | +# ifdef machine_arch_type | ||
2716 | +# undef machine_arch_type | ||
2717 | +# define machine_arch_type __machine_arch_type | ||
2718 | +# else | ||
2719 | +# define machine_arch_type MACH_TYPE_XSCALE_PALMTT5 | ||
2720 | +# endif | ||
2721 | +# define machine_is_xscale_palmtt5() (machine_arch_type == MACH_TYPE_XSCALE_PALMTT5) | ||
2722 | +#else | ||
2723 | +# define machine_is_xscale_palmtt5() (0) | ||
2724 | +#endif | ||
2725 | + | ||
2726 | +#ifdef CONFIG_MACH_OMAP_PALMTC | ||
2727 | +# ifdef machine_arch_type | ||
2728 | +# undef machine_arch_type | ||
2729 | +# define machine_arch_type __machine_arch_type | ||
2730 | +# else | ||
2731 | +# define machine_arch_type MACH_TYPE_OMAP_PALMTC | ||
2732 | +# endif | ||
2733 | +# define machine_is_xscale_palmtc() (machine_arch_type == MACH_TYPE_OMAP_PALMTC) | ||
2734 | +#else | ||
2735 | +# define machine_is_xscale_palmtc() (0) | ||
2736 | +#endif | ||
2737 | + | ||
2738 | +#ifdef CONFIG_MACH_OMAP_APOLLON | ||
2739 | +# ifdef machine_arch_type | ||
2740 | +# undef machine_arch_type | ||
2741 | +# define machine_arch_type __machine_arch_type | ||
2742 | +# else | ||
2743 | +# define machine_arch_type MACH_TYPE_OMAP_APOLLON | ||
2744 | +# endif | ||
2745 | +# define machine_is_omap_apollon() (machine_arch_type == MACH_TYPE_OMAP_APOLLON) | ||
2746 | +#else | ||
2747 | +# define machine_is_omap_apollon() (0) | ||
2748 | +#endif | ||
2749 | + | ||
2750 | +#ifdef CONFIG_MACH_ARGONLVEVB | ||
2751 | +# ifdef machine_arch_type | ||
2752 | +# undef machine_arch_type | ||
2753 | +# define machine_arch_type __machine_arch_type | ||
2754 | +# else | ||
2755 | +# define machine_arch_type MACH_TYPE_ARGONLVEVB | ||
2756 | +# endif | ||
2757 | +# define machine_is_mxc30030evb() (machine_arch_type == MACH_TYPE_ARGONLVEVB) | ||
2758 | +#else | ||
2759 | +# define machine_is_mxc30030evb() (0) | ||
2760 | +#endif | ||
2761 | + | ||
2762 | +#ifdef CONFIG_MACH_REA_2D | ||
2763 | +# ifdef machine_arch_type | ||
2764 | +# undef machine_arch_type | ||
2765 | +# define machine_arch_type __machine_arch_type | ||
2766 | +# else | ||
2767 | +# define machine_arch_type MACH_TYPE_REA_2D | ||
2768 | +# endif | ||
2769 | +# define machine_is_rea_2d() (machine_arch_type == MACH_TYPE_REA_2D) | ||
2770 | +#else | ||
2771 | +# define machine_is_rea_2d() (0) | ||
2772 | +#endif | ||
2773 | + | ||
2774 | +#ifdef CONFIG_MACH_TI3E524 | ||
2775 | +# ifdef machine_arch_type | ||
2776 | +# undef machine_arch_type | ||
2777 | +# define machine_arch_type __machine_arch_type | ||
2778 | +# else | ||
2779 | +# define machine_arch_type MACH_TYPE_TI3E524 | ||
2780 | +# endif | ||
2781 | +# define machine_is_eti3e524() (machine_arch_type == MACH_TYPE_TI3E524) | ||
2782 | +#else | ||
2783 | +# define machine_is_eti3e524() (0) | ||
2784 | +#endif | ||
2785 | + | ||
2786 | +#ifdef CONFIG_MACH_ATEB9200 | ||
2787 | +# ifdef machine_arch_type | ||
2788 | +# undef machine_arch_type | ||
2789 | +# define machine_arch_type __machine_arch_type | ||
2790 | +# else | ||
2791 | +# define machine_arch_type MACH_TYPE_ATEB9200 | ||
2792 | +# endif | ||
2793 | +# define machine_is_ateb9200() (machine_arch_type == MACH_TYPE_ATEB9200) | ||
2794 | +#else | ||
2795 | +# define machine_is_ateb9200() (0) | ||
2796 | +#endif | ||
2797 | + | ||
2798 | +#ifdef CONFIG_MACH_AUCKLAND | ||
2799 | +# ifdef machine_arch_type | ||
2800 | +# undef machine_arch_type | ||
2801 | +# define machine_arch_type __machine_arch_type | ||
2802 | +# else | ||
2803 | +# define machine_arch_type MACH_TYPE_AUCKLAND | ||
2804 | +# endif | ||
2805 | +# define machine_is_auckland() (machine_arch_type == MACH_TYPE_AUCKLAND) | ||
2806 | +#else | ||
2807 | +# define machine_is_auckland() (0) | ||
2808 | +#endif | ||
2809 | + | ||
2810 | +#ifdef CONFIG_MACH_AK3320M | ||
2811 | +# ifdef machine_arch_type | ||
2812 | +# undef machine_arch_type | ||
2813 | +# define machine_arch_type __machine_arch_type | ||
2814 | +# else | ||
2815 | +# define machine_arch_type MACH_TYPE_AK3320M | ||
2816 | +# endif | ||
2817 | +# define machine_is_ak3220m() (machine_arch_type == MACH_TYPE_AK3320M) | ||
2818 | +#else | ||
2819 | +# define machine_is_ak3220m() (0) | ||
2820 | +#endif | ||
2821 | + | ||
2822 | +#ifdef CONFIG_MACH_DURAMAX | ||
2823 | +# ifdef machine_arch_type | ||
2824 | +# undef machine_arch_type | ||
2825 | +# define machine_arch_type __machine_arch_type | ||
2826 | +# else | ||
2827 | +# define machine_arch_type MACH_TYPE_DURAMAX | ||
2828 | +# endif | ||
2829 | +# define machine_is_duramax() (machine_arch_type == MACH_TYPE_DURAMAX) | ||
2830 | +#else | ||
2831 | +# define machine_is_duramax() (0) | ||
2832 | +#endif | ||
2833 | + | ||
2834 | +#ifdef CONFIG_MACH_N35 | ||
2835 | +# ifdef machine_arch_type | ||
2836 | +# undef machine_arch_type | ||
2837 | +# define machine_arch_type __machine_arch_type | ||
2838 | +# else | ||
2839 | +# define machine_arch_type MACH_TYPE_N35 | ||
2840 | +# endif | ||
2841 | +# define machine_is_n35() (machine_arch_type == MACH_TYPE_N35) | ||
2842 | +#else | ||
2843 | +# define machine_is_n35() (0) | ||
2844 | +#endif | ||
2845 | + | ||
2846 | +#ifdef CONFIG_MACH_PRONGHORN | ||
2847 | +# ifdef machine_arch_type | ||
2848 | +# undef machine_arch_type | ||
2849 | +# define machine_arch_type __machine_arch_type | ||
2850 | +# else | ||
2851 | +# define machine_arch_type MACH_TYPE_PRONGHORN | ||
2852 | +# endif | ||
2853 | +# define machine_is_pronghorn() (machine_arch_type == MACH_TYPE_PRONGHORN) | ||
2854 | +#else | ||
2855 | +# define machine_is_pronghorn() (0) | ||
2856 | +#endif | ||
2857 | + | ||
2858 | +#ifdef CONFIG_MACH_FUNDY | ||
2859 | +# ifdef machine_arch_type | ||
2860 | +# undef machine_arch_type | ||
2861 | +# define machine_arch_type __machine_arch_type | ||
2862 | +# else | ||
2863 | +# define machine_arch_type MACH_TYPE_FUNDY | ||
2864 | +# endif | ||
2865 | +# define machine_is_fundy() (machine_arch_type == MACH_TYPE_FUNDY) | ||
2866 | +#else | ||
2867 | +# define machine_is_fundy() (0) | ||
2868 | +#endif | ||
2869 | + | ||
2870 | +#ifdef CONFIG_MACH_LOGICPD_PXA270 | ||
2871 | +# ifdef machine_arch_type | ||
2872 | +# undef machine_arch_type | ||
2873 | +# define machine_arch_type __machine_arch_type | ||
2874 | +# else | ||
2875 | +# define machine_arch_type MACH_TYPE_LOGICPD_PXA270 | ||
2876 | +# endif | ||
2877 | +# define machine_is_logicpd_pxa270() (machine_arch_type == MACH_TYPE_LOGICPD_PXA270) | ||
2878 | +#else | ||
2879 | +# define machine_is_logicpd_pxa270() (0) | ||
2880 | +#endif | ||
2881 | + | ||
2882 | +#ifdef CONFIG_MACH_CPU777 | ||
2883 | +# ifdef machine_arch_type | ||
2884 | +# undef machine_arch_type | ||
2885 | +# define machine_arch_type __machine_arch_type | ||
2886 | +# else | ||
2887 | +# define machine_arch_type MACH_TYPE_CPU777 | ||
2888 | +# endif | ||
2889 | +# define machine_is_cpu777() (machine_arch_type == MACH_TYPE_CPU777) | ||
2890 | +#else | ||
2891 | +# define machine_is_cpu777() (0) | ||
2892 | +#endif | ||
2893 | + | ||
2894 | +#ifdef CONFIG_MACH_SIMICON9201 | ||
2895 | +# ifdef machine_arch_type | ||
2896 | +# undef machine_arch_type | ||
2897 | +# define machine_arch_type __machine_arch_type | ||
2898 | +# else | ||
2899 | +# define machine_arch_type MACH_TYPE_SIMICON9201 | ||
2900 | +# endif | ||
2901 | +# define machine_is_simicon9201() (machine_arch_type == MACH_TYPE_SIMICON9201) | ||
2902 | +#else | ||
2903 | +# define machine_is_simicon9201() (0) | ||
2904 | +#endif | ||
2905 | + | ||
2906 | +#ifdef CONFIG_MACH_LEAP2_HPM | ||
2907 | +# ifdef machine_arch_type | ||
2908 | +# undef machine_arch_type | ||
2909 | +# define machine_arch_type __machine_arch_type | ||
2910 | +# else | ||
2911 | +# define machine_arch_type MACH_TYPE_LEAP2_HPM | ||
2912 | +# endif | ||
2913 | +# define machine_is_leap2_hpm() (machine_arch_type == MACH_TYPE_LEAP2_HPM) | ||
2914 | +#else | ||
2915 | +# define machine_is_leap2_hpm() (0) | ||
2916 | +#endif | ||
2917 | + | ||
2918 | +#ifdef CONFIG_MACH_CM922TXA10 | ||
2919 | +# ifdef machine_arch_type | ||
2920 | +# undef machine_arch_type | ||
2921 | +# define machine_arch_type __machine_arch_type | ||
2922 | +# else | ||
2923 | +# define machine_arch_type MACH_TYPE_CM922TXA10 | ||
2924 | +# endif | ||
2925 | +# define machine_is_cm922txa10() (machine_arch_type == MACH_TYPE_CM922TXA10) | ||
2926 | +#else | ||
2927 | +# define machine_is_cm922txa10() (0) | ||
2928 | +#endif | ||
2929 | + | ||
2930 | +#ifdef CONFIG_MACH_PXA | ||
2931 | +# ifdef machine_arch_type | ||
2932 | +# undef machine_arch_type | ||
2933 | +# define machine_arch_type __machine_arch_type | ||
2934 | +# else | ||
2935 | +# define machine_arch_type MACH_TYPE_PXA | ||
2936 | +# endif | ||
2937 | +# define machine_is_sandgate() (machine_arch_type == MACH_TYPE_PXA) | ||
2938 | +#else | ||
2939 | +# define machine_is_sandgate() (0) | ||
2940 | +#endif | ||
2941 | + | ||
2942 | +#ifdef CONFIG_MACH_SANDGATE2 | ||
2943 | +# ifdef machine_arch_type | ||
2944 | +# undef machine_arch_type | ||
2945 | +# define machine_arch_type __machine_arch_type | ||
2946 | +# else | ||
2947 | +# define machine_arch_type MACH_TYPE_SANDGATE2 | ||
2948 | +# endif | ||
2949 | +# define machine_is_sandgate2() (machine_arch_type == MACH_TYPE_SANDGATE2) | ||
2950 | +#else | ||
2951 | +# define machine_is_sandgate2() (0) | ||
2952 | +#endif | ||
2953 | + | ||
2954 | +#ifdef CONFIG_MACH_SANDGATE2G | ||
2955 | +# ifdef machine_arch_type | ||
2956 | +# undef machine_arch_type | ||
2957 | +# define machine_arch_type __machine_arch_type | ||
2958 | +# else | ||
2959 | +# define machine_arch_type MACH_TYPE_SANDGATE2G | ||
2960 | +# endif | ||
2961 | +# define machine_is_sandgate2g() (machine_arch_type == MACH_TYPE_SANDGATE2G) | ||
2962 | +#else | ||
2963 | +# define machine_is_sandgate2g() (0) | ||
2964 | +#endif | ||
2965 | + | ||
2966 | +#ifdef CONFIG_MACH_SANDGATE2P | ||
2967 | +# ifdef machine_arch_type | ||
2968 | +# undef machine_arch_type | ||
2969 | +# define machine_arch_type __machine_arch_type | ||
2970 | +# else | ||
2971 | +# define machine_arch_type MACH_TYPE_SANDGATE2P | ||
2972 | +# endif | ||
2973 | +# define machine_is_sandgate2p() (machine_arch_type == MACH_TYPE_SANDGATE2P) | ||
2974 | +#else | ||
2975 | +# define machine_is_sandgate2p() (0) | ||
2976 | +#endif | ||
2977 | + | ||
2978 | +#ifdef CONFIG_MACH_FRED_JACK | ||
2979 | +# ifdef machine_arch_type | ||
2980 | +# undef machine_arch_type | ||
2981 | +# define machine_arch_type __machine_arch_type | ||
2982 | +# else | ||
2983 | +# define machine_arch_type MACH_TYPE_FRED_JACK | ||
2984 | +# endif | ||
2985 | +# define machine_is_fred_jack() (machine_arch_type == MACH_TYPE_FRED_JACK) | ||
2986 | +#else | ||
2987 | +# define machine_is_fred_jack() (0) | ||
2988 | +#endif | ||
2989 | + | ||
2990 | +#ifdef CONFIG_MACH_TTG_COLOR1 | ||
2991 | +# ifdef machine_arch_type | ||
2992 | +# undef machine_arch_type | ||
2993 | +# define machine_arch_type __machine_arch_type | ||
2994 | +# else | ||
2995 | +# define machine_arch_type MACH_TYPE_TTG_COLOR1 | ||
2996 | +# endif | ||
2997 | +# define machine_is_ttg_color1() (machine_arch_type == MACH_TYPE_TTG_COLOR1) | ||
2998 | +#else | ||
2999 | +# define machine_is_ttg_color1() (0) | ||
3000 | +#endif | ||
3001 | + | ||
3002 | +#ifdef CONFIG_MACH_NXEB500HMI | ||
3003 | +# ifdef machine_arch_type | ||
3004 | +# undef machine_arch_type | ||
3005 | +# define machine_arch_type __machine_arch_type | ||
3006 | +# else | ||
3007 | +# define machine_arch_type MACH_TYPE_NXEB500HMI | ||
3008 | +# endif | ||
3009 | +# define machine_is_nxeb500hmi() (machine_arch_type == MACH_TYPE_NXEB500HMI) | ||
3010 | +#else | ||
3011 | +# define machine_is_nxeb500hmi() (0) | ||
3012 | +#endif | ||
3013 | + | ||
3014 | +#ifdef CONFIG_MACH_NETDCU8 | ||
3015 | +# ifdef machine_arch_type | ||
3016 | +# undef machine_arch_type | ||
3017 | +# define machine_arch_type __machine_arch_type | ||
3018 | +# else | ||
3019 | +# define machine_arch_type MACH_TYPE_NETDCU8 | ||
3020 | +# endif | ||
3021 | +# define machine_is_netdcu8() (machine_arch_type == MACH_TYPE_NETDCU8) | ||
3022 | +#else | ||
3023 | +# define machine_is_netdcu8() (0) | ||
3024 | +#endif | ||
3025 | + | ||
3026 | +#ifdef CONFIG_MACH_ML675050_CPU_BOA | ||
3027 | +# ifdef machine_arch_type | ||
3028 | +# undef machine_arch_type | ||
3029 | +# define machine_arch_type __machine_arch_type | ||
3030 | +# else | ||
3031 | +# define machine_arch_type MACH_TYPE_ML675050_CPU_BOA | ||
3032 | +# endif | ||
3033 | +# define machine_is_ml675050_cpu_boa() (machine_arch_type == MACH_TYPE_ML675050_CPU_BOA) | ||
3034 | +#else | ||
3035 | +# define machine_is_ml675050_cpu_boa() (0) | ||
3036 | +#endif | ||
3037 | + | ||
3038 | +#ifdef CONFIG_MACH_NG_FVX538 | ||
3039 | +# ifdef machine_arch_type | ||
3040 | +# undef machine_arch_type | ||
3041 | +# define machine_arch_type __machine_arch_type | ||
3042 | +# else | ||
3043 | +# define machine_arch_type MACH_TYPE_NG_FVX538 | ||
3044 | +# endif | ||
3045 | +# define machine_is_ng_fvx538() (machine_arch_type == MACH_TYPE_NG_FVX538) | ||
3046 | +#else | ||
3047 | +# define machine_is_ng_fvx538() (0) | ||
3048 | +#endif | ||
3049 | + | ||
3050 | +#ifdef CONFIG_MACH_NG_FVS338 | ||
3051 | +# ifdef machine_arch_type | ||
3052 | +# undef machine_arch_type | ||
3053 | +# define machine_arch_type __machine_arch_type | ||
3054 | +# else | ||
3055 | +# define machine_arch_type MACH_TYPE_NG_FVS338 | ||
3056 | +# endif | ||
3057 | +# define machine_is_ng_fvs338() (machine_arch_type == MACH_TYPE_NG_FVS338) | ||
3058 | +#else | ||
3059 | +# define machine_is_ng_fvs338() (0) | ||
3060 | +#endif | ||
3061 | + | ||
3062 | +#ifdef CONFIG_MACH_PNX4103 | ||
3063 | +# ifdef machine_arch_type | ||
3064 | +# undef machine_arch_type | ||
3065 | +# define machine_arch_type __machine_arch_type | ||
3066 | +# else | ||
3067 | +# define machine_arch_type MACH_TYPE_PNX4103 | ||
3068 | +# endif | ||
3069 | +# define machine_is_pnx4103() (machine_arch_type == MACH_TYPE_PNX4103) | ||
3070 | +#else | ||
3071 | +# define machine_is_pnx4103() (0) | ||
3072 | +#endif | ||
3073 | + | ||
3074 | +#ifdef CONFIG_MACH_HESDB | ||
3075 | +# ifdef machine_arch_type | ||
3076 | +# undef machine_arch_type | ||
3077 | +# define machine_arch_type __machine_arch_type | ||
3078 | +# else | ||
3079 | +# define machine_arch_type MACH_TYPE_HESDB | ||
3080 | +# endif | ||
3081 | +# define machine_is_hesdb() (machine_arch_type == MACH_TYPE_HESDB) | ||
3082 | +#else | ||
3083 | +# define machine_is_hesdb() (0) | ||
3084 | +#endif | ||
3085 | + | ||
3086 | +#ifdef CONFIG_MACH_XSILO | ||
3087 | +# ifdef machine_arch_type | ||
3088 | +# undef machine_arch_type | ||
3089 | +# define machine_arch_type __machine_arch_type | ||
3090 | +# else | ||
3091 | +# define machine_arch_type MACH_TYPE_XSILO | ||
3092 | +# endif | ||
3093 | +# define machine_is_xsilo() (machine_arch_type == MACH_TYPE_XSILO) | ||
3094 | +#else | ||
3095 | +# define machine_is_xsilo() (0) | ||
3096 | +#endif | ||
3097 | + | ||
3098 | +#ifdef CONFIG_MACH_ESPRESSO | ||
3099 | +# ifdef machine_arch_type | ||
3100 | +# undef machine_arch_type | ||
3101 | +# define machine_arch_type __machine_arch_type | ||
3102 | +# else | ||
3103 | +# define machine_arch_type MACH_TYPE_ESPRESSO | ||
3104 | +# endif | ||
3105 | +# define machine_is_espresso() (machine_arch_type == MACH_TYPE_ESPRESSO) | ||
3106 | +#else | ||
3107 | +# define machine_is_espresso() (0) | ||
3108 | +#endif | ||
3109 | + | ||
3110 | +#ifdef CONFIG_MACH_EMLC | ||
3111 | +# ifdef machine_arch_type | ||
3112 | +# undef machine_arch_type | ||
3113 | +# define machine_arch_type __machine_arch_type | ||
3114 | +# else | ||
3115 | +# define machine_arch_type MACH_TYPE_EMLC | ||
3116 | +# endif | ||
3117 | +# define machine_is_emlc() (machine_arch_type == MACH_TYPE_EMLC) | ||
3118 | +#else | ||
3119 | +# define machine_is_emlc() (0) | ||
3120 | +#endif | ||
3121 | + | ||
3122 | +#ifdef CONFIG_MACH_SISTERON | ||
3123 | +# ifdef machine_arch_type | ||
3124 | +# undef machine_arch_type | ||
3125 | +# define machine_arch_type __machine_arch_type | ||
3126 | +# else | ||
3127 | +# define machine_arch_type MACH_TYPE_SISTERON | ||
3128 | +# endif | ||
3129 | +# define machine_is_sisteron() (machine_arch_type == MACH_TYPE_SISTERON) | ||
3130 | +#else | ||
3131 | +# define machine_is_sisteron() (0) | ||
3132 | +#endif | ||
3133 | + | ||
3134 | +#ifdef CONFIG_MACH_RX1950 | ||
3135 | +# ifdef machine_arch_type | ||
3136 | +# undef machine_arch_type | ||
3137 | +# define machine_arch_type __machine_arch_type | ||
3138 | +# else | ||
3139 | +# define machine_arch_type MACH_TYPE_RX1950 | ||
3140 | +# endif | ||
3141 | +# define machine_is_rx1950() (machine_arch_type == MACH_TYPE_RX1950) | ||
3142 | +#else | ||
3143 | +# define machine_is_rx1950() (0) | ||
3144 | +#endif | ||
3145 | + | ||
3146 | +#ifdef CONFIG_MACH_TSC_VENUS | ||
3147 | +# ifdef machine_arch_type | ||
3148 | +# undef machine_arch_type | ||
3149 | +# define machine_arch_type __machine_arch_type | ||
3150 | +# else | ||
3151 | +# define machine_arch_type MACH_TYPE_TSC_VENUS | ||
3152 | +# endif | ||
3153 | +# define machine_is_tsc_venus() (machine_arch_type == MACH_TYPE_TSC_VENUS) | ||
3154 | +#else | ||
3155 | +# define machine_is_tsc_venus() (0) | ||
3156 | +#endif | ||
3157 | + | ||
3158 | +#ifdef CONFIG_MACH_DS101J | ||
3159 | +# ifdef machine_arch_type | ||
3160 | +# undef machine_arch_type | ||
3161 | +# define machine_arch_type __machine_arch_type | ||
3162 | +# else | ||
3163 | +# define machine_arch_type MACH_TYPE_DS101J | ||
3164 | +# endif | ||
3165 | +# define machine_is_ds101j() (machine_arch_type == MACH_TYPE_DS101J) | ||
3166 | +#else | ||
3167 | +# define machine_is_ds101j() (0) | ||
3168 | +#endif | ||
3169 | + | ||
3170 | +#ifdef CONFIG_MACH_MXC30030ADS | ||
3171 | +# ifdef machine_arch_type | ||
3172 | +# undef machine_arch_type | ||
3173 | +# define machine_arch_type __machine_arch_type | ||
3174 | +# else | ||
3175 | +# define machine_arch_type MACH_TYPE_MXC30030ADS | ||
3176 | +# endif | ||
3177 | +# define machine_is_mxc30030ads() (machine_arch_type == MACH_TYPE_MXC30030ADS) | ||
3178 | +#else | ||
3179 | +# define machine_is_mxc30030ads() (0) | ||
3180 | +#endif | ||
3181 | + | ||
3182 | +#ifdef CONFIG_MACH_FUJITSU_WIMAXSOC | ||
3183 | +# ifdef machine_arch_type | ||
3184 | +# undef machine_arch_type | ||
3185 | +# define machine_arch_type __machine_arch_type | ||
3186 | +# else | ||
3187 | +# define machine_arch_type MACH_TYPE_FUJITSU_WIMAXSOC | ||
3188 | +# endif | ||
3189 | +# define machine_is_fujitsu_wimaxsoc() (machine_arch_type == MACH_TYPE_FUJITSU_WIMAXSOC) | ||
3190 | +#else | ||
3191 | +# define machine_is_fujitsu_wimaxsoc() (0) | ||
3192 | +#endif | ||
3193 | + | ||
3194 | +#ifdef CONFIG_MACH_DUALPCMODEM | ||
3195 | +# ifdef machine_arch_type | ||
3196 | +# undef machine_arch_type | ||
3197 | +# define machine_arch_type __machine_arch_type | ||
3198 | +# else | ||
3199 | +# define machine_arch_type MACH_TYPE_DUALPCMODEM | ||
3200 | +# endif | ||
3201 | +# define machine_is_dualpcmodem() (machine_arch_type == MACH_TYPE_DUALPCMODEM) | ||
3202 | +#else | ||
3203 | +# define machine_is_dualpcmodem() (0) | ||
3204 | +#endif | ||
3205 | + | ||
3206 | +#ifdef CONFIG_MACH_GESBC9312 | ||
3207 | +# ifdef machine_arch_type | ||
3208 | +# undef machine_arch_type | ||
3209 | +# define machine_arch_type __machine_arch_type | ||
3210 | +# else | ||
3211 | +# define machine_arch_type MACH_TYPE_GESBC9312 | ||
3212 | +# endif | ||
3213 | +# define machine_is_gesbc9312() (machine_arch_type == MACH_TYPE_GESBC9312) | ||
3214 | +#else | ||
3215 | +# define machine_is_gesbc9312() (0) | ||
3216 | +#endif | ||
3217 | + | ||
3218 | +#ifdef CONFIG_MACH_HTCAPACHE | ||
3219 | +# ifdef machine_arch_type | ||
3220 | +# undef machine_arch_type | ||
3221 | +# define machine_arch_type __machine_arch_type | ||
3222 | +# else | ||
3223 | +# define machine_arch_type MACH_TYPE_HTCAPACHE | ||
3224 | +# endif | ||
3225 | +# define machine_is_htcapache() (machine_arch_type == MACH_TYPE_HTCAPACHE) | ||
3226 | +#else | ||
3227 | +# define machine_is_htcapache() (0) | ||
3228 | +#endif | ||
3229 | + | ||
3230 | +#ifdef CONFIG_MACH_IXDP435 | ||
3231 | +# ifdef machine_arch_type | ||
3232 | +# undef machine_arch_type | ||
3233 | +# define machine_arch_type __machine_arch_type | ||
3234 | +# else | ||
3235 | +# define machine_arch_type MACH_TYPE_IXDP435 | ||
3236 | +# endif | ||
3237 | +# define machine_is_ixdp435() (machine_arch_type == MACH_TYPE_IXDP435) | ||
3238 | +#else | ||
3239 | +# define machine_is_ixdp435() (0) | ||
3240 | +#endif | ||
3241 | + | ||
3242 | +#ifdef CONFIG_MACH_CATPROVT100 | ||
3243 | +# ifdef machine_arch_type | ||
3244 | +# undef machine_arch_type | ||
3245 | +# define machine_arch_type __machine_arch_type | ||
3246 | +# else | ||
3247 | +# define machine_arch_type MACH_TYPE_CATPROVT100 | ||
3248 | +# endif | ||
3249 | +# define machine_is_catprovt100() (machine_arch_type == MACH_TYPE_CATPROVT100) | ||
3250 | +#else | ||
3251 | +# define machine_is_catprovt100() (0) | ||
3252 | +#endif | ||
3253 | + | ||
3254 | +#ifdef CONFIG_MACH_PICOTUX1XX | ||
3255 | +# ifdef machine_arch_type | ||
3256 | +# undef machine_arch_type | ||
3257 | +# define machine_arch_type __machine_arch_type | ||
3258 | +# else | ||
3259 | +# define machine_arch_type MACH_TYPE_PICOTUX1XX | ||
3260 | +# endif | ||
3261 | +# define machine_is_picotux1xx() (machine_arch_type == MACH_TYPE_PICOTUX1XX) | ||
3262 | +#else | ||
3263 | +# define machine_is_picotux1xx() (0) | ||
3264 | +#endif | ||
3265 | + | ||
3266 | +#ifdef CONFIG_MACH_PICOTUX2XX | ||
3267 | +# ifdef machine_arch_type | ||
3268 | +# undef machine_arch_type | ||
3269 | +# define machine_arch_type __machine_arch_type | ||
3270 | +# else | ||
3271 | +# define machine_arch_type MACH_TYPE_PICOTUX2XX | ||
3272 | +# endif | ||
3273 | +# define machine_is_picotux2xx() (machine_arch_type == MACH_TYPE_PICOTUX2XX) | ||
3274 | +#else | ||
3275 | +# define machine_is_picotux2xx() (0) | ||
3276 | +#endif | ||
3277 | + | ||
3278 | +#ifdef CONFIG_MACH_DSMG600 | ||
3279 | +# ifdef machine_arch_type | ||
3280 | +# undef machine_arch_type | ||
3281 | +# define machine_arch_type __machine_arch_type | ||
3282 | +# else | ||
3283 | +# define machine_arch_type MACH_TYPE_DSMG600 | ||
3284 | +# endif | ||
3285 | +# define machine_is_dsmg600() (machine_arch_type == MACH_TYPE_DSMG600) | ||
3286 | +#else | ||
3287 | +# define machine_is_dsmg600() (0) | ||
3288 | +#endif | ||
3289 | + | ||
3290 | +#ifdef CONFIG_MACH_EMPC2 | ||
3291 | +# ifdef machine_arch_type | ||
3292 | +# undef machine_arch_type | ||
3293 | +# define machine_arch_type __machine_arch_type | ||
3294 | +# else | ||
3295 | +# define machine_arch_type MACH_TYPE_EMPC2 | ||
3296 | +# endif | ||
3297 | +# define machine_is_empc2() (machine_arch_type == MACH_TYPE_EMPC2) | ||
3298 | +#else | ||
3299 | +# define machine_is_empc2() (0) | ||
3300 | +#endif | ||
3301 | + | ||
3302 | +#ifdef CONFIG_MACH_VENTURA | ||
3303 | +# ifdef machine_arch_type | ||
3304 | +# undef machine_arch_type | ||
3305 | +# define machine_arch_type __machine_arch_type | ||
3306 | +# else | ||
3307 | +# define machine_arch_type MACH_TYPE_VENTURA | ||
3308 | +# endif | ||
3309 | +# define machine_is_ventura() (machine_arch_type == MACH_TYPE_VENTURA) | ||
3310 | +#else | ||
3311 | +# define machine_is_ventura() (0) | ||
3312 | +#endif | ||
3313 | + | ||
3314 | +#ifdef CONFIG_MACH_PHIDGET_SBC | ||
3315 | +# ifdef machine_arch_type | ||
3316 | +# undef machine_arch_type | ||
3317 | +# define machine_arch_type __machine_arch_type | ||
3318 | +# else | ||
3319 | +# define machine_arch_type MACH_TYPE_PHIDGET_SBC | ||
3320 | +# endif | ||
3321 | +# define machine_is_phidget_sbc() (machine_arch_type == MACH_TYPE_PHIDGET_SBC) | ||
3322 | +#else | ||
3323 | +# define machine_is_phidget_sbc() (0) | ||
3324 | +#endif | ||
3325 | + | ||
3326 | +#ifdef CONFIG_MACH_IJ3K | ||
3327 | +# ifdef machine_arch_type | ||
3328 | +# undef machine_arch_type | ||
3329 | +# define machine_arch_type __machine_arch_type | ||
3330 | +# else | ||
3331 | +# define machine_arch_type MACH_TYPE_IJ3K | ||
3332 | +# endif | ||
3333 | +# define machine_is_ij3k() (machine_arch_type == MACH_TYPE_IJ3K) | ||
3334 | +#else | ||
3335 | +# define machine_is_ij3k() (0) | ||
3336 | +#endif | ||
3337 | + | ||
3338 | +#ifdef CONFIG_MACH_PISGAH | ||
3339 | +# ifdef machine_arch_type | ||
3340 | +# undef machine_arch_type | ||
3341 | +# define machine_arch_type __machine_arch_type | ||
3342 | +# else | ||
3343 | +# define machine_arch_type MACH_TYPE_PISGAH | ||
3344 | +# endif | ||
3345 | +# define machine_is_pisgah() (machine_arch_type == MACH_TYPE_PISGAH) | ||
3346 | +#else | ||
3347 | +# define machine_is_pisgah() (0) | ||
3348 | +#endif | ||
3349 | + | ||
3350 | +#ifdef CONFIG_MACH_OMAP_FSAMPLE | ||
3351 | +# ifdef machine_arch_type | ||
3352 | +# undef machine_arch_type | ||
3353 | +# define machine_arch_type __machine_arch_type | ||
3354 | +# else | ||
3355 | +# define machine_arch_type MACH_TYPE_OMAP_FSAMPLE | ||
3356 | +# endif | ||
3357 | +# define machine_is_omap_fsample() (machine_arch_type == MACH_TYPE_OMAP_FSAMPLE) | ||
3358 | +#else | ||
3359 | +# define machine_is_omap_fsample() (0) | ||
3360 | +#endif | ||
3361 | + | ||
3362 | +#ifdef CONFIG_MACH_SG720 | ||
3363 | +# ifdef machine_arch_type | ||
3364 | +# undef machine_arch_type | ||
3365 | +# define machine_arch_type __machine_arch_type | ||
3366 | +# else | ||
3367 | +# define machine_arch_type MACH_TYPE_SG720 | ||
3368 | +# endif | ||
3369 | +# define machine_is_sg720() (machine_arch_type == MACH_TYPE_SG720) | ||
3370 | +#else | ||
3371 | +# define machine_is_sg720() (0) | ||
3372 | +#endif | ||
3373 | + | ||
3374 | +#ifdef CONFIG_MACH_REDFOX | ||
3375 | +# ifdef machine_arch_type | ||
3376 | +# undef machine_arch_type | ||
3377 | +# define machine_arch_type __machine_arch_type | ||
3378 | +# else | ||
3379 | +# define machine_arch_type MACH_TYPE_REDFOX | ||
3380 | +# endif | ||
3381 | +# define machine_is_redfox() (machine_arch_type == MACH_TYPE_REDFOX) | ||
3382 | +#else | ||
3383 | +# define machine_is_redfox() (0) | ||
3384 | +#endif | ||
3385 | + | ||
3386 | +#ifdef CONFIG_MACH_MYSH_EP9315_1 | ||
3387 | +# ifdef machine_arch_type | ||
3388 | +# undef machine_arch_type | ||
3389 | +# define machine_arch_type __machine_arch_type | ||
3390 | +# else | ||
3391 | +# define machine_arch_type MACH_TYPE_MYSH_EP9315_1 | ||
3392 | +# endif | ||
3393 | +# define machine_is_mysh_ep9315_1() (machine_arch_type == MACH_TYPE_MYSH_EP9315_1) | ||
3394 | +#else | ||
3395 | +# define machine_is_mysh_ep9315_1() (0) | ||
3396 | +#endif | ||
3397 | + | ||
3398 | +#ifdef CONFIG_MACH_TPF106 | ||
3399 | +# ifdef machine_arch_type | ||
3400 | +# undef machine_arch_type | ||
3401 | +# define machine_arch_type __machine_arch_type | ||
3402 | +# else | ||
3403 | +# define machine_arch_type MACH_TYPE_TPF106 | ||
3404 | +# endif | ||
3405 | +# define machine_is_tpf106() (machine_arch_type == MACH_TYPE_TPF106) | ||
3406 | +#else | ||
3407 | +# define machine_is_tpf106() (0) | ||
3408 | +#endif | ||
3409 | + | ||
3410 | +#ifdef CONFIG_MACH_AT91RM9200KG | ||
3411 | +# ifdef machine_arch_type | ||
3412 | +# undef machine_arch_type | ||
3413 | +# define machine_arch_type __machine_arch_type | ||
3414 | +# else | ||
3415 | +# define machine_arch_type MACH_TYPE_AT91RM9200KG | ||
3416 | +# endif | ||
3417 | +# define machine_is_at91rm9200kg() (machine_arch_type == MACH_TYPE_AT91RM9200KG) | ||
3418 | +#else | ||
3419 | +# define machine_is_at91rm9200kg() (0) | ||
3420 | +#endif | ||
3421 | + | ||
3422 | +#ifdef CONFIG_MACH_SLEDB | ||
3423 | +# ifdef machine_arch_type | ||
3424 | +# undef machine_arch_type | ||
3425 | +# define machine_arch_type __machine_arch_type | ||
3426 | +# else | ||
3427 | +# define machine_arch_type MACH_TYPE_SLEDB | ||
3428 | +# endif | ||
3429 | +# define machine_is_racemt2() (machine_arch_type == MACH_TYPE_SLEDB) | ||
3430 | +#else | ||
3431 | +# define machine_is_racemt2() (0) | ||
3432 | +#endif | ||
3433 | + | ||
3434 | +#ifdef CONFIG_MACH_ONTRACK | ||
3435 | +# ifdef machine_arch_type | ||
3436 | +# undef machine_arch_type | ||
3437 | +# define machine_arch_type __machine_arch_type | ||
3438 | +# else | ||
3439 | +# define machine_arch_type MACH_TYPE_ONTRACK | ||
3440 | +# endif | ||
3441 | +# define machine_is_ontrack() (machine_arch_type == MACH_TYPE_ONTRACK) | ||
3442 | +#else | ||
3443 | +# define machine_is_ontrack() (0) | ||
3444 | +#endif | ||
3445 | + | ||
3446 | +#ifdef CONFIG_MACH_PM1200 | ||
3447 | +# ifdef machine_arch_type | ||
3448 | +# undef machine_arch_type | ||
3449 | +# define machine_arch_type __machine_arch_type | ||
3450 | +# else | ||
3451 | +# define machine_arch_type MACH_TYPE_PM1200 | ||
3452 | +# endif | ||
3453 | +# define machine_is_pm1200() (machine_arch_type == MACH_TYPE_PM1200) | ||
3454 | +#else | ||
3455 | +# define machine_is_pm1200() (0) | ||
3456 | +#endif | ||
3457 | + | ||
3458 | +#ifdef CONFIG_MACH_ESS24XXX | ||
3459 | +# ifdef machine_arch_type | ||
3460 | +# undef machine_arch_type | ||
3461 | +# define machine_arch_type __machine_arch_type | ||
3462 | +# else | ||
3463 | +# define machine_arch_type MACH_TYPE_ESS24XXX | ||
3464 | +# endif | ||
3465 | +# define machine_is_ess24562() (machine_arch_type == MACH_TYPE_ESS24XXX) | ||
3466 | +#else | ||
3467 | +# define machine_is_ess24562() (0) | ||
3468 | +#endif | ||
3469 | + | ||
3470 | +#ifdef CONFIG_MACH_COREMP7 | ||
3471 | +# ifdef machine_arch_type | ||
3472 | +# undef machine_arch_type | ||
3473 | +# define machine_arch_type __machine_arch_type | ||
3474 | +# else | ||
3475 | +# define machine_arch_type MACH_TYPE_COREMP7 | ||
3476 | +# endif | ||
3477 | +# define machine_is_coremp7() (machine_arch_type == MACH_TYPE_COREMP7) | ||
3478 | +#else | ||
3479 | +# define machine_is_coremp7() (0) | ||
3480 | +#endif | ||
3481 | + | ||
3482 | +#ifdef CONFIG_MACH_NEXCODER_6446 | ||
3483 | +# ifdef machine_arch_type | ||
3484 | +# undef machine_arch_type | ||
3485 | +# define machine_arch_type __machine_arch_type | ||
3486 | +# else | ||
3487 | +# define machine_arch_type MACH_TYPE_NEXCODER_6446 | ||
3488 | +# endif | ||
3489 | +# define machine_is_nexcoder_6446() (machine_arch_type == MACH_TYPE_NEXCODER_6446) | ||
3490 | +#else | ||
3491 | +# define machine_is_nexcoder_6446() (0) | ||
3492 | +#endif | ||
3493 | + | ||
3494 | +#ifdef CONFIG_MACH_STVC8380 | ||
3495 | +# ifdef machine_arch_type | ||
3496 | +# undef machine_arch_type | ||
3497 | +# define machine_arch_type __machine_arch_type | ||
3498 | +# else | ||
3499 | +# define machine_arch_type MACH_TYPE_STVC8380 | ||
3500 | +# endif | ||
3501 | +# define machine_is_stvc8380() (machine_arch_type == MACH_TYPE_STVC8380) | ||
3502 | +#else | ||
3503 | +# define machine_is_stvc8380() (0) | ||
3504 | +#endif | ||
3505 | + | ||
3506 | +#ifdef CONFIG_MACH_TEKLYNX | ||
3507 | +# ifdef machine_arch_type | ||
3508 | +# undef machine_arch_type | ||
3509 | +# define machine_arch_type __machine_arch_type | ||
3510 | +# else | ||
3511 | +# define machine_arch_type MACH_TYPE_TEKLYNX | ||
3512 | +# endif | ||
3513 | +# define machine_is_teklynx() (machine_arch_type == MACH_TYPE_TEKLYNX) | ||
3514 | +#else | ||
3515 | +# define machine_is_teklynx() (0) | ||
3516 | +#endif | ||
3517 | + | ||
3518 | +#ifdef CONFIG_MACH_CARBONADO | ||
3519 | +# ifdef machine_arch_type | ||
3520 | +# undef machine_arch_type | ||
3521 | +# define machine_arch_type __machine_arch_type | ||
3522 | +# else | ||
3523 | +# define machine_arch_type MACH_TYPE_CARBONADO | ||
3524 | +# endif | ||
3525 | +# define machine_is_carbonado() (machine_arch_type == MACH_TYPE_CARBONADO) | ||
3526 | +#else | ||
3527 | +# define machine_is_carbonado() (0) | ||
3528 | +#endif | ||
3529 | + | ||
3530 | +#ifdef CONFIG_MACH_SYSMOS_MP730 | ||
3531 | +# ifdef machine_arch_type | ||
3532 | +# undef machine_arch_type | ||
3533 | +# define machine_arch_type __machine_arch_type | ||
3534 | +# else | ||
3535 | +# define machine_arch_type MACH_TYPE_SYSMOS_MP730 | ||
3536 | +# endif | ||
3537 | +# define machine_is_sysmos_mp730() (machine_arch_type == MACH_TYPE_SYSMOS_MP730) | ||
3538 | +#else | ||
3539 | +# define machine_is_sysmos_mp730() (0) | ||
3540 | +#endif | ||
3541 | + | ||
3542 | +#ifdef CONFIG_MACH_SNAPPER_CL15 | ||
3543 | +# ifdef machine_arch_type | ||
3544 | +# undef machine_arch_type | ||
3545 | +# define machine_arch_type __machine_arch_type | ||
3546 | +# else | ||
3547 | +# define machine_arch_type MACH_TYPE_SNAPPER_CL15 | ||
3548 | +# endif | ||
3549 | +# define machine_is_snapper_cl15() (machine_arch_type == MACH_TYPE_SNAPPER_CL15) | ||
3550 | +#else | ||
3551 | +# define machine_is_snapper_cl15() (0) | ||
3552 | +#endif | ||
3553 | + | ||
3554 | +#ifdef CONFIG_MACH_PGIGIM | ||
3555 | +# ifdef machine_arch_type | ||
3556 | +# undef machine_arch_type | ||
3557 | +# define machine_arch_type __machine_arch_type | ||
3558 | +# else | ||
3559 | +# define machine_arch_type MACH_TYPE_PGIGIM | ||
3560 | +# endif | ||
3561 | +# define machine_is_pgigim() (machine_arch_type == MACH_TYPE_PGIGIM) | ||
3562 | +#else | ||
3563 | +# define machine_is_pgigim() (0) | ||
3564 | +#endif | ||
3565 | + | ||
3566 | +#ifdef CONFIG_MACH_PTX9160P2 | ||
3567 | +# ifdef machine_arch_type | ||
3568 | +# undef machine_arch_type | ||
3569 | +# define machine_arch_type __machine_arch_type | ||
3570 | +# else | ||
3571 | +# define machine_arch_type MACH_TYPE_PTX9160P2 | ||
3572 | +# endif | ||
3573 | +# define machine_is_ptx9160p2() (machine_arch_type == MACH_TYPE_PTX9160P2) | ||
3574 | +#else | ||
3575 | +# define machine_is_ptx9160p2() (0) | ||
3576 | +#endif | ||
3577 | + | ||
3578 | +#ifdef CONFIG_MACH_DCORE1 | ||
3579 | +# ifdef machine_arch_type | ||
3580 | +# undef machine_arch_type | ||
3581 | +# define machine_arch_type __machine_arch_type | ||
3582 | +# else | ||
3583 | +# define machine_arch_type MACH_TYPE_DCORE1 | ||
3584 | +# endif | ||
3585 | +# define machine_is_dcore1() (machine_arch_type == MACH_TYPE_DCORE1) | ||
3586 | +#else | ||
3587 | +# define machine_is_dcore1() (0) | ||
3588 | +#endif | ||
3589 | + | ||
3590 | +#ifdef CONFIG_MACH_VICTORPXA | ||
3591 | +# ifdef machine_arch_type | ||
3592 | +# undef machine_arch_type | ||
3593 | +# define machine_arch_type __machine_arch_type | ||
3594 | +# else | ||
3595 | +# define machine_arch_type MACH_TYPE_VICTORPXA | ||
3596 | +# endif | ||
3597 | +# define machine_is_victorpxa() (machine_arch_type == MACH_TYPE_VICTORPXA) | ||
3598 | +#else | ||
3599 | +# define machine_is_victorpxa() (0) | ||
3600 | +#endif | ||
3601 | + | ||
3602 | +#ifdef CONFIG_MACH_MX2DTB | ||
3603 | +# ifdef machine_arch_type | ||
3604 | +# undef machine_arch_type | ||
3605 | +# define machine_arch_type __machine_arch_type | ||
3606 | +# else | ||
3607 | +# define machine_arch_type MACH_TYPE_MX2DTB | ||
3608 | +# endif | ||
3609 | +# define machine_is_mx2dtb() (machine_arch_type == MACH_TYPE_MX2DTB) | ||
3610 | +#else | ||
3611 | +# define machine_is_mx2dtb() (0) | ||
3612 | +#endif | ||
3613 | + | ||
3614 | +#ifdef CONFIG_MACH_PXA_IREX_ER0100 | ||
3615 | +# ifdef machine_arch_type | ||
3616 | +# undef machine_arch_type | ||
3617 | +# define machine_arch_type __machine_arch_type | ||
3618 | +# else | ||
3619 | +# define machine_arch_type MACH_TYPE_PXA_IREX_ER0100 | ||
3620 | +# endif | ||
3621 | +# define machine_is_pxa_irex_er0100() (machine_arch_type == MACH_TYPE_PXA_IREX_ER0100) | ||
3622 | +#else | ||
3623 | +# define machine_is_pxa_irex_er0100() (0) | ||
3624 | +#endif | ||
3625 | + | ||
3626 | +#ifdef CONFIG_MACH_OMAP_PALMZ71 | ||
3627 | +# ifdef machine_arch_type | ||
3628 | +# undef machine_arch_type | ||
3629 | +# define machine_arch_type __machine_arch_type | ||
3630 | +# else | ||
3631 | +# define machine_arch_type MACH_TYPE_OMAP_PALMZ71 | ||
3632 | +# endif | ||
3633 | +# define machine_is_omap_palmz71() (machine_arch_type == MACH_TYPE_OMAP_PALMZ71) | ||
3634 | +#else | ||
3635 | +# define machine_is_omap_palmz71() (0) | ||
3636 | +#endif | ||
3637 | + | ||
3638 | +#ifdef CONFIG_MACH_BARTEC_DEG | ||
3639 | +# ifdef machine_arch_type | ||
3640 | +# undef machine_arch_type | ||
3641 | +# define machine_arch_type __machine_arch_type | ||
3642 | +# else | ||
3643 | +# define machine_arch_type MACH_TYPE_BARTEC_DEG | ||
3644 | +# endif | ||
3645 | +# define machine_is_bartec_deg() (machine_arch_type == MACH_TYPE_BARTEC_DEG) | ||
3646 | +#else | ||
3647 | +# define machine_is_bartec_deg() (0) | ||
3648 | +#endif | ||
3649 | + | ||
3650 | +#ifdef CONFIG_MACH_HW50251 | ||
3651 | +# ifdef machine_arch_type | ||
3652 | +# undef machine_arch_type | ||
3653 | +# define machine_arch_type __machine_arch_type | ||
3654 | +# else | ||
3655 | +# define machine_arch_type MACH_TYPE_HW50251 | ||
3656 | +# endif | ||
3657 | +# define machine_is_hw50251() (machine_arch_type == MACH_TYPE_HW50251) | ||
3658 | +#else | ||
3659 | +# define machine_is_hw50251() (0) | ||
3660 | +#endif | ||
3661 | + | ||
3662 | +#ifdef CONFIG_MACH_IBOX | ||
3663 | +# ifdef machine_arch_type | ||
3664 | +# undef machine_arch_type | ||
3665 | +# define machine_arch_type __machine_arch_type | ||
3666 | +# else | ||
3667 | +# define machine_arch_type MACH_TYPE_IBOX | ||
3668 | +# endif | ||
3669 | +# define machine_is_ibox() (machine_arch_type == MACH_TYPE_IBOX) | ||
3670 | +#else | ||
3671 | +# define machine_is_ibox() (0) | ||
3672 | +#endif | ||
3673 | + | ||
3674 | +#ifdef CONFIG_MACH_ATLASLH7A404 | ||
3675 | +# ifdef machine_arch_type | ||
3676 | +# undef machine_arch_type | ||
3677 | +# define machine_arch_type __machine_arch_type | ||
3678 | +# else | ||
3679 | +# define machine_arch_type MACH_TYPE_ATLASLH7A404 | ||
3680 | +# endif | ||
3681 | +# define machine_is_atlaslh7a404() (machine_arch_type == MACH_TYPE_ATLASLH7A404) | ||
3682 | +#else | ||
3683 | +# define machine_is_atlaslh7a404() (0) | ||
3684 | +#endif | ||
3685 | + | ||
3686 | +#ifdef CONFIG_MACH_PT2026 | ||
3687 | +# ifdef machine_arch_type | ||
3688 | +# undef machine_arch_type | ||
3689 | +# define machine_arch_type __machine_arch_type | ||
3690 | +# else | ||
3691 | +# define machine_arch_type MACH_TYPE_PT2026 | ||
3692 | +# endif | ||
3693 | +# define machine_is_pt2026() (machine_arch_type == MACH_TYPE_PT2026) | ||
3694 | +#else | ||
3695 | +# define machine_is_pt2026() (0) | ||
3696 | +#endif | ||
3697 | + | ||
3698 | +#ifdef CONFIG_MACH_HTCALPINE | ||
3699 | +# ifdef machine_arch_type | ||
3700 | +# undef machine_arch_type | ||
3701 | +# define machine_arch_type __machine_arch_type | ||
3702 | +# else | ||
3703 | +# define machine_arch_type MACH_TYPE_HTCALPINE | ||
3704 | +# endif | ||
3705 | +# define machine_is_htcalpine() (machine_arch_type == MACH_TYPE_HTCALPINE) | ||
3706 | +#else | ||
3707 | +# define machine_is_htcalpine() (0) | ||
3708 | +#endif | ||
3709 | + | ||
3710 | +#ifdef CONFIG_MACH_BARTEC_VTU | ||
3711 | +# ifdef machine_arch_type | ||
3712 | +# undef machine_arch_type | ||
3713 | +# define machine_arch_type __machine_arch_type | ||
3714 | +# else | ||
3715 | +# define machine_arch_type MACH_TYPE_BARTEC_VTU | ||
3716 | +# endif | ||
3717 | +# define machine_is_bartec_vtu() (machine_arch_type == MACH_TYPE_BARTEC_VTU) | ||
3718 | +#else | ||
3719 | +# define machine_is_bartec_vtu() (0) | ||
3720 | +#endif | ||
3721 | + | ||
3722 | +#ifdef CONFIG_MACH_VCOREII | ||
3723 | +# ifdef machine_arch_type | ||
3724 | +# undef machine_arch_type | ||
3725 | +# define machine_arch_type __machine_arch_type | ||
3726 | +# else | ||
3727 | +# define machine_arch_type MACH_TYPE_VCOREII | ||
3728 | +# endif | ||
3729 | +# define machine_is_vcoreii() (machine_arch_type == MACH_TYPE_VCOREII) | ||
3730 | +#else | ||
3731 | +# define machine_is_vcoreii() (0) | ||
3732 | +#endif | ||
3733 | + | ||
3734 | +#ifdef CONFIG_MACH_PDNB3 | ||
3735 | +# ifdef machine_arch_type | ||
3736 | +# undef machine_arch_type | ||
3737 | +# define machine_arch_type __machine_arch_type | ||
3738 | +# else | ||
3739 | +# define machine_arch_type MACH_TYPE_PDNB3 | ||
3740 | +# endif | ||
3741 | +# define machine_is_pdnb3() (machine_arch_type == MACH_TYPE_PDNB3) | ||
3742 | +#else | ||
3743 | +# define machine_is_pdnb3() (0) | ||
3744 | +#endif | ||
3745 | + | ||
3746 | +#ifdef CONFIG_MACH_HTCBEETLES | ||
3747 | +# ifdef machine_arch_type | ||
3748 | +# undef machine_arch_type | ||
3749 | +# define machine_arch_type __machine_arch_type | ||
3750 | +# else | ||
3751 | +# define machine_arch_type MACH_TYPE_HTCBEETLES | ||
3752 | +# endif | ||
3753 | +# define machine_is_htcbeetles() (machine_arch_type == MACH_TYPE_HTCBEETLES) | ||
3754 | +#else | ||
3755 | +# define machine_is_htcbeetles() (0) | ||
3756 | +#endif | ||
3757 | + | ||
3758 | +#ifdef CONFIG_MACH_S3C6400 | ||
3759 | +# ifdef machine_arch_type | ||
3760 | +# undef machine_arch_type | ||
3761 | +# define machine_arch_type __machine_arch_type | ||
3762 | +# else | ||
3763 | +# define machine_arch_type MACH_TYPE_S3C6400 | ||
3764 | +# endif | ||
3765 | +# define machine_is_s3c6400() (machine_arch_type == MACH_TYPE_S3C6400) | ||
3766 | +#else | ||
3767 | +# define machine_is_s3c6400() (0) | ||
3768 | +#endif | ||
3769 | + | ||
3770 | +#ifdef CONFIG_MACH_S3C2443 | ||
3771 | +# ifdef machine_arch_type | ||
3772 | +# undef machine_arch_type | ||
3773 | +# define machine_arch_type __machine_arch_type | ||
3774 | +# else | ||
3775 | +# define machine_arch_type MACH_TYPE_S3C2443 | ||
3776 | +# endif | ||
3777 | +# define machine_is_s3c2443() (machine_arch_type == MACH_TYPE_S3C2443) | ||
3778 | +#else | ||
3779 | +# define machine_is_s3c2443() (0) | ||
3780 | +#endif | ||
3781 | + | ||
3782 | +#ifdef CONFIG_MACH_OMAP_LDK | ||
3783 | +# ifdef machine_arch_type | ||
3784 | +# undef machine_arch_type | ||
3785 | +# define machine_arch_type __machine_arch_type | ||
3786 | +# else | ||
3787 | +# define machine_arch_type MACH_TYPE_OMAP_LDK | ||
3788 | +# endif | ||
3789 | +# define machine_is_omap_ldk() (machine_arch_type == MACH_TYPE_OMAP_LDK) | ||
3790 | +#else | ||
3791 | +# define machine_is_omap_ldk() (0) | ||
3792 | +#endif | ||
3793 | + | ||
3794 | +#ifdef CONFIG_MACH_SMDK2460 | ||
3795 | +# ifdef machine_arch_type | ||
3796 | +# undef machine_arch_type | ||
3797 | +# define machine_arch_type __machine_arch_type | ||
3798 | +# else | ||
3799 | +# define machine_arch_type MACH_TYPE_SMDK2460 | ||
3800 | +# endif | ||
3801 | +# define machine_is_smdk2460() (machine_arch_type == MACH_TYPE_SMDK2460) | ||
3802 | +#else | ||
3803 | +# define machine_is_smdk2460() (0) | ||
3804 | +#endif | ||
3805 | + | ||
3806 | +#ifdef CONFIG_MACH_SMDK2440 | ||
3807 | +# ifdef machine_arch_type | ||
3808 | +# undef machine_arch_type | ||
3809 | +# define machine_arch_type __machine_arch_type | ||
3810 | +# else | ||
3811 | +# define machine_arch_type MACH_TYPE_SMDK2440 | ||
3812 | +# endif | ||
3813 | +# define machine_is_smdk2440() (machine_arch_type == MACH_TYPE_SMDK2440) | ||
3814 | +#else | ||
3815 | +# define machine_is_smdk2440() (0) | ||
3816 | +#endif | ||
3817 | + | ||
3818 | +#ifdef CONFIG_MACH_SMDK2412 | ||
3819 | +# ifdef machine_arch_type | ||
3820 | +# undef machine_arch_type | ||
3821 | +# define machine_arch_type __machine_arch_type | ||
3822 | +# else | ||
3823 | +# define machine_arch_type MACH_TYPE_SMDK2412 | ||
3824 | +# endif | ||
3825 | +# define machine_is_smdk2412() (machine_arch_type == MACH_TYPE_SMDK2412) | ||
3826 | +#else | ||
3827 | +# define machine_is_smdk2412() (0) | ||
3828 | +#endif | ||
3829 | + | ||
3830 | +#ifdef CONFIG_MACH_WEBBOX | ||
3831 | +# ifdef machine_arch_type | ||
3832 | +# undef machine_arch_type | ||
3833 | +# define machine_arch_type __machine_arch_type | ||
3834 | +# else | ||
3835 | +# define machine_arch_type MACH_TYPE_WEBBOX | ||
3836 | +# endif | ||
3837 | +# define machine_is_webbox() (machine_arch_type == MACH_TYPE_WEBBOX) | ||
3838 | +#else | ||
3839 | +# define machine_is_webbox() (0) | ||
3840 | +#endif | ||
3841 | + | ||
3842 | +#ifdef CONFIG_MACH_CWWNDP | ||
3843 | +# ifdef machine_arch_type | ||
3844 | +# undef machine_arch_type | ||
3845 | +# define machine_arch_type __machine_arch_type | ||
3846 | +# else | ||
3847 | +# define machine_arch_type MACH_TYPE_CWWNDP | ||
3848 | +# endif | ||
3849 | +# define machine_is_cwwndp() (machine_arch_type == MACH_TYPE_CWWNDP) | ||
3850 | +#else | ||
3851 | +# define machine_is_cwwndp() (0) | ||
3852 | +#endif | ||
3853 | + | ||
3854 | +#ifdef CONFIG_MACH_DRAGON | ||
3855 | +# ifdef machine_arch_type | ||
3856 | +# undef machine_arch_type | ||
3857 | +# define machine_arch_type __machine_arch_type | ||
3858 | +# else | ||
3859 | +# define machine_arch_type MACH_TYPE_DRAGON | ||
3860 | +# endif | ||
3861 | +# define machine_is_dragon() (machine_arch_type == MACH_TYPE_DRAGON) | ||
3862 | +#else | ||
3863 | +# define machine_is_dragon() (0) | ||
3864 | +#endif | ||
3865 | + | ||
3866 | +#ifdef CONFIG_MACH_OPENDO_CPU_BOARD | ||
3867 | +# ifdef machine_arch_type | ||
3868 | +# undef machine_arch_type | ||
3869 | +# define machine_arch_type __machine_arch_type | ||
3870 | +# else | ||
3871 | +# define machine_arch_type MACH_TYPE_OPENDO_CPU_BOARD | ||
3872 | +# endif | ||
3873 | +# define machine_is_opendo_cpu_board() (machine_arch_type == MACH_TYPE_OPENDO_CPU_BOARD) | ||
3874 | +#else | ||
3875 | +# define machine_is_opendo_cpu_board() (0) | ||
3876 | +#endif | ||
3877 | + | ||
3878 | +#ifdef CONFIG_MACH_CCM2200 | ||
3879 | +# ifdef machine_arch_type | ||
3880 | +# undef machine_arch_type | ||
3881 | +# define machine_arch_type __machine_arch_type | ||
3882 | +# else | ||
3883 | +# define machine_arch_type MACH_TYPE_CCM2200 | ||
3884 | +# endif | ||
3885 | +# define machine_is_ccm2200() (machine_arch_type == MACH_TYPE_CCM2200) | ||
3886 | +#else | ||
3887 | +# define machine_is_ccm2200() (0) | ||
3888 | +#endif | ||
3889 | + | ||
3890 | +#ifdef CONFIG_MACH_ETWARM | ||
3891 | +# ifdef machine_arch_type | ||
3892 | +# undef machine_arch_type | ||
3893 | +# define machine_arch_type __machine_arch_type | ||
3894 | +# else | ||
3895 | +# define machine_arch_type MACH_TYPE_ETWARM | ||
3896 | +# endif | ||
3897 | +# define machine_is_etwarm() (machine_arch_type == MACH_TYPE_ETWARM) | ||
3898 | +#else | ||
3899 | +# define machine_is_etwarm() (0) | ||
3900 | +#endif | ||
3901 | + | ||
3902 | +#ifdef CONFIG_MACH_M93030 | ||
3903 | +# ifdef machine_arch_type | ||
3904 | +# undef machine_arch_type | ||
3905 | +# define machine_arch_type __machine_arch_type | ||
3906 | +# else | ||
3907 | +# define machine_arch_type MACH_TYPE_M93030 | ||
3908 | +# endif | ||
3909 | +# define machine_is_m93030() (machine_arch_type == MACH_TYPE_M93030) | ||
3910 | +#else | ||
3911 | +# define machine_is_m93030() (0) | ||
3912 | +#endif | ||
3913 | + | ||
3914 | +#ifdef CONFIG_MACH_CC7U | ||
3915 | +# ifdef machine_arch_type | ||
3916 | +# undef machine_arch_type | ||
3917 | +# define machine_arch_type __machine_arch_type | ||
3918 | +# else | ||
3919 | +# define machine_arch_type MACH_TYPE_CC7U | ||
3920 | +# endif | ||
3921 | +# define machine_is_cc7u() (machine_arch_type == MACH_TYPE_CC7U) | ||
3922 | +#else | ||
3923 | +# define machine_is_cc7u() (0) | ||
3924 | +#endif | ||
3925 | + | ||
3926 | +#ifdef CONFIG_MACH_MTT_RANGER | ||
3927 | +# ifdef machine_arch_type | ||
3928 | +# undef machine_arch_type | ||
3929 | +# define machine_arch_type __machine_arch_type | ||
3930 | +# else | ||
3931 | +# define machine_arch_type MACH_TYPE_MTT_RANGER | ||
3932 | +# endif | ||
3933 | +# define machine_is_mtt_ranger() (machine_arch_type == MACH_TYPE_MTT_RANGER) | ||
3934 | +#else | ||
3935 | +# define machine_is_mtt_ranger() (0) | ||
3936 | +#endif | ||
3937 | + | ||
3938 | +#ifdef CONFIG_MACH_NEXUS | ||
3939 | +# ifdef machine_arch_type | ||
3940 | +# undef machine_arch_type | ||
3941 | +# define machine_arch_type __machine_arch_type | ||
3942 | +# else | ||
3943 | +# define machine_arch_type MACH_TYPE_NEXUS | ||
3944 | +# endif | ||
3945 | +# define machine_is_nexus() (machine_arch_type == MACH_TYPE_NEXUS) | ||
3946 | +#else | ||
3947 | +# define machine_is_nexus() (0) | ||
3948 | +#endif | ||
3949 | + | ||
3950 | +#ifdef CONFIG_MACH_DESMAN | ||
3951 | +# ifdef machine_arch_type | ||
3952 | +# undef machine_arch_type | ||
3953 | +# define machine_arch_type __machine_arch_type | ||
3954 | +# else | ||
3955 | +# define machine_arch_type MACH_TYPE_DESMAN | ||
3956 | +# endif | ||
3957 | +# define machine_is_desman() (machine_arch_type == MACH_TYPE_DESMAN) | ||
3958 | +#else | ||
3959 | +# define machine_is_desman() (0) | ||
3960 | +#endif | ||
3961 | + | ||
3962 | +#ifdef CONFIG_MACH_BKDE303 | ||
3963 | +# ifdef machine_arch_type | ||
3964 | +# undef machine_arch_type | ||
3965 | +# define machine_arch_type __machine_arch_type | ||
3966 | +# else | ||
3967 | +# define machine_arch_type MACH_TYPE_BKDE303 | ||
3968 | +# endif | ||
3969 | +# define machine_is_bkde303() (machine_arch_type == MACH_TYPE_BKDE303) | ||
3970 | +#else | ||
3971 | +# define machine_is_bkde303() (0) | ||
3972 | +#endif | ||
3973 | + | ||
3974 | +#ifdef CONFIG_MACH_SMDK2413 | ||
3975 | +# ifdef machine_arch_type | ||
3976 | +# undef machine_arch_type | ||
3977 | +# define machine_arch_type __machine_arch_type | ||
3978 | +# else | ||
3979 | +# define machine_arch_type MACH_TYPE_SMDK2413 | ||
3980 | +# endif | ||
3981 | +# define machine_is_smdk2413() (machine_arch_type == MACH_TYPE_SMDK2413) | ||
3982 | +#else | ||
3983 | +# define machine_is_smdk2413() (0) | ||
3984 | +#endif | ||
3985 | + | ||
3986 | +#ifdef CONFIG_MACH_AML_M7200 | ||
3987 | +# ifdef machine_arch_type | ||
3988 | +# undef machine_arch_type | ||
3989 | +# define machine_arch_type __machine_arch_type | ||
3990 | +# else | ||
3991 | +# define machine_arch_type MACH_TYPE_AML_M7200 | ||
3992 | +# endif | ||
3993 | +# define machine_is_aml_m7200() (machine_arch_type == MACH_TYPE_AML_M7200) | ||
3994 | +#else | ||
3995 | +# define machine_is_aml_m7200() (0) | ||
3996 | +#endif | ||
3997 | + | ||
3998 | +#ifdef CONFIG_MACH_AML_M5900 | ||
3999 | +# ifdef machine_arch_type | ||
4000 | +# undef machine_arch_type | ||
4001 | +# define machine_arch_type __machine_arch_type | ||
4002 | +# else | ||
4003 | +# define machine_arch_type MACH_TYPE_AML_M5900 | ||
4004 | +# endif | ||
4005 | +# define machine_is_aml_m5900() (machine_arch_type == MACH_TYPE_AML_M5900) | ||
4006 | +#else | ||
4007 | +# define machine_is_aml_m5900() (0) | ||
4008 | +#endif | ||
4009 | + | ||
4010 | +#ifdef CONFIG_MACH_SG640 | ||
4011 | +# ifdef machine_arch_type | ||
4012 | +# undef machine_arch_type | ||
4013 | +# define machine_arch_type __machine_arch_type | ||
4014 | +# else | ||
4015 | +# define machine_arch_type MACH_TYPE_SG640 | ||
4016 | +# endif | ||
4017 | +# define machine_is_sg640() (machine_arch_type == MACH_TYPE_SG640) | ||
4018 | +#else | ||
4019 | +# define machine_is_sg640() (0) | ||
4020 | +#endif | ||
4021 | + | ||
4022 | +#ifdef CONFIG_MACH_EDG79524 | ||
4023 | +# ifdef machine_arch_type | ||
4024 | +# undef machine_arch_type | ||
4025 | +# define machine_arch_type __machine_arch_type | ||
4026 | +# else | ||
4027 | +# define machine_arch_type MACH_TYPE_EDG79524 | ||
4028 | +# endif | ||
4029 | +# define machine_is_edg79524() (machine_arch_type == MACH_TYPE_EDG79524) | ||
4030 | +#else | ||
4031 | +# define machine_is_edg79524() (0) | ||
4032 | +#endif | ||
4033 | + | ||
4034 | +#ifdef CONFIG_MACH_AI2410 | ||
4035 | +# ifdef machine_arch_type | ||
4036 | +# undef machine_arch_type | ||
4037 | +# define machine_arch_type __machine_arch_type | ||
4038 | +# else | ||
4039 | +# define machine_arch_type MACH_TYPE_AI2410 | ||
4040 | +# endif | ||
4041 | +# define machine_is_ai2410() (machine_arch_type == MACH_TYPE_AI2410) | ||
4042 | +#else | ||
4043 | +# define machine_is_ai2410() (0) | ||
4044 | +#endif | ||
4045 | + | ||
4046 | +#ifdef CONFIG_MACH_IXP465 | ||
4047 | +# ifdef machine_arch_type | ||
4048 | +# undef machine_arch_type | ||
4049 | +# define machine_arch_type __machine_arch_type | ||
4050 | +# else | ||
4051 | +# define machine_arch_type MACH_TYPE_IXP465 | ||
4052 | +# endif | ||
4053 | +# define machine_is_ixp465() (machine_arch_type == MACH_TYPE_IXP465) | ||
4054 | +#else | ||
4055 | +# define machine_is_ixp465() (0) | ||
4056 | +#endif | ||
4057 | + | ||
4058 | +#ifdef CONFIG_MACH_BALLOON3 | ||
4059 | +# ifdef machine_arch_type | ||
4060 | +# undef machine_arch_type | ||
4061 | +# define machine_arch_type __machine_arch_type | ||
4062 | +# else | ||
4063 | +# define machine_arch_type MACH_TYPE_BALLOON3 | ||
4064 | +# endif | ||
4065 | +# define machine_is_balloon3() (machine_arch_type == MACH_TYPE_BALLOON3) | ||
4066 | +#else | ||
4067 | +# define machine_is_balloon3() (0) | ||
4068 | +#endif | ||
4069 | + | ||
4070 | +#ifdef CONFIG_MACH_QT2410 | ||
4071 | +# ifdef machine_arch_type | ||
4072 | +# undef machine_arch_type | ||
4073 | +# define machine_arch_type __machine_arch_type | ||
4074 | +# else | ||
4075 | +# define machine_arch_type MACH_TYPE_QT2410 | ||
4076 | +# endif | ||
4077 | +# define machine_is_qt2410() (machine_arch_type == MACH_TYPE_QT2410) | ||
4078 | +#else | ||
4079 | +# define machine_is_qt2410() (0) | ||
4080 | +#endif | ||
4081 | + | ||
4082 | +#ifdef CONFIG_MACH_NEO1973_GTA01 | ||
4083 | +# ifdef machine_arch_type | ||
4084 | +# undef machine_arch_type | ||
4085 | +# define machine_arch_type __machine_arch_type | ||
4086 | +# else | ||
4087 | +# define machine_arch_type MACH_TYPE_NEO1973_GTA01 | ||
4088 | +# endif | ||
4089 | +# define machine_is_neo1973_gta01() (machine_arch_type == MACH_TYPE_NEO1973_GTA01) | ||
4090 | +#else | ||
4091 | +# define machine_is_neo1973_gta01() (0) | ||
4092 | +#endif | ||
4093 | + | ||
4094 | +#ifdef CONFIG_MACH_HXD8 | ||
4095 | +# ifdef machine_arch_type | ||
4096 | +# undef machine_arch_type | ||
4097 | +# define machine_arch_type __machine_arch_type | ||
4098 | +# else | ||
4099 | +# define machine_arch_type MACH_TYPE_HXD8 | ||
4100 | +# endif | ||
4101 | +# define machine_is_hxd8() (machine_arch_type == MACH_TYPE_HXD8) | ||
4102 | +#else | ||
4103 | +# define machine_is_neo8() (0) | ||
4104 | +#endif | ||
4105 | + | ||
4106 | +#ifdef CONFIG_MACH_NEO1973_GTA02 | ||
4107 | +# ifdef machine_arch_type | ||
4108 | +# undef machine_arch_type | ||
4109 | +# define machine_arch_type __machine_arch_type | ||
4110 | +# else | ||
4111 | +# define machine_arch_type MACH_TYPE_NEO1973_GTA02 | ||
4112 | +# endif | ||
4113 | +# define machine_is_neo1973_gta02() (machine_arch_type == MACH_TYPE_NEO1973_GTA02) | ||
4114 | +#else | ||
4115 | +# define machine_is_neo1973_gta02() (0) | ||
4116 | +#endif | ||
4117 | + | ||
4118 | + | ||
4119 | /* | ||
4120 | * These have not yet been registered | ||
4121 | */ | ||