diff options
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500-sdi.c')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-sdi.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c index 1ae5999c45db..26600a1c5319 100644 --- a/arch/arm/mach-ux500/board-mop500-sdi.c +++ b/arch/arm/mach-ux500/board-mop500-sdi.c | |||
@@ -65,12 +65,6 @@ struct mmci_platform_data mop500_sdi0_data = { | |||
65 | #endif | 65 | #endif |
66 | }; | 66 | }; |
67 | 67 | ||
68 | static void sdi0_configure(struct device *parent) | ||
69 | { | ||
70 | /* Add the device, force v2 to subrevision 1 */ | ||
71 | db8500_add_sdi0(parent, &mop500_sdi0_data, U8500_SDI_V2_PERIPHID); | ||
72 | } | ||
73 | |||
74 | /* | 68 | /* |
75 | * SDI1 (SDIO WLAN) | 69 | * SDI1 (SDIO WLAN) |
76 | */ | 70 | */ |
@@ -172,36 +166,3 @@ struct mmci_platform_data mop500_sdi4_data = { | |||
172 | .dma_tx_param = &mop500_sdi4_dma_cfg_tx, | 166 | .dma_tx_param = &mop500_sdi4_dma_cfg_tx, |
173 | #endif | 167 | #endif |
174 | }; | 168 | }; |
175 | |||
176 | void __init mop500_sdi_init(struct device *parent) | ||
177 | { | ||
178 | /* PoP:ed eMMC */ | ||
179 | db8500_add_sdi2(parent, &mop500_sdi2_data, U8500_SDI_V2_PERIPHID); | ||
180 | /* On-board eMMC */ | ||
181 | db8500_add_sdi4(parent, &mop500_sdi4_data, U8500_SDI_V2_PERIPHID); | ||
182 | } | ||
183 | |||
184 | void __init snowball_sdi_init(struct device *parent) | ||
185 | { | ||
186 | /* On Snowball MMC_CAP_SD_HIGHSPEED isn't supported (Hardware issue?) */ | ||
187 | mop500_sdi0_data.capabilities &= ~MMC_CAP_SD_HIGHSPEED; | ||
188 | /* On-board eMMC */ | ||
189 | db8500_add_sdi4(parent, &mop500_sdi4_data, U8500_SDI_V2_PERIPHID); | ||
190 | /* External Micro SD slot */ | ||
191 | mop500_sdi0_data.gpio_cd = SNOWBALL_SDMMC_CD_GPIO; | ||
192 | mop500_sdi0_data.cd_invert = true; | ||
193 | sdi0_configure(parent); | ||
194 | } | ||
195 | |||
196 | void __init hrefv60_sdi_init(struct device *parent) | ||
197 | { | ||
198 | /* PoP:ed eMMC */ | ||
199 | db8500_add_sdi2(parent, &mop500_sdi2_data, U8500_SDI_V2_PERIPHID); | ||
200 | /* On-board eMMC */ | ||
201 | db8500_add_sdi4(parent, &mop500_sdi4_data, U8500_SDI_V2_PERIPHID); | ||
202 | /* External Micro SD slot */ | ||
203 | mop500_sdi0_data.gpio_cd = HREFV60_SDMMC_CD_GPIO; | ||
204 | sdi0_configure(parent); | ||
205 | /* WLAN SDIO channel */ | ||
206 | db8500_add_sdi1(parent, &mop500_sdi1_data, U8500_SDI_V2_PERIPHID); | ||
207 | } | ||