NAND verify doesn't advance.
Fix to move the device address up as the contents are verified. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
This commit is contained in:
parent
4b18ef15a3
commit
31fb7788a6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue