diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-03-22 06:54:35 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-05-19 07:11:29 -0400 |
commit | 91350f6677f988b2342b214338520d1c3ed1ea0e (patch) | |
tree | 82cdaa0b868a767cda164d957c783749b474253b | |
parent | 13cf8df97d075cf61445c689a30c8b0ce70b415f (diff) |
ARM: mxc: don't use the symbols in the CPU family choice to select others
The symbols in this choice should only be used to select between the
available machines that can be built into a single kernel. As these sets
(will) differ e.g. depending on ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR
letting them select other symbols makes the logic more complex and needs
to duplicate some things. So let the machines select the corresponding
symbols (indirectly via SOC_XYZ).
LAKML-Reference: 1302464943-20721-2-git-send-email-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx3/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/Kconfig | 6 | ||||
-rw-r--r-- | arch/arm/plat-mxc/Kconfig | 4 |
4 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 4ac00e9fdbe8..299580676dc8 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig | |||
@@ -40,6 +40,7 @@ config MACH_MXLADS | |||
40 | config ARCH_MX1ADS | 40 | config ARCH_MX1ADS |
41 | bool "MX1ADS platform" | 41 | bool "MX1ADS platform" |
42 | select MACH_MXLADS | 42 | select MACH_MXLADS |
43 | select SOC_IMX1 | ||
43 | select IMX_HAVE_PLATFORM_IMX_I2C | 44 | select IMX_HAVE_PLATFORM_IMX_I2C |
44 | select IMX_HAVE_PLATFORM_IMX_UART | 45 | select IMX_HAVE_PLATFORM_IMX_UART |
45 | help | 46 | help |
diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig index cb7d4a3a092a..647811e539df 100644 --- a/arch/arm/mach-mx3/Kconfig +++ b/arch/arm/mach-mx3/Kconfig | |||
@@ -12,6 +12,7 @@ config ARCH_MX35 | |||
12 | 12 | ||
13 | config SOC_IMX31 | 13 | config SOC_IMX31 |
14 | bool | 14 | bool |
15 | select CPU_V6 | ||
15 | select IMX_HAVE_PLATFORM_MXC_RNGA | 16 | select IMX_HAVE_PLATFORM_MXC_RNGA |
16 | select ARCH_MXC_AUDMUX_V2 | 17 | select ARCH_MXC_AUDMUX_V2 |
17 | select ARCH_MX31 | 18 | select ARCH_MX31 |
@@ -19,6 +20,7 @@ config SOC_IMX31 | |||
19 | 20 | ||
20 | config SOC_IMX35 | 21 | config SOC_IMX35 |
21 | bool | 22 | bool |
23 | select CPU_V6 | ||
22 | select ARCH_MXC_IOMUX_V3 | 24 | select ARCH_MXC_IOMUX_V3 |
23 | select ARCH_MXC_AUDMUX_V2 | 25 | select ARCH_MXC_AUDMUX_V2 |
24 | select HAVE_EPIT | 26 | select HAVE_EPIT |
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig index 49b5661f01c2..b3570e6c8e12 100644 --- a/arch/arm/mach-mx5/Kconfig +++ b/arch/arm/mach-mx5/Kconfig | |||
@@ -13,6 +13,8 @@ config ARCH_MX53 | |||
13 | 13 | ||
14 | config SOC_IMX50 | 14 | config SOC_IMX50 |
15 | bool | 15 | bool |
16 | select CPU_V7 | ||
17 | select ARM_L1_CACHE_SHIFT_6 | ||
16 | select MXC_TZIC | 18 | select MXC_TZIC |
17 | select ARCH_MXC_IOMUX_V3 | 19 | select ARCH_MXC_IOMUX_V3 |
18 | select ARCH_MXC_AUDMUX_V2 | 20 | select ARCH_MXC_AUDMUX_V2 |
@@ -21,6 +23,8 @@ config SOC_IMX50 | |||
21 | 23 | ||
22 | config SOC_IMX51 | 24 | config SOC_IMX51 |
23 | bool | 25 | bool |
26 | select CPU_V7 | ||
27 | select ARM_L1_CACHE_SHIFT_6 | ||
24 | select MXC_TZIC | 28 | select MXC_TZIC |
25 | select ARCH_MXC_IOMUX_V3 | 29 | select ARCH_MXC_IOMUX_V3 |
26 | select ARCH_MXC_AUDMUX_V2 | 30 | select ARCH_MXC_AUDMUX_V2 |
@@ -29,6 +33,8 @@ config SOC_IMX51 | |||
29 | 33 | ||
30 | config SOC_IMX53 | 34 | config SOC_IMX53 |
31 | bool | 35 | bool |
36 | select CPU_V7 | ||
37 | select ARM_L1_CACHE_SHIFT_6 | ||
32 | select MXC_TZIC | 38 | select MXC_TZIC |
33 | select ARCH_MXC_IOMUX_V3 | 39 | select ARCH_MXC_IOMUX_V3 |
34 | select ARCH_MX53 | 40 | select ARCH_MX53 |
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig index debd7be52450..8b7ab8ce9711 100644 --- a/arch/arm/plat-mxc/Kconfig +++ b/arch/arm/plat-mxc/Kconfig | |||
@@ -10,7 +10,6 @@ choice | |||
10 | 10 | ||
11 | config ARCH_MX1 | 11 | config ARCH_MX1 |
12 | bool "MX1-based" | 12 | bool "MX1-based" |
13 | select SOC_IMX1 | ||
14 | help | 13 | help |
15 | This enables support for systems based on the Freescale i.MX1 family | 14 | This enables support for systems based on the Freescale i.MX1 family |
16 | 15 | ||
@@ -26,14 +25,11 @@ config ARCH_MX25 | |||
26 | 25 | ||
27 | config ARCH_MX3 | 26 | config ARCH_MX3 |
28 | bool "MX3-based" | 27 | bool "MX3-based" |
29 | select CPU_V6 | ||
30 | help | 28 | help |
31 | This enables support for systems based on the Freescale i.MX3 family | 29 | This enables support for systems based on the Freescale i.MX3 family |
32 | 30 | ||
33 | config ARCH_MX5 | 31 | config ARCH_MX5 |
34 | bool "MX5-based" | 32 | bool "MX5-based" |
35 | select CPU_V7 | ||
36 | select ARM_L1_CACHE_SHIFT_6 | ||
37 | help | 33 | help |
38 | This enables support for systems based on the Freescale i.MX51 family | 34 | This enables support for systems based on the Freescale i.MX51 family |
39 | 35 | ||