diff options
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 110 |
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 @@ | |||
1 | config 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 | |||
16 | menu "Freescale i.MX support" | ||
17 | depends on ARCH_MXC | ||
18 | |||
19 | config 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 | |||
29 | config MXC_TZIC | ||
30 | bool | ||
31 | |||
32 | config MXC_AVIC | ||
33 | bool | ||
34 | |||
35 | config 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 | |||
46 | config HAVE_EPIT | ||
47 | bool | ||
48 | |||
49 | config 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 | |||
58 | config MXC_ULPI | ||
59 | bool | ||
60 | |||
61 | config ARCH_HAS_RNGA | ||
62 | bool | ||
63 | |||
64 | config IRAM_ALLOC | ||
65 | bool | ||
66 | select GENERIC_ALLOCATOR | ||
67 | |||
1 | config HAVE_IMX_GPC | 68 | config HAVE_IMX_GPC |
2 | bool | 69 | bool |
3 | 70 | ||
@@ -5,6 +72,12 @@ config HAVE_IMX_MMDC | |||
5 | bool | 72 | bool |
6 | 73 | ||
7 | config HAVE_IMX_SRC | 74 | config HAVE_IMX_SRC |
75 | def_bool y if SMP | ||
76 | |||
77 | config IMX_HAVE_IOMUX_V1 | ||
78 | bool | ||
79 | |||
80 | config ARCH_MXC_IOMUX_V3 | ||
8 | bool | 81 | bool |
9 | 82 | ||
10 | config ARCH_MX1 | 83 | config 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 | ||
107 | if ARCH_IMX_V4_V5 | 180 | if ARCH_MULTI_V4T |
108 | 181 | ||
109 | comment "MX1 platforms:" | 182 | comment "MX1 platforms:" |
110 | config MACH_MXLADS | 183 | config 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 | ||
209 | endif | ||
210 | |||
211 | if ARCH_MULTI_V5 | ||
212 | |||
136 | comment "MX21 platforms:" | 213 | comment "MX21 platforms:" |
137 | 214 | ||
138 | config MACH_MX21ADS | 215 | config MACH_MX21ADS |
@@ -195,6 +272,13 @@ config MACH_EUKREA_MBIMXSD25_BASEBOARD | |||
195 | 272 | ||
196 | endchoice | 273 | endchoice |
197 | 274 | ||
275 | config 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 | |||
198 | comment "MX27 platforms:" | 282 | comment "MX27 platforms:" |
199 | 283 | ||
200 | config MACH_MX27ADS | 284 | config 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 | ||
385 | endif | 470 | endif |
386 | 471 | ||
387 | if ARCH_IMX_V6_V7 | 472 | if ARCH_MULTI_V6 |
388 | 473 | ||
389 | comment "MX31 platforms:" | 474 | comment "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 | ||
737 | endif | ||
738 | |||
739 | if ARCH_MULTI_V7 | ||
740 | |||
652 | comment "i.MX5 platforms:" | 741 | comment "i.MX5 platforms:" |
653 | 742 | ||
654 | config MACH_MX50_RDP | 743 | config 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 | ||
749 | config SOC_IMX6Q | 839 | config 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 | ||
768 | endif | 868 | endif |
869 | |||
870 | source "arch/arm/mach-imx/devices/Kconfig" | ||
871 | |||
872 | endmenu | ||