This is an automated email from Gerrit. Stian Skjelstad ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/468
-- gerrit commit a605b40b3afd7b64016285d99c5f9bf5c56ae484 Author: Stian Skjelsad <[email protected]> Date: Sat Feb 18 15:29:20 2012 +0100 Sometime in the past, nand_fileio_finish started to return ERROR_OK (with the value of zero) on success. Change-Id: Ifb743c1617e2a6071a87c901fae8165969efcdbf Signed-off-by: Stian Skjelstad <[email protected]> diff --git a/src/flash/nand/tcl.c b/src/flash/nand/tcl.c index 6f942d2..a06284d 100644 --- a/src/flash/nand/tcl.c +++ b/src/flash/nand/tcl.c @@ -271,7 +271,7 @@ COMMAND_HANDLER(handle_nand_write_command) s.address += s.page_size; } - if (nand_fileio_finish(&s)) { + if (nand_fileio_finish(&s) == ERROR_OK) { command_print(CMD_CTX, "wrote file %s to NAND flash %s up to " "offset 0x%8.8" PRIx32 " in %fs (%0.3f KiB/s)", CMD_ARGV[1], CMD_ARGV[0], s.address, duration_elapsed(&s.bench), -- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
