summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2008-06-17 16:27:38 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-07-07 11:21:38 +0900
commit0955ef34c0454ae2ee59a78657a0f01fb3ef16d6 (patch)
tree0fd510abcf8c436f7416b57166224d5d4cb6eb1f
parent1d7b31d97b34ccb6f9b20a2465864998b0bf2691 (diff)
downloadu-boot-imx-0955ef34c0454ae2ee59a78657a0f01fb3ef16d6.zip
u-boot-imx-0955ef34c0454ae2ee59a78657a0f01fb3ef16d6.tar.gz
u-boot-imx-0955ef34c0454ae2ee59a78657a0f01fb3ef16d6.tar.bz2
sh: Cleanup source code of MS7722SE
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-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);
}