aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-mx5/Kconfig18
-rw-r--r--arch/arm/plat-mxc/Kconfig20
-rw-r--r--arch/arm/plat-mxc/include/mach/memory.h6
3 files changed, 8 insertions, 36 deletions
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig
index b4e7c58bbb38..68806916de56 100644
--- a/arch/arm/mach-mx5/Kconfig
+++ b/arch/arm/mach-mx5/Kconfig
@@ -1,8 +1,9 @@
1if ARCH_MX503 || ARCH_MX51 1if ARCH_MX5
2
2# ARCH_MX5/50/53 are left to mark places where prevent multi-soc in single 3# 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. 4# image. So for most time, SOC_IMX50/51/53 should be used.
4 5
5config ARCH_MX5 6config ARCH_MX51
6 bool 7 bool
7 8
8config ARCH_MX50 9config ARCH_MX50
@@ -19,7 +20,6 @@ config SOC_IMX50
19 select ARCH_MXC_IOMUX_V3 20 select ARCH_MXC_IOMUX_V3
20 select ARCH_MXC_AUDMUX_V2 21 select ARCH_MXC_AUDMUX_V2
21 select ARCH_HAS_CPUFREQ 22 select ARCH_HAS_CPUFREQ
22 select ARCH_MX5
23 select ARCH_MX50 23 select ARCH_MX50
24 24
25config SOC_IMX51 25config SOC_IMX51
@@ -30,7 +30,7 @@ config SOC_IMX51
30 select ARCH_MXC_IOMUX_V3 30 select ARCH_MXC_IOMUX_V3
31 select ARCH_MXC_AUDMUX_V2 31 select ARCH_MXC_AUDMUX_V2
32 select ARCH_HAS_CPUFREQ 32 select ARCH_HAS_CPUFREQ
33 select ARCH_MX5 33 select ARCH_MX51
34 34
35config SOC_IMX53 35config SOC_IMX53
36 bool 36 bool
@@ -38,10 +38,8 @@ config SOC_IMX53
38 select ARM_L1_CACHE_SHIFT_6 38 select ARM_L1_CACHE_SHIFT_6
39 select MXC_TZIC 39 select MXC_TZIC
40 select ARCH_MXC_IOMUX_V3 40 select ARCH_MXC_IOMUX_V3
41 select ARCH_MX5
42 select ARCH_MX53 41 select ARCH_MX53
43 42
44if ARCH_MX50_SUPPORTED
45#comment "i.MX50 machines:" 43#comment "i.MX50 machines:"
46 44
47config MACH_MX50_RDP 45config MACH_MX50_RDP
@@ -57,9 +55,6 @@ config MACH_MX50_RDP
57 Include support for MX50 reference design platform (RDP) board. This 55 Include support for MX50 reference design platform (RDP) board. This
58 includes specific configurations for the board and its peripherals. 56 includes specific configurations for the board and its peripherals.
59 57
60endif # ARCH_MX50_SUPPORTED
61
62if ARCH_MX51
63comment "i.MX51 machines:" 58comment "i.MX51 machines:"
64 59
65config MACH_MX51_BABBAGE 60config MACH_MX51_BABBAGE
@@ -167,9 +162,6 @@ config MACH_MX51_EFIKASB
167 Include support for Genesi Efika Smartbook. This includes specific 162 Include support for Genesi Efika Smartbook. This includes specific
168 configurations for the board and its peripherals. 163 configurations for the board and its peripherals.
169 164
170endif # ARCH_MX51
171
172if ARCH_MX53_SUPPORTED
173comment "i.MX53 machines:" 165comment "i.MX53 machines:"
174 166
175config MACH_MX53_EVK 167config MACH_MX53_EVK
@@ -221,6 +213,4 @@ config MACH_MX53_ARD
221 Include support for MX53 ARD platform. This includes specific 213 Include support for MX53 ARD platform. This includes specific
222 configurations for the board and its peripherals. 214 configurations for the board and its peripherals.
223 215
224endif # ARCH_MX53_SUPPORTED
225
226endif 216endif
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig
index 0665c1f7e93d..502e45f03178 100644
--- a/arch/arm/plat-mxc/Kconfig
+++ b/arch/arm/plat-mxc/Kconfig
@@ -4,12 +4,6 @@ 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
13choice 7choice
14 prompt "Freescale CPU family:" 8 prompt "Freescale CPU family:"
15 default ARCH_MX3 9 default ARCH_MX3
@@ -27,20 +21,14 @@ config ARCH_MX3
27 help 21 help
28 This enables support for systems based on the Freescale i.MX3 family 22 This enables support for systems based on the Freescale i.MX3 family
29 23
30config ARCH_MX503 24config ARCH_MX5
31 bool "i.MX50 + i.MX53" 25 bool "i.MX50, i.MX51, i.MX53"
32 select ARCH_MX50_SUPPORTED 26 select AUTO_ZRELADDR
33 select ARCH_MX53_SUPPORTED 27 select ARM_PATCH_PHYS_VIRT
34 help 28 help
35 This enables support for machines using Freescale's i.MX50 and i.MX51 29 This enables support for machines using Freescale's i.MX50 and i.MX51
36 processors. 30 processors.
37 31
38config ARCH_MX51
39 bool "i.MX51"
40 select ARCH_MX51_SUPPORTED
41 help
42 This enables support for systems based on the Freescale i.MX51 family
43
44endchoice 32endchoice
45 33
46source "arch/arm/mach-imx/Kconfig" 34source "arch/arm/mach-imx/Kconfig"
diff --git a/arch/arm/plat-mxc/include/mach/memory.h b/arch/arm/plat-mxc/include/mach/memory.h
index cbe2e3d08067..35e6c7f4ffd1 100644
--- a/arch/arm/plat-mxc/include/mach/memory.h
+++ b/arch/arm/plat-mxc/include/mach/memory.h
@@ -23,12 +23,6 @@
23#if !defined(CONFIG_RUNTIME_PHYS_OFFSET) 23#if !defined(CONFIG_RUNTIME_PHYS_OFFSET)
24# if defined CONFIG_ARCH_MX3 24# if defined CONFIG_ARCH_MX3
25# define PLAT_PHYS_OFFSET MX3x_PHYS_OFFSET 25# define PLAT_PHYS_OFFSET MX3x_PHYS_OFFSET
26# elif defined CONFIG_ARCH_MX50
27# define PLAT_PHYS_OFFSET MX50_PHYS_OFFSET
28# elif defined CONFIG_ARCH_MX51
29# define PLAT_PHYS_OFFSET MX51_PHYS_OFFSET
30# elif defined CONFIG_ARCH_MX53
31# define PLAT_PHYS_OFFSET MX53_PHYS_OFFSET
32# endif 26# endif
33#endif 27#endif
34 28