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-bf533 | |
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-bf533')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 1b08323e2ce6..b0d877626a4d 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -216,13 +216,6 @@ static struct bfin5xx_spi_chip spi_si3xxx_chip_info = { | |||
216 | }; | 216 | }; |
217 | #endif | 217 | #endif |
218 | 218 | ||
219 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
220 | static struct bfin5xx_spi_chip spi_mmc_chip_info = { | ||
221 | .enable_dma = 1, | ||
222 | .bits_per_word = 8, | ||
223 | }; | ||
224 | #endif | ||
225 | |||
226 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | 219 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) |
227 | static struct bfin5xx_spi_chip spidev_chip_info = { | 220 | static struct bfin5xx_spi_chip spidev_chip_info = { |
228 | .enable_dma = 0, | 221 | .enable_dma = 0, |
@@ -265,27 +258,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
265 | }, | 258 | }, |
266 | #endif | 259 | #endif |
267 | 260 | ||
268 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
269 | { | ||
270 | .modalias = "spi_mmc_dummy", | ||
271 | .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */ | ||
272 | .bus_num = 0, | ||
273 | .chip_select = 0, | ||
274 | .platform_data = NULL, | ||
275 | .controller_data = &spi_mmc_chip_info, | ||
276 | .mode = SPI_MODE_3, | ||
277 | }, | ||
278 | { | ||
279 | .modalias = "spi_mmc", | ||
280 | .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */ | ||
281 | .bus_num = 0, | ||
282 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | ||
283 | .platform_data = NULL, | ||
284 | .controller_data = &spi_mmc_chip_info, | ||
285 | .mode = SPI_MODE_3, | ||
286 | }, | ||
287 | #endif | ||
288 | |||
289 | #if defined(CONFIG_PBX) | 261 | #if defined(CONFIG_PBX) |
290 | { | 262 | { |
291 | .modalias = "fxs-spi", | 263 | .modalias = "fxs-spi", |