From 31fb7788a605fe1c0c405444b5bab51a7e42d481 Mon Sep 17 00:00:00 2001 From: Dean Glazeski Date: Thu, 19 Nov 2009 17:12:23 -0600 Subject: [PATCH] NAND verify doesn't advance. Fix to move the device address up as the contents are verified. Signed-off-by: Zachary T Welch --- src/flash/nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5