diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2007-05-28 13:05:07 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2007-05-28 13:05:07 +0000 |
commit | b8434b0722ea826ca41e74cdbec301e1dcb353fd (patch) | |
tree | 4b5a8dfcd21f9bf5dfd4c9c694213bda8cf9eb19 /target | |
parent | bab2982a68a4a58273a4edf3caf2accb2df36250 (diff) | |
download | upstream-b8434b0722ea826ca41e74cdbec301e1dcb353fd.tar.gz upstream-b8434b0722ea826ca41e74cdbec301e1dcb353fd.tar.bz2 upstream-b8434b0722ea826ca41e74cdbec301e1dcb353fd.zip |
activity-led.patch no longer required
SVN-Revision: 7366
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/at91-2.6/patches/005-activity-led.patch | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/target/linux/at91-2.6/patches/005-activity-led.patch b/target/linux/at91-2.6/patches/005-activity-led.patch deleted file mode 100644 index dbdc0d4cac..0000000000 --- a/target/linux/at91-2.6/patches/005-activity-led.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- linux-2.6.19.2.old/arch/arm/mach-at91rm9200/vlink_leds.c 2007-03-25 19:36:45.000000000 +0200 -+++ linux-2.6.19.2/arch/arm/mach-at91rm9200/vlink_leds.c 2007-03-29 09:17:39.000000000 +0200 -@@ -37,13 +37,13 @@ - - static inline void at91_led_toggle(unsigned int led) - { -- unsigned long is_off = at91_get_gpio_value(AT91_PIN_PC7); -+ unsigned long is_off = at91_get_gpio_value(AT91_PIN_PC14); - if (is_off) { -- at91_set_gpio_value(AT91_PIN_PC7, 0); -- at91_set_gpio_value(AT91_PIN_PC8, 1); -+ at91_set_gpio_value(AT91_PIN_PC14, 0); -+ at91_set_gpio_value(AT91_PIN_PC15, 1); - } else { -- at91_set_gpio_value(AT91_PIN_PC7, 1); -- at91_set_gpio_value(AT91_PIN_PC8, 0); -+ at91_set_gpio_value(AT91_PIN_PC14, 1); -+ at91_set_gpio_value(AT91_PIN_PC15, 0); - } - } - -@@ -59,20 +59,11 @@ - - switch(evt) { - case led_start: /* System startup */ --// at91_led_on(at91_leds_cpu); - at91_led_toggle(at91_leds_timer); --/* -- at91_set_gpio_value(AT91_PIN_PC7, 0); -- at91_set_gpio_value(AT91_PIN_PC8, 1); --*/ - break; - - case led_stop: /* System stop / suspend */ - at91_led_toggle(at91_leds_timer); --/* -- at91_set_gpio_value(AT91_PIN_PC7, 1); -- at91_set_gpio_value(AT91_PIN_PC8, 0); --*/ - break; - - #ifdef CONFIG_LEDS_TIMER -@@ -84,18 +75,10 @@ - #ifdef CONFIG_LEDS_CPU - case led_idle_start: /* Entering idle state */ - at91_led_toggle(at91_leds_timer); --/* -- at91_set_gpio_value(AT91_PIN_PC7, 1); -- at91_set_gpio_value(AT91_PIN_PC8, 0); --*/ - break; - - case led_idle_end: /* Exit idle state */ - at91_led_toggle(at91_leds_timer); --/* -- at91_set_gpio_value(AT91_PIN_PC7, 0); -- at91_set_gpio_value(AT91_PIN_PC8, 1); --*/ - break; - #endif - |