ecpprog: Improve reset procedure
authorSylvain Munaut <tnt@246tNt.com>
Tue, 8 Jun 2021 16:25:56 +0000 (18:25 +0200)
committerGregory Davill <greg.davill@gmail.com>
Wed, 9 Jun 2021 00:37:17 +0000 (10:07 +0930)
commit83fff6f4fc2c60db03146ef4216ffc0c6e7f9a97
tree762e08f1341648eebe9f1e71832e9b0b2138069d
parentd54d374b81512bc9a94d469fa029caf3f30daf7f
ecpprog: Improve reset procedure

Doesn't work 100% of the time, for 100% of the flashes but for windbond
ones, it at least goes from 0% success if it was in QPI to 100% if
I try twice in a row.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
ecpprog/ecpprog.c