CFI: trigger watchdog in write_buf()
PATCH 1/1 CFI: trigger watchdog in write_buf()
Signed-off-by Heiko Schocher <[email protected]>
Cc Stefan Roese <[email protected]>
--- drivers/mtd/cfi_flash.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/mtd/cfi_flash.c +3 -0
@@ -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 */
Signature · 1 line
1.7.6
PATCH 1/1 CFI: trigger watchdog in write_buf()
Hello Stefan,
Quoted 5 lines · Heiko Schocher
Signed-off-by Heiko Schocher <[email protected]>Cc Stefan Roese <[email protected]>--- 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
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
PATCH 1/1 CFI: trigger watchdog in write_buf()
Hi Heiko,
Quoted 8 lines · On Wednesday 05 October 2011 08:53:59 Heiko Schocher wrote:
Quoted 6 lines
Signed-off-by Heiko Schocher <[email protected]>Cc Stefan Roese <[email protected]>---
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