diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-12 04:11:42 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-19 15:54:35 -0500 |
commit | a528bc87841d958bbd394abc9266aee9cdf45cb8 (patch) | |
tree | 8d2d654a564e10aba023ae0a793357d3de5559fe /arch/arm/plat-mxc/devices/platform-imx-dma.c | |
parent | 86f8efdaab49f5710f0aa3a3c1d76edc1d3d0df9 (diff) |
ARM: mx3: introduce SOC_IMX31 and SOC_IMX35
Additionally convert some known to be good usages to the new
names.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/devices/platform-imx-dma.c')
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-imx-dma.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx-dma.c b/arch/arm/plat-mxc/devices/platform-imx-dma.c index cbafd9311d0d..10f41ccf4146 100644 --- a/arch/arm/plat-mxc/devices/platform-imx-dma.c +++ b/arch/arm/plat-mxc/devices/platform-imx-dma.c | |||
@@ -44,15 +44,15 @@ const struct imx_imx_sdma_data imx25_imx_sdma_data __initconst = | |||
44 | imx_imx_sdma_data_entry_single(MX25, 1, "imx25", 0); | 44 | imx_imx_sdma_data_entry_single(MX25, 1, "imx25", 0); |
45 | #endif /* ifdef CONFIG_SOC_IMX25 */ | 45 | #endif /* ifdef CONFIG_SOC_IMX25 */ |
46 | 46 | ||
47 | #ifdef CONFIG_ARCH_MX31 | 47 | #ifdef CONFIG_SOC_IMX31 |
48 | struct imx_imx_sdma_data imx31_imx_sdma_data __initdata = | 48 | struct imx_imx_sdma_data imx31_imx_sdma_data __initdata = |
49 | imx_imx_sdma_data_entry_single(MX31, 1, "imx31", 0); | 49 | imx_imx_sdma_data_entry_single(MX31, 1, "imx31", 0); |
50 | #endif /* ifdef CONFIG_ARCH_MX31 */ | 50 | #endif /* ifdef CONFIG_SOC_IMX31 */ |
51 | 51 | ||
52 | #ifdef CONFIG_ARCH_MX35 | 52 | #ifdef CONFIG_SOC_IMX35 |
53 | struct imx_imx_sdma_data imx35_imx_sdma_data __initdata = | 53 | struct imx_imx_sdma_data imx35_imx_sdma_data __initdata = |
54 | imx_imx_sdma_data_entry_single(MX35, 2, "imx35", 0); | 54 | imx_imx_sdma_data_entry_single(MX35, 2, "imx35", 0); |
55 | #endif /* ifdef CONFIG_ARCH_MX35 */ | 55 | #endif /* ifdef CONFIG_SOC_IMX35 */ |
56 | 56 | ||
57 | #ifdef CONFIG_ARCH_MX51 | 57 | #ifdef CONFIG_ARCH_MX51 |
58 | const struct imx_imx_sdma_data imx51_imx_sdma_data __initconst = | 58 | const struct imx_imx_sdma_data imx51_imx_sdma_data __initconst = |
@@ -100,14 +100,14 @@ static int __init imxXX_add_imx_dma(void) | |||
100 | else | 100 | else |
101 | #endif | 101 | #endif |
102 | 102 | ||
103 | #if defined(CONFIG_ARCH_MX31) | 103 | #if defined(CONFIG_SOC_IMX31) |
104 | if (cpu_is_mx31()) { | 104 | if (cpu_is_mx31()) { |
105 | imx31_imx_sdma_data.pdata.to_version = mx31_revision() >> 4; | 105 | imx31_imx_sdma_data.pdata.to_version = mx31_revision() >> 4; |
106 | ret = imx_add_imx_sdma(&imx31_imx_sdma_data); | 106 | ret = imx_add_imx_sdma(&imx31_imx_sdma_data); |
107 | } else | 107 | } else |
108 | #endif | 108 | #endif |
109 | 109 | ||
110 | #if defined(CONFIG_ARCH_MX35) | 110 | #if defined(CONFIG_SOC_IMX35) |
111 | if (cpu_is_mx35()) { | 111 | if (cpu_is_mx35()) { |
112 | imx35_imx_sdma_data.pdata.to_version = mx35_revision() >> 4; | 112 | imx35_imx_sdma_data.pdata.to_version = mx35_revision() >> 4; |
113 | ret = imx_add_imx_sdma(&imx35_imx_sdma_data); | 113 | ret = imx_add_imx_sdma(&imx35_imx_sdma_data); |