1if ARCH_MXC
2
3source "arch/arm/plat-mxc/devices/Kconfig"
4
5menu "Freescale MXC Implementations"
6
7choice
8	prompt "Freescale CPU family:"
9	default ARCH_IMX_V6_V7
10
11config ARCH_IMX_V4_V5
12	bool "i.MX1, i.MX21, i.MX25, i.MX27"
13	select AUTO_ZRELADDR if !ZBOOT_ROM
14	select ARM_PATCH_PHYS_VIRT
15	help
16	  This enables support for systems based on the Freescale i.MX ARMv4
17	  and ARMv5 SoCs
18
19config ARCH_IMX_V6_V7
20	bool "i.MX3, i.MX5, i.MX6"
21	select AUTO_ZRELADDR if !ZBOOT_ROM
22	select ARM_PATCH_PHYS_VIRT
23	select MIGHT_HAVE_CACHE_L2X0
24	help
25	  This enables support for systems based on the Freescale i.MX3, i.MX5
26	  and i.MX6 family.
27
28endchoice
29
30source "arch/arm/mach-imx/Kconfig"
31
32endmenu
33
34config MXC_IRQ_PRIOR
35	bool "Use IRQ priority"
36	help
37	  Select this if you want to use prioritized IRQ handling.
38	  This feature prevents higher priority ISR to be interrupted
39	  by lower priority IRQ even IRQF_DISABLED flag is not set.
40	  This may be useful in embedded applications, where are strong
41	  requirements for timing.
42	  Say N here, unless you have a specialized requirement.
43
44config MXC_TZIC
45	bool
46
47config MXC_AVIC
48	bool
49
50config MXC_PWM
51	tristate "Enable PWM driver"
52	select HAVE_PWM
53	help
54	  Enable support for the i.MX PWM controller(s).
55
56config MXC_DEBUG_BOARD
57	bool "Enable MXC debug board(for 3-stack)"
58	help
59	  The debug board is an integral part of the MXC 3-stack(PDK)
60	  platforms, it can be attached or removed from the peripheral
61	  board. On debug board, several debug devices(ethernet, UART,
62	  buttons, LEDs and JTAG) are implemented. Between the MCU and
63	  these devices, a CPLD is added as a bridge which performs
64	  data/address de-multiplexing and decode, signal level shift,
65	  interrupt control and various board functions.
66
67config HAVE_EPIT
68	bool
69
70config MXC_USE_EPIT
71	bool "Use EPIT instead of GPT"
72	depends on HAVE_EPIT
73	help
74	  Use EPIT as the system timer on systems that have it. Normally you
75	  don't have a reason to do so as the EPIT has the same features and
76	  uses the same clocks as the GPT. Anyway, on some systems the GPT
77	  may be in use for other purposes.
78
79config MXC_ULPI
80	bool
81
82config ARCH_HAS_RNGA
83	bool
84
85config IMX_HAVE_IOMUX_V1
86	bool
87
88config ARCH_MXC_IOMUX_V3
89	bool
90
91config IRAM_ALLOC
92	bool
93	select GENERIC_ALLOCATOR
94
95endif
96