1config HAVE_IMX_GPC
2	bool
3
4config HAVE_IMX_MMDC
5	bool
6
7config HAVE_IMX_SRC
8	bool
9
10config ARCH_MX1
11	bool
12
13config MACH_MX21
14	bool
15
16config ARCH_MX25
17	bool
18
19config MACH_MX27
20	bool
21
22config ARCH_MX5
23	bool
24
25config ARCH_MX50
26	bool
27
28config ARCH_MX51
29	bool
30
31config ARCH_MX53
32	bool
33
34config SOC_IMX1
35	bool
36	select ARCH_MX1
37	select CPU_ARM920T
38	select IMX_HAVE_IOMUX_V1
39	select MXC_AVIC
40
41config SOC_IMX21
42	bool
43	select MACH_MX21
44	select CPU_ARM926T
45	select IMX_HAVE_IOMUX_V1
46	select MXC_AVIC
47
48config SOC_IMX25
49	bool
50	select ARCH_MX25
51	select CPU_ARM926T
52	select ARCH_MXC_IOMUX_V3
53	select MXC_AVIC
54
55config SOC_IMX27
56	bool
57	select MACH_MX27
58	select CPU_ARM926T
59	select IMX_HAVE_IOMUX_V1
60	select MXC_AVIC
61
62config SOC_IMX31
63	bool
64	select CPU_V6
65	select IMX_HAVE_PLATFORM_MXC_RNGA
66	select MXC_AVIC
67	select SMP_ON_UP if SMP
68
69config SOC_IMX35
70	bool
71	select CPU_V6
72	select ARCH_MXC_IOMUX_V3
73	select HAVE_EPIT
74	select MXC_AVIC
75	select SMP_ON_UP if SMP
76
77config SOC_IMX5
78	select CPU_V7
79	select MXC_TZIC
80	select ARCH_MXC_IOMUX_V3
81	select ARCH_HAS_CPUFREQ
82	select ARCH_MX5
83	bool
84
85config SOC_IMX50
86	bool
87	select SOC_IMX5
88	select ARCH_MX50
89
90config	SOC_IMX51
91	bool
92	select SOC_IMX5
93	select ARCH_MX5
94	select ARCH_MX51
95
96config	SOC_IMX53
97	bool
98	select SOC_IMX5
99	select ARCH_MX5
100	select ARCH_MX53
101
102if ARCH_IMX_V4_V5
103
104comment "MX1 platforms:"
105config MACH_MXLADS
106	bool
107
108config ARCH_MX1ADS
109	bool "MX1ADS platform"
110	select MACH_MXLADS
111	select SOC_IMX1
112	select IMX_HAVE_PLATFORM_IMX_I2C
113	select IMX_HAVE_PLATFORM_IMX_UART
114	help
115	  Say Y here if you are using Motorola MX1ADS/MXLADS boards
116
117config MACH_SCB9328
118	bool "Synertronixx scb9328"
119	select IMX_HAVE_PLATFORM_IMX_UART
120	help
121	  Say Y here if you are using a Synertronixx scb9328 board
122
123config MACH_APF9328
124	bool "APF9328"
125	select SOC_IMX1
126	select IMX_HAVE_PLATFORM_IMX_I2C
127	select IMX_HAVE_PLATFORM_IMX_UART
128	help
129	  Say Yes here if you are using the Armadeus APF9328 development board
130
131comment "MX21 platforms:"
132
133config MACH_MX21ADS
134	bool "MX21ADS platform"
135	select SOC_IMX21
136	select IMX_HAVE_PLATFORM_IMX_FB
137	select IMX_HAVE_PLATFORM_IMX_UART
138	select IMX_HAVE_PLATFORM_MXC_MMC
139	select IMX_HAVE_PLATFORM_MXC_NAND
140	help
141	  Include support for MX21ADS platform. This includes specific
142	  configurations for the board and its peripherals.
143
144comment "MX25 platforms:"
145
146config MACH_MX25_3DS
147	bool "Support MX25PDK (3DS) Platform"
148	select SOC_IMX25
149	select IMX_HAVE_PLATFORM_FLEXCAN
150	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
151	select IMX_HAVE_PLATFORM_IMX2_WDT
152	select IMX_HAVE_PLATFORM_IMXDI_RTC
153	select IMX_HAVE_PLATFORM_IMX_I2C
154	select IMX_HAVE_PLATFORM_IMX_FB
155	select IMX_HAVE_PLATFORM_IMX_KEYPAD
156	select IMX_HAVE_PLATFORM_IMX_UART
157	select IMX_HAVE_PLATFORM_MXC_EHCI
158	select IMX_HAVE_PLATFORM_MXC_NAND
159	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
160
161config MACH_EUKREA_CPUIMX25SD
162	bool "Support Eukrea CPUIMX25 Platform"
163	select SOC_IMX25
164	select IMX_HAVE_PLATFORM_FLEXCAN
165	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
166	select IMX_HAVE_PLATFORM_IMXDI_RTC
167	select IMX_HAVE_PLATFORM_IMX_FB
168	select IMX_HAVE_PLATFORM_IMX_I2C
169	select IMX_HAVE_PLATFORM_IMX_UART
170	select IMX_HAVE_PLATFORM_MXC_EHCI
171	select IMX_HAVE_PLATFORM_MXC_NAND
172	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
173	select MXC_ULPI if USB_ULPI
174
175choice
176	prompt "Baseboard"
177	depends on MACH_EUKREA_CPUIMX25SD
178	default MACH_EUKREA_MBIMXSD25_BASEBOARD
179
180config MACH_EUKREA_MBIMXSD25_BASEBOARD
181	bool "Eukrea MBIMXSD development board"
182	select IMX_HAVE_PLATFORM_GPIO_KEYS
183	select IMX_HAVE_PLATFORM_IMX_SSI
184	select LEDS_GPIO_REGISTER
185	help
186	  This adds board specific devices that can be found on Eukrea's
187	  MBIMXSD evaluation board.
188
189endchoice
190
191comment "MX27 platforms:"
192
193config MACH_MX27ADS
194	bool "MX27ADS platform"
195	select SOC_IMX27
196	select IMX_HAVE_PLATFORM_IMX_FB
197	select IMX_HAVE_PLATFORM_IMX_I2C
198	select IMX_HAVE_PLATFORM_IMX_UART
199	select IMX_HAVE_PLATFORM_MXC_MMC
200	select IMX_HAVE_PLATFORM_MXC_NAND
201	select IMX_HAVE_PLATFORM_MXC_W1
202	help
203	  Include support for MX27ADS platform. This includes specific
204	  configurations for the board and its peripherals.
205
206config MACH_PCM038
207	bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
208	select SOC_IMX27
209	select IMX_HAVE_PLATFORM_IMX2_WDT
210	select IMX_HAVE_PLATFORM_IMX_I2C
211	select IMX_HAVE_PLATFORM_IMX_UART
212	select IMX_HAVE_PLATFORM_MXC_EHCI
213	select IMX_HAVE_PLATFORM_MXC_NAND
214	select IMX_HAVE_PLATFORM_MXC_W1
215	select IMX_HAVE_PLATFORM_SPI_IMX
216	select MXC_ULPI if USB_ULPI
217	help
218	  Include support for phyCORE-i.MX27 (aka pcm038) platform. This
219	  includes specific configurations for the module and its peripherals.
220
221choice
222	prompt "Baseboard"
223	depends on MACH_PCM038
224	default MACH_PCM970_BASEBOARD
225
226config MACH_PCM970_BASEBOARD
227	bool "PHYTEC PCM970 development board"
228	select IMX_HAVE_PLATFORM_IMX_FB
229	select IMX_HAVE_PLATFORM_MXC_MMC
230	help
231	  This adds board specific devices that can be found on Phytec's
232	  PCM970 evaluation board.
233
234endchoice
235
236config MACH_CPUIMX27
237	bool "Eukrea CPUIMX27 module"
238	select SOC_IMX27
239	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
240	select IMX_HAVE_PLATFORM_IMX2_WDT
241	select IMX_HAVE_PLATFORM_IMX_I2C
242	select IMX_HAVE_PLATFORM_IMX_UART
243	select IMX_HAVE_PLATFORM_MXC_EHCI
244	select IMX_HAVE_PLATFORM_MXC_NAND
245	select IMX_HAVE_PLATFORM_MXC_W1
246	select MXC_ULPI if USB_ULPI
247	help
248	  Include support for Eukrea CPUIMX27 platform. This includes
249	  specific configurations for the module and its peripherals.
250
251config MACH_EUKREA_CPUIMX27_USESDHC2
252	bool "CPUIMX27 integrates SDHC2 module"
253	depends on MACH_CPUIMX27
254	select IMX_HAVE_PLATFORM_MXC_MMC
255	help
256	  This adds support for the internal SDHC2 used on CPUIMX27
257	  for wifi or eMMC.
258
259config MACH_EUKREA_CPUIMX27_USEUART4
260	bool "CPUIMX27 integrates UART4 module"
261	depends on MACH_CPUIMX27
262	help
263	  This adds support for the internal UART4 used on CPUIMX27
264	  for bluetooth.
265
266choice
267	prompt "Baseboard"
268	depends on MACH_CPUIMX27
269	default MACH_EUKREA_MBIMX27_BASEBOARD
270
271config MACH_EUKREA_MBIMX27_BASEBOARD
272	bool "Eukrea MBIMX27 development board"
273	select IMX_HAVE_PLATFORM_IMX_FB
274	select IMX_HAVE_PLATFORM_IMX_KEYPAD
275	select IMX_HAVE_PLATFORM_IMX_SSI
276	select IMX_HAVE_PLATFORM_IMX_UART
277	select IMX_HAVE_PLATFORM_MXC_MMC
278	select IMX_HAVE_PLATFORM_SPI_IMX
279	select LEDS_GPIO_REGISTER
280	help
281	  This adds board specific devices that can be found on Eukrea's
282	  MBIMX27 evaluation board.
283
284endchoice
285
286config MACH_MX27_3DS
287	bool "MX27PDK platform"
288	select SOC_IMX27
289	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
290	select IMX_HAVE_PLATFORM_IMX2_WDT
291	select IMX_HAVE_PLATFORM_IMX_FB
292	select IMX_HAVE_PLATFORM_IMX_I2C
293	select IMX_HAVE_PLATFORM_IMX_KEYPAD
294	select IMX_HAVE_PLATFORM_IMX_UART
295	select IMX_HAVE_PLATFORM_MX2_CAMERA
296	select IMX_HAVE_PLATFORM_MXC_EHCI
297	select IMX_HAVE_PLATFORM_MXC_MMC
298	select IMX_HAVE_PLATFORM_SPI_IMX
299	select MXC_DEBUG_BOARD
300	select MXC_ULPI if USB_ULPI
301	help
302	  Include support for MX27PDK platform. This includes specific
303	  configurations for the board and its peripherals.
304
305config MACH_IMX27_VISSTRIM_M10
306	bool "Vista Silicon i.MX27 Visstrim_m10"
307	select SOC_IMX27
308	select IMX_HAVE_PLATFORM_GPIO_KEYS
309	select IMX_HAVE_PLATFORM_IMX_I2C
310	select IMX_HAVE_PLATFORM_IMX_SSI
311	select IMX_HAVE_PLATFORM_IMX_UART
312	select IMX_HAVE_PLATFORM_MX2_CAMERA
313	select IMX_HAVE_PLATFORM_MXC_EHCI
314	select IMX_HAVE_PLATFORM_MXC_MMC
315	select LEDS_GPIO_REGISTER
316	help
317	  Include support for Visstrim_m10 platform and its different variants.
318	  This includes specific configurations for the board and its
319	  peripherals.
320
321config MACH_IMX27LITE
322	bool "LogicPD MX27 LITEKIT platform"
323	select SOC_IMX27
324	select IMX_HAVE_PLATFORM_IMX_UART
325	select IMX_HAVE_PLATFORM_IMX_SSI
326	help
327	  Include support for MX27 LITEKIT platform. This includes specific
328	  configurations for the board and its peripherals.
329
330config MACH_PCA100
331	bool "Phytec phyCARD-s (pca100)"
332	select SOC_IMX27
333	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
334	select IMX_HAVE_PLATFORM_IMX2_WDT
335	select IMX_HAVE_PLATFORM_IMX_FB
336	select IMX_HAVE_PLATFORM_IMX_I2C
337	select IMX_HAVE_PLATFORM_IMX_SSI
338	select IMX_HAVE_PLATFORM_IMX_UART
339	select IMX_HAVE_PLATFORM_MXC_EHCI
340	select IMX_HAVE_PLATFORM_MXC_MMC
341	select IMX_HAVE_PLATFORM_MXC_NAND
342	select IMX_HAVE_PLATFORM_MXC_W1
343	select IMX_HAVE_PLATFORM_SPI_IMX
344	select MXC_ULPI if USB_ULPI
345	help
346	  Include support for phyCARD-s (aka pca100) platform. This
347	  includes specific configurations for the module and its peripherals.
348
349config MACH_MXT_TD60
350	bool "Maxtrack i-MXT TD60"
351	select SOC_IMX27
352	select IMX_HAVE_PLATFORM_IMX_FB
353	select IMX_HAVE_PLATFORM_IMX_I2C
354	select IMX_HAVE_PLATFORM_IMX_UART
355	select IMX_HAVE_PLATFORM_MXC_MMC
356	select IMX_HAVE_PLATFORM_MXC_NAND
357	help
358	  Include support for i-MXT (aka td60) platform. This
359	  includes specific configurations for the module and its peripherals.
360
361config MACH_IMX27IPCAM
362	bool "IMX27 IPCAM platform"
363	select SOC_IMX27
364	select IMX_HAVE_PLATFORM_IMX2_WDT
365	select IMX_HAVE_PLATFORM_IMX_UART
366	help
367	  Include support for IMX27 IPCAM platform. This includes specific
368	  configurations for the board and its peripherals.
369
370config MACH_IMX27_DT
371	bool "Support i.MX27 platforms from device tree"
372	select SOC_IMX27
373	select USE_OF
374	help
375	  Include support for Freescale i.MX27 based platforms
376	  using the device tree for discovery
377
378endif
379
380if ARCH_IMX_V6_V7
381
382comment "MX31 platforms:"
383
384config MACH_MX31ADS
385	bool "Support MX31ADS platforms"
386	select SOC_IMX31
387	select IMX_HAVE_PLATFORM_IMX_I2C
388	select IMX_HAVE_PLATFORM_IMX_SSI
389	select IMX_HAVE_PLATFORM_IMX_UART
390	default y
391	help
392	  Include support for MX31ADS platform. This includes specific
393	  configurations for the board and its peripherals.
394
395config MACH_MX31ADS_WM1133_EV1
396	bool "Support Wolfson Microelectronics 1133-EV1 module"
397	depends on MACH_MX31ADS
398	depends on MFD_WM8350_I2C
399	depends on REGULATOR_WM8350
400	select MFD_WM8350_CONFIG_MODE_0
401	select MFD_WM8352_CONFIG_MODE_0
402	help
403	  Include support for the Wolfson Microelectronics 1133-EV1 PMU
404	  and audio module for the MX31ADS platform.
405
406config MACH_MX31LILLY
407	bool "Support MX31 LILLY-1131 platforms (INCO startec)"
408	select SOC_IMX31
409	select IMX_HAVE_PLATFORM_IMX_UART
410	select IMX_HAVE_PLATFORM_IPU_CORE
411	select IMX_HAVE_PLATFORM_MXC_EHCI
412	select IMX_HAVE_PLATFORM_MXC_MMC
413	select IMX_HAVE_PLATFORM_SPI_IMX
414	select MXC_ULPI if USB_ULPI
415	help
416	  Include support for mx31 based LILLY1131 modules. This includes
417	  specific configurations for the board and its peripherals.
418
419config MACH_MX31LITE
420	bool "Support MX31 LITEKIT (LogicPD)"
421	select SOC_IMX31
422	select MXC_ULPI if USB_ULPI
423	select IMX_HAVE_PLATFORM_IMX2_WDT
424	select IMX_HAVE_PLATFORM_IMX_UART
425	select IMX_HAVE_PLATFORM_MXC_EHCI
426	select IMX_HAVE_PLATFORM_MXC_MMC
427	select IMX_HAVE_PLATFORM_MXC_NAND
428	select IMX_HAVE_PLATFORM_MXC_RTC
429	select IMX_HAVE_PLATFORM_SPI_IMX
430	select LEDS_GPIO_REGISTER
431	help
432	  Include support for MX31 LITEKIT platform. This includes specific
433	  configurations for the board and its peripherals.
434
435config MACH_PCM037
436	bool "Support Phytec pcm037 (i.MX31) platforms"
437	select SOC_IMX31
438	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
439	select IMX_HAVE_PLATFORM_IMX2_WDT
440	select IMX_HAVE_PLATFORM_IMX_I2C
441	select IMX_HAVE_PLATFORM_IMX_UART
442	select IMX_HAVE_PLATFORM_IPU_CORE
443	select IMX_HAVE_PLATFORM_MXC_EHCI
444	select IMX_HAVE_PLATFORM_MXC_MMC
445	select IMX_HAVE_PLATFORM_MXC_NAND
446	select IMX_HAVE_PLATFORM_MXC_W1
447	select MXC_ULPI if USB_ULPI
448	help
449	  Include support for Phytec pcm037 platform. This includes
450	  specific configurations for the board and its peripherals.
451
452config MACH_PCM037_EET
453	bool "Support pcm037 EET board extensions"
454	depends on MACH_PCM037
455	select IMX_HAVE_PLATFORM_GPIO_KEYS
456	select IMX_HAVE_PLATFORM_SPI_IMX
457	help
458	  Add support for PCM037 EET baseboard extensions. If you are using the
459	  OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
460	  command-line parameter.
461
462config MACH_MX31_3DS
463	bool "Support MX31PDK (3DS)"
464	select SOC_IMX31
465	select MXC_DEBUG_BOARD
466	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
467	select IMX_HAVE_PLATFORM_IMX2_WDT
468	select IMX_HAVE_PLATFORM_IMX_I2C
469	select IMX_HAVE_PLATFORM_IMX_KEYPAD
470	select IMX_HAVE_PLATFORM_IMX_UART
471	select IMX_HAVE_PLATFORM_IPU_CORE
472	select IMX_HAVE_PLATFORM_MXC_EHCI
473	select IMX_HAVE_PLATFORM_MXC_MMC
474	select IMX_HAVE_PLATFORM_MXC_NAND
475	select IMX_HAVE_PLATFORM_SPI_IMX
476	select MXC_ULPI if USB_ULPI
477	help
478	  Include support for MX31PDK (3DS) platform. This includes specific
479	  configurations for the board and its peripherals.
480
481config MACH_MX31_3DS_MXC_NAND_USE_BBT
482	bool "Make the MXC NAND driver use the in flash Bad Block Table"
483	depends on MACH_MX31_3DS
484	depends on MTD_NAND_MXC
485	help
486	  Enable this if you want that the MXC NAND driver uses the in flash
487	  Bad Block Table to know what blocks are bad instead of scanning the
488	  entire flash looking for bad block markers.
489
490config MACH_MX31MOBOARD
491	bool "Support mx31moboard platforms (EPFL Mobots group)"
492	select SOC_IMX31
493	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
494	select IMX_HAVE_PLATFORM_IMX2_WDT
495	select IMX_HAVE_PLATFORM_IMX_I2C
496	select IMX_HAVE_PLATFORM_IMX_UART
497	select IMX_HAVE_PLATFORM_IPU_CORE
498	select IMX_HAVE_PLATFORM_MXC_EHCI
499	select IMX_HAVE_PLATFORM_MXC_MMC
500	select IMX_HAVE_PLATFORM_SPI_IMX
501	select LEDS_GPIO_REGISTER
502	select MXC_ULPI if USB_ULPI
503	help
504	  Include support for mx31moboard platform. This includes specific
505	  configurations for the board and its peripherals.
506
507config MACH_QONG
508	bool "Support Dave/DENX QongEVB-LITE platform"
509	select SOC_IMX31
510	select IMX_HAVE_PLATFORM_IMX_UART
511	select IMX_HAVE_PLATFORM_IMX2_WDT
512	help
513	  Include support for Dave/DENX QongEVB-LITE platform. This includes
514	  specific configurations for the board and its peripherals.
515
516config MACH_ARMADILLO5X0
517	bool "Support Atmark Armadillo-500 Development Base Board"
518	select SOC_IMX31
519	select IMX_HAVE_PLATFORM_GPIO_KEYS
520	select IMX_HAVE_PLATFORM_IMX_I2C
521	select IMX_HAVE_PLATFORM_IMX_UART
522	select IMX_HAVE_PLATFORM_IPU_CORE
523	select IMX_HAVE_PLATFORM_MXC_EHCI
524	select IMX_HAVE_PLATFORM_MXC_MMC
525	select IMX_HAVE_PLATFORM_MXC_NAND
526	select MXC_ULPI if USB_ULPI
527	help
528	  Include support for Atmark Armadillo-500 platform. This includes
529	  specific configurations for the board and its peripherals.
530
531config MACH_KZM_ARM11_01
532	bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
533	select SOC_IMX31
534	select IMX_HAVE_PLATFORM_IMX_UART
535	help
536	  Include support for KZM-ARM11-01. This includes specific
537	  configurations for the board and its peripherals.
538
539config MACH_BUG
540	bool "Support Buglabs BUGBase platform"
541	select SOC_IMX31
542	select IMX_HAVE_PLATFORM_IMX_UART
543	default y
544	help
545	  Include support for BUGBase 1.3 platform. This includes specific
546	  configurations for the board and its peripherals.
547
548comment "MX35 platforms:"
549
550config MACH_PCM043
551	bool "Support Phytec pcm043 (i.MX35) platforms"
552	select SOC_IMX35
553	select IMX_HAVE_PLATFORM_FLEXCAN
554	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
555	select IMX_HAVE_PLATFORM_IMX2_WDT
556	select IMX_HAVE_PLATFORM_IMX_I2C
557	select IMX_HAVE_PLATFORM_IMX_SSI
558	select IMX_HAVE_PLATFORM_IMX_UART
559	select IMX_HAVE_PLATFORM_IPU_CORE
560	select IMX_HAVE_PLATFORM_MXC_EHCI
561	select IMX_HAVE_PLATFORM_MXC_NAND
562	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
563	select MXC_ULPI if USB_ULPI
564	help
565	  Include support for Phytec pcm043 platform. This includes
566	  specific configurations for the board and its peripherals.
567
568config MACH_MX35_3DS
569	bool "Support MX35PDK platform"
570	select SOC_IMX35
571	select MXC_DEBUG_BOARD
572	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
573	select IMX_HAVE_PLATFORM_IMX2_WDT
574	select IMX_HAVE_PLATFORM_IMX_I2C
575	select IMX_HAVE_PLATFORM_IMX_UART
576	select IMX_HAVE_PLATFORM_MXC_EHCI
577	select IMX_HAVE_PLATFORM_MXC_NAND
578	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
579	help
580	  Include support for MX35PDK platform. This includes specific
581	  configurations for the board and its peripherals.
582
583config MACH_EUKREA_CPUIMX35SD
584	bool "Support Eukrea CPUIMX35 Platform"
585	select SOC_IMX35
586	select IMX_HAVE_PLATFORM_FLEXCAN
587	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
588	select IMX_HAVE_PLATFORM_IMX2_WDT
589	select IMX_HAVE_PLATFORM_IMX_I2C
590	select IMX_HAVE_PLATFORM_IMX_UART
591	select IMX_HAVE_PLATFORM_MXC_EHCI
592	select IMX_HAVE_PLATFORM_MXC_NAND
593	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
594	select MXC_ULPI if USB_ULPI
595	help
596	  Include support for Eukrea CPUIMX35 platform. This includes
597	  specific configurations for the board and its peripherals.
598
599choice
600	prompt "Baseboard"
601	depends on MACH_EUKREA_CPUIMX35SD
602	default MACH_EUKREA_MBIMXSD35_BASEBOARD
603
604config MACH_EUKREA_MBIMXSD35_BASEBOARD
605	bool "Eukrea MBIMXSD development board"
606	select IMX_HAVE_PLATFORM_GPIO_KEYS
607	select IMX_HAVE_PLATFORM_IMX_SSI
608	select IMX_HAVE_PLATFORM_IPU_CORE
609	select LEDS_GPIO_REGISTER
610	help
611	  This adds board specific devices that can be found on Eukrea's
612	  MBIMXSD evaluation board.
613
614endchoice
615
616config MACH_VPR200
617	bool "Support VPR200 platform"
618	select SOC_IMX35
619	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
620	select IMX_HAVE_PLATFORM_GPIO_KEYS
621	select IMX_HAVE_PLATFORM_IMX2_WDT
622	select IMX_HAVE_PLATFORM_IMX_UART
623	select IMX_HAVE_PLATFORM_IMX_I2C
624	select IMX_HAVE_PLATFORM_IPU_CORE
625	select IMX_HAVE_PLATFORM_MXC_EHCI
626	select IMX_HAVE_PLATFORM_MXC_NAND
627	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
628	help
629	  Include support for VPR200 platform. This includes specific
630	  configurations for the board and its peripherals.
631
632comment "i.MX5 platforms:"
633
634config MACH_MX50_RDP
635	bool "Support MX50 reference design platform"
636	depends on BROKEN
637	select SOC_IMX50
638	select IMX_HAVE_PLATFORM_IMX_I2C
639	select IMX_HAVE_PLATFORM_IMX_UART
640	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
641	select IMX_HAVE_PLATFORM_SPI_IMX
642	help
643	  Include support for MX50 reference design platform (RDP) board. This
644	  includes specific configurations for the board and its peripherals.
645
646comment "i.MX51 machines:"
647
648config MACH_IMX51_DT
649	bool "Support i.MX51 platforms from device tree"
650	select SOC_IMX51
651	select USE_OF
652	select MACH_MX51_BABBAGE
653	help
654	  Include support for Freescale i.MX51 based platforms
655	  using the device tree for discovery
656
657config MACH_MX51_BABBAGE
658	bool "Support MX51 BABBAGE platforms"
659	select SOC_IMX51
660	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
661	select IMX_HAVE_PLATFORM_IMX2_WDT
662	select IMX_HAVE_PLATFORM_IMX_I2C
663	select IMX_HAVE_PLATFORM_IMX_UART
664	select IMX_HAVE_PLATFORM_MXC_EHCI
665	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
666	select IMX_HAVE_PLATFORM_SPI_IMX
667	help
668	  Include support for MX51 Babbage platform, also known as MX51EVK in
669	  u-boot. This includes specific configurations for the board and its
670	  peripherals.
671
672config MACH_MX51_3DS
673	bool "Support MX51PDK (3DS)"
674	select SOC_IMX51
675	select IMX_HAVE_PLATFORM_IMX2_WDT
676	select IMX_HAVE_PLATFORM_IMX_KEYPAD
677	select IMX_HAVE_PLATFORM_IMX_UART
678	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
679	select IMX_HAVE_PLATFORM_SPI_IMX
680	select MXC_DEBUG_BOARD
681	help
682	  Include support for MX51PDK (3DS) platform. This includes specific
683	  configurations for the board and its peripherals.
684
685config MACH_EUKREA_CPUIMX51
686	bool "Support Eukrea CPUIMX51 module"
687	select SOC_IMX51
688	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
689	select IMX_HAVE_PLATFORM_IMX_I2C
690	select IMX_HAVE_PLATFORM_IMX_UART
691	select IMX_HAVE_PLATFORM_MXC_EHCI
692	select IMX_HAVE_PLATFORM_MXC_NAND
693	select IMX_HAVE_PLATFORM_SPI_IMX
694	help
695	  Include support for Eukrea CPUIMX51 platform. This includes
696	  specific configurations for the module and its peripherals.
697
698choice
699	prompt "Baseboard"
700	depends on MACH_EUKREA_CPUIMX51
701	default MACH_EUKREA_MBIMX51_BASEBOARD
702
703config MACH_EUKREA_MBIMX51_BASEBOARD
704	prompt "Eukrea MBIMX51 development board"
705	bool
706	select IMX_HAVE_PLATFORM_IMX_KEYPAD
707	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
708	select LEDS_GPIO_REGISTER
709	help
710	  This adds board specific devices that can be found on Eukrea's
711	  MBIMX51 evaluation board.
712
713endchoice
714
715config MACH_EUKREA_CPUIMX51SD
716	bool "Support Eukrea CPUIMX51SD module"
717	select SOC_IMX51
718	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
719	select IMX_HAVE_PLATFORM_IMX_I2C
720	select IMX_HAVE_PLATFORM_IMX_UART
721	select IMX_HAVE_PLATFORM_MXC_EHCI
722	select IMX_HAVE_PLATFORM_MXC_NAND
723	select IMX_HAVE_PLATFORM_SPI_IMX
724	help
725	  Include support for Eukrea CPUIMX51SD platform. This includes
726	  specific configurations for the module and its peripherals.
727
728choice
729	prompt "Baseboard"
730	depends on MACH_EUKREA_CPUIMX51SD
731	default MACH_EUKREA_MBIMXSD51_BASEBOARD
732
733config MACH_EUKREA_MBIMXSD51_BASEBOARD
734	prompt "Eukrea MBIMXSD development board"
735	bool
736	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
737	select LEDS_GPIO_REGISTER
738	help
739	  This adds board specific devices that can be found on Eukrea's
740	  MBIMXSD evaluation board.
741
742endchoice
743
744config MX51_EFIKA_COMMON
745	bool
746	select SOC_IMX51
747	select IMX_HAVE_PLATFORM_IMX_UART
748	select IMX_HAVE_PLATFORM_MXC_EHCI
749	select IMX_HAVE_PLATFORM_PATA_IMX
750	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
751	select IMX_HAVE_PLATFORM_SPI_IMX
752	select MXC_ULPI if USB_ULPI
753
754config MACH_MX51_EFIKAMX
755	bool "Support MX51 Genesi Efika MX nettop"
756	select LEDS_GPIO_REGISTER
757	select MX51_EFIKA_COMMON
758	help
759	  Include support for Genesi Efika MX nettop. This includes specific
760	  configurations for the board and its peripherals.
761
762config MACH_MX51_EFIKASB
763	bool "Support MX51 Genesi Efika Smartbook"
764	select LEDS_GPIO_REGISTER
765	select MX51_EFIKA_COMMON
766	help
767	  Include support for Genesi Efika Smartbook. This includes specific
768	  configurations for the board and its peripherals.
769
770comment "i.MX53 machines:"
771
772config MACH_IMX53_DT
773	bool "Support i.MX53 platforms from device tree"
774	select SOC_IMX53
775	select USE_OF
776	select MACH_MX53_ARD
777	select MACH_MX53_EVK
778	select MACH_MX53_LOCO
779	select MACH_MX53_SMD
780	help
781	  Include support for Freescale i.MX53 based platforms
782	  using the device tree for discovery
783
784config MACH_MX53_EVK
785	bool "Support MX53 EVK platforms"
786	select SOC_IMX53
787	select IMX_HAVE_PLATFORM_IMX2_WDT
788	select IMX_HAVE_PLATFORM_IMX_UART
789	select IMX_HAVE_PLATFORM_IMX_I2C
790	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
791	select IMX_HAVE_PLATFORM_SPI_IMX
792	select LEDS_GPIO_REGISTER
793	help
794	  Include support for MX53 EVK platform. This includes specific
795	  configurations for the board and its peripherals.
796
797config MACH_MX53_SMD
798	bool "Support MX53 SMD platforms"
799	select SOC_IMX53
800	select IMX_HAVE_PLATFORM_IMX2_WDT
801	select IMX_HAVE_PLATFORM_IMX_I2C
802	select IMX_HAVE_PLATFORM_IMX_UART
803	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
804	help
805	  Include support for MX53 SMD platform. This includes specific
806	  configurations for the board and its peripherals.
807
808config MACH_MX53_LOCO
809	bool "Support MX53 LOCO platforms"
810	select SOC_IMX53
811	select IMX_HAVE_PLATFORM_IMX2_WDT
812	select IMX_HAVE_PLATFORM_IMX_I2C
813	select IMX_HAVE_PLATFORM_IMX_UART
814	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
815	select IMX_HAVE_PLATFORM_GPIO_KEYS
816	select LEDS_GPIO_REGISTER
817	help
818	  Include support for MX53 LOCO platform. This includes specific
819	  configurations for the board and its peripherals.
820
821config MACH_MX53_ARD
822	bool "Support MX53 ARD platforms"
823	select SOC_IMX53
824	select IMX_HAVE_PLATFORM_IMX2_WDT
825	select IMX_HAVE_PLATFORM_IMX_I2C
826	select IMX_HAVE_PLATFORM_IMX_UART
827	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
828	select IMX_HAVE_PLATFORM_GPIO_KEYS
829	help
830	  Include support for MX53 ARD platform. This includes specific
831	  configurations for the board and its peripherals.
832
833comment "i.MX6 family:"
834
835config SOC_IMX6Q
836	bool "i.MX6 Quad support"
837	select ARM_CPU_SUSPEND if PM
838	select ARM_GIC
839	select CPU_V7
840	select HAVE_ARM_SCU
841	select HAVE_IMX_GPC
842	select HAVE_IMX_MMDC
843	select HAVE_IMX_SRC
844	select HAVE_SMP
845	select USE_OF
846
847	help
848	  This enables support for Freescale i.MX6 Quad processor.
849
850endif
851