Browse Source

Fix watchdog reset problems on LWMON board

wdenk 20 years ago
parent
commit
51152c173d
3 changed files with 4 additions and 0 deletions
  1. 2 0
      CHANGELOG
  2. 1 0
      common/lcd.c
  3. 1 0
      post/cpu.c

+ 2 - 0
CHANGELOG

@@ -2,6 +2,8 @@
 Changes for U-Boot 1.1.3:
 ======================================================================
 
+* Fix watchdog reset problems on LWMON board
+
 * Patch by Juergen Selent, 17 May 2005:
   Add support for Funkwerk VoVPN gateway module.
 

+ 1 - 0
common/lcd.c

@@ -655,6 +655,7 @@ int lcd_display_bitmap(ulong bmp_image, int x, int y)
 	fb   = (uchar *) (lcd_base +
 		(y + height - 1) * lcd_line_length + x);
 	for (i = 0; i < height; ++i) {
+		WATCHDOG_RESET();
 		for (j = 0; j < width ; j++)
 #if defined(CONFIG_PXA250)
 			*(fb++)=*(bmap++);

+ 1 - 0
post/cpu.c

@@ -120,6 +120,7 @@ int cpu_post_test (int flags)
 	WATCHDOG_RESET();
 	if (ret == 0)
 		ret = cpu_post_test_multi ();
+	WATCHDOG_RESET();
 	if (ret == 0)
 		ret = cpu_post_test_string ();
 	if (ret == 0)