diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2016-08-06 00:56:26 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-08-09 10:47:29 -0400 |
commit | 9a008da21f5ecf5b3c8345a2dfb91c7e95958935 (patch) | |
tree | 9127e04f68d5d7839026e90e73c38615865ec513 | |
parent | e1291cffcc509e790f46f1af6fec13eb8d44d5bb (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_defconfig | 1 | ||||
-rw-r--r-- | arch/arm/configs/multi_v4t_defconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 31 | ||||
-rw-r--r-- | arch/arm/mach-imx/Makefile | 4 | ||||
-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 | |||
28 | CONFIG_MACH_IMX27_VISSTRIM_M10=y | 28 | CONFIG_MACH_IMX27_VISSTRIM_M10=y |
29 | CONFIG_MACH_PCA100=y | 29 | CONFIG_MACH_PCA100=y |
30 | CONFIG_MACH_IMX27_DT=y | 30 | CONFIG_MACH_IMX27_DT=y |
31 | CONFIG_SOC_IMX1=y | ||
31 | CONFIG_SOC_IMX25=y | 32 | CONFIG_SOC_IMX25=y |
32 | CONFIG_PREEMPT=y | 33 | CONFIG_PREEMPT=y |
33 | CONFIG_AEABI=y | 34 | CONFIG_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 | |||
20 | CONFIG_INTEGRATOR_CM920T=y | 20 | CONFIG_INTEGRATOR_CM920T=y |
21 | CONFIG_INTEGRATOR_CM922T_XA10=y | 21 | CONFIG_INTEGRATOR_CM922T_XA10=y |
22 | CONFIG_ARCH_MXC=y | 22 | CONFIG_ARCH_MXC=y |
23 | CONFIG_MACH_IMX1_DT=y | 23 | CONFIG_SOC_IMX1=y |
24 | CONFIG_ARCH_NSPIRE=y | 24 | CONFIG_ARCH_NSPIRE=y |
25 | CONFIG_AEABI=y | 25 | CONFIG_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 | |||
64 | config ARCH_MXC_IOMUX_V3 | 64 | config ARCH_MXC_IOMUX_V3 |
65 | bool | 65 | bool |
66 | 66 | ||
67 | config SOC_IMX1 | ||
68 | bool | ||
69 | select CPU_ARM920T | ||
70 | select MXC_AVIC | ||
71 | select PINCTRL_IMX1 | ||
72 | |||
73 | config SOC_IMX21 | 67 | config 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 | ||
100 | if ARCH_MULTI_V4T | ||
101 | |||
102 | comment "MX1 platforms:" | ||
103 | |||
104 | config 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 | |||
111 | endif | ||
112 | |||
113 | if ARCH_MULTI_V5 | 94 | if ARCH_MULTI_V5 |
114 | 95 | ||
115 | comment "MX21 platforms:" | 96 | comment "MX21 platforms:" |
@@ -445,6 +426,18 @@ endif | |||
445 | 426 | ||
446 | comment "Device tree only" | 427 | comment "Device tree only" |
447 | 428 | ||
429 | if ARCH_MULTI_V4T | ||
430 | |||
431 | config 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 | |||
439 | endif | ||
440 | |||
448 | if ARCH_MULTI_V5 | 441 | if ARCH_MULTI_V5 |
449 | 442 | ||
450 | config SOC_IMX25 | 443 | config 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 | |||
34 | obj-y += ssi-fiq-ksym.o | 34 | obj-y += ssi-fiq-ksym.o |
35 | endif | 35 | endif |
36 | 36 | ||
37 | # i.MX1 based machines | ||
38 | obj-$(CONFIG_MACH_IMX1_DT) += imx1-dt.o | ||
39 | |||
40 | # i.MX21 based machines | 37 | # i.MX21 based machines |
41 | obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o | 38 | obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o |
42 | 39 | ||
@@ -90,6 +87,7 @@ obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o | |||
90 | endif | 87 | endif |
91 | obj-$(CONFIG_SOC_IMX6) += pm-imx6.o | 88 | obj-$(CONFIG_SOC_IMX6) += pm-imx6.o |
92 | 89 | ||
90 | obj-$(CONFIG_SOC_IMX1) += mach-imx1.o | ||
93 | obj-$(CONFIG_SOC_IMX50) += mach-imx50.o | 91 | obj-$(CONFIG_SOC_IMX50) += mach-imx50.o |
94 | obj-$(CONFIG_SOC_IMX51) += mach-imx51.o | 92 | obj-$(CONFIG_SOC_IMX51) += mach-imx51.o |
95 | obj-$(CONFIG_SOC_IMX53) += mach-imx53.o | 93 | obj-$(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 | |||