Kconfig 21.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 8 9 10 11 12 13 14 15 16 17
	select ARCH_REQUIRE_GPIOLIB
	select ARM_PATCH_PHYS_VIRT
	select AUTO_ZRELADDR if !ZBOOT_ROM
	select CLKDEV_LOOKUP
	select CLKSRC_MMIO
	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 已提交
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

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 MXC_ULPI
	bool

config ARCH_HAS_RNGA
	bool

config IRAM_ALLOC
	bool
	select GENERIC_ALLOCATOR

68 69 70
config HAVE_IMX_ANATOP
	bool

71 72 73 74 75 76 77
config HAVE_IMX_GPC
	bool

config HAVE_IMX_MMDC
	bool

config HAVE_IMX_SRC
78
	def_bool y if SMP
79

80 81 82 83 84 85
config IMX_HAVE_IOMUX_V1
	bool

config ARCH_MXC_IOMUX_V3
	bool

86 87 88 89 90 91 92 93 94
config ARCH_MX1
	bool

config ARCH_MX25
	bool

config MACH_MX27
	bool

95
config SOC_IMX1
96
	bool
97
	select ARCH_MX1
98
	select COMMON_CLK
99 100
	select CPU_ARM920T
	select IMX_HAVE_IOMUX_V1
101
	select MXC_AVIC
102 103 104

config SOC_IMX21
	bool
105
	select COMMON_CLK
106
	select CPU_ARM926T
107
	select IMX_HAVE_IOMUX_V1
108
	select MXC_AVIC
109 110

config SOC_IMX25
111
	bool
112
	select ARCH_MX25
113
	select ARCH_MXC_IOMUX_V3
114
	select COMMON_CLK
115
	select CPU_ARM926T
116
	select HAVE_CAN_FLEXCAN if CAN
117
	select MXC_AVIC
118 119 120

config SOC_IMX27
	bool
121 122
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_OPP
123
	select COMMON_CLK
124
	select CPU_ARM926T
125
	select IMX_HAVE_IOMUX_V1
126
	select MACH_MX27
127
	select MXC_AVIC
128

129 130
config SOC_IMX31
	bool
131
	select COMMON_CLK
132 133 134
	select CPU_V6
	select IMX_HAVE_PLATFORM_MXC_RNGA
	select MXC_AVIC
S
Sascha Hauer 已提交
135
	select SMP_ON_UP if SMP
136 137 138 139

config SOC_IMX35
	bool
	select ARCH_MXC_IOMUX_V3
140
	select COMMON_CLK
141 142
	select CPU_V6K
	select HAVE_CAN_FLEXCAN if CAN
143 144
	select HAVE_EPIT
	select MXC_AVIC
S
Sascha Hauer 已提交
145
	select SMP_ON_UP if SMP
146

147
config SOC_IMX5
148
	bool
149
	select ARCH_HAS_CPUFREQ
150
	select ARCH_HAS_OPP
151 152 153 154
	select ARCH_MXC_IOMUX_V3
	select COMMON_CLK
	select CPU_V7
	select MXC_TZIC
155 156 157

config	SOC_IMX51
	bool
S
Shawn Guo 已提交
158 159
	select PINCTRL
	select PINCTRL_IMX51
160
	select SOC_IMX5
161

S
Shawn Guo 已提交
162
if ARCH_MULTI_V4T
163

164 165 166 167 168 169
comment "MX1 platforms:"
config MACH_MXLADS
	bool

config ARCH_MX1ADS
	bool "MX1ADS platform"
170
	select IMX_HAVE_PLATFORM_IMX_I2C
171
	select IMX_HAVE_PLATFORM_IMX_UART
172 173
	select MACH_MXLADS
	select SOC_IMX1
174 175 176 177 178
	help
	  Say Y here if you are using Motorola MX1ADS/MXLADS boards

config MACH_SCB9328
	bool "Synertronixx scb9328"
179
	select IMX_HAVE_PLATFORM_IMX_UART
180 181 182
	help
	  Say Y here if you are using a Synertronixx scb9328 board

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

S
Shawn Guo 已提交
191 192 193 194
endif

if ARCH_MULTI_V5

195
comment "MX21 platforms:"
196

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

208 209 210 211
comment "MX25 platforms:"

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

E
Eric Bénard 已提交
225
config MACH_EUKREA_CPUIMX25SD
226 227 228
	bool "Support Eukrea CPUIMX25 Platform"
	select IMX_HAVE_PLATFORM_FLEXCAN
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
229
	select IMX_HAVE_PLATFORM_IMX2_WDT
230 231 232 233 234 235
	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
236
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
237
	select MXC_ULPI if USB_ULPI
238
	select SOC_IMX25
239 240 241

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
242
	depends on MACH_EUKREA_CPUIMX25SD
243 244 245 246
	default MACH_EUKREA_MBIMXSD25_BASEBOARD

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

endchoice

S
Sascha Hauer 已提交
257 258 259 260 261 262 263
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

264 265
comment "MX27 platforms:"

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

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

choice
	prompt "Baseboard"
	depends on MACH_PCM038
	default MACH_PCM970_BASEBOARD

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

endchoice
H
Holger Schurig 已提交
308

309
config MACH_CPUIMX27
E
Eric Benard 已提交
310
	bool "Eukrea CPUIMX27 module"
311
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
312
	select IMX_HAVE_PLATFORM_IMX2_WDT
313
	select IMX_HAVE_PLATFORM_IMX_I2C
314
	select IMX_HAVE_PLATFORM_IMX_UART
315
	select IMX_HAVE_PLATFORM_MXC_EHCI
316
	select IMX_HAVE_PLATFORM_MXC_NAND
317
	select IMX_HAVE_PLATFORM_MXC_W1
318
	select MXC_ULPI if USB_ULPI
319
	select SOC_IMX27
E
Eric Benard 已提交
320 321 322 323 324 325
	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"
326
	depends on MACH_CPUIMX27
327
	select IMX_HAVE_PLATFORM_MXC_MMC
E
Eric Benard 已提交
328
	help
329
	  This adds support for the internal SDHC2 used on CPUIMX27
E
Eric Benard 已提交
330 331
	  for wifi or eMMC.

332 333 334 335 336 337 338
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 已提交
339 340
choice
	prompt "Baseboard"
341
	depends on MACH_CPUIMX27
E
Eric Benard 已提交
342 343 344
	default MACH_EUKREA_MBIMX27_BASEBOARD

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

endchoice

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

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

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

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

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

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

445 446 447 448 449 450 451
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 已提交
452
endif
453

S
Shawn Guo 已提交
454
if ARCH_MULTI_V6
455 456 457 458 459

comment "MX31 platforms:"

config MACH_MX31ADS
	bool "Support MX31ADS platforms"
460
	default y
461 462 463
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_SSI
	select IMX_HAVE_PLATFORM_IMX_UART
464
	select SOC_IMX31
465 466 467 468 469 470 471 472
	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
473
	depends on REGULATOR_WM8350 = y
474 475 476 477 478 479 480 481 482 483 484 485 486 487
	select MFD_WM8350_CONFIG_MODE_0
	select MFD_WM8352_CONFIG_MODE_0
	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
	select MXC_ULPI if USB_ULPI
488
	select SOC_IMX31
489 490 491 492 493 494 495 496 497 498 499 500 501
	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
502
	select LEDS_GPIO_REGISTER
503 504
	select MXC_ULPI if USB_ULPI
	select SOC_IMX31
505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520
	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
	select MXC_ULPI if USB_ULPI
521
	select SOC_IMX31
522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541
	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
542
	select IMX_HAVE_PLATFORM_IMX_SSI
543 544 545
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
546
	select IMX_HAVE_PLATFORM_MXC_MMC
547 548
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SPI_IMX
549
	select MXC_DEBUG_BOARD
550
	select MXC_ULPI if USB_ULPI
551
	select SOC_IMX31
552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567
	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
568
	select IMX_HAVE_PLATFORM_IMX2_WDT
569
	select IMX_HAVE_PLATFORM_IMX_I2C
570
	select IMX_HAVE_PLATFORM_IMX_SSI
571 572 573 574 575
	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
576
	select LEDS_GPIO_REGISTER
577
	select MXC_ULPI if USB_ULPI
578
	select SOC_IMX31
579 580 581 582 583 584
	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"
585
	select IMX_HAVE_PLATFORM_IMX2_WDT
586 587
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX31
588 589 590 591 592 593 594 595 596 597 598 599 600 601
	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
	select MXC_ULPI if USB_ULPI
602
	select SOC_IMX31
603 604 605 606 607 608 609
	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
610
	select SOC_IMX31
611 612 613 614 615 616 617
	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
618 619
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX31
620 621 622 623
	help
	  Include support for BUGBase 1.3 platform. This includes specific
	  configurations for the board and its peripherals.

624 625 626 627 628 629 630
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.

631 632 633 634 635 636 637 638 639 640 641 642 643 644 645
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
	select MXC_ULPI if USB_ULPI
646
	select SOC_IMX35
647 648 649 650 651 652 653 654
	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
655
	select IMX_HAVE_PLATFORM_IMX_FB
656 657
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
658
	select IMX_HAVE_PLATFORM_IPU_CORE
659 660
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
661
	select IMX_HAVE_PLATFORM_MXC_RTC
662
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
663 664
	select MXC_DEBUG_BOARD
	select SOC_IMX35
665 666 667 668
	help
	  Include support for MX35PDK platform. This includes specific
	  configurations for the board and its peripherals.

E
Eric Bénard 已提交
669
config MACH_EUKREA_CPUIMX35SD
670 671 672 673 674 675 676 677 678 679
	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
	select MXC_ULPI if USB_ULPI
680
	select SOC_IMX35
681 682 683 684 685 686
	help
	  Include support for Eukrea CPUIMX35 platform. This includes
	  specific configurations for the board and its peripherals.

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
687
	depends on MACH_EUKREA_CPUIMX35SD
688 689 690 691 692 693 694
	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
695
	select IMX_HAVE_PLATFORM_SPI_IMX
696
	select LEDS_GPIO_REGISTER
697 698 699 700 701 702 703 704 705 706 707 708
	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
709
	select IMX_HAVE_PLATFORM_IMX_UART
710 711 712 713
	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
714
	select SOC_IMX35
715 716 717 718
	help
	  Include support for VPR200 platform. This includes specific
	  configurations for the board and its peripherals.

S
Shawn Guo 已提交
719 720 721 722
endif

if ARCH_MULTI_V7

723 724 725 726
comment "i.MX51 machines:"

config MACH_IMX51_DT
	bool "Support i.MX51 platforms from device tree"
727
	select SOC_IMX51
728 729 730 731 732 733 734 735 736 737 738 739 740
	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
741
	select SOC_IMX51
742 743 744 745 746 747 748 749
	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
750
	select IMX_HAVE_PLATFORM_IMX2_WDT
751 752 753 754 755
	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
756
	select SOC_IMX51
757 758 759 760 761 762 763 764 765 766 767 768
	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
769
	select IMX_HAVE_PLATFORM_IMX_SSI
770 771 772 773 774 775 776 777
	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

778
comment "Device tree only"
779

780 781 782
config	SOC_IMX53
	bool "i.MX53 support"
	select HAVE_CAN_FLEXCAN if CAN
783
	select IMX_HAVE_PLATFORM_IMX2_WDT
784 785
	select PINCTRL
	select PINCTRL_IMX53
786
	select SOC_IMX5
787 788

	help
789
	  This enables support for Freescale i.MX53 processor.
790 791 792

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

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

820
endif
821 822

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

S
Shawn Guo 已提交
824
endmenu