aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf518
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2009-03-05 11:27:57 -0500
committerBryan Wu <cooloney@kernel.org>2009-03-05 11:27:57 -0500
commitf3f704d375fcc92950f688ccb3dd0f650acace92 (patch)
tree04324f7a3117a765f84286c5d8f1f18768e33816 /arch/blackfin/mach-bf518
parent4aad7ec373a559177ee2c488455f6bf8928c030c (diff)
Blackfin arch: SPI_MMC is now mainlined MMC_SPI
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf518')
-rw-r--r--arch/blackfin/mach-bf518/boards/ezbrd.c24
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)
186static struct bfin5xx_spi_chip spi_mmc_chip_info = { 186static 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