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/Kconfig110
1 files changed, 107 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 8d276584650e..1ad0d76de8c7 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -1,3 +1,70 @@
1config ARCH_MXC
2 bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
3 select ARCH_REQUIRE_GPIOLIB
4 select ARM_PATCH_PHYS_VIRT
5 select AUTO_ZRELADDR if !ZBOOT_ROM
6 select CLKDEV_LOOKUP
7 select CLKSRC_MMIO
8 select GENERIC_CLOCKEVENTS
9 select GENERIC_IRQ_CHIP
10 select MULTI_IRQ_HANDLER
11 select SPARSE_IRQ
12 select USE_OF
13 help
14 Support for Freescale MXC/iMX-based family of processors
15
16menu "Freescale i.MX support"
17 depends on ARCH_MXC
18
19config MXC_IRQ_PRIOR
20 bool "Use IRQ priority"
21 help
22 Select this if you want to use prioritized IRQ handling.
23 This feature prevents higher priority ISR to be interrupted
24 by lower priority IRQ even IRQF_DISABLED flag is not set.
25 This may be useful in embedded applications, where are strong
26 requirements for timing.
27 Say N here, unless you have a specialized requirement.
28
29config MXC_TZIC
30 bool
31
32config MXC_AVIC
33 bool
34
35config MXC_DEBUG_BOARD
36 bool "Enable MXC debug board(for 3-stack)"
37 help
38 The debug board is an integral part of the MXC 3-stack(PDK)
39 platforms, it can be attached or removed from the peripheral
40 board. On debug board, several debug devices(ethernet, UART,
41 buttons, LEDs and JTAG) are implemented. Between the MCU and
42 these devices, a CPLD is added as a bridge which performs
43 data/address de-multiplexing and decode, signal level shift,
44 interrupt control and various board functions.
45
46config HAVE_EPIT
47 bool
48
49config MXC_USE_EPIT
50 bool "Use EPIT instead of GPT"
51 depends on HAVE_EPIT
52 help
53 Use EPIT as the system timer on systems that have it. Normally you
54 don't have a reason to do so as the EPIT has the same features and
55 uses the same clocks as the GPT. Anyway, on some systems the GPT
56 may be in use for other purposes.
57
58config MXC_ULPI
59 bool
60
61config ARCH_HAS_RNGA
62 bool
63
64config IRAM_ALLOC
65 bool
66 select GENERIC_ALLOCATOR
67
1config HAVE_IMX_GPC 68config HAVE_IMX_GPC
2 bool 69 bool
3 70
@@ -5,6 +72,12 @@ config HAVE_IMX_MMDC
5 bool 72 bool
6 73
7config HAVE_IMX_SRC 74config HAVE_IMX_SRC
75 def_bool y if SMP
76
77config IMX_HAVE_IOMUX_V1
78 bool
79
80config ARCH_MXC_IOMUX_V3
8 bool 81 bool
9 82
10config ARCH_MX1 83config ARCH_MX1
@@ -104,7 +177,7 @@ config SOC_IMX51
104 select PINCTRL_IMX51 177 select PINCTRL_IMX51
105 select SOC_IMX5 178 select SOC_IMX5
106 179
107if ARCH_IMX_V4_V5 180if ARCH_MULTI_V4T
108 181
109comment "MX1 platforms:" 182comment "MX1 platforms:"
110config MACH_MXLADS 183config MACH_MXLADS
@@ -133,6 +206,10 @@ config MACH_APF9328
133 help 206 help
134 Say Yes here if you are using the Armadeus APF9328 development board 207 Say Yes here if you are using the Armadeus APF9328 development board
135 208
209endif
210
211if ARCH_MULTI_V5
212
136comment "MX21 platforms:" 213comment "MX21 platforms:"
137 214
138config MACH_MX21ADS 215config MACH_MX21ADS
@@ -195,6 +272,13 @@ config MACH_EUKREA_MBIMXSD25_BASEBOARD
195 272
196endchoice 273endchoice
197 274
275config MACH_IMX25_DT
276 bool "Support i.MX25 platforms from device tree"
277 select SOC_IMX25
278 help
279 Include support for Freescale i.MX25 based platforms
280 using the device tree for discovery
281
198comment "MX27 platforms:" 282comment "MX27 platforms:"
199 283
200config MACH_MX27ADS 284config MACH_MX27ADS
@@ -317,6 +401,7 @@ config MACH_IMX27_VISSTRIM_M10
317 select IMX_HAVE_PLATFORM_IMX_SSI 401 select IMX_HAVE_PLATFORM_IMX_SSI
318 select IMX_HAVE_PLATFORM_IMX_UART 402 select IMX_HAVE_PLATFORM_IMX_UART
319 select IMX_HAVE_PLATFORM_MX2_CAMERA 403 select IMX_HAVE_PLATFORM_MX2_CAMERA
404 select IMX_HAVE_PLATFORM_MX2_EMMA
320 select IMX_HAVE_PLATFORM_MXC_EHCI 405 select IMX_HAVE_PLATFORM_MXC_EHCI
321 select IMX_HAVE_PLATFORM_MXC_MMC 406 select IMX_HAVE_PLATFORM_MXC_MMC
322 select LEDS_GPIO_REGISTER 407 select LEDS_GPIO_REGISTER
@@ -384,7 +469,7 @@ config MACH_IMX27_DT
384 469
385endif 470endif
386 471
387if ARCH_IMX_V6_V7 472if ARCH_MULTI_V6
388 473
389comment "MX31 platforms:" 474comment "MX31 platforms:"
390 475
@@ -649,6 +734,10 @@ config MACH_VPR200
649 Include support for VPR200 platform. This includes specific 734 Include support for VPR200 platform. This includes specific
650 configurations for the board and its peripherals. 735 configurations for the board and its peripherals.
651 736
737endif
738
739if ARCH_MULTI_V7
740
652comment "i.MX5 platforms:" 741comment "i.MX5 platforms:"
653 742
654config MACH_MX50_RDP 743config MACH_MX50_RDP
@@ -739,6 +828,7 @@ config SOC_IMX53
739 select ARCH_MX5 828 select ARCH_MX5
740 select ARCH_MX53 829 select ARCH_MX53
741 select HAVE_CAN_FLEXCAN if CAN 830 select HAVE_CAN_FLEXCAN if CAN
831 select IMX_HAVE_PLATFORM_IMX2_WDT
742 select PINCTRL 832 select PINCTRL
743 select PINCTRL_IMX53 833 select PINCTRL_IMX53
744 select SOC_IMX5 834 select SOC_IMX5
@@ -748,7 +838,14 @@ config SOC_IMX53
748 838
749config SOC_IMX6Q 839config SOC_IMX6Q
750 bool "i.MX6 Quad support" 840 bool "i.MX6 Quad support"
841 select ARCH_HAS_CPUFREQ
842 select ARCH_HAS_OPP
751 select ARM_CPU_SUSPEND if PM 843 select ARM_CPU_SUSPEND if PM
844 select ARM_ERRATA_743622
845 select ARM_ERRATA_751472
846 select ARM_ERRATA_754322
847 select ARM_ERRATA_764369 if SMP
848 select ARM_ERRATA_775420
752 select ARM_GIC 849 select ARM_GIC
753 select COMMON_CLK 850 select COMMON_CLK
754 select CPU_V7 851 select CPU_V7
@@ -756,13 +853,20 @@ config SOC_IMX6Q
756 select HAVE_CAN_FLEXCAN if CAN 853 select HAVE_CAN_FLEXCAN if CAN
757 select HAVE_IMX_GPC 854 select HAVE_IMX_GPC
758 select HAVE_IMX_MMDC 855 select HAVE_IMX_MMDC
759 select HAVE_IMX_SRC
760 select HAVE_SMP 856 select HAVE_SMP
761 select MFD_SYSCON 857 select MFD_SYSCON
762 select PINCTRL 858 select PINCTRL
763 select PINCTRL_IMX6Q 859 select PINCTRL_IMX6Q
860 select PL310_ERRATA_588369 if CACHE_PL310
861 select PL310_ERRATA_727915 if CACHE_PL310
862 select PL310_ERRATA_769419 if CACHE_PL310
863 select PM_OPP if PM
764 864
765 help 865 help
766 This enables support for Freescale i.MX6 Quad processor. 866 This enables support for Freescale i.MX6 Quad processor.
767 867
768endif 868endif
869
870source "arch/arm/mach-imx/devices/Kconfig"
871
872endmenu