Improve messages on failed erases with default verbosity
Erasing and writing flash chip... ERASE FAILED at 0x00001000! Expected=0xff, Read=0xb4, failed byte count from 0x00000000-0x0000ffff: 0xef09
Reading current flash chip contents... done.
<loooooong break while the next eraser and writing is tried>
Verifying flash... VERIFIED.
Even if there is not a long temporal pause, it is very confusing for
the user to first see a failed erase, followed by a read, a done
message and eventually the verification message.
This patch inserts "Looking for another erase function." where there is
just a silent pause above.
Corresponding to flashrom svn r1827.
Signed-off-by: Stefan Tauner <firstname.lastname@example.org>
Acked-by: Stefan Tauner <email@example.com>
1 file changed