Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=302c0ef7317ddd49c0ae82004cfe308b5a2b6ab3
Commit:     302c0ef7317ddd49c0ae82004cfe308b5a2b6ab3
Parent:     f75fd965d500d33720948f30d409c6c7729a80af
Author:     Andrew Victor <[EMAIL PROTECTED]>
AuthorDate: Wed May 9 11:42:53 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Fri May 11 17:20:21 2007 +0100

    [ARM] 4364/1: AT91: LEDS on AT91SAM9261-EK
    
    Attached you can find a patch needed to make the LEDS for 'CPU-Idle'
    and 'Timer' work on the AT91SAM9261-EK board. The kernel configuration
    options are already there, but the implementation is not available.
    
    Signed-off-by: Remy Bohmer <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Victor <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 arch/arm/mach-at91/Makefile          |    1 +
 arch/arm/mach-at91/board-sam9261ek.c |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index a412ae1..cd1bc54 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -39,6 +39,7 @@ obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
 # LEDs support
 led-$(CONFIG_ARCH_AT91RM9200DK)        += leds.o
 led-$(CONFIG_MACH_AT91RM9200EK)        += leds.o
+led-$(CONFIG_MACH_AT91SAM9261EK)+= leds.o
 led-$(CONFIG_MACH_CSB337)      += leds.o
 led-$(CONFIG_MACH_CSB637)      += leds.o
 led-$(CONFIG_MACH_KB9200)      += leds.o
diff --git a/arch/arm/mach-at91/board-sam9261ek.c 
b/arch/arm/mach-at91/board-sam9261ek.c
index bcf7153..1f0c8a4 100644
--- a/arch/arm/mach-at91/board-sam9261ek.c
+++ b/arch/arm/mach-at91/board-sam9261ek.c
@@ -60,6 +60,9 @@ static void __init ek_map_io(void)
        /* Initialize processor: 18.432 MHz crystal */
        at91sam9261_initialize(18432000);
 
+       /* Setup the LEDs */
+       at91_init_leds(AT91_PIN_PA13, AT91_PIN_PA14);
+
        /* Setup the serial ports and console */
        at91_init_serial(&ek_uart_config);
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to