mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 23:43: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:
parent
b0d0f631bb
commit
d51410c3ae
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user