aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/Kconfig
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-09-16 21:38:39 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-10-14 22:10:15 -0400
commitc5a0d4977f00ca18c49d46fdaff4b2cfeaa4eb28 (patch)
tree2bea7a21542264bbb6b11b6ea5e31139e9ff45f3 /arch/arm/mach-imx/Kconfig
parent69ac71d370b21cc52a2afd06f3a6d6d1da5edc75 (diff)
ARM: imx: enable multi-platform build
It enables multi-platform build for imx. With ARCH_MULTI_* options coming to play, ARCH_MXC becomes an user invisible option, while ARCH_IMX_V4_V5 and ARCH_IMX_V6_V7 get removed. Both imx_v4_v5_defconfig and imx_v6_v7_defconfig get updated to adopt the changes. AUTO_ZRELADDR and ARM_PATCH_PHYS_VIRT are selected by ARCH_MXC now to save the duplication. Headers timex.h and uncompress.h are not needed for multi-platform build. Remove them. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r--arch/arm/mach-imx/Kconfig59
1 files changed, 28 insertions, 31 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 05ded3748d78..892631f1e4c8 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -1,4 +1,20 @@
1if ARCH_MXC 1config ARCH_MXC
2 def_bool y 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
2 18
3config MXC_IRQ_PRIOR 19config MXC_IRQ_PRIOR
4 bool "Use IRQ priority" 20 bool "Use IRQ priority"
@@ -161,21 +177,7 @@ config SOC_IMX51
161 select PINCTRL_IMX51 177 select PINCTRL_IMX51
162 select SOC_IMX5 178 select SOC_IMX5
163 179
164menu "Freescale MXC Implementations" 180if ARCH_MULTI_V4T
165
166choice
167 prompt "Freescale CPU family:"
168 default ARCH_IMX_V6_V7
169
170config ARCH_IMX_V4_V5
171 bool "i.MX1, i.MX21, i.MX25, i.MX27"
172 select ARM_PATCH_PHYS_VIRT
173 select AUTO_ZRELADDR if !ZBOOT_ROM
174 help
175 This enables support for systems based on the Freescale i.MX ARMv4
176 and ARMv5 SoCs
177
178if ARCH_IMX_V4_V5
179 181
180comment "MX1 platforms:" 182comment "MX1 platforms:"
181config MACH_MXLADS 183config MACH_MXLADS
@@ -204,6 +206,10 @@ config MACH_APF9328
204 help 206 help
205 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
206 208
209endif
210
211if ARCH_MULTI_V5
212
207comment "MX21 platforms:" 213comment "MX21 platforms:"
208 214
209config MACH_MX21ADS 215config MACH_MX21ADS
@@ -455,16 +461,7 @@ config MACH_IMX27_DT
455 461
456endif 462endif
457 463
458config ARCH_IMX_V6_V7 464if ARCH_MULTI_V6
459 bool "i.MX3, i.MX5, i.MX6"
460 select ARM_PATCH_PHYS_VIRT
461 select AUTO_ZRELADDR if !ZBOOT_ROM
462 select MIGHT_HAVE_CACHE_L2X0
463 help
464 This enables support for systems based on the Freescale i.MX3, i.MX5
465 and i.MX6 family.
466
467if ARCH_IMX_V6_V7
468 465
469comment "MX31 platforms:" 466comment "MX31 platforms:"
470 467
@@ -729,6 +726,10 @@ config MACH_VPR200
729 Include support for VPR200 platform. This includes specific 726 Include support for VPR200 platform. This includes specific
730 configurations for the board and its peripherals. 727 configurations for the board and its peripherals.
731 728
729endif
730
731if ARCH_MULTI_V7
732
732comment "i.MX5 platforms:" 733comment "i.MX5 platforms:"
733 734
734config MACH_MX50_RDP 735config MACH_MX50_RDP
@@ -847,10 +848,6 @@ config SOC_IMX6Q
847 848
848endif 849endif
849 850
850endchoice
851
852endmenu
853
854source "arch/arm/mach-imx/devices/Kconfig" 851source "arch/arm/mach-imx/devices/Kconfig"
855 852
856endif 853endmenu