summaryrefslogtreecommitdiff
path: root/board/ms7722se/ms7722se.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-07-10 09:09:45 +0200
committerStefan Roese <sr@denx.de>2008-07-10 09:09:45 +0200
commitac5ba41c2234dd513ed2c879914e964cc05a0135 (patch)
treeeea25003c17267efc504264bc1faa419a355a138 /board/ms7722se/ms7722se.c
parent7c6237b3e2f2ee0098897da39b79aff4642b8946 (diff)
parent4188f0491886b3b486164e819c0a83fdb97efd7d (diff)
downloadu-boot-imx-ac5ba41c2234dd513ed2c879914e964cc05a0135.zip
u-boot-imx-ac5ba41c2234dd513ed2c879914e964cc05a0135.tar.gz
u-boot-imx-ac5ba41c2234dd513ed2c879914e964cc05a0135.tar.bz2
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Diffstat (limited to 'board/ms7722se/ms7722se.c')
-rw-r--r--board/ms7722se/ms7722se.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/ms7722se/ms7722se.c b/board/ms7722se/ms7722se.c
index 0d3d55c..cf02242 100644
--- a/board/ms7722se/ms7722se.c
+++ b/board/ms7722se/ms7722se.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007
+ * Copyright (C) 2007,2008
* Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
*
* Copyright (C) 2007
@@ -43,7 +43,7 @@ int board_init(void)
return 0;
}
-int dram_init (void)
+int dram_init(void)
{
DECLARE_GLOBAL_DATA_PTR;
@@ -53,7 +53,7 @@ int dram_init (void)
return 0;
}
-void led_set_state (unsigned short value)
+void led_set_state(unsigned short value)
{
- *((volatile unsigned short *) LED_BASE) = (value & 0xFF);
+ writew(value & 0xFF, LED_BASE);
}