summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-06-26 17:47:40 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-06-26 17:47:40 +0000
commitd5b2228e43c6e4f6035e9bc098792453f5414aa2 (patch)
tree3c33b9acbb432bdc47a44602c212737113d27826 /flashrom.c
parent6665244bc79ff794a8fb4d61ac081764127b64d2 (diff)
downloadast2050-flashrom-d5b2228e43c6e4f6035e9bc098792453f5414aa2.zip
ast2050-flashrom-d5b2228e43c6e4f6035e9bc098792453f5414aa2.tar.gz
Add a success indicator to the "Reading old flash chip contents..." message
Corresponding to flashrom svn r1355. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/flashrom.c b/flashrom.c
index 21d4c35..13d398e 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -1914,11 +1914,13 @@ int doit(struct flashchip *flash, int force, const char *filename, int read_it,
* preserved, but in that case we might perform unneeded erase which
* takes time as well.
*/
- msg_cdbg("Reading old flash chip contents...\n");
+ msg_cdbg("Reading old flash chip contents... ");
if (flash->read(flash, oldcontents, 0, size)) {
ret = 1;
+ msg_cdbg("FAILED.\n");
goto out;
}
+ msg_cdbg("done.\n");
// This should be moved into each flash part's code to do it
// cleanly. This does the job.
OpenPOWER on IntegriCloud