aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91-2.6
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2007-03-17 16:19:09 +0000
committerHamish Guthrie <hcg@openwrt.org>2007-03-17 16:19:09 +0000
commitc21a30ecafde2b93c7f4d199eda556ac439b8eb4 (patch)
tree5b5d62c7039f40ade69512358f2d7ca2e8a56f13 /target/linux/at91-2.6
parent947bab0abbee71ec839eb4cb8fdf88f314d82f2a (diff)
downloadupstream-c21a30ecafde2b93c7f4d199eda556ac439b8eb4.tar.gz
upstream-c21a30ecafde2b93c7f4d199eda556ac439b8eb4.tar.bz2
upstream-c21a30ecafde2b93c7f4d199eda556ac439b8eb4.zip
Changed pin selections in low-level mmc driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6596 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91-2.6')
-rw-r--r--target/linux/at91-2.6/patches/004-mmc-driver.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/at91-2.6/patches/004-mmc-driver.patch b/target/linux/at91-2.6/patches/004-mmc-driver.patch
new file mode 100644
index 0000000000..31e307b127
--- /dev/null
+++ b/target/linux/at91-2.6/patches/004-mmc-driver.patch
@@ -0,0 +1,30 @@
+--- linux-2.6.19.2/arch/arm/mach-at91rm9200/board-vlink.c 2007-03-16 16:46:50.000000000 +0100
++++ linux-2.6.19.2.new/arch/arm/mach-at91rm9200/board-vlink.c 2007-03-17 11:27:00.000000000 +0100
+@@ -83,13 +83,13 @@
+ .pullup_pin = AT91_PIN_PD5,
+ };
+
+-/*static struct at91_mmc_data __initdata ek_mmc_data = {
+- .det_pin = AT91_PIN_PB27,
+- .is_b = 0,
++static struct at91_mmc_data __initdata vlink_mmc_data = {
++// .det_pin = AT91_PIN_PB27,
++ .slot_b = 0,
+ .wire4 = 1,
+- .wp_pin = AT91_PIN_PA17,
++// .wp_pin = AT91_PIN_PA17,
+ };
+-*/
++
+
+ static struct spi_board_info vlink_spi_devices[] = {
+ { /* DataFlash chip */
+@@ -127,7 +127,7 @@
+ #else
+ /* MMC */
+ // at91_set_gpio_output(AT91_PIN_PB22, 1); /* this MMC card slot can optionally use SPI signaling (CS3). */
+-// at91_add_device_mmc(&vlink_mmc_data);
++ at91_add_device_mmc(&vlink_mmc_data);
+ #endif
+ /* VGA */
+ }