mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 07:23:43 +02:00
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>
This commit is contained in:
parent
6665244bc7
commit
d5b2228e43
@ -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
|
* preserved, but in that case we might perform unneeded erase which
|
||||||
* takes time as well.
|
* 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)) {
|
if (flash->read(flash, oldcontents, 0, size)) {
|
||||||
ret = 1;
|
ret = 1;
|
||||||
|
msg_cdbg("FAILED.\n");
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
msg_cdbg("done.\n");
|
||||||
|
|
||||||
// This should be moved into each flash part's code to do it
|
// This should be moved into each flash part's code to do it
|
||||||
// cleanly. This does the job.
|
// cleanly. This does the job.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user