diff options
author | Andrew Victor <andrew@sanpeople.com> | 2007-05-09 06:42:53 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-11 12:20:21 -0400 |
commit | 302c0ef7317ddd49c0ae82004cfe308b5a2b6ab3 (patch) | |
tree | 59f6dc616326413fe0fad3782530d4597daa3f6b | |
parent | f75fd965d500d33720948f30d409c6c7729a80af (diff) |
[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 <l.pinguin@gmail.com>
Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/mach-at91/Makefile | 1 | ||||
-rw-r--r-- | 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 a412ae18a421..cd1bc541f28e 100644 --- a/arch/arm/mach-at91/Makefile +++ b/arch/arm/mach-at91/Makefile | |||
@@ -39,6 +39,7 @@ obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o | |||
39 | # LEDs support | 39 | # LEDs support |
40 | led-$(CONFIG_ARCH_AT91RM9200DK) += leds.o | 40 | led-$(CONFIG_ARCH_AT91RM9200DK) += leds.o |
41 | led-$(CONFIG_MACH_AT91RM9200EK) += leds.o | 41 | led-$(CONFIG_MACH_AT91RM9200EK) += leds.o |
42 | led-$(CONFIG_MACH_AT91SAM9261EK)+= leds.o | ||
42 | led-$(CONFIG_MACH_CSB337) += leds.o | 43 | led-$(CONFIG_MACH_CSB337) += leds.o |
43 | led-$(CONFIG_MACH_CSB637) += leds.o | 44 | led-$(CONFIG_MACH_CSB637) += leds.o |
44 | led-$(CONFIG_MACH_KB9200) += leds.o | 45 | 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 bcf71536cc6d..1f0c8a400b3a 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) | |||
60 | /* Initialize processor: 18.432 MHz crystal */ | 60 | /* Initialize processor: 18.432 MHz crystal */ |
61 | at91sam9261_initialize(18432000); | 61 | at91sam9261_initialize(18432000); |
62 | 62 | ||
63 | /* Setup the LEDs */ | ||
64 | at91_init_leds(AT91_PIN_PA13, AT91_PIN_PA14); | ||
65 | |||
63 | /* Setup the serial ports and console */ | 66 | /* Setup the serial ports and console */ |
64 | at91_init_serial(&ek_uart_config); | 67 | at91_init_serial(&ek_uart_config); |
65 | } | 68 | } |