On 8/12/09 2:06 PM, Carl-Daniel Hailfinger wrote:
- if (verify_it) {
/* Work around chips which need some time to calm down. */
if (write_it)
ret = verify_flash(flash, buf);programmer_delay(1000*1000);
if (ret)
emergency_help_message();
- }
This should be
/* If we tried to write, and now we don't properly verify, we might have an emergency situation */ if (write_it && ret) emergency_help_message();
Otherwise
Acked-by: Stefan Reinauer stepan@coresystems.de