Message ID | 1316063998-4719-1-git-send-email-hs@denx.de |
---|---|
State | Rejected |
Delegated to: | Stefan Roese |
Headers | show |
Hello Stefan, Heiko Schocher wrote: > Signed-off-by: Heiko Schocher <hs@denx.de> > Cc: Stefan Roese <sr@denx.de> > --- > drivers/mtd/cfi_flash.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Patch is not needed, Sorry for the noise. Please ignore it. Thanks! bye, Heiko
Hi Heiko, On Wednesday 05 October 2011 08:53:59 Heiko Schocher wrote: > > Signed-off-by: Heiko Schocher <hs@denx.de> > > Cc: Stefan Roese <sr@denx.de> > > --- > > > > drivers/mtd/cfi_flash.c | 3 +++ > > 1 files changed, 3 insertions(+), 0 deletions(-) > > Patch is not needed, Sorry for the noise. Please ignore it. OK, I'm removing it from patchworks as well. Thanks, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office@denx.de
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index ac91dfd..dbeed5f 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -40,6 +40,7 @@ #include <asm/byteorder.h> #include <environment.h> #include <mtd/cfi_flash.h> +#include <watchdog.h> /* * This file implements a Common Flash Interface (CFI) driver for @@ -1350,6 +1351,7 @@ int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt) src += i; cnt -= i; FLASH_SHOW_PROGRESS(scale, dots, digit, i); + WATCHDOG_RESET(); } #else while (cnt >= info->portwidth) { @@ -1362,6 +1364,7 @@ int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt) wp += info->portwidth; cnt -= info->portwidth; FLASH_SHOW_PROGRESS(scale, dots, digit, info->portwidth); + WATCHDOG_RESET(); } #endif /* CONFIG_SYS_FLASH_USE_BUFFER_WRITE */
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Stefan Roese <sr@denx.de> --- drivers/mtd/cfi_flash.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)