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:
committed by
Zachary T Welch
parent
4b18ef15a3
commit
31fb7788a6
+1
-1
@@ -1620,7 +1620,7 @@ COMMAND_HANDLER(handle_nand_verify_command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
file.size -= bytes_read;
|
file.size -= bytes_read;
|
||||||
file.address += nand->page_size;
|
dev.address += nand->page_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nand_fileio_finish(&file) == ERROR_OK)
|
if (nand_fileio_finish(&file) == ERROR_OK)
|
||||||
|
|||||||
Reference in New Issue
Block a user