Kconfig 22.8 KB
Newer Older
S
Shawn Guo 已提交
1
config ARCH_MXC
2
	bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
S
Shawn Guo 已提交
3 4 5 6 7
	select ARCH_REQUIRE_GPIOLIB
	select ARM_PATCH_PHYS_VIRT
	select AUTO_ZRELADDR if !ZBOOT_ROM
	select CLKDEV_LOOKUP
	select CLKSRC_MMIO
8
	select GENERIC_ALLOCATOR
S
Shawn Guo 已提交
9 10 11 12 13 14 15 16 17 18
	select GENERIC_CLOCKEVENTS
	select GENERIC_IRQ_CHIP
	select MULTI_IRQ_HANDLER
	select SPARSE_IRQ
	select USE_OF
	help
	  Support for Freescale MXC/iMX-based family of processors

menu "Freescale i.MX support"
	depends on ARCH_MXC
S
Shawn Guo 已提交
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

config MXC_IRQ_PRIOR
	bool "Use IRQ priority"
	help
	  Select this if you want to use prioritized IRQ handling.
	  This feature prevents higher priority ISR to be interrupted
	  by lower priority IRQ even IRQF_DISABLED flag is not set.
	  This may be useful in embedded applications, where are strong
	  requirements for timing.
	  Say N here, unless you have a specialized requirement.

config MXC_TZIC
	bool

config MXC_AVIC
	bool

config MXC_DEBUG_BOARD
	bool "Enable MXC debug board(for 3-stack)"
	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 HAVE_EPIT
	bool

config MXC_USE_EPIT
	bool "Use EPIT instead of GPT"
	depends on 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 ARCH_HAS_RNGA
	bool

62 63 64
config HAVE_IMX_ANATOP
	bool

65 66 67 68 69 70 71
config HAVE_IMX_GPC
	bool

config HAVE_IMX_MMDC
	bool

config HAVE_IMX_SRC
72
	def_bool y if SMP
73
	select ARCH_HAS_RESET_CONTROLLER
74

75 76 77 78 79 80
config IMX_HAVE_IOMUX_V1
	bool

config ARCH_MXC_IOMUX_V3
	bool

81 82 83 84 85 86 87 88 89
config ARCH_MX1
	bool

config ARCH_MX25
	bool

config MACH_MX27
	bool

90
config SOC_IMX1
91
	bool
92
	select ARCH_MX1
93
	select COMMON_CLK
94 95
	select CPU_ARM920T
	select IMX_HAVE_IOMUX_V1
96
	select MXC_AVIC
97 98 99

config SOC_IMX21
	bool
100
	select COMMON_CLK
101
	select CPU_ARM926T
102
	select IMX_HAVE_IOMUX_V1
103
	select MXC_AVIC
104 105

config SOC_IMX25
106
	bool
107
	select ARCH_MX25
108
	select ARCH_MXC_IOMUX_V3
109
	select COMMON_CLK
110
	select CPU_ARM926T
111
	select HAVE_CAN_FLEXCAN if CAN
112
	select MXC_AVIC
113 114 115

config SOC_IMX27
	bool
116 117
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_OPP
118
	select COMMON_CLK
119
	select CPU_ARM926T
120
	select IMX_HAVE_IOMUX_V1
121
	select MACH_MX27
122
	select MXC_AVIC
123

124 125
config SOC_IMX31
	bool
126
	select COMMON_CLK
127 128 129
	select CPU_V6
	select IMX_HAVE_PLATFORM_MXC_RNGA
	select MXC_AVIC
S
Sascha Hauer 已提交
130
	select SMP_ON_UP if SMP
131 132 133 134

config SOC_IMX35
	bool
	select ARCH_MXC_IOMUX_V3
135
	select COMMON_CLK
136 137
	select CPU_V6K
	select HAVE_CAN_FLEXCAN if CAN
138 139
	select HAVE_EPIT
	select MXC_AVIC
S
Sascha Hauer 已提交
140
	select SMP_ON_UP if SMP
141

142
config SOC_IMX5
143
	bool
144
	select ARCH_HAS_CPUFREQ
145
	select ARCH_HAS_OPP
146 147 148 149
	select ARCH_MXC_IOMUX_V3
	select COMMON_CLK
	select CPU_V7
	select MXC_TZIC
150 151 152

config	SOC_IMX51
	bool
153
	select HAVE_IMX_SRC
S
Shawn Guo 已提交
154 155
	select PINCTRL
	select PINCTRL_IMX51
156
	select SOC_IMX5
157

S
Shawn Guo 已提交
158
if ARCH_MULTI_V4T
159

160 161 162 163 164 165
comment "MX1 platforms:"
config MACH_MXLADS
	bool

config ARCH_MX1ADS
	bool "MX1ADS platform"
166
	select IMX_HAVE_PLATFORM_IMX_I2C
167
	select IMX_HAVE_PLATFORM_IMX_UART
168 169
	select MACH_MXLADS
	select SOC_IMX1
170 171 172 173 174
	help
	  Say Y here if you are using Motorola MX1ADS/MXLADS boards

config MACH_SCB9328
	bool "Synertronixx scb9328"
175
	select IMX_HAVE_PLATFORM_IMX_UART
176
	select SOC_IMX1
177 178 179
	help
	  Say Y here if you are using a Synertronixx scb9328 board

180 181
config MACH_APF9328
	bool "APF9328"
182
	select IMX_HAVE_PLATFORM_IMX_I2C
183
	select IMX_HAVE_PLATFORM_IMX_UART
184
	select SOC_IMX1
185 186 187
	help
	  Say Yes here if you are using the Armadeus APF9328 development board

S
Shawn Guo 已提交
188 189 190 191
endif

if ARCH_MULTI_V5

192
comment "MX21 platforms:"
193

I
Ivo Clarysse 已提交
194 195
config MACH_MX21ADS
	bool "MX21ADS platform"
196
	select IMX_HAVE_PLATFORM_IMX_FB
197
	select IMX_HAVE_PLATFORM_IMX_UART
198
	select IMX_HAVE_PLATFORM_MXC_MMC
199
	select IMX_HAVE_PLATFORM_MXC_NAND
200
	select SOC_IMX21
I
Ivo Clarysse 已提交
201 202 203 204
	help
	  Include support for MX21ADS platform. This includes specific
	  configurations for the board and its peripherals.

205 206 207 208
comment "MX25 platforms:"

config MACH_MX25_3DS
	bool "Support MX25PDK (3DS) Platform"
209
	select IMX_HAVE_PLATFORM_FLEXCAN
210
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
211 212 213
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMXDI_RTC
	select IMX_HAVE_PLATFORM_IMX_FB
214
	select IMX_HAVE_PLATFORM_IMX_I2C
215 216 217 218
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
219
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
220
	select SOC_IMX25
221

E
Eric Bénard 已提交
222
config MACH_EUKREA_CPUIMX25SD
223 224 225
	bool "Support Eukrea CPUIMX25 Platform"
	select IMX_HAVE_PLATFORM_FLEXCAN
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
226
	select IMX_HAVE_PLATFORM_IMX2_WDT
227 228 229 230 231 232
	select IMX_HAVE_PLATFORM_IMXDI_RTC
	select IMX_HAVE_PLATFORM_IMX_FB
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
233
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
234
	select USB_ULPI_VIEWPORT if USB_ULPI
235
	select SOC_IMX25
236 237 238

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
239
	depends on MACH_EUKREA_CPUIMX25SD
240 241 242 243
	default MACH_EUKREA_MBIMXSD25_BASEBOARD

config MACH_EUKREA_MBIMXSD25_BASEBOARD
	bool "Eukrea MBIMXSD development board"
244
	select IMX_HAVE_PLATFORM_GPIO_KEYS
245
	select IMX_HAVE_PLATFORM_IMX_SSI
246
	select IMX_HAVE_PLATFORM_SPI_IMX
247
	select LEDS_GPIO_REGISTER
248 249 250 251 252 253
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMXSD evaluation board.

endchoice

S
Sascha Hauer 已提交
254 255 256 257 258 259 260
config MACH_IMX25_DT
	bool "Support i.MX25 platforms from device tree"
	select SOC_IMX25
	help
	  Include support for Freescale i.MX25 based platforms
	  using the device tree for discovery

261 262
comment "MX27 platforms:"

263 264
config MACH_MX27ADS
	bool "MX27ADS platform"
265
	select IMX_HAVE_PLATFORM_IMX_FB
266
	select IMX_HAVE_PLATFORM_IMX_I2C
267
	select IMX_HAVE_PLATFORM_IMX_UART
268
	select IMX_HAVE_PLATFORM_MXC_MMC
269
	select IMX_HAVE_PLATFORM_MXC_NAND
270
	select IMX_HAVE_PLATFORM_MXC_W1
271
	select SOC_IMX27
272 273 274
	help
	  Include support for MX27ADS platform. This includes specific
	  configurations for the board and its peripherals.
275 276 277

config MACH_PCM038
	bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
278
	select IMX_HAVE_PLATFORM_IMX2_WDT
279
	select IMX_HAVE_PLATFORM_IMX_I2C
280
	select IMX_HAVE_PLATFORM_IMX_UART
281
	select IMX_HAVE_PLATFORM_MXC_EHCI
282
	select IMX_HAVE_PLATFORM_MXC_NAND
283
	select IMX_HAVE_PLATFORM_MXC_W1
284
	select IMX_HAVE_PLATFORM_SPI_IMX
285
	select USB_ULPI_VIEWPORT if USB_ULPI
286
	select SOC_IMX27
287 288 289
	help
	  Include support for phyCORE-i.MX27 (aka pcm038) platform. This
	  includes specific configurations for the module and its peripherals.
290 291 292 293 294 295 296

choice
	prompt "Baseboard"
	depends on MACH_PCM038
	default MACH_PCM970_BASEBOARD

config MACH_PCM970_BASEBOARD
297 298
	bool "PHYTEC PCM970 development board"
	select IMX_HAVE_PLATFORM_IMX_FB
299
	select IMX_HAVE_PLATFORM_MXC_MMC
300 301 302 303 304
	help
	  This adds board specific devices that can be found on Phytec's
	  PCM970 evaluation board.

endchoice
H
Holger Schurig 已提交
305

306
config MACH_CPUIMX27
E
Eric Benard 已提交
307
	bool "Eukrea CPUIMX27 module"
308
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
309
	select IMX_HAVE_PLATFORM_IMX2_WDT
310
	select IMX_HAVE_PLATFORM_IMX_I2C
311
	select IMX_HAVE_PLATFORM_IMX_UART
312
	select IMX_HAVE_PLATFORM_MXC_EHCI
313
	select IMX_HAVE_PLATFORM_MXC_NAND
314
	select IMX_HAVE_PLATFORM_MXC_W1
315
	select USB_ULPI_VIEWPORT if USB_ULPI
316
	select SOC_IMX27
E
Eric Benard 已提交
317 318 319 320 321 322
	help
	  Include support for Eukrea CPUIMX27 platform. This includes
	  specific configurations for the module and its peripherals.

config MACH_EUKREA_CPUIMX27_USESDHC2
	bool "CPUIMX27 integrates SDHC2 module"
323
	depends on MACH_CPUIMX27
324
	select IMX_HAVE_PLATFORM_MXC_MMC
E
Eric Benard 已提交
325
	help
326
	  This adds support for the internal SDHC2 used on CPUIMX27
E
Eric Benard 已提交
327 328
	  for wifi or eMMC.

329 330 331 332 333 334 335
config MACH_EUKREA_CPUIMX27_USEUART4
	bool "CPUIMX27 integrates UART4 module"
	depends on MACH_CPUIMX27
	help
	  This adds support for the internal UART4 used on CPUIMX27
	  for bluetooth.

E
Eric Benard 已提交
336 337
choice
	prompt "Baseboard"
338
	depends on MACH_CPUIMX27
E
Eric Benard 已提交
339 340 341
	default MACH_EUKREA_MBIMX27_BASEBOARD

config MACH_EUKREA_MBIMX27_BASEBOARD
342
	bool "Eukrea MBIMX27 development board"
343
	select IMX_HAVE_PLATFORM_IMX_FB
344
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
345
	select IMX_HAVE_PLATFORM_IMX_SSI
346
	select IMX_HAVE_PLATFORM_IMX_UART
347
	select IMX_HAVE_PLATFORM_MXC_MMC
348
	select IMX_HAVE_PLATFORM_SPI_IMX
349
	select LEDS_GPIO_REGISTER
E
Eric Benard 已提交
350 351 352 353 354 355
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMX27 evaluation board.

endchoice

356 357
config MACH_MX27_3DS
	bool "MX27PDK platform"
358
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
359
	select IMX_HAVE_PLATFORM_IMX2_WDT
360
	select IMX_HAVE_PLATFORM_IMX_FB
F
Fabio Estevam 已提交
361
	select IMX_HAVE_PLATFORM_IMX_I2C
362
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
F
Fabio Estevam 已提交
363
	select IMX_HAVE_PLATFORM_IMX_SSI
364
	select IMX_HAVE_PLATFORM_IMX_UART
365
	select IMX_HAVE_PLATFORM_MX2_CAMERA
366
	select IMX_HAVE_PLATFORM_MXC_EHCI
367
	select IMX_HAVE_PLATFORM_MXC_MMC
368
	select IMX_HAVE_PLATFORM_SPI_IMX
369
	select MXC_DEBUG_BOARD
370
	select USB_ULPI_VIEWPORT if USB_ULPI
371
	select SOC_IMX27
372 373 374
	help
	  Include support for MX27PDK platform. This includes specific
	  configurations for the board and its peripherals.
375

376 377
config MACH_IMX27_VISSTRIM_M10
	bool "Vista Silicon i.MX27 Visstrim_m10"
378
	select IMX_HAVE_PLATFORM_GPIO_KEYS
379
	select IMX_HAVE_PLATFORM_IMX_I2C
380
	select IMX_HAVE_PLATFORM_IMX_SSI
381
	select IMX_HAVE_PLATFORM_IMX_UART
382
	select IMX_HAVE_PLATFORM_MX2_CAMERA
383
	select IMX_HAVE_PLATFORM_MX2_EMMA
384
	select IMX_HAVE_PLATFORM_MXC_EHCI
385
	select IMX_HAVE_PLATFORM_MXC_MMC
386
	select LEDS_GPIO_REGISTER
387
	select SOC_IMX27
388 389 390 391 392
	help
	  Include support for Visstrim_m10 platform and its different variants.
	  This includes specific configurations for the board and its
	  peripherals.

393
config MACH_IMX27LITE
394
	bool "LogicPD MX27 LITEKIT platform"
395
	select IMX_HAVE_PLATFORM_IMX_SSI
396 397
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX27
398 399 400 401
	help
	  Include support for MX27 LITEKIT platform. This includes specific
	  configurations for the board and its peripherals.

402 403
config MACH_PCA100
	bool "Phytec phyCARD-s (pca100)"
404
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
405
	select IMX_HAVE_PLATFORM_IMX2_WDT
406
	select IMX_HAVE_PLATFORM_IMX_FB
407
	select IMX_HAVE_PLATFORM_IMX_I2C
408
	select IMX_HAVE_PLATFORM_IMX_SSI
409
	select IMX_HAVE_PLATFORM_IMX_UART
410
	select IMX_HAVE_PLATFORM_MXC_EHCI
411
	select IMX_HAVE_PLATFORM_MXC_MMC
412
	select IMX_HAVE_PLATFORM_MXC_NAND
413
	select IMX_HAVE_PLATFORM_MXC_W1
414
	select IMX_HAVE_PLATFORM_SPI_IMX
415
	select USB_ULPI_VIEWPORT if USB_ULPI
416
	select SOC_IMX27
417 418 419 420
	help
	  Include support for phyCARD-s (aka pca100) platform. This
	  includes specific configurations for the module and its peripherals.

421 422
config MACH_MXT_TD60
	bool "Maxtrack i-MXT TD60"
423
	select IMX_HAVE_PLATFORM_IMX_FB
424
	select IMX_HAVE_PLATFORM_IMX_I2C
425
	select IMX_HAVE_PLATFORM_IMX_UART
426
	select IMX_HAVE_PLATFORM_MXC_MMC
427
	select IMX_HAVE_PLATFORM_MXC_NAND
428
	select SOC_IMX27
429 430 431 432
	help
	  Include support for i-MXT (aka td60) platform. This
	  includes specific configurations for the module and its peripherals.

433 434 435 436
config MACH_IMX27IPCAM
	bool "IMX27 IPCAM platform"
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_UART
437
	select SOC_IMX27
438 439 440 441
	help
	  Include support for IMX27 IPCAM platform. This includes specific
	  configurations for the board and its peripherals.

442 443 444 445 446 447 448
config MACH_IMX27_DT
	bool "Support i.MX27 platforms from device tree"
	select SOC_IMX27
	help
	  Include support for Freescale i.MX27 based platforms
	  using the device tree for discovery

H
Holger Schurig 已提交
449
endif
450

S
Shawn Guo 已提交
451
if ARCH_MULTI_V6
452 453 454 455 456

comment "MX31 platforms:"

config MACH_MX31ADS
	bool "Support MX31ADS platforms"
457
	default y
458 459 460
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_SSI
	select IMX_HAVE_PLATFORM_IMX_UART
461
	select SOC_IMX31
462 463 464 465 466 467 468 469
	help
	  Include support for MX31ADS platform. This includes specific
	  configurations for the board and its peripherals.

config MACH_MX31ADS_WM1133_EV1
	bool "Support Wolfson Microelectronics 1133-EV1 module"
	depends on MACH_MX31ADS
	depends on MFD_WM8350_I2C
470
	depends on REGULATOR_WM8350 = y
471 472 473 474 475 476 477 478 479 480 481
	help
	  Include support for the Wolfson Microelectronics 1133-EV1 PMU
	  and audio module for the MX31ADS platform.

config MACH_MX31LILLY
	bool "Support MX31 LILLY-1131 platforms (INCO startec)"
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_MMC
	select IMX_HAVE_PLATFORM_SPI_IMX
482
	select USB_ULPI_VIEWPORT if USB_ULPI
483
	select SOC_IMX31
484 485 486 487 488 489 490 491 492 493 494 495 496
	help
	  Include support for mx31 based LILLY1131 modules. This includes
	  specific configurations for the board and its peripherals.

config MACH_MX31LITE
	bool "Support MX31 LITEKIT (LogicPD)"
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_MMC
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_MXC_RTC
	select IMX_HAVE_PLATFORM_SPI_IMX
497
	select LEDS_GPIO_REGISTER
498
	select USB_ULPI_VIEWPORT if USB_ULPI
499
	select SOC_IMX31
500 501 502 503 504 505 506 507 508 509 510 511 512 513 514
	help
	  Include support for MX31 LITEKIT platform. This includes specific
	  configurations for the board and its peripherals.

config MACH_PCM037
	bool "Support Phytec pcm037 (i.MX31) platforms"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_MMC
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_MXC_W1
515
	select USB_ULPI_VIEWPORT if USB_ULPI
516
	select SOC_IMX31
517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536
	help
	  Include support for Phytec pcm037 platform. This includes
	  specific configurations for the board and its peripherals.

config MACH_PCM037_EET
	bool "Support pcm037 EET board extensions"
	depends on MACH_PCM037
	select IMX_HAVE_PLATFORM_GPIO_KEYS
	select 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 MACH_MX31_3DS
	bool "Support MX31PDK (3DS)"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
537
	select IMX_HAVE_PLATFORM_IMX_SSI
538 539 540
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
541
	select IMX_HAVE_PLATFORM_MXC_MMC
542 543
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SPI_IMX
544
	select MXC_DEBUG_BOARD
545
	select USB_ULPI_VIEWPORT if USB_ULPI
546
	select SOC_IMX31
547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562
	help
	  Include support for MX31PDK (3DS) platform. This includes specific
	  configurations for the board and its peripherals.

config MACH_MX31_3DS_MXC_NAND_USE_BBT
	bool "Make the MXC NAND driver use the in flash Bad Block Table"
	depends on MACH_MX31_3DS
	depends on 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 MACH_MX31MOBOARD
	bool "Support mx31moboard platforms (EPFL Mobots group)"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
563
	select IMX_HAVE_PLATFORM_IMX2_WDT
564
	select IMX_HAVE_PLATFORM_IMX_I2C
565
	select IMX_HAVE_PLATFORM_IMX_SSI
566 567 568 569 570
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_MMC
	select IMX_HAVE_PLATFORM_SPI_IMX
571
	select LEDS_GPIO_REGISTER
572
	select USB_ULPI_VIEWPORT if USB_ULPI
573
	select SOC_IMX31
574 575 576 577 578 579
	help
	  Include support for mx31moboard platform. This includes specific
	  configurations for the board and its peripherals.

config MACH_QONG
	bool "Support Dave/DENX QongEVB-LITE platform"
580
	select IMX_HAVE_PLATFORM_IMX2_WDT
581 582
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX31
583 584 585 586 587 588 589 590 591 592 593 594 595
	help
	  Include support for Dave/DENX QongEVB-LITE platform. This includes
	  specific configurations for the board and its peripherals.

config MACH_ARMADILLO5X0
	bool "Support Atmark Armadillo-500 Development Base Board"
	select IMX_HAVE_PLATFORM_GPIO_KEYS
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_MMC
	select IMX_HAVE_PLATFORM_MXC_NAND
596
	select USB_ULPI_VIEWPORT if USB_ULPI
597
	select SOC_IMX31
598 599 600 601 602 603 604
	help
	  Include support for Atmark Armadillo-500 platform. This includes
	  specific configurations for the board and its peripherals.

config MACH_KZM_ARM11_01
	bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
	select IMX_HAVE_PLATFORM_IMX_UART
605
	select SOC_IMX31
606 607 608 609 610 611 612
	help
	  Include support for KZM-ARM11-01. This includes specific
	  configurations for the board and its peripherals.

config MACH_BUG
	bool "Support Buglabs BUGBase platform"
	default y
613 614
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX31
615 616 617 618
	help
	  Include support for BUGBase 1.3 platform. This includes specific
	  configurations for the board and its peripherals.

619 620 621 622 623 624 625
config MACH_IMX31_DT
	bool "Support i.MX31 platforms from device tree"
	select SOC_IMX31
	help
	  Include support for Freescale i.MX31 based platforms
	  using the device tree for discovery.

626 627 628 629 630 631 632 633 634 635 636 637 638 639
comment "MX35 platforms:"

config MACH_PCM043
	bool "Support Phytec pcm043 (i.MX35) platforms"
	select IMX_HAVE_PLATFORM_FLEXCAN
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_SSI
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
640
	select USB_ULPI_VIEWPORT if USB_ULPI
641
	select SOC_IMX35
642 643 644 645 646 647 648 649
	help
	  Include support for Phytec pcm043 platform. This includes
	  specific configurations for the board and its peripherals.

config MACH_MX35_3DS
	bool "Support MX35PDK platform"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
650
	select IMX_HAVE_PLATFORM_IMX_FB
651 652
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
653
	select IMX_HAVE_PLATFORM_IPU_CORE
654 655
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
656
	select IMX_HAVE_PLATFORM_MXC_RTC
657
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
658 659
	select MXC_DEBUG_BOARD
	select SOC_IMX35
660 661 662 663
	help
	  Include support for MX35PDK platform. This includes specific
	  configurations for the board and its peripherals.

E
Eric Bénard 已提交
664
config MACH_EUKREA_CPUIMX35SD
665 666 667 668 669 670 671 672 673
	bool "Support Eukrea CPUIMX35 Platform"
	select IMX_HAVE_PLATFORM_FLEXCAN
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
674
	select USB_ULPI_VIEWPORT if USB_ULPI
675
	select SOC_IMX35
676 677 678 679 680 681
	help
	  Include support for Eukrea CPUIMX35 platform. This includes
	  specific configurations for the board and its peripherals.

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
682
	depends on MACH_EUKREA_CPUIMX35SD
683 684 685 686 687 688 689
	default MACH_EUKREA_MBIMXSD35_BASEBOARD

config MACH_EUKREA_MBIMXSD35_BASEBOARD
	bool "Eukrea MBIMXSD development board"
	select IMX_HAVE_PLATFORM_GPIO_KEYS
	select IMX_HAVE_PLATFORM_IMX_SSI
	select IMX_HAVE_PLATFORM_IPU_CORE
690
	select IMX_HAVE_PLATFORM_SPI_IMX
691
	select LEDS_GPIO_REGISTER
692 693 694 695 696 697 698 699 700 701 702 703
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMXSD evaluation board.

endchoice

config MACH_VPR200
	bool "Support VPR200 platform"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_GPIO_KEYS
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
704
	select IMX_HAVE_PLATFORM_IMX_UART
705 706 707 708
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
709
	select SOC_IMX35
710 711 712 713
	help
	  Include support for VPR200 platform. This includes specific
	  configurations for the board and its peripherals.

S
Shawn Guo 已提交
714 715 716 717
endif

if ARCH_MULTI_V7

718 719 720 721
comment "i.MX51 machines:"

config MACH_IMX51_DT
	bool "Support i.MX51 platforms from device tree"
722
	select SOC_IMX51
723 724 725 726 727 728 729 730 731 732 733 734 735
	help
	  Include support for Freescale i.MX51 based platforms
	  using the device tree for discovery

config MACH_MX51_BABBAGE
	bool "Support MX51 BABBAGE platforms"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select IMX_HAVE_PLATFORM_SPI_IMX
736
	select SOC_IMX51
737 738 739 740 741 742 743 744
	help
	  Include support for MX51 Babbage platform, also known as MX51EVK in
	  u-boot. This includes specific configurations for the board and its
	  peripherals.

config MACH_EUKREA_CPUIMX51SD
	bool "Support Eukrea CPUIMX51SD module"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
745
	select IMX_HAVE_PLATFORM_IMX2_WDT
746 747 748 749 750
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SPI_IMX
751
	select SOC_IMX51
752 753 754 755 756 757 758 759 760 761 762 763
	help
	  Include support for Eukrea CPUIMX51SD platform. This includes
	  specific configurations for the module and its peripherals.

choice
	prompt "Baseboard"
	depends on MACH_EUKREA_CPUIMX51SD
	default MACH_EUKREA_MBIMXSD51_BASEBOARD

config MACH_EUKREA_MBIMXSD51_BASEBOARD
	prompt "Eukrea MBIMXSD development board"
	bool
764
	select IMX_HAVE_PLATFORM_IMX_SSI
765 766 767 768 769 770 771 772
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select LEDS_GPIO_REGISTER
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMXSD evaluation board.

endchoice

773
comment "Device tree only"
774

775 776 777
config	SOC_IMX53
	bool "i.MX53 support"
	select HAVE_CAN_FLEXCAN if CAN
778
	select HAVE_IMX_SRC
779
	select IMX_HAVE_PLATFORM_IMX2_WDT
780 781
	select PINCTRL
	select PINCTRL_IMX53
782
	select SOC_IMX5
783 784

	help
785
	  This enables support for Freescale i.MX53 processor.
786 787

config SOC_IMX6Q
S
Shawn Guo 已提交
788
	bool "i.MX6 Quad/DualLite support"
S
Shawn Guo 已提交
789 790
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_OPP
791
	select ARM_CPU_SUSPEND if PM
792 793 794
	select ARM_ERRATA_754322
	select ARM_ERRATA_764369 if SMP
	select ARM_ERRATA_775420
795
	select ARM_GIC
796
	select COMMON_CLK
797
	select CPU_V7
798 799
	select HAVE_ARM_SCU if SMP
	select HAVE_ARM_TWD if LOCAL_TIMERS
800
	select HAVE_CAN_FLEXCAN if CAN
801
	select HAVE_IMX_ANATOP
802 803
	select HAVE_IMX_GPC
	select HAVE_IMX_MMDC
804
	select HAVE_IMX_SRC
805
	select HAVE_SMP
806
	select MFD_SYSCON
807 808
	select PINCTRL
	select PINCTRL_IMX6Q
809 810 811
	select PL310_ERRATA_588369 if CACHE_PL310
	select PL310_ERRATA_727915 if CACHE_PL310
	select PL310_ERRATA_769419 if CACHE_PL310
S
Shawn Guo 已提交
812
	select PM_OPP if PM
813 814 815 816

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

817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835
config SOC_IMX6SL
	bool "i.MX6 SoloLite support"
	select ARM_ERRATA_754322
	select ARM_ERRATA_775420
	select ARM_GIC
	select CPU_V7
	select HAVE_IMX_ANATOP
	select HAVE_IMX_GPC
	select HAVE_IMX_MMDC
	select HAVE_IMX_SRC
	select PINCTRL
	select PINCTRL_IMX6SL
	select PL310_ERRATA_588369 if CACHE_PL310
	select PL310_ERRATA_727915 if CACHE_PL310
	select PL310_ERRATA_769419 if CACHE_PL310

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

836 837 838 839 840 841 842 843 844 845 846 847 848 849 850
config SOC_VF610
	bool "Vybrid Family VF610 support"
	select CPU_V7
	select ARM_GIC
	select CLKSRC_OF
	select PINCTRL
	select PINCTRL_VF610
	select VF_PIT_TIMER
	select PL310_ERRATA_588369 if CACHE_PL310
	select PL310_ERRATA_727915 if CACHE_PL310
	select PL310_ERRATA_769419 if CACHE_PL310

	help
	  This enable support for Freescale Vybrid VF610 processor.

851
endif
852 853

source "arch/arm/mach-imx/devices/Kconfig"
S
Shawn Guo 已提交
854

S
Shawn Guo 已提交
855
endmenu