Commit d51410c3 authored by Paul Fox's avatar Paul Fox Committed by Carl-Daniel Hailfinger
Browse files

Tell the user about the beginning and end of the write operation


Corresponding to flashrom svn r582.
Signed-off-by: default avatarPaul Fox <pgf@laptop.org>
Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
parent b0d0f631
......@@ -820,11 +820,13 @@ int main(int argc, char *argv[])
// ////////////////////////////////////////////////////////////
if (write_it) {
printf("Writing flash chip... ");
if (!flash->write) {
fprintf(stderr, "Error: flashrom has no write function for this flash chip.\n");
return 1;
}
ret |= flash->write(flash, buf);
if (!ret) printf("COMPLETE.\n");
}
if (verify_it)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment