Fix watchdog issues for ColdFire boards.
diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c
index 2e37480..3717237 100644
--- a/drivers/cfi_flash.c
+++ b/drivers/cfi_flash.c
@@ -45,6 +45,7 @@
/* #define DEBUG */
#include <common.h>
+#include <watchdog.h>
#include <asm/processor.h>
#include <asm/byteorder.h>
#include <environment.h>
@@ -1307,6 +1308,10 @@
if (flag)
enable_interrupts ();
+#if defined(CONFIG_MCF52x2)
+ WATCHDOG_RESET();
+#endif
+
return flash_full_status_check (info, find_sector (info, dest),
info->write_tout, "write");
}