summaryrefslogtreecommitdiff
path: root/board/trab
diff options
context:
space:
mode:
authorWolfgang Denk <wd@fifi.denx.de>2006-06-16 15:52:58 +0200
committerWolfgang Denk <wd@fifi.denx.de>2006-06-16 15:52:58 +0200
commitb9fff8ee83170da1160e0665c7027e6744823d49 (patch)
treedc098f1fbed8b880cd1bb30b7a039c3f80316083 /board/trab
parent3e9a299231c9967e88e28937a8b202fc1a167ec7 (diff)
downloadu-boot-imx-b9fff8ee83170da1160e0665c7027e6744823d49.zip
u-boot-imx-b9fff8ee83170da1160e0665c7027e6744823d49.tar.gz
u-boot-imx-b9fff8ee83170da1160e0665c7027e6744823d49.tar.bz2
Fix wrong usage of udelay() in led_blink() on trab board
Patch by Martin Krause, 27 Oct 2005
Diffstat (limited to 'board/trab')
-rw-r--r--board/trab/cmd_trab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/trab/cmd_trab.c b/board/trab/cmd_trab.c
index 00eb385..edea8f0 100644
--- a/board/trab/cmd_trab.c
+++ b/board/trab/cmd_trab.c
@@ -729,6 +729,7 @@ static void led_blink (void)
/* blink LED. This function does not return! */
while (1) {
+ reset_timer_masked ();
led_set (1);
udelay (1000000 / LED_BLINK_FREQ / 2);
led_set (0);