aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5
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/mach-mx5
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/mach-mx5')
-rw-r--r--arch/arm/mach-mx5/Kconfig51
1 files changed, 33 insertions, 18 deletions
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig
index b3570e6c8e12..799fbc40e53c 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