From 8c6407fce320155a1e56645b9f95db9ac0806c26 Mon Sep 17 00:00:00 2001 From: Reinhard Meyer Date: Mon, 6 Jun 2011 00:13:10 +0000 Subject: AT91 rework: fix at91sam(9260/9g20/9xe)ek board port to build again: Make ATMEL's at91sam9260/9g20/9xe-ek boards build again Signed-off-by: Reinhard Meyer --- board/atmel/at91sam9260ek/led.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'board/atmel/at91sam9260ek/led.c') diff --git a/board/atmel/at91sam9260ek/led.c b/board/atmel/at91sam9260ek/led.c index 2424d27..daf81e8 100644 --- a/board/atmel/at91sam9260ek/led.c +++ b/board/atmel/at91sam9260ek/led.c @@ -23,16 +23,12 @@ */ #include -#include -#include +#include #include -#include void coloured_LED_init(void) { - /* Enable clock */ - at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9260_ID_PIOA); - + /* Clock is enabled in board_early_init_f() */ at91_set_gpio_output(CONFIG_RED_LED, 1); at91_set_gpio_output(CONFIG_GREEN_LED, 1); -- cgit v1.1