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:
Dean Glazeski 2009-11-19 17:12:23 -06:00 committed by Zachary T Welch
parent 4b18ef15a3
commit 31fb7788a6
1 changed files with 1 additions and 1 deletions

View File

@ -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)