Hi,
write_jedec_1: verify and retry in bulk
Signed-off-by: Urja Rannikko <urjaman(a)gmail.com>
-----
This in companion to the patch i posted just a few minutes ago allows
significant improvement of LPC write speed on serprog (from 73 minutes
to flash a chip to 12 minutes).
To be honest I'd like to see this code in action with a "flaky" flash
chip, before I'd trust it 100%.
The logic is slightly different from before, before each flaky byte
was retried upto the maximum count before moving on. Now all bad bytes
in the sector are rewritten in sequence then checked again (and this
routine is done upto the max count).
--
Urja Rannikko