diff options
Diffstat (limited to 'arch/arm/plat-mxc/devices/platform-spi_imx.c')
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-spi_imx.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-spi_imx.c b/arch/arm/plat-mxc/devices/platform-spi_imx.c index f97eb3615b2c..9bfae8bd5b8d 100644 --- a/arch/arm/plat-mxc/devices/platform-spi_imx.c +++ b/arch/arm/plat-mxc/devices/platform-spi_imx.c | |||
@@ -40,9 +40,10 @@ const struct imx_spi_imx_data imx21_cspi_data[] __initconst = { | |||
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | #ifdef CONFIG_SOC_IMX25 | 42 | #ifdef CONFIG_SOC_IMX25 |
43 | /* i.mx25 has the i.mx35 type cspi */ | ||
43 | const struct imx_spi_imx_data imx25_cspi_data[] __initconst = { | 44 | const struct imx_spi_imx_data imx25_cspi_data[] __initconst = { |
44 | #define imx25_cspi_data_entry(_id, _hwid) \ | 45 | #define imx25_cspi_data_entry(_id, _hwid) \ |
45 | imx_spi_imx_data_entry(MX25, CSPI, "imx25-cspi", _id, _hwid, SZ_16K) | 46 | imx_spi_imx_data_entry(MX25, CSPI, "imx35-cspi", _id, _hwid, SZ_16K) |
46 | imx25_cspi_data_entry(0, 1), | 47 | imx25_cspi_data_entry(0, 1), |
47 | imx25_cspi_data_entry(1, 2), | 48 | imx25_cspi_data_entry(1, 2), |
48 | imx25_cspi_data_entry(2, 3), | 49 | imx25_cspi_data_entry(2, 3), |
@@ -79,8 +80,9 @@ const struct imx_spi_imx_data imx35_cspi_data[] __initconst = { | |||
79 | #endif /* ifdef CONFIG_SOC_IMX35 */ | 80 | #endif /* ifdef CONFIG_SOC_IMX35 */ |
80 | 81 | ||
81 | #ifdef CONFIG_SOC_IMX51 | 82 | #ifdef CONFIG_SOC_IMX51 |
83 | /* i.mx51 has the i.mx35 type cspi */ | ||
82 | const struct imx_spi_imx_data imx51_cspi_data __initconst = | 84 | const struct imx_spi_imx_data imx51_cspi_data __initconst = |
83 | imx_spi_imx_data_entry_single(MX51, CSPI, "imx51-cspi", 2, , SZ_4K); | 85 | imx_spi_imx_data_entry_single(MX51, CSPI, "imx35-cspi", 2, , SZ_4K); |
84 | 86 | ||
85 | const struct imx_spi_imx_data imx51_ecspi_data[] __initconst = { | 87 | const struct imx_spi_imx_data imx51_ecspi_data[] __initconst = { |
86 | #define imx51_ecspi_data_entry(_id, _hwid) \ | 88 | #define imx51_ecspi_data_entry(_id, _hwid) \ |
@@ -91,12 +93,14 @@ const struct imx_spi_imx_data imx51_ecspi_data[] __initconst = { | |||
91 | #endif /* ifdef CONFIG_SOC_IMX51 */ | 93 | #endif /* ifdef CONFIG_SOC_IMX51 */ |
92 | 94 | ||
93 | #ifdef CONFIG_SOC_IMX53 | 95 | #ifdef CONFIG_SOC_IMX53 |
96 | /* i.mx53 has the i.mx35 type cspi */ | ||
94 | const struct imx_spi_imx_data imx53_cspi_data __initconst = | 97 | const struct imx_spi_imx_data imx53_cspi_data __initconst = |
95 | imx_spi_imx_data_entry_single(MX53, CSPI, "imx53-cspi", 0, , SZ_4K); | 98 | imx_spi_imx_data_entry_single(MX53, CSPI, "imx35-cspi", 0, , SZ_4K); |
96 | 99 | ||
100 | /* i.mx53 has the i.mx51 type ecspi */ | ||
97 | const struct imx_spi_imx_data imx53_ecspi_data[] __initconst = { | 101 | const struct imx_spi_imx_data imx53_ecspi_data[] __initconst = { |
98 | #define imx53_ecspi_data_entry(_id, _hwid) \ | 102 | #define imx53_ecspi_data_entry(_id, _hwid) \ |
99 | imx_spi_imx_data_entry(MX53, ECSPI, "imx53-ecspi", _id, _hwid, SZ_4K) | 103 | imx_spi_imx_data_entry(MX53, ECSPI, "imx51-ecspi", _id, _hwid, SZ_4K) |
100 | imx53_ecspi_data_entry(0, 1), | 104 | imx53_ecspi_data_entry(0, 1), |
101 | imx53_ecspi_data_entry(1, 2), | 105 | imx53_ecspi_data_entry(1, 2), |
102 | }; | 106 | }; |