Backport [7224] to the adm5120 flash map driver
[openwrt.git] / target / linux / at91-2.6 / patches / 004-mmc-driver.patch
1 --- linux-2.6.19.2/arch/arm/mach-at91rm9200/board-vlink.c 2007-03-16 16:46:50.000000000 +0100
2 +++ linux-2.6.19.2.new/arch/arm/mach-at91rm9200/board-vlink.c 2007-03-17 11:27:00.000000000 +0100
3 @@ -83,13 +83,13 @@
4 .pullup_pin = AT91_PIN_PD5,
5 };
6
7 -/*static struct at91_mmc_data __initdata ek_mmc_data = {
8 - .det_pin = AT91_PIN_PB27,
9 - .is_b = 0,
10 +static struct at91_mmc_data __initdata vlink_mmc_data = {
11 +// .det_pin = AT91_PIN_PB27,
12 + .slot_b = 0,
13 .wire4 = 1,
14 - .wp_pin = AT91_PIN_PA17,
15 +// .wp_pin = AT91_PIN_PA17,
16 };
17 -*/
18 +
19
20 static struct spi_board_info vlink_spi_devices[] = {
21 { /* DataFlash chip */
22 @@ -127,7 +127,7 @@
23 #else
24 /* MMC */
25 // at91_set_gpio_output(AT91_PIN_PB22, 1); /* this MMC card slot can optionally use SPI signaling (CS3). */
26 -// at91_add_device_mmc(&vlink_mmc_data);
27 + at91_add_device_mmc(&vlink_mmc_data);
28 #endif
29 /* VGA */
30 }
This page took 0.045596 seconds and 5 git commands to generate.