浏览代码

Fix wrong usage of udelay() in led_blink() on trab board
Patch by Martin Krause, 27 Oct 2005

Wolfgang Denk 19 年之前
父节点
当前提交
b9fff8ee83
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 3 0
      CHANGELOG
  2. 1 0
      board/trab/cmd_trab.c

+ 3 - 0
CHANGELOG

@@ -2,6 +2,9 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Fix wrong usage of udelay() in led_blink() on trab board
+  Patch by Martin Krause, 27 Oct 2005
+
 * Fix udelay bug in vfd.c for trab board
   Patch by Martin Krause, 27 Oct 2005
 

+ 1 - 0
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);