Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
menuconfig CONFIG_ARCH_MXC
	bool "Freescale i.MX family"
	depends on CONFIG_ARCH_MULTI_V4_V5 || CONFIG_ARCH_MULTI_V6_V7 || CONFIG_ARM_SINGLE_ARMV7M
	select CONFIG_ARCH_SUPPORTS_BIG_ENDIAN
	select CONFIG_CLKSRC_IMX_GPT
	select CONFIG_GENERIC_IRQ_CHIP
	select CONFIG_GPIOLIB
	select CONFIG_PINCTRL
	select CONFIG_PM_OPP if CONFIG_PM
	select CONFIG_SOC_BUS
	select CONFIG_SRAM
	help
	  Support for Freescale MXC/iMX-based family of processors

if CONFIG_ARCH_MXC

config CONFIG_MXC_TZIC
	bool

config CONFIG_MXC_AVIC
	bool

config CONFIG_MXC_DEBUG_BOARD
	bool "Enable MXC debug board(for 3-stack)"
	depends on CONFIG_MACH_MX27_3DS || CONFIG_MACH_MX31_3DS || CONFIG_MACH_MX35_3DS
	help
	  The debug board is an integral part of the MXC 3-stack(PDK)
	  platforms, it can be attached or removed from the peripheral
	  board. On debug board, several debug devices(ethernet, UART,
	  buttons, LEDs and JTAG) are implemented. Between the MCU and
	  these devices, a CPLD is added as a bridge which performs
	  data/address de-multiplexing and decode, signal level shift,
	  interrupt control and various board functions.

config CONFIG_HAVE_EPIT
	bool

config CONFIG_MXC_USE_EPIT
	bool "Use EPIT instead of GPT"
	depends on CONFIG_HAVE_EPIT
	help
	  Use EPIT as the system timer on systems that have it. Normally you
	  don't have a reason to do so as the EPIT has the same features and
	  uses the same clocks as the GPT. Anyway, on some systems the GPT
	  may be in use for other purposes.

config CONFIG_HAVE_IMX_ANATOP
	bool

config CONFIG_HAVE_IMX_GPC
	bool
	select CONFIG_PM_GENERIC_DOMAINS if CONFIG_PM

config CONFIG_HAVE_IMX_MMDC
	bool

config CONFIG_HAVE_IMX_SRC
	def_bool y if CONFIG_SMP
	select CONFIG_ARCH_HAS_RESET_CONTROLLER

config CONFIG_IMX_HAVE_IOMUX_V1
	bool

config CONFIG_ARCH_MXC_IOMUX_V3
	bool

config CONFIG_SOC_IMX21
	bool
	select CONFIG_CPU_ARM926T
	select CONFIG_IMX_HAVE_IOMUX_V1
	select CONFIG_MXC_AVIC

config CONFIG_SOC_IMX27
	bool
	select CONFIG_CPU_ARM926T
	select CONFIG_IMX_HAVE_IOMUX_V1
	select CONFIG_MXC_AVIC
	select CONFIG_PINCTRL_IMX27

config CONFIG_SOC_IMX31
	bool
	select CONFIG_CPU_V6
	select CONFIG_MXC_AVIC

config CONFIG_SOC_IMX35
	bool
	select CONFIG_ARCH_MXC_IOMUX_V3
	select CONFIG_HAVE_EPIT
	select CONFIG_MXC_AVIC
	select CONFIG_PINCTRL_IMX35

if CONFIG_ARCH_MULTI_V5

comment "MX21 platforms:"

config CONFIG_MACH_MX21ADS
	bool "MX21ADS platform"
	select CONFIG_IMX_HAVE_PLATFORM_IMX_FB
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_IMX_HAVE_PLATFORM_MXC_NAND
	select CONFIG_SOC_IMX21
	help
	  Include support for MX21ADS platform. This includes specific
	  configurations for the board and its peripherals.

comment "MX27 platforms:"

config CONFIG_MACH_MX27ADS
	bool "MX27ADS platform"
	select CONFIG_IMX_HAVE_PLATFORM_IMX_FB
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_IMX_HAVE_PLATFORM_MXC_NAND
	select CONFIG_IMX_HAVE_PLATFORM_MXC_W1
	select CONFIG_SOC_IMX27
	help
	  Include support for MX27ADS platform. This includes specific
	  configurations for the board and its peripherals.

config CONFIG_MACH_MX27_3DS
	bool "MX27PDK platform"
	select CONFIG_IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT
	select CONFIG_IMX_HAVE_PLATFORM_IMX_FB
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_KEYPAD
	select CONFIG_IMX_HAVE_PLATFORM_IMX_SSI
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_MX2_CAMERA
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_IMX_HAVE_PLATFORM_SPI_IMX
	select CONFIG_MXC_DEBUG_BOARD
	select CONFIG_USB_ULPI_VIEWPORT if CONFIG_USB_ULPI
	select CONFIG_SOC_IMX27
	help
	  Include support for MX27PDK platform. This includes specific
	  configurations for the board and its peripherals.

config CONFIG_MACH_IMX27_VISSTRIM_M10
	bool "Vista Silicon i.MX27 Visstrim_m10"
	select CONFIG_IMX_HAVE_PLATFORM_GPIO_KEYS
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_SSI
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_MX2_CAMERA
	select CONFIG_IMX_HAVE_PLATFORM_MX2_EMMA
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_LEDS_GPIO_REGISTER
	select CONFIG_SOC_IMX27
	help
	  Include support for Visstrim_m10 platform and its different variants.
	  This includes specific configurations for the board and its
	  peripherals.

config CONFIG_MACH_PCA100
	bool "Phytec phyCARD-s (pca100)"
	select CONFIG_IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT
	select CONFIG_IMX_HAVE_PLATFORM_IMX_FB
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_SSI
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_IMX_HAVE_PLATFORM_MXC_NAND
	select CONFIG_IMX_HAVE_PLATFORM_MXC_W1
	select CONFIG_IMX_HAVE_PLATFORM_SPI_IMX
	select CONFIG_USB_ULPI_VIEWPORT if CONFIG_USB_ULPI
	select CONFIG_SOC_IMX27
	help
	  Include support for phyCARD-s (aka pca100) platform. This
	  includes specific configurations for the module and its peripherals.

config CONFIG_MACH_IMX27_DT
	bool "Support i.MX27 platforms from device tree"
	select CONFIG_SOC_IMX27
	help
	  Include support for Freescale i.MX27 based platforms
	  using the device tree for discovery

endif

if CONFIG_ARCH_MULTI_V6

comment "MX31 platforms:"

config CONFIG_MACH_MX31ADS
	bool "Support MX31ADS platforms"
	default y
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_SSI
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_SOC_IMX31
	help
	  Include support for MX31ADS platform. This includes specific
	  configurations for the board and its peripherals.

config CONFIG_MACH_MX31ADS_WM1133_EV1
	bool "Support Wolfson Microelectronics 1133-EV1 module"
	depends on CONFIG_MACH_MX31ADS
	depends on CONFIG_MFD_WM8350_I2C
	depends on CONFIG_REGULATOR_WM8350 = y
	help
	  Include support for the Wolfson Microelectronics 1133-EV1 PMU
	  and audio module for the MX31ADS platform.

config CONFIG_MACH_MX31LILLY
	bool "Support MX31 LILLY-1131 platforms (INCO startec)"
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_IPU_CORE
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_IMX_HAVE_PLATFORM_SPI_IMX
	select CONFIG_USB_ULPI_VIEWPORT if CONFIG_USB_ULPI
	select CONFIG_SOC_IMX31
	help
	  Include support for mx31 based LILLY1131 modules. This includes
	  specific configurations for the board and its peripherals.

config CONFIG_MACH_MX31LITE
	bool "Support MX31 LITEKIT (LogicPD)"
	select CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_IMX_HAVE_PLATFORM_MXC_NAND
	select CONFIG_IMX_HAVE_PLATFORM_MXC_RTC
	select CONFIG_IMX_HAVE_PLATFORM_SPI_IMX
	select CONFIG_LEDS_GPIO_REGISTER
	select CONFIG_USB_ULPI_VIEWPORT if CONFIG_USB_ULPI
	select CONFIG_SOC_IMX31
	help
	  Include support for MX31 LITEKIT platform. This includes specific
	  configurations for the board and its peripherals.

config CONFIG_MACH_PCM037
	bool "Support Phytec pcm037 (i.MX31) platforms"
	select CONFIG_IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_IPU_CORE
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_IMX_HAVE_PLATFORM_MXC_NAND
	select CONFIG_IMX_HAVE_PLATFORM_MXC_W1
	select CONFIG_USB_ULPI_VIEWPORT if CONFIG_USB_ULPI
	select CONFIG_SOC_IMX31
	help
	  Include support for Phytec pcm037 platform. This includes
	  specific configurations for the board and its peripherals.

config CONFIG_MACH_PCM037_EET
	bool "Support pcm037 EET board extensions"
	depends on CONFIG_MACH_PCM037
	select CONFIG_IMX_HAVE_PLATFORM_GPIO_KEYS
	select CONFIG_IMX_HAVE_PLATFORM_SPI_IMX
	help
	  Add support for PCM037 EET baseboard extensions. If you are using the
	  OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
	  command-line parameter.

config CONFIG_MACH_MX31_3DS
	bool "Support MX31PDK (3DS)"
	select CONFIG_IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_KEYPAD
	select CONFIG_IMX_HAVE_PLATFORM_IMX_SSI
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_IPU_CORE
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_IMX_HAVE_PLATFORM_MXC_NAND
	select CONFIG_IMX_HAVE_PLATFORM_SPI_IMX
	select CONFIG_MXC_DEBUG_BOARD
	select CONFIG_USB_ULPI_VIEWPORT if CONFIG_USB_ULPI
	select CONFIG_SOC_IMX31
	help
	  Include support for MX31PDK (3DS) platform. This includes specific
	  configurations for the board and its peripherals.

config CONFIG_MACH_MX31_3DS_MXC_NAND_USE_BBT
	bool "Make the MXC NAND driver use the in flash Bad Block Table"
	depends on CONFIG_MACH_MX31_3DS
	depends on CONFIG_MTD_NAND_MXC
	help
	  Enable this if you want that the MXC NAND driver uses the in flash
	  Bad Block Table to know what blocks are bad instead of scanning the
	  entire flash looking for bad block markers.

config CONFIG_MACH_MX31MOBOARD
	bool "Support mx31moboard platforms (EPFL Mobots group)"
	select CONFIG_IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_SSI
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_IPU_CORE
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_IMX_HAVE_PLATFORM_SPI_IMX
	select CONFIG_LEDS_GPIO_REGISTER
	select CONFIG_USB_ULPI_VIEWPORT if CONFIG_USB_ULPI
	select CONFIG_SOC_IMX31
	help
	  Include support for mx31moboard platform. This includes specific
	  configurations for the board and its peripherals.

config CONFIG_MACH_QONG
	bool "Support Dave/DENX QongEVB-LITE platform"
	select CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_SOC_IMX31
	help
	  Include support for Dave/DENX QongEVB-LITE platform. This includes
	  specific configurations for the board and its peripherals.

config CONFIG_MACH_ARMADILLO5X0
	bool "Support Atmark Armadillo-500 Development Base Board"
	select CONFIG_IMX_HAVE_PLATFORM_GPIO_KEYS
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_IPU_CORE
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_MMC
	select CONFIG_IMX_HAVE_PLATFORM_MXC_NAND
	select CONFIG_USB_ULPI_VIEWPORT if CONFIG_USB_ULPI
	select CONFIG_SOC_IMX31
	help
	  Include support for Atmark Armadillo-500 platform. This includes
	  specific configurations for the board and its peripherals.

config CONFIG_MACH_KZM_ARM11_01
	bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_SOC_IMX31
	help
	  Include support for KZM-ARM11-01. This includes specific
	  configurations for the board and its peripherals.

config CONFIG_MACH_BUG
	bool "Support Buglabs BUGBase platform"
	default y
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_SOC_IMX31
	help
	  Include support for BUGBase 1.3 platform. This includes specific
	  configurations for the board and its peripherals.

config CONFIG_MACH_IMX31_DT
	bool "Support i.MX31 platforms from device tree"
	select CONFIG_SOC_IMX31
	help
	  Include support for Freescale i.MX31 based platforms
	  using the device tree for discovery.

comment "MX35 platforms:"

config CONFIG_MACH_IMX35_DT
	bool "Support i.MX35 platforms from device tree"
	select CONFIG_SOC_IMX35
	help
	  Include support for Freescale i.MX35 based platforms
	  using the device tree for discovery.

config CONFIG_MACH_PCM043
	bool "Support Phytec pcm043 (i.MX35) platforms"
	select CONFIG_IMX_HAVE_PLATFORM_FLEXCAN
	select CONFIG_IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_SSI
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_IPU_CORE
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_NAND
	select CONFIG_IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select CONFIG_USB_ULPI_VIEWPORT if CONFIG_USB_ULPI
	select CONFIG_SOC_IMX35
	help
	  Include support for Phytec pcm043 platform. This includes
	  specific configurations for the board and its peripherals.

config CONFIG_MACH_MX35_3DS
	bool "Support MX35PDK platform"
	select CONFIG_IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT
	select CONFIG_IMX_HAVE_PLATFORM_IMX_FB
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_IPU_CORE
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_NAND
	select CONFIG_IMX_HAVE_PLATFORM_MXC_RTC
	select CONFIG_IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select CONFIG_MXC_DEBUG_BOARD
	select CONFIG_SOC_IMX35
	help
	  Include support for MX35PDK platform. This includes specific
	  configurations for the board and its peripherals.

config CONFIG_MACH_VPR200
	bool "Support VPR200 platform"
	select CONFIG_IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select CONFIG_IMX_HAVE_PLATFORM_GPIO_KEYS
	select CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT
	select CONFIG_IMX_HAVE_PLATFORM_IMX_I2C
	select CONFIG_IMX_HAVE_PLATFORM_IMX_UART
	select CONFIG_IMX_HAVE_PLATFORM_IPU_CORE
	select CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI
	select CONFIG_IMX_HAVE_PLATFORM_MXC_NAND
	select CONFIG_IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select CONFIG_SOC_IMX35
	help
	  Include support for VPR200 platform. This includes specific
	  configurations for the board and its peripherals.

endif

comment "Device tree only"

if CONFIG_ARCH_MULTI_V4T

config CONFIG_SOC_IMX1
	bool "i.MX1 support"
	select CONFIG_CPU_ARM920T
	select CONFIG_MXC_AVIC
	select CONFIG_PINCTRL_IMX1
	help
	  This enables support for Freescale i.MX1 processor

endif

if CONFIG_ARCH_MULTI_V5

config CONFIG_SOC_IMX25
	bool "i.MX25 support"
	select CONFIG_ARCH_MXC_IOMUX_V3
	select CONFIG_CPU_ARM926T
	select CONFIG_MXC_AVIC
	select CONFIG_PINCTRL_IMX25
	help
	  This enables support for Freescale i.MX25 processor
endif

if CONFIG_ARCH_MULTI_V7

comment "Cortex-A platforms"

config CONFIG_SOC_IMX5
	bool
	select CONFIG_HAVE_IMX_SRC
	select CONFIG_MXC_TZIC

config	CONFIG_SOC_IMX50
	bool "i.MX50 support"
	select CONFIG_PINCTRL_IMX50
	select CONFIG_SOC_IMX5

	help
	  This enables support for Freescale i.MX50 processor.

config CONFIG_SOC_IMX51
	bool "i.MX51 support"
	select CONFIG_PINCTRL_IMX51
	select CONFIG_SOC_IMX5
	help
	  This enables support for Freescale i.MX51 processor

config	CONFIG_SOC_IMX53
	bool "i.MX53 support"
	select CONFIG_PINCTRL_IMX53
	select CONFIG_SOC_IMX5

	help
	  This enables support for Freescale i.MX53 processor.

config CONFIG_SOC_IMX6
	bool
	select CONFIG_ARM_CPU_SUSPEND if CONFIG_PM
	select CONFIG_ARM_ERRATA_754322
	select CONFIG_ARM_ERRATA_775420
	select CONFIG_ARM_GIC
	select CONFIG_HAVE_IMX_ANATOP
	select CONFIG_HAVE_IMX_GPC
	select CONFIG_HAVE_IMX_MMDC
	select CONFIG_HAVE_IMX_SRC
	select CONFIG_MFD_SYSCON
	select CONFIG_PL310_ERRATA_769419 if CONFIG_CACHE_L2X0

config CONFIG_SOC_IMX6Q
	bool "i.MX6 Quad/DualLite support"
	select CONFIG_ARM_ERRATA_764369 if CONFIG_SMP
	select CONFIG_HAVE_ARM_SCU if CONFIG_SMP
	select CONFIG_HAVE_ARM_TWD
	select CONFIG_PINCTRL_IMX6Q
	select CONFIG_SOC_IMX6

	help
	  This enables support for Freescale i.MX6 Quad processor.

config CONFIG_SOC_IMX6SL
	bool "i.MX6 SoloLite support"
	select CONFIG_PINCTRL_IMX6SL
	select CONFIG_SOC_IMX6

	help
	  This enables support for Freescale i.MX6 SoloLite processor.

config CONFIG_SOC_IMX6SX
	bool "i.MX6 SoloX support"
	select CONFIG_PINCTRL_IMX6SX
	select CONFIG_SOC_IMX6

	help
	  This enables support for Freescale i.MX6 SoloX processor.

config CONFIG_SOC_IMX6UL
	bool "i.MX6 UltraLite support"
	select CONFIG_PINCTRL_IMX6UL
	select CONFIG_SOC_IMX6

	help
	  This enables support for Freescale i.MX6 UltraLite processor.

config CONFIG_SOC_IMX7D
	bool "i.MX7 Dual support"
	select CONFIG_PINCTRL_IMX7D
	select CONFIG_ARM_GIC
	select CONFIG_HAVE_ARM_ARCH_TIMER
	select CONFIG_HAVE_IMX_ANATOP
	select CONFIG_HAVE_IMX_MMDC
	select CONFIG_HAVE_IMX_SRC
	help
		This enables support for Freescale i.MX7 Dual processor.

config CONFIG_SOC_LS1021A
	bool "Freescale LS1021A support"
	select CONFIG_ARM_GIC
	select CONFIG_HAVE_ARM_ARCH_TIMER
	select CONFIG_ZONE_DMA if CONFIG_ARM_LPAE
	help
	  This enables support for Freescale LS1021A processor.

endif

comment "Cortex-A/Cortex-M asymmetric multiprocessing platforms"

if CONFIG_ARCH_MULTI_V7 || CONFIG_ARM_SINGLE_ARMV7M

config CONFIG_SOC_VF610
	bool "Vybrid Family VF610 support"
	select CONFIG_ARM_GIC if CONFIG_ARCH_MULTI_V7
	select CONFIG_PINCTRL_VF610

	help
	  This enables support for Freescale Vybrid VF610 processor.

choice
	prompt "Clocksource for scheduler clock"
	depends on CONFIG_SOC_VF610
	default CONFIG_VF_USE_ARM_GLOBAL_TIMER

	config CONFIG_VF_USE_ARM_GLOBAL_TIMER
		bool "Use ARM Global Timer"
		depends on CONFIG_ARCH_MULTI_V7
		select CONFIG_ARM_GLOBAL_TIMER
		select CONFIG_CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
		help
		  Use the CONFIG_ARM Global Timer as clocksource

	config CONFIG_VF_USE_PIT_TIMER
		bool "Use PIT timer"
		select CONFIG_VF_PIT_TIMER
		help
		  Use SoC Periodic Interrupt Timer (PIT) as clocksource

endchoice

endif

source "arch/arm/mach-imx/devices/Kconfig"

endif