aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2016-08-06 00:56:26 -0400
committerShawn Guo <shawnguo@kernel.org>2016-08-09 10:47:29 -0400
commit9a008da21f5ecf5b3c8345a2dfb91c7e95958935 (patch)
tree9127e04f68d5d7839026e90e73c38615865ec513
parente1291cffcc509e790f46f1af6fec13eb8d44d5bb (diff)
ARM: i.MX: Move SOC_IMX1 into 'Device tree only'
This patch moves SOC_IMX1 into 'Device tree only' category and renames imx1-dt.c to mach-imx1.c to align with the name schema of other i.MX DT only platforms. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm/configs/imx_v4_v5_defconfig1
-rw-r--r--arch/arm/configs/multi_v4t_defconfig2
-rw-r--r--arch/arm/mach-imx/Kconfig31
-rw-r--r--arch/arm/mach-imx/Makefile4
-rw-r--r--arch/arm/mach-imx/mach-imx1.c (renamed from arch/arm/mach-imx/imx1-dt.c)0
5 files changed, 15 insertions, 23 deletions
diff --git a/arch/arm/configs/imx_v4_v5_defconfig b/arch/arm/configs/imx_v4_v5_defconfig
index e70032cc4669..5f013c9fc1ed 100644
--- a/arch/arm/configs/imx_v4_v5_defconfig
+++ b/arch/arm/configs/imx_v4_v5_defconfig
@@ -28,6 +28,7 @@ CONFIG_MACH_MX27_3DS=y
28CONFIG_MACH_IMX27_VISSTRIM_M10=y 28CONFIG_MACH_IMX27_VISSTRIM_M10=y
29CONFIG_MACH_PCA100=y 29CONFIG_MACH_PCA100=y
30CONFIG_MACH_IMX27_DT=y 30CONFIG_MACH_IMX27_DT=y
31CONFIG_SOC_IMX1=y
31CONFIG_SOC_IMX25=y 32CONFIG_SOC_IMX25=y
32CONFIG_PREEMPT=y 33CONFIG_PREEMPT=y
33CONFIG_AEABI=y 34CONFIG_AEABI=y
diff --git a/arch/arm/configs/multi_v4t_defconfig b/arch/arm/configs/multi_v4t_defconfig
index 141492a7ebc0..9a6390c172d6 100644
--- a/arch/arm/configs/multi_v4t_defconfig
+++ b/arch/arm/configs/multi_v4t_defconfig
@@ -20,7 +20,7 @@ CONFIG_INTEGRATOR_CM720T=y
20CONFIG_INTEGRATOR_CM920T=y 20CONFIG_INTEGRATOR_CM920T=y
21CONFIG_INTEGRATOR_CM922T_XA10=y 21CONFIG_INTEGRATOR_CM922T_XA10=y
22CONFIG_ARCH_MXC=y 22CONFIG_ARCH_MXC=y
23CONFIG_MACH_IMX1_DT=y 23CONFIG_SOC_IMX1=y
24CONFIG_ARCH_NSPIRE=y 24CONFIG_ARCH_NSPIRE=y
25CONFIG_AEABI=y 25CONFIG_AEABI=y
26# CONFIG_ATAGS is not set 26# CONFIG_ATAGS is not set
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index ca7db3293a4f..9da32847a43b 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -64,12 +64,6 @@ config IMX_HAVE_IOMUX_V1
64config ARCH_MXC_IOMUX_V3 64config ARCH_MXC_IOMUX_V3
65 bool 65 bool
66 66
67config SOC_IMX1
68 bool
69 select CPU_ARM920T
70 select MXC_AVIC
71 select PINCTRL_IMX1
72
73config SOC_IMX21 67config SOC_IMX21
74 bool 68 bool
75 select CPU_ARM926T 69 select CPU_ARM926T
@@ -97,19 +91,6 @@ config SOC_IMX35
97 select PINCTRL_IMX35 91 select PINCTRL_IMX35
98 select SMP_ON_UP if SMP 92 select SMP_ON_UP if SMP
99 93
100if ARCH_MULTI_V4T
101
102comment "MX1 platforms:"
103
104config MACH_IMX1_DT
105 bool "Support i.MX1 platforms from device tree"
106 select SOC_IMX1
107 help
108 Include support for Freescale i.MX1 based platforms
109 using the device tree for discovery.
110
111endif
112
113if ARCH_MULTI_V5 94if ARCH_MULTI_V5
114 95
115comment "MX21 platforms:" 96comment "MX21 platforms:"
@@ -445,6 +426,18 @@ endif
445 426
446comment "Device tree only" 427comment "Device tree only"
447 428
429if ARCH_MULTI_V4T
430
431config SOC_IMX1
432 bool "i.MX1 support"
433 select CPU_ARM920T
434 select MXC_AVIC
435 select PINCTRL_IMX1
436 help
437 This enables support for Freescale i.MX1 processor
438
439endif
440
448if ARCH_MULTI_V5 441if ARCH_MULTI_V5
449 442
450config SOC_IMX25 443config SOC_IMX25
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 3fa087d5edf1..2636adfcb999 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -34,9 +34,6 @@ obj-y += ssi-fiq.o
34obj-y += ssi-fiq-ksym.o 34obj-y += ssi-fiq-ksym.o
35endif 35endif
36 36
37# i.MX1 based machines
38obj-$(CONFIG_MACH_IMX1_DT) += imx1-dt.o
39
40# i.MX21 based machines 37# i.MX21 based machines
41obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o 38obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
42 39
@@ -90,6 +87,7 @@ obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
90endif 87endif
91obj-$(CONFIG_SOC_IMX6) += pm-imx6.o 88obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
92 89
90obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
93obj-$(CONFIG_SOC_IMX50) += mach-imx50.o 91obj-$(CONFIG_SOC_IMX50) += mach-imx50.o
94obj-$(CONFIG_SOC_IMX51) += mach-imx51.o 92obj-$(CONFIG_SOC_IMX51) += mach-imx51.o
95obj-$(CONFIG_SOC_IMX53) += mach-imx53.o 93obj-$(CONFIG_SOC_IMX53) += mach-imx53.o
diff --git a/arch/arm/mach-imx/imx1-dt.c b/arch/arm/mach-imx/mach-imx1.c
index de5ab8d88549..de5ab8d88549 100644
--- a/arch/arm/mach-imx/imx1-dt.c
+++ b/arch/arm/mach-imx/mach-imx1.c