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://git.sur5r.net/?a=commitdiff_plain;h=31fb7788a605fe1c0c405444b5bab51a7e42d481;p=openocd 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 2085028c..77aa3e57 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)