1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-28 15:33:42 +02:00

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

Corresponding to flashrom svn r582.

Signed-off-by: Paul Fox <pgf@laptop.org>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
Paul Fox 2009-06-12 08:04:08 +00:00 committed by Carl-Daniel Hailfinger
parent b0d0f631bb
commit d51410c3ae

View File

@ -820,11 +820,13 @@ int main(int argc, char *argv[])
// //////////////////////////////////////////////////////////// // ////////////////////////////////////////////////////////////
if (write_it) { if (write_it) {
printf("Writing flash chip... ");
if (!flash->write) { if (!flash->write) {
fprintf(stderr, "Error: flashrom has no write function for this flash chip.\n"); fprintf(stderr, "Error: flashrom has no write function for this flash chip.\n");
return 1; return 1;
} }
ret |= flash->write(flash, buf); ret |= flash->write(flash, buf);
if (!ret) printf("COMPLETE.\n");
} }
if (verify_it) if (verify_it)