summaryrefslogtreecommitdiff
path: root/board/eukrea/cpu9260/led.c
diff options
context:
space:
mode:
authorEric Benard <eric@eukrea.com>2011-06-06 22:48:28 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-06-21 22:26:22 +0200
commit95d50e5ce7bb50bf02dbba2359426de9e28cd9c1 (patch)
tree7874d4af1aeb221ff825dff4af2ada7f5ea5f2df /board/eukrea/cpu9260/led.c
parent96fd99067f0ab5c1d23d6130d882138ebea08d49 (diff)
downloadu-boot-imx-95d50e5ce7bb50bf02dbba2359426de9e28cd9c1.zip
u-boot-imx-95d50e5ce7bb50bf02dbba2359426de9e28cd9c1.tar.gz
u-boot-imx-95d50e5ce7bb50bf02dbba2359426de9e28cd9c1.tar.bz2
cpu9260/9G20: fix board support
Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Diffstat (limited to 'board/eukrea/cpu9260/led.c')
-rw-r--r--board/eukrea/cpu9260/led.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/eukrea/cpu9260/led.c b/board/eukrea/cpu9260/led.c
index d0906bc..8d865eb 100644
--- a/board/eukrea/cpu9260/led.c
+++ b/board/eukrea/cpu9260/led.c
@@ -28,17 +28,17 @@
#include <asm/arch/at91sam9260.h>
#include <asm/arch/at91_pmc.h>
#include <asm/arch/gpio.h>
-#include <asm/arch/io.h>
+#include <asm/io.h>
static unsigned int saved_state[4] = {STATUS_LED_OFF, STATUS_LED_OFF,
STATUS_LED_OFF, STATUS_LED_OFF};
void coloured_LED_init(void)
{
- at91_pmc_t *pmc = (at91_pmc_t *) AT91_PMC_BASE;
+ at91_pmc_t *pmc = (at91_pmc_t *) ATMEL_BASE_PMC;
/* Enable clock */
- writel(1 << AT91SAM9260_ID_PIOC, &pmc->pcer);
+ writel(1 << ATMEL_ID_PIOC, &pmc->pcer);
at91_set_pio_output(CONFIG_RED_LED, 1);
at91_set_pio_output(CONFIG_GREEN_LED, 1);