From ab426aa67094b8eeccf0f128a77631c5c74cc1ae Mon Sep 17 00:00:00 2001 From: Andrew Victor Date: Wed, 9 May 2007 11:42:53 +0100 Subject: [PATCH] --- yaml --- r: 56343 b: refs/heads/master c: 302c0ef7317ddd49c0ae82004cfe308b5a2b6ab3 h: refs/heads/master i: 56341: fdb55f27961931d1833aae7bdd3dccabdc6b5d79 56339: b17f1c4bf07e592158633f888b43ef72be3623df 56335: bf824ee9662eb2240c61f40efa76ceacf93ba0dd v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-at91/Makefile | 1 + trunk/arch/arm/mach-at91/board-sam9261ek.c | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 896de1f87065..2c018b39147b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f75fd965d500d33720948f30d409c6c7729a80af +refs/heads/master: 302c0ef7317ddd49c0ae82004cfe308b5a2b6ab3 diff --git a/trunk/arch/arm/mach-at91/Makefile b/trunk/arch/arm/mach-at91/Makefile index a412ae18a421..cd1bc541f28e 100644 --- a/trunk/arch/arm/mach-at91/Makefile +++ b/trunk/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/trunk/arch/arm/mach-at91/board-sam9261ek.c b/trunk/arch/arm/mach-at91/board-sam9261ek.c index bcf71536cc6d..1f0c8a400b3a 100644 --- a/trunk/arch/arm/mach-at91/board-sam9261ek.c +++ b/trunk/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); }