diff options
author | Yi Li <yi.li@analog.com> | 2009-01-07 10:14:39 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2009-01-07 10:14:39 -0500 |
commit | 0c720da35c1eeba49fe0bbec6e6d4f732afc56f4 (patch) | |
tree | 58ba86985f739ebb23e9eebea673b68c28ae134d /arch/blackfin/mach-bf537 | |
parent | f79ea4cba00e2c2f5ffde9007e7ba0fe992b2e18 (diff) |
Blackfin arch: Retire old spi_mmc driver
Turn to use the mmc_spi driver in mainline kernel.
Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index a5e8e5bc6496..e6e722d7767e 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -527,13 +527,6 @@ static struct bfin5xx_spi_chip ad9960_spi_chip_info = { | |||
527 | }; | 527 | }; |
528 | #endif | 528 | #endif |
529 | 529 | ||
530 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
531 | static struct bfin5xx_spi_chip spi_mmc_chip_info = { | ||
532 | .enable_dma = 0, | ||
533 | .bits_per_word = 8, | ||
534 | }; | ||
535 | #endif | ||
536 | |||
537 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) | 530 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) |
538 | #define MMC_SPI_CARD_DETECT_INT IRQ_PF5 | 531 | #define MMC_SPI_CARD_DETECT_INT IRQ_PF5 |
539 | 532 | ||
@@ -720,26 +713,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
720 | .controller_data = &ad9960_spi_chip_info, | 713 | .controller_data = &ad9960_spi_chip_info, |
721 | }, | 714 | }, |
722 | #endif | 715 | #endif |
723 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
724 | { | ||
725 | .modalias = "spi_mmc_dummy", | ||
726 | .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */ | ||
727 | .bus_num = 0, | ||
728 | .chip_select = 0, | ||
729 | .platform_data = NULL, | ||
730 | .controller_data = &spi_mmc_chip_info, | ||
731 | .mode = SPI_MODE_3, | ||
732 | }, | ||
733 | { | ||
734 | .modalias = "spi_mmc", | ||
735 | .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */ | ||
736 | .bus_num = 0, | ||
737 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | ||
738 | .platform_data = NULL, | ||
739 | .controller_data = &spi_mmc_chip_info, | ||
740 | .mode = SPI_MODE_3, | ||
741 | }, | ||
742 | #endif | ||
743 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) | 716 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) |
744 | { | 717 | { |
745 | .modalias = "mmc_spi", | 718 | .modalias = "mmc_spi", |