diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-03-14 15:52:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-03-14 15:52:42 +0000 |
commit | 6b7797688c8a7bde642afc2d9ba2658a1b57c0d5 (patch) | |
tree | 2d38a3789e27a423439c37a45a09cae31990a615 /target/linux/at91/patches-2.6.21/015-simenable.patch | |
parent | c77724d127a6722cf74b4f0af314122aa06351fb (diff) | |
download | master-187ad058-6b7797688c8a7bde642afc2d9ba2658a1b57c0d5.tar.gz master-187ad058-6b7797688c8a7bde642afc2d9ba2658a1b57c0d5.tar.bz2 master-187ad058-6b7797688c8a7bde642afc2d9ba2658a1b57c0d5.zip |
nuke obsolete kernel stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14875 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91/patches-2.6.21/015-simenable.patch')
-rw-r--r-- | target/linux/at91/patches-2.6.21/015-simenable.patch | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/target/linux/at91/patches-2.6.21/015-simenable.patch b/target/linux/at91/patches-2.6.21/015-simenable.patch deleted file mode 100644 index 9b11f765a9..0000000000 --- a/target/linux/at91/patches-2.6.21/015-simenable.patch +++ /dev/null @@ -1,69 +0,0 @@ -Index: linux-2.6.21.7/arch/arm/mach-at91/board-vlink.c -=================================================================== ---- linux-2.6.21.7.orig/arch/arm/mach-at91/board-vlink.c -+++ linux-2.6.21.7/arch/arm/mach-at91/board-vlink.c -@@ -150,32 +150,38 @@ static void __init vlink_board_init(void - /* LEDs */ - // at91_gpio_leds(vlink_leds, ARRAY_SIZE(vlink_leds)); - --/* Other LED's */ -- at91_set_gpio_output(AT91_PIN_PC7, 1); // LED FRONT AP1 -- at91_set_gpio_output(AT91_PIN_PC8, 1); // LED FRONT BP1 -- at91_set_gpio_output(AT91_PIN_PB14, 1); // LED BACK AP1 -- at91_set_gpio_output(AT91_PIN_PB15, 1); // LED BACK BP1 -- at91_set_gpio_output(AT91_PIN_PB16, 1); // LED BACK AP2 -- at91_set_gpio_output(AT91_PIN_PB17, 1); // LED BACK BP2 -- --/* SIM Cards */ -- at91_set_gpio_output(AT91_PIN_PB9, 1); // ENBSC3 -- at91_set_gpio_output(AT91_PIN_PB10, 1); // ENBSC2 -- at91_set_gpio_output(AT91_PIN_PB11, 1); // ENBSC1 -- --/* GSM Module Control */ -- at91_set_gpio_output(AT91_PIN_PB12, 1); // GSMONOFF -- --/* Test jig presence detection */ -- at91_set_gpio_input(AT91_PIN_PB8, 1); // JIGPRESENT -- --/* Power indicator */ -- at91_set_gpio_input(AT91_PIN_PB22, 1); // PWR_IND -- --/* USB Device control */ -- at91_set_gpio_input(AT91_PIN_PB27, 1); // UDB_CNX -- at91_set_gpio_output(AT91_PIN_PB28, 1); // UDB_PUP -- at91_set_multi_drive(AT91_PIN_PB28, 1); // Set to multi-drive -+ /* Other LED's */ -+ at91_set_gpio_output(AT91_PIN_PC7, 1); // LED FRONT AP1 -+ at91_set_gpio_output(AT91_PIN_PC8, 1); // LED FRONT BP1 -+ at91_set_gpio_output(AT91_PIN_PB14, 1); // LED BACK AP1 -+ at91_set_gpio_output(AT91_PIN_PB15, 1); // LED BACK BP1 -+ at91_set_gpio_output(AT91_PIN_PB16, 1); // LED BACK AP2 -+ at91_set_gpio_output(AT91_PIN_PB17, 1); // LED BACK BP2 -+ -+ /* Test jig presence detection */ -+ at91_set_gpio_input(AT91_PIN_PB8, 1); // JIGPRESENT -+ -+ /* SIM Cards */ -+ if (at91_get_gpio_value(AT91_PIN_PB8)) { -+ at91_set_gpio_output(AT91_PIN_PB11, 0); -+ at91_set_gpio_output(AT91_PIN_PB9, 1); -+ } else { -+ at91_set_gpio_output(AT91_PIN_PB11, 1); -+ at91_set_gpio_output(AT91_PIN_PB9, 0); -+ } -+ -+ at91_set_gpio_output(AT91_PIN_PB10, 1); // ENBSC2 -+ -+ /* GSM Module Control */ -+ at91_set_gpio_output(AT91_PIN_PB12, 1); // GSMONOFF -+ -+ /* Power indicator */ -+ at91_set_gpio_input(AT91_PIN_PB22, 1); // PWR_IND -+ -+ /* USB Device control */ -+ at91_set_gpio_input(AT91_PIN_PB27, 1); // UDB_CNX -+ at91_set_gpio_output(AT91_PIN_PB28, 1); // UDB_PUP -+ at91_set_multi_drive(AT91_PIN_PB28, 1); // Set to multi-drive - - } - |