diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2011-03-03 03:40:03 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-07 13:29:43 -0500 |
commit | c23eb89ef71cda127cfcfee84292cb2fb5747d4d (patch) | |
tree | 0b4a9d7f9a5cec64d6a59b33f3c0913b7a5c6c2e | |
parent | 76851671287209759f63c090ffaffca56ba00358 (diff) |
ARM: imx3x: clean up ARCH_MX3X
Move to SOC_SOC_IMX3X.
Leave ARCH_MX31/35 definitions there, in case some place prevent multi-soc
single image.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mm/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-imx-dma.c | 4 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mxc.h | 4 | ||||
-rw-r--r-- | drivers/net/Kconfig | 2 | ||||
-rw-r--r-- | drivers/spi/Kconfig | 4 | ||||
-rw-r--r-- | drivers/usb/gadget/fsl_mxc_udc.c | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 9d30c6f804b..0a4aa179533 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -811,7 +811,7 @@ config CACHE_FEROCEON_L2_WRITETHROUGH | |||
811 | config CACHE_L2X0 | 811 | config CACHE_L2X0 |
812 | bool "Enable the L2x0 outer cache controller" | 812 | bool "Enable the L2x0 outer cache controller" |
813 | depends on REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176 || \ | 813 | depends on REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176 || \ |
814 | REALVIEW_EB_A9MP || ARCH_MX35 || ARCH_MX31 || MACH_REALVIEW_PBX || \ | 814 | REALVIEW_EB_A9MP || SOC_IMX35 || SOC_IMX31 || MACH_REALVIEW_PBX || \ |
815 | ARCH_NOMADIK || ARCH_OMAP4 || ARCH_S5PV310 || ARCH_TEGRA || \ | 815 | ARCH_NOMADIK || ARCH_OMAP4 || ARCH_S5PV310 || ARCH_TEGRA || \ |
816 | ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || ARCH_SHMOBILE | 816 | ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || ARCH_SHMOBILE |
817 | default y | 817 | default y |
diff --git a/arch/arm/plat-mxc/devices/platform-imx-dma.c b/arch/arm/plat-mxc/devices/platform-imx-dma.c index be7df13ad23..3538b85ede9 100644 --- a/arch/arm/plat-mxc/devices/platform-imx-dma.c +++ b/arch/arm/plat-mxc/devices/platform-imx-dma.c | |||
@@ -94,7 +94,7 @@ static struct sdma_script_start_addrs addr_imx25_to1 = { | |||
94 | }; | 94 | }; |
95 | #endif | 95 | #endif |
96 | 96 | ||
97 | #ifdef CONFIG_ARCH_MX31 | 97 | #ifdef CONFIG_SOC_IMX31 |
98 | static struct sdma_script_start_addrs addr_imx31_to1 = { | 98 | static struct sdma_script_start_addrs addr_imx31_to1 = { |
99 | .per_2_per_addr = 1677, | 99 | .per_2_per_addr = 1677, |
100 | }; | 100 | }; |
@@ -106,7 +106,7 @@ static struct sdma_script_start_addrs addr_imx31_to2 = { | |||
106 | }; | 106 | }; |
107 | #endif | 107 | #endif |
108 | 108 | ||
109 | #ifdef CONFIG_ARCH_MX35 | 109 | #ifdef CONFIG_SOC_IMX35 |
110 | static struct sdma_script_start_addrs addr_imx35_to1 = { | 110 | static struct sdma_script_start_addrs addr_imx35_to1 = { |
111 | .ap_2_ap_addr = 642, | 111 | .ap_2_ap_addr = 642, |
112 | .uart_2_mcu_addr = 817, | 112 | .uart_2_mcu_addr = 817, |
diff --git a/arch/arm/plat-mxc/include/mach/mxc.h b/arch/arm/plat-mxc/include/mach/mxc.h index 3781f2f2425..7e072637eef 100644 --- a/arch/arm/plat-mxc/include/mach/mxc.h +++ b/arch/arm/plat-mxc/include/mach/mxc.h | |||
@@ -103,7 +103,7 @@ extern unsigned int __mxc_cpu_type; | |||
103 | # define cpu_is_mx27() (0) | 103 | # define cpu_is_mx27() (0) |
104 | #endif | 104 | #endif |
105 | 105 | ||
106 | #ifdef CONFIG_ARCH_MX31 | 106 | #ifdef CONFIG_SOC_IMX31 |
107 | # ifdef mxc_cpu_type | 107 | # ifdef mxc_cpu_type |
108 | # undef mxc_cpu_type | 108 | # undef mxc_cpu_type |
109 | # define mxc_cpu_type __mxc_cpu_type | 109 | # define mxc_cpu_type __mxc_cpu_type |
@@ -115,7 +115,7 @@ extern unsigned int __mxc_cpu_type; | |||
115 | # define cpu_is_mx31() (0) | 115 | # define cpu_is_mx31() (0) |
116 | #endif | 116 | #endif |
117 | 117 | ||
118 | #ifdef CONFIG_ARCH_MX35 | 118 | #ifdef CONFIG_SOC_IMX35 |
119 | # ifdef mxc_cpu_type | 119 | # ifdef mxc_cpu_type |
120 | # undef mxc_cpu_type | 120 | # undef mxc_cpu_type |
121 | # define mxc_cpu_type __mxc_cpu_type | 121 | # define mxc_cpu_type __mxc_cpu_type |
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 03823327db2..9928115496e 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1944,7 +1944,7 @@ config 68360_ENET | |||
1944 | config FEC | 1944 | config FEC |
1945 | bool "FEC ethernet controller (of ColdFire and some i.MX CPUs)" | 1945 | bool "FEC ethernet controller (of ColdFire and some i.MX CPUs)" |
1946 | depends on M523x || M527x || M5272 || M528x || M520x || M532x || \ | 1946 | depends on M523x || M527x || M5272 || M528x || M520x || M532x || \ |
1947 | MACH_MX27 || ARCH_MX35 || ARCH_MX25 || ARCH_MX5 || SOC_IMX28 | 1947 | IMX_HAVE_PLATFORM_FEC || SOC_IMX28 |
1948 | select PHYLIB | 1948 | select PHYLIB |
1949 | help | 1949 | help |
1950 | Say Y here if you want to use the built-in 10/100 Fast ethernet | 1950 | Say Y here if you want to use the built-in 10/100 Fast ethernet |
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 9f9d3f7859f..bd9dad5e1b8 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -161,10 +161,10 @@ config SPI_IMX_VER_0_0 | |||
161 | def_bool y if SOC_IMX21 || SOC_IMX27 | 161 | def_bool y if SOC_IMX21 || SOC_IMX27 |
162 | 162 | ||
163 | config SPI_IMX_VER_0_4 | 163 | config SPI_IMX_VER_0_4 |
164 | def_bool y if ARCH_MX31 | 164 | def_bool y if SOC_MX31 |
165 | 165 | ||
166 | config SPI_IMX_VER_0_7 | 166 | config SPI_IMX_VER_0_7 |
167 | def_bool y if ARCH_MX25 || ARCH_MX35 || SOC_IMX51 || SOC_IMX53 | 167 | def_bool y if ARCH_MX25 || SOC_IMX35 || SOC_IMX51 || SOC_IMX53 |
168 | 168 | ||
169 | config SPI_IMX_VER_2_3 | 169 | config SPI_IMX_VER_2_3 |
170 | def_bool y if SOC_IMX51 || SOC_IMX53 | 170 | def_bool y if SOC_IMX51 || SOC_IMX53 |
diff --git a/drivers/usb/gadget/fsl_mxc_udc.c b/drivers/usb/gadget/fsl_mxc_udc.c index 77b1eb57702..834fe945f9d 100644 --- a/drivers/usb/gadget/fsl_mxc_udc.c +++ b/drivers/usb/gadget/fsl_mxc_udc.c | |||
@@ -88,7 +88,7 @@ eenahb: | |||
88 | void fsl_udc_clk_finalize(struct platform_device *pdev) | 88 | void fsl_udc_clk_finalize(struct platform_device *pdev) |
89 | { | 89 | { |
90 | struct fsl_usb2_platform_data *pdata = pdev->dev.platform_data; | 90 | struct fsl_usb2_platform_data *pdata = pdev->dev.platform_data; |
91 | #if defined(CONFIG_ARCH_MX35) | 91 | #if defined(CONFIG_SOC_IMX35) |
92 | unsigned int v; | 92 | unsigned int v; |
93 | 93 | ||
94 | /* workaround ENGcm09152 for i.MX35 */ | 94 | /* workaround ENGcm09152 for i.MX35 */ |