All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] CFI: trigger watchdog in write_buf()
@ 2011-09-15  5:19 Heiko Schocher
  2011-10-05  6:53 ` Heiko Schocher
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Schocher @ 2011-09-15  5:19 UTC (permalink / raw)
  To: u-boot

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(-)

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 */
 
-- 
1.7.6

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] CFI: trigger watchdog in write_buf()
  2011-09-15  5:19 [U-Boot] [PATCH] CFI: trigger watchdog in write_buf() Heiko Schocher
@ 2011-10-05  6:53 ` Heiko Schocher
  2011-10-05  7:01   ` Stefan Roese
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Schocher @ 2011-10-05  6:53 UTC (permalink / raw)
  To: u-boot

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
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] CFI: trigger watchdog in write_buf()
  2011-10-05  6:53 ` Heiko Schocher
@ 2011-10-05  7:01   ` Stefan Roese
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2011-10-05  7:01 UTC (permalink / raw)
  To: u-boot

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 at denx.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-05  7:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15  5:19 [U-Boot] [PATCH] CFI: trigger watchdog in write_buf() Heiko Schocher
2011-10-05  6:53 ` Heiko Schocher
2011-10-05  7:01   ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.