summaryrefslogtreecommitdiff
path: root/board/ronetix/pm9263/led.c
diff options
context:
space:
mode:
authorAsen Dimov <dimov@ronetix.at>2011-06-08 22:01:16 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-03 22:40:44 +0200
commit684a567ace2bc5673d52b2cb4f517909f5481153 (patch)
treea607ac4e950ba83665b7f08e8c3d3abb2312a387 /board/ronetix/pm9263/led.c
parent58fb6020c15580365e441ab3a7b8cc6aa787269d (diff)
downloadu-boot-imx-684a567ace2bc5673d52b2cb4f517909f5481153.zip
u-boot-imx-684a567ace2bc5673d52b2cb4f517909f5481153.tar.gz
u-boot-imx-684a567ace2bc5673d52b2cb4f517909f5481153.tar.bz2
make pm9263 buildable for v2011.06 release
Signed-off-by: Asen Chavdarov Dimov <dimov@ronetix.at>
Diffstat (limited to 'board/ronetix/pm9263/led.c')
-rw-r--r--board/ronetix/pm9263/led.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/board/ronetix/pm9263/led.c b/board/ronetix/pm9263/led.c
index 4e585a4..d6eb69f 100644
--- a/board/ronetix/pm9263/led.c
+++ b/board/ronetix/pm9263/led.c
@@ -24,17 +24,16 @@
*/
#include <common.h>
-#include <asm/arch/at91sam9263.h>
#include <asm/arch/at91_pmc.h>
-#include <asm/arch/at91_pio.h>
-#include <asm/arch/io.h>
+#include <asm/arch/gpio.h>
+#include <asm/io.h>
void coloured_LED_init(void)
{
- at91_pmc_t *pmc = (at91_pmc_t *) AT91_PMC_BASE;
+ struct at91_pmc *pmc = (struct at91_pmc *)ATMEL_BASE_PMC;
/* Enable clock */
- writel(1 << AT91SAM9263_ID_PIOB, &pmc->pcer);
+ writel(1 << ATMEL_ID_PIOB, &pmc->pcer);
at91_set_pio_output(CONFIG_RED_LED, 1);
at91_set_pio_output(CONFIG_GREEN_LED, 1);