aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-04-08 05:06:43 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-05-19 07:11:30 -0400
commit7db4d88206e20b8d91e8e7bba3b79805a1b1a98d (patch)
tree772eb127960e562cc70c101ad058d07457a938cf /arch/arm
parent91350f6677f988b2342b214338520d1c3ed1ea0e (diff)
ARM: mxc: don't allow to compile together i.MX51 and i.MX53
The two SoCs have different PHYS_OFFSETs so it's not (yet) possible to compile a single (working) kernel for these. LAKML-Reference: 1302464943-20721-4-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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/configs/mx51_defconfig2
-rw-r--r--arch/arm/mach-mx5/Kconfig51
-rw-r--r--arch/arm/plat-mxc/Kconfig19
3 files changed, 51 insertions, 21 deletions
diff --git a/arch/arm/configs/mx51_defconfig b/arch/arm/configs/mx51_defconfig
index e3c903281f7..0ace16cba9b 100644
--- a/arch/arm/configs/mx51_defconfig
+++ b/arch/arm/configs/mx51_defconfig
@@ -13,7 +13,7 @@ CONFIG_MODULE_SRCVERSION_ALL=y
13# CONFIG_LBDAF is not set 13# CONFIG_LBDAF is not set
14# CONFIG_BLK_DEV_BSG is not set 14# CONFIG_BLK_DEV_BSG is not set
15CONFIG_ARCH_MXC=y 15CONFIG_ARCH_MXC=y
16CONFIG_ARCH_MX5=y 16CONFIG_ARCH_MX51=y
17CONFIG_MACH_MX51_BABBAGE=y 17CONFIG_MACH_MX51_BABBAGE=y
18CONFIG_MACH_MX51_3DS=y 18CONFIG_MACH_MX51_3DS=y
19CONFIG_MACH_EUKREA_CPUIMX51=y 19CONFIG_MACH_EUKREA_CPUIMX51=y
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig
index b3570e6c8e1..799fbc40e53 100644
--- a/arch/arm/mach-mx5/Kconfig
+++ b/arch/arm/mach-mx5/Kconfig
@@ -1,11 +1,11 @@
1if ARCH_MX5 1if ARCH_MX503 || ARCH_MX51
2# ARCH_MX50/51/53 are left to mark places where prevent multi-soc in single 2# ARCH_MX5/50/53 are left to mark places where prevent multi-soc in single
3# image. So for most time, SOC_IMX50/51/53 should be used. 3# image. So for most time, SOC_IMX50/51/53 should be used.
4 4
5config ARCH_MX50 5config ARCH_MX5
6 bool 6 bool
7 7
8config ARCH_MX51 8config ARCH_MX50
9 bool 9 bool
10 10
11config ARCH_MX53 11config ARCH_MX53
@@ -19,6 +19,7 @@ config SOC_IMX50
19 select ARCH_MXC_IOMUX_V3 19 select ARCH_MXC_IOMUX_V3
20 select ARCH_MXC_AUDMUX_V2 20 select ARCH_MXC_AUDMUX_V2
21 select ARCH_HAS_CPUFREQ 21 select ARCH_HAS_CPUFREQ
22 select ARCH_MX5
22 select ARCH_MX50 23 select ARCH_MX50
23 24
24config SOC_IMX51 25config SOC_IMX51
@@ -29,7 +30,7 @@ config SOC_IMX51
29 select ARCH_MXC_IOMUX_V3 30 select ARCH_MXC_IOMUX_V3
30 select ARCH_MXC_AUDMUX_V2 31 select ARCH_MXC_AUDMUX_V2
31 select ARCH_HAS_CPUFREQ 32 select ARCH_HAS_CPUFREQ
32 select ARCH_MX51 33 select ARCH_MX5
33 34
34config SOC_IMX53 35config SOC_IMX53
35 bool 36 bool
@@ -37,9 +38,29 @@ config SOC_IMX53
37 select ARM_L1_CACHE_SHIFT_6 38 select ARM_L1_CACHE_SHIFT_6
38 select MXC_TZIC 39 select MXC_TZIC
39 select ARCH_MXC_IOMUX_V3 40 select ARCH_MXC_IOMUX_V3
41 select ARCH_MX5
40 select ARCH_MX53 42 select ARCH_MX53
41 43
42comment "MX5 platforms:" 44if ARCH_MX50_SUPPORTED
45#comment "i.MX50 machines:"
46
47config MACH_MX50_RDP
48 bool "Support MX50 reference design platform"
49 depends on BROKEN
50 select SOC_IMX50
51 select IMX_HAVE_PLATFORM_IMX_I2C
52 select IMX_HAVE_PLATFORM_IMX_UART
53 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
54 select IMX_HAVE_PLATFORM_SPI_IMX
55 select IMX_HAVE_PLATFORM_FEC
56 help
57 Include support for MX50 reference design platform (RDP) board. This
58 includes specific configurations for the board and its peripherals.
59
60endif # ARCH_MX50_SUPPORTED
61
62if ARCH_MX51
63comment "i.MX51 machines:"
43 64
44config MACH_MX51_BABBAGE 65config MACH_MX51_BABBAGE
45 bool "Support MX51 BABBAGE platforms" 66 bool "Support MX51 BABBAGE platforms"
@@ -142,6 +163,11 @@ config MACH_MX51_EFIKASB
142 Include support for Genesi Efika Smartbook. This includes specific 163 Include support for Genesi Efika Smartbook. This includes specific
143 configurations for the board and its peripherals. 164 configurations for the board and its peripherals.
144 165
166endif # ARCH_MX51
167
168if ARCH_MX53_SUPPORTED
169comment "i.MX53 machines:"
170
145config MACH_MX53_EVK 171config MACH_MX53_EVK
146 bool "Support MX53 EVK platforms" 172 bool "Support MX53 EVK platforms"
147 select SOC_IMX53 173 select SOC_IMX53
@@ -177,17 +203,6 @@ config MACH_MX53_LOCO
177 Include support for MX53 LOCO platform. This includes specific 203 Include support for MX53 LOCO platform. This includes specific
178 configurations for the board and its peripherals. 204 configurations for the board and its peripherals.
179 205
180config MACH_MX50_RDP 206endif # ARCH_MX53_SUPPORTED
181 bool "Support MX50 reference design platform"
182 depends on BROKEN
183 select SOC_IMX50
184 select IMX_HAVE_PLATFORM_IMX_I2C
185 select IMX_HAVE_PLATFORM_IMX_UART
186 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
187 select IMX_HAVE_PLATFORM_SPI_IMX
188 select IMX_HAVE_PLATFORM_FEC
189 help
190 Include support for MX50 reference design platform (RDP) board. This
191 includes specific configurations for the board and its peripherals.
192 207
193endif 208endif
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig
index 8b7ab8ce971..d9b9aad5aef 100644
--- a/arch/arm/plat-mxc/Kconfig
+++ b/arch/arm/plat-mxc/Kconfig
@@ -4,6 +4,12 @@ source "arch/arm/plat-mxc/devices/Kconfig"
4 4
5menu "Freescale MXC Implementations" 5menu "Freescale MXC Implementations"
6 6
7config ARCH_MX50_SUPPORTED
8 bool
9
10config ARCH_MX53_SUPPORTED
11 bool
12
7choice 13choice
8 prompt "Freescale CPU family:" 14 prompt "Freescale CPU family:"
9 default ARCH_MX3 15 default ARCH_MX3
@@ -28,8 +34,17 @@ config ARCH_MX3
28 help 34 help
29 This enables support for systems based on the Freescale i.MX3 family 35 This enables support for systems based on the Freescale i.MX3 family
30 36
31config ARCH_MX5 37config ARCH_MX503
32 bool "MX5-based" 38 bool "i.MX50 + i.MX53"
39 select ARCH_MX50_SUPPORTED
40 select ARCH_MX53_SUPPORTED
41 help
42 This enables support for machines using Freescale's i.MX50 and i.MX51
43 processors.
44
45config ARCH_MX51
46 bool "i.MX51"
47 select ARCH_MX51_SUPPORTED
33 help 48 help
34 This enables support for systems based on the Freescale i.MX51 family 49 This enables support for systems based on the Freescale i.MX51 family
35 50