From: Dean Glazeski Date: Thu, 19 Nov 2009 23:12:23 +0000 (-0600) Subject: NAND verify doesn't advance. X-Git-Tag: v0.4.0-rc1~483 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=31fb7788a605fe1c0c405444b5bab51a7e42d481 NAND verify doesn't advance. Fix to move the device address up as the contents are verified. Signed-off-by: Zachary T Welch --- diff --git a/src/flash/nand.c b/src/flash/nand.c index 2085028c2d..77aa3e57f6 100644 --- a/src/flash/nand.c +++ b/src/flash/nand.c @@ -1620,7 +1620,7 @@ COMMAND_HANDLER(handle_nand_verify_command) } file.size -= bytes_read; - file.address += nand->page_size; + dev.address += nand->page_size; } if (nand_fileio_finish(&file) == ERROR_OK)