Fix watchdog reset problems on LWMON board
diff --git a/CHANGELOG b/CHANGELOG
index 717f4aa..aee8878 100644
--- a/CHANGELOG
+++ b/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.
diff --git a/common/lcd.c b/common/lcd.c
index 9713ea3..6650638 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -655,6 +655,7 @@
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++);
diff --git a/post/cpu.c b/post/cpu.c
index 6d09a75..1f2ded2 100644
--- a/post/cpu.c
+++ b/post/cpu.c
@@ -120,6 +120,7 @@
WATCHDOG_RESET();
if (ret == 0)
ret = cpu_post_test_multi ();
+ WATCHDOG_RESET();
if (ret == 0)
ret = cpu_post_test_string ();
if (ret == 0)