diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2012-05-21 06:23:27 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-07-02 12:03:01 -0400 |
commit | 4cf3326ab5f34a333a46c59d0d3783db9cef13bf (patch) | |
tree | 4d8b5f494f0c99b2f261b6145c91cbc97f492795 /arch/arm/mach-at91/board-flexibity.c | |
parent | 24f5c4b6e6f2933eb22979283db6174f378d9b36 (diff) |
ARM: at91: add atmel-mci support for chips and boards which can use it
Since atmel-mci driver supports all atmel mci versions,
use it instead of the deprecated at91_mci driver.
Platform data and all related configuration are removed.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
[nicolas.ferre@atmel.com: remove at91_mci platform data]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/board-flexibity.c')
-rw-r--r-- | arch/arm/mach-at91/board-flexibity.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-at91/board-flexibity.c b/arch/arm/mach-at91/board-flexibity.c index 47658f78105d..23ad652edad4 100644 --- a/arch/arm/mach-at91/board-flexibity.c +++ b/arch/arm/mach-at91/board-flexibity.c | |||
@@ -74,12 +74,12 @@ static struct spi_board_info flexibity_spi_devices[] = { | |||
74 | }; | 74 | }; |
75 | 75 | ||
76 | /* MCI (SD/MMC) */ | 76 | /* MCI (SD/MMC) */ |
77 | static struct at91_mmc_data __initdata flexibity_mmc_data = { | 77 | static struct mci_platform_data __initdata flexibity_mci0_data = { |
78 | .slot_b = 0, | 78 | .slot[0] = { |
79 | .wire4 = 1, | 79 | .bus_width = 4, |
80 | .det_pin = AT91_PIN_PC9, | 80 | .detect_pin = AT91_PIN_PC9, |
81 | .wp_pin = AT91_PIN_PC4, | 81 | .wp_pin = AT91_PIN_PC4, |
82 | .vcc_pin = -EINVAL, | 82 | }, |
83 | }; | 83 | }; |
84 | 84 | ||
85 | /* LEDs */ | 85 | /* LEDs */ |
@@ -151,7 +151,7 @@ static void __init flexibity_board_init(void) | |||
151 | at91_add_device_spi(flexibity_spi_devices, | 151 | at91_add_device_spi(flexibity_spi_devices, |
152 | ARRAY_SIZE(flexibity_spi_devices)); | 152 | ARRAY_SIZE(flexibity_spi_devices)); |
153 | /* MMC */ | 153 | /* MMC */ |
154 | at91_add_device_mmc(0, &flexibity_mmc_data); | 154 | at91_add_device_mci(0, &flexibity_mci0_data); |
155 | /* LEDs */ | 155 | /* LEDs */ |
156 | at91_gpio_leds(flexibity_leds, ARRAY_SIZE(flexibity_leds)); | 156 | at91_gpio_leds(flexibity_leds, ARRAY_SIZE(flexibity_leds)); |
157 | } | 157 | } |