aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/configs/imx_v4_v5_defconfig2
-rw-r--r--arch/arm/configs/multi_v5_defconfig2
-rw-r--r--arch/arm/mach-imx/Kconfig28
-rw-r--r--arch/arm/mach-imx/Makefile5
-rw-r--r--arch/arm/mach-imx/mach-imx25.c (renamed from arch/arm/mach-imx/imx25-dt.c)0
5 files changed, 17 insertions, 20 deletions
diff --git a/arch/arm/configs/imx_v4_v5_defconfig b/arch/arm/configs/imx_v4_v5_defconfig
index e6b0007355f8..b9596170fe0a 100644
--- a/arch/arm/configs/imx_v4_v5_defconfig
+++ b/arch/arm/configs/imx_v4_v5_defconfig
@@ -26,7 +26,7 @@ CONFIG_MACH_APF9328=y
26CONFIG_MACH_MX21ADS=y 26CONFIG_MACH_MX21ADS=y
27CONFIG_MACH_MX25_3DS=y 27CONFIG_MACH_MX25_3DS=y
28CONFIG_MACH_EUKREA_CPUIMX25SD=y 28CONFIG_MACH_EUKREA_CPUIMX25SD=y
29CONFIG_MACH_IMX25_DT=y 29CONFIG_SOC_IMX25=y
30CONFIG_MACH_MX27ADS=y 30CONFIG_MACH_MX27ADS=y
31CONFIG_MACH_MX27_3DS=y 31CONFIG_MACH_MX27_3DS=y
32CONFIG_MACH_IMX27_VISSTRIM_M10=y 32CONFIG_MACH_IMX27_VISSTRIM_M10=y
diff --git a/arch/arm/configs/multi_v5_defconfig b/arch/arm/configs/multi_v5_defconfig
index 9d56781a8f80..f69a459f4f92 100644
--- a/arch/arm/configs/multi_v5_defconfig
+++ b/arch/arm/configs/multi_v5_defconfig
@@ -13,7 +13,7 @@ CONFIG_ARCH_MVEBU=y
13CONFIG_MACH_KIRKWOOD=y 13CONFIG_MACH_KIRKWOOD=y
14CONFIG_MACH_NETXBIG=y 14CONFIG_MACH_NETXBIG=y
15CONFIG_ARCH_MXC=y 15CONFIG_ARCH_MXC=y
16CONFIG_MACH_IMX25_DT=y 16CONFIG_SOC_IMX25=y
17CONFIG_MACH_IMX27_DT=y 17CONFIG_MACH_IMX27_DT=y
18CONFIG_ARCH_U300=y 18CONFIG_ARCH_U300=y
19CONFIG_PCI_MVEBU=y 19CONFIG_PCI_MVEBU=y
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 6eec6253d94d..ddbb4b837fea 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -77,13 +77,6 @@ config SOC_IMX21
77 select IMX_HAVE_IOMUX_V1 77 select IMX_HAVE_IOMUX_V1
78 select MXC_AVIC 78 select MXC_AVIC
79 79
80config SOC_IMX25
81 bool
82 select ARCH_MXC_IOMUX_V3
83 select CPU_ARM926T
84 select MXC_AVIC
85 select PINCTRL_IMX25
86
87config SOC_IMX27 80config SOC_IMX27
88 bool 81 bool
89 select CPU_ARM926T 82 select CPU_ARM926T
@@ -149,13 +142,6 @@ config MACH_MX21ADS
149 Include support for MX21ADS platform. This includes specific 142 Include support for MX21ADS platform. This includes specific
150 configurations for the board and its peripherals. 143 configurations for the board and its peripherals.
151 144
152config MACH_IMX25_DT
153 bool "Support i.MX25 platforms from device tree"
154 select SOC_IMX25
155 help
156 Include support for Freescale i.MX25 based platforms
157 using the device tree for discovery
158
159comment "MX27 platforms:" 145comment "MX27 platforms:"
160 146
161config MACH_MX27ADS 147config MACH_MX27ADS
@@ -508,6 +494,20 @@ config MACH_VPR200
508 494
509endif 495endif
510 496
497if ARCH_MULTI_V5
498
499comment "Device tree only"
500
501config SOC_IMX25
502 bool "i.MX25 support"
503 select ARCH_MXC_IOMUX_V3
504 select CPU_ARM926T
505 select MXC_AVIC
506 select PINCTRL_IMX25
507 help
508 This enables support for Freescale i.MX25 processor
509endif
510
511if ARCH_MULTI_V7 511if ARCH_MULTI_V7
512 512
513comment "Device tree only" 513comment "Device tree only"
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 724b7fbe417b..45f183a47cda 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -3,7 +3,7 @@ obj-y := time.o cpu.o system.o irq-common.o
3obj-$(CONFIG_SOC_IMX1) += clk-imx1.o mm-imx1.o 3obj-$(CONFIG_SOC_IMX1) += clk-imx1.o mm-imx1.o
4obj-$(CONFIG_SOC_IMX21) += clk-imx21.o mm-imx21.o 4obj-$(CONFIG_SOC_IMX21) += clk-imx21.o mm-imx21.o
5 5
6obj-$(CONFIG_SOC_IMX25) += clk-imx25.o mm-imx25.o ehci-imx25.o cpu-imx25.o 6obj-$(CONFIG_SOC_IMX25) += clk-imx25.o mm-imx25.o ehci-imx25.o cpu-imx25.o mach-imx25.o
7 7
8obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o 8obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o
9obj-$(CONFIG_SOC_IMX27) += clk-imx27.o mm-imx27.o ehci-imx27.o 9obj-$(CONFIG_SOC_IMX27) += clk-imx27.o mm-imx27.o ehci-imx27.o
@@ -48,9 +48,6 @@ obj-$(CONFIG_MACH_IMX1_DT) += imx1-dt.o
48# i.MX21 based machines 48# i.MX21 based machines
49obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o 49obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
50 50
51# i.MX25 based machines
52obj-$(CONFIG_MACH_IMX25_DT) += imx25-dt.o
53
54# i.MX27 based machines 51# i.MX27 based machines
55obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o 52obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
56obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o 53obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
diff --git a/arch/arm/mach-imx/imx25-dt.c b/arch/arm/mach-imx/mach-imx25.c
index 25defbdb06c4..25defbdb06c4 100644
--- a/arch/arm/mach-imx/imx25-dt.c
+++ b/arch/arm/mach-imx/mach-imx25.c