aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r--arch/arm/mach-imx/Kconfig83
1 files changed, 49 insertions, 34 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 0519dd7f034b..5f7f9c2a34ae 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -1,10 +1,32 @@
1config IMX_HAVE_DMA_V1 1config IMX_HAVE_DMA_V1
2 bool 2 bool
3
4config HAVE_IMX_GPC
5 bool
6
7config HAVE_IMX_MMDC
8 bool
9
10config HAVE_IMX_SRC
11 bool
12
3# 13#
4# ARCH_MX31 and ARCH_MX35 are left for compatibility 14# ARCH_MX31 and ARCH_MX35 are left for compatibility
5# Some usages assume that having one of them implies not having (e.g.) ARCH_MX2. 15# Some usages assume that having one of them implies not having (e.g.) ARCH_MX2.
6# To easily distinguish good and reviewed from unreviewed usages new (and IMHO 16# To easily distinguish good and reviewed from unreviewed usages new (and IMHO
7# more sensible) names are used: SOC_IMX31 and SOC_IMX35 17# more sensible) names are used: SOC_IMX31 and SOC_IMX35
18config ARCH_MX1
19 bool
20
21config MACH_MX21
22 bool
23
24config ARCH_MX25
25 bool
26
27config MACH_MX27
28 bool
29
8config ARCH_MX31 30config ARCH_MX31
9 bool 31 bool
10 32
@@ -13,6 +35,7 @@ config ARCH_MX35
13 35
14config SOC_IMX1 36config SOC_IMX1
15 bool 37 bool
38 select ARCH_MX1
16 select CPU_ARM920T 39 select CPU_ARM920T
17 select IMX_HAVE_DMA_V1 40 select IMX_HAVE_DMA_V1
18 select IMX_HAVE_IOMUX_V1 41 select IMX_HAVE_IOMUX_V1
@@ -20,6 +43,7 @@ config SOC_IMX1
20 43
21config SOC_IMX21 44config SOC_IMX21
22 bool 45 bool
46 select MACH_MX21
23 select CPU_ARM926T 47 select CPU_ARM926T
24 select ARCH_MXC_AUDMUX_V1 48 select ARCH_MXC_AUDMUX_V1
25 select IMX_HAVE_DMA_V1 49 select IMX_HAVE_DMA_V1
@@ -28,6 +52,7 @@ config SOC_IMX21
28 52
29config SOC_IMX25 53config SOC_IMX25
30 bool 54 bool
55 select ARCH_MX25
31 select CPU_ARM926T 56 select CPU_ARM926T
32 select ARCH_MXC_AUDMUX_V2 57 select ARCH_MXC_AUDMUX_V2
33 select ARCH_MXC_IOMUX_V3 58 select ARCH_MXC_IOMUX_V3
@@ -35,6 +60,7 @@ config SOC_IMX25
35 60
36config SOC_IMX27 61config SOC_IMX27
37 bool 62 bool
63 select MACH_MX27
38 select CPU_ARM926T 64 select CPU_ARM926T
39 select ARCH_MXC_AUDMUX_V1 65 select ARCH_MXC_AUDMUX_V1
40 select IMX_HAVE_DMA_V1 66 select IMX_HAVE_DMA_V1
@@ -48,6 +74,7 @@ config SOC_IMX31
48 select ARCH_MXC_AUDMUX_V2 74 select ARCH_MXC_AUDMUX_V2
49 select ARCH_MX31 75 select ARCH_MX31
50 select MXC_AVIC 76 select MXC_AVIC
77 select SMP_ON_UP if SMP
51 78
52config SOC_IMX35 79config SOC_IMX35
53 bool 80 bool
@@ -57,9 +84,10 @@ config SOC_IMX35
57 select HAVE_EPIT 84 select HAVE_EPIT
58 select ARCH_MX35 85 select ARCH_MX35
59 select MXC_AVIC 86 select MXC_AVIC
87 select SMP_ON_UP if SMP
60 88
61 89
62if ARCH_MX1 90if ARCH_IMX_V4_V5
63 91
64comment "MX1 platforms:" 92comment "MX1 platforms:"
65config MACH_MXLADS 93config MACH_MXLADS
@@ -87,30 +115,6 @@ config MACH_APF9328
87 help 115 help
88 Say Yes here if you are using the Armadeus APF9328 development board 116 Say Yes here if you are using the Armadeus APF9328 development board
89 117
90endif
91
92if ARCH_MX2
93
94choice
95 prompt "CPUs:"
96 default MACH_MX21
97
98config MACH_MX21
99 bool "i.MX21 support"
100 help
101 This enables support for Freescale's MX2 based i.MX21 processor.
102
103config MACH_MX27
104 bool "i.MX27 support"
105 help
106 This enables support for Freescale's MX2 based i.MX27 processor.
107
108endchoice
109
110endif
111
112if MACH_MX21
113
114comment "MX21 platforms:" 118comment "MX21 platforms:"
115 119
116config MACH_MX21ADS 120config MACH_MX21ADS
@@ -124,15 +128,12 @@ config MACH_MX21ADS
124 Include support for MX21ADS platform. This includes specific 128 Include support for MX21ADS platform. This includes specific
125 configurations for the board and its peripherals. 129 configurations for the board and its peripherals.
126 130
127endif
128
129if ARCH_MX25
130
131comment "MX25 platforms:" 131comment "MX25 platforms:"
132 132
133config MACH_MX25_3DS 133config MACH_MX25_3DS
134 bool "Support MX25PDK (3DS) Platform" 134 bool "Support MX25PDK (3DS) Platform"
135 select SOC_IMX25 135 select SOC_IMX25
136 select IMX_HAVE_PLATFORM_FLEXCAN
136 select IMX_HAVE_PLATFORM_FSL_USB2_UDC 137 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
137 select IMX_HAVE_PLATFORM_IMX2_WDT 138 select IMX_HAVE_PLATFORM_IMX2_WDT
138 select IMX_HAVE_PLATFORM_IMXDI_RTC 139 select IMX_HAVE_PLATFORM_IMXDI_RTC
@@ -174,10 +175,6 @@ config MACH_EUKREA_MBIMXSD25_BASEBOARD
174 175
175endchoice 176endchoice
176 177
177endif
178
179if MACH_MX27
180
181comment "MX27 platforms:" 178comment "MX27 platforms:"
182 179
183config MACH_MX27ADS 180config MACH_MX27ADS
@@ -356,7 +353,7 @@ config MACH_IMX27IPCAM
356 353
357endif 354endif
358 355
359if ARCH_MX3 356if ARCH_IMX_V6_V7
360 357
361comment "MX31 platforms:" 358comment "MX31 platforms:"
362 359
@@ -449,6 +446,7 @@ config MACH_MX31_3DS
449 select IMX_HAVE_PLATFORM_IMX_UART 446 select IMX_HAVE_PLATFORM_IMX_UART
450 select IMX_HAVE_PLATFORM_IPU_CORE 447 select IMX_HAVE_PLATFORM_IPU_CORE
451 select IMX_HAVE_PLATFORM_MXC_EHCI 448 select IMX_HAVE_PLATFORM_MXC_EHCI
449 select IMX_HAVE_PLATFORM_MXC_MMC
452 select IMX_HAVE_PLATFORM_MXC_NAND 450 select IMX_HAVE_PLATFORM_MXC_NAND
453 select IMX_HAVE_PLATFORM_SPI_IMX 451 select IMX_HAVE_PLATFORM_SPI_IMX
454 select MXC_ULPI if USB_ULPI 452 select MXC_ULPI if USB_ULPI
@@ -485,6 +483,7 @@ config MACH_QONG
485 bool "Support Dave/DENX QongEVB-LITE platform" 483 bool "Support Dave/DENX QongEVB-LITE platform"
486 select SOC_IMX31 484 select SOC_IMX31
487 select IMX_HAVE_PLATFORM_IMX_UART 485 select IMX_HAVE_PLATFORM_IMX_UART
486 select IMX_HAVE_PLATFORM_IMX2_WDT
488 help 487 help
489 Include support for Dave/DENX QongEVB-LITE platform. This includes 488 Include support for Dave/DENX QongEVB-LITE platform. This includes
490 specific configurations for the board and its peripherals. 489 specific configurations for the board and its peripherals.
@@ -605,4 +604,20 @@ config MACH_VPR200
605 Include support for VPR200 platform. This includes specific 604 Include support for VPR200 platform. This includes specific
606 configurations for the board and its peripherals. 605 configurations for the board and its peripherals.
607 606
607comment "i.MX6 family:"
608
609config SOC_IMX6Q
610 bool "i.MX6 Quad support"
611 select ARM_GIC
612 select CACHE_L2X0
613 select CPU_V7
614 select HAVE_ARM_SCU
615 select HAVE_IMX_GPC
616 select HAVE_IMX_MMDC
617 select HAVE_IMX_SRC
618 select USE_OF
619
620 help
621 This enables support for Freescale i.MX6 Quad processor.
622
608endif 623endif