diff options
Diffstat (limited to 'arch/blackfin/mach-bf518')
-rw-r--r-- | arch/blackfin/mach-bf518/boards/ezbrd.c | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/arch/blackfin/mach-bf518/boards/ezbrd.c b/arch/blackfin/mach-bf518/boards/ezbrd.c index b044de49ecf0..41f2eacfef20 100644 --- a/arch/blackfin/mach-bf518/boards/ezbrd.c +++ b/arch/blackfin/mach-bf518/boards/ezbrd.c | |||
@@ -182,9 +182,9 @@ static struct bfin5xx_spi_chip spi_switch_info = { | |||
182 | #endif | 182 | #endif |
183 | #endif | 183 | #endif |
184 | 184 | ||
185 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | 185 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) |
186 | static struct bfin5xx_spi_chip spi_mmc_chip_info = { | 186 | static struct bfin5xx_spi_chip mmc_spi_chip_info = { |
187 | .enable_dma = 1, | 187 | .enable_dma = 0, |
188 | .bits_per_word = 8, | 188 | .bits_per_word = 8, |
189 | }; | 189 | }; |
190 | #endif | 190 | #endif |
@@ -276,23 +276,13 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
276 | #endif | 276 | #endif |
277 | #endif | 277 | #endif |
278 | 278 | ||
279 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | 279 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) |
280 | { | ||
281 | .modalias = "spi_mmc_dummy", | ||
282 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | ||
283 | .bus_num = 0, | ||
284 | .chip_select = 0, | ||
285 | .platform_data = NULL, | ||
286 | .controller_data = &spi_mmc_chip_info, | ||
287 | .mode = SPI_MODE_3, | ||
288 | }, | ||
289 | { | 280 | { |
290 | .modalias = "spi_mmc", | 281 | .modalias = "mmc_spi", |
291 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 282 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
292 | .bus_num = 0, | 283 | .bus_num = 0, |
293 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | 284 | .chip_select = 5, |
294 | .platform_data = NULL, | 285 | .controller_data = &mmc_spi_chip_info, |
295 | .controller_data = &spi_mmc_chip_info, | ||
296 | .mode = SPI_MODE_3, | 286 | .mode = SPI_MODE_3, |
297 | }, | 287 | }, |
298 | #endif | 288 | #endif |