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>
diff --git a/flashrom.c b/flashrom.c
index 20532e8..2bb904e 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -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)