From d51410c3aeaf413a42eb4666995aaea44962c7e6 Mon Sep 17 00:00:00 2001 From: Paul Fox Date: Fri, 12 Jun 2009 08:04:08 +0000 Subject: Tell the user about the beginning and end of the write operation Corresponding to flashrom svn r582. Signed-off-by: Paul Fox Acked-by: Carl-Daniel Hailfinger --- flashrom.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'flashrom.c') diff --git a/flashrom.c b/flashrom.c index 20532e8..2bb904e 100644 --- a/flashrom.c +++ b/flashrom.c @@ -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) -- cgit v1.1