diff options
author | Andrew Victor <andrew@sanpeople.com> | 2006-04-02 12:15:48 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-04-02 12:15:48 -0400 |
commit | cc2832a1313340ff1de55f15fac5b7fe48fa2a72 (patch) | |
tree | 30adc6cf8f13031bc00f4619767f9642b3837317 /arch/arm/mach-at91rm9200/board-csb337.c | |
parent | b2e6f75597af8fc765707111d3a71077167bdeb1 (diff) |
[ARM] 3393/2: AT91RM9200 LED support
Patch from Andrew Victor
This patch adds support for the LED(s) on the AT91RM9200-based boards.
(This version of the patch can be applied before Patch 3392/1)
Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91rm9200/board-csb337.c')
-rw-r--r-- | arch/arm/mach-at91rm9200/board-csb337.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-at91rm9200/board-csb337.c b/arch/arm/mach-at91rm9200/board-csb337.c index 54022e58d50d..f45104ceea8f 100644 --- a/arch/arm/mach-at91rm9200/board-csb337.c +++ b/arch/arm/mach-at91rm9200/board-csb337.c | |||
@@ -67,6 +67,9 @@ static void __init csb337_map_io(void) | |||
67 | /* Initialize clocks: 3.6864 MHz crystal */ | 67 | /* Initialize clocks: 3.6864 MHz crystal */ |
68 | at91_clock_init(3686400); | 68 | at91_clock_init(3686400); |
69 | 69 | ||
70 | /* Setup the LEDs */ | ||
71 | at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2); | ||
72 | |||
70 | #ifdef CONFIG_SERIAL_AT91 | 73 | #ifdef CONFIG_SERIAL_AT91 |
71 | at91_console_port = CSB337_SERIAL_CONSOLE; | 74 | at91_console_port = CSB337_SERIAL_CONSOLE; |
72 | memcpy(at91_serial_map, serial, sizeof(serial)); | 75 | memcpy(at91_serial_map, serial, sizeof(serial)); |