diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-24 02:54:04 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-24 03:24:50 -0400 |
commit | 7409cd1cd554a0bdedfecf2afde58ff468b7045e (patch) | |
tree | c2c1c4327a569e1e9cfcd0220364c673d0dd4250 /arch/arm/plat-mxc | |
parent | ae4fa7f66e542ef5c7662ceabfaaa33283eb4216 (diff) |
ARM i.MX: allow to compile together all i.MX5 based SoCs
For this we need CONFIG_AUTO_ZRELADDR and CONFIG_ARM_PATCH_PHYS_VIRT.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r-- | arch/arm/plat-mxc/Kconfig | 20 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/memory.h | 6 |
2 files changed, 4 insertions, 22 deletions
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 | ||
5 | menu "Freescale MXC Implementations" | 5 | menu "Freescale MXC Implementations" |
6 | 6 | ||
7 | config ARCH_MX50_SUPPORTED | ||
8 | bool | ||
9 | |||
10 | config ARCH_MX53_SUPPORTED | ||
11 | bool | ||
12 | |||
13 | choice | 7 | choice |
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 | ||
30 | config ARCH_MX503 | 24 | config 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 | ||
38 | config 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 | |||
44 | endchoice | 32 | endchoice |
45 | 33 | ||
46 | source "arch/arm/mach-imx/Kconfig" | 34 | source "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 | ||