summaryrefslogtreecommitdiff
path: root/target/device/valka/v100sc2/kernel-patches/linux-2.6.24-400-wire-up-avr32-mmc2.patch
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-03-06 18:59:14 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-03-06 18:59:14 +0000
commitceaf9e8217f29f6c499d03c62612b2eb50e8ed09 (patch)
treec0d1c53c52d050672de9c2fc656b760a2fbe5aa1 /target/device/valka/v100sc2/kernel-patches/linux-2.6.24-400-wire-up-avr32-mmc2.patch
parentc46893b7af0e6f0bbc072dc76cb979995ff654fc (diff)
updates and additions for avr32 arch
Diffstat (limited to 'target/device/valka/v100sc2/kernel-patches/linux-2.6.24-400-wire-up-avr32-mmc2.patch')
-rw-r--r--target/device/valka/v100sc2/kernel-patches/linux-2.6.24-400-wire-up-avr32-mmc2.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/device/valka/v100sc2/kernel-patches/linux-2.6.24-400-wire-up-avr32-mmc2.patch b/target/device/valka/v100sc2/kernel-patches/linux-2.6.24-400-wire-up-avr32-mmc2.patch
new file mode 100644
index 000000000..db77ba1a2
--- /dev/null
+++ b/target/device/valka/v100sc2/kernel-patches/linux-2.6.24-400-wire-up-avr32-mmc2.patch
@@ -0,0 +1,22 @@
+diff -rup linux-2.6.24-orig/arch/avr32/mach-at32ap/at32ap700x.c linux-2.6.24/arch/avr32/mach-at32ap/at32ap700x.c
+--- linux-2.6.24-orig/arch/avr32/mach-at32ap/at32ap700x.c 2008-02-04 09:51:43.000000000 -0500
++++ linux-2.6.24/arch/avr32/mach-at32ap/at32ap700x.c 2008-02-04 10:24:29.000000000 -0500
+@@ -1102,11 +1102,16 @@ at32_add_device_mci(unsigned int id, str
+ goto fail;
+
+ select_peripheral(PA(10), PERIPH_A, 0); /* CLK */
+- select_peripheral(PA(11), PERIPH_A, 0); /* CMD */
++ select_peripheral(PA(11), PERIPH_A, 0); /* CMD1 */
+ select_peripheral(PA(12), PERIPH_A, 0); /* DATA0 */
+ select_peripheral(PA(13), PERIPH_A, 0); /* DATA1 */
+ select_peripheral(PA(14), PERIPH_A, 0); /* DATA2 */
+ select_peripheral(PA(15), PERIPH_A, 0); /* DATA3 */
++ select_peripheral(PB(6), PERIPH_B, 0); /* CMD2 */
++ select_peripheral(PB(7), PERIPH_B, 0); /* DATA4 */
++ select_peripheral(PB(8), PERIPH_B, 0); /* DATA5 */
++ select_peripheral(PB(9), PERIPH_B, 0); /* DATA6 */
++ select_peripheral(PB(10), PERIPH_B, 0); /* DATA7 */
+
+ if (data) {
+ if (data->detect_pin != GPIO_PIN_NONE)
+Only in linux-2.6.24/arch/avr32/mach-at32ap: at32ap700x.c~