summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-06-07 08:49:38 -0500
committerJon Loeliger <jdl@freescale.com>2006-06-07 08:49:38 -0500
commit72ed528a948b151e7be5ce03ed3d2b88a229dd0a (patch)
tree0f90590c0faf6fcc85f26f92facc653112be53e0 /drivers
parent9f37dc8cabc94aed27aec8b4c69a390c8603fd28 (diff)
parente461a24113c66747510b07930a83b0d84171a559 (diff)
Merge branch 'master' of http://www.denx.de/git/u-boot
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cfi_flash.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c
index 37172379b..fd0a18682 100644
--- a/drivers/cfi_flash.c
+++ b/drivers/cfi_flash.c
@@ -45,7 +45,6 @@
/* #define DEBUG */
#include <common.h>
-#include <watchdog.h>
#include <asm/processor.h>
#include <asm/byteorder.h>
#include <environment.h>
@@ -794,6 +793,7 @@ static int flash_status_check (flash_info_t * info, flash_sect_t sector,
flash_write_cmd (info, sector, 0, info->cmd_reset);
return ERR_TIMOUT;
}
+ udelay (1); /* also triggers watchdog */
}
return ERR_OK;
}
@@ -1308,10 +1308,6 @@ static int flash_write_cfiword (flash_info_t * info, ulong dest,
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");
}