Author: hailfinger Date: 2009-06-12 10:04:08 +0200 (Fri, 12 Jun 2009) New Revision: 582
Modified: trunk/flashrom.c Log: Tell the user about the beginning and end of the write operation.
Signed-off-by: Paul Fox pgf@laptop.org Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Modified: trunk/flashrom.c =================================================================== --- trunk/flashrom.c 2009-06-09 18:29:30 UTC (rev 581) +++ trunk/flashrom.c 2009-06-12 08:04:08 UTC (rev 582) @@ -820,11 +820,13 @@ // ////////////////////////////////////////////////////////////
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)