aboutsummaryrefslogtreecommitdiffstats
path: root/buspirate_spi.c
diff options
context:
space:
mode:
authorMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2011-12-22 23:27:03 +0000
committerMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2011-12-22 23:27:03 +0000
commit222bf1013f39808e42479cd2f1cc2687cc59e657 (patch)
treeea9c5b838bc0cc30b373d6450e1c705f18bab638 /buspirate_spi.c
parent3cf335eba0067ad44bb32957a841decf1a52bc59 (diff)
downloadflashrom-222bf1013f39808e42479cd2f1cc2687cc59e657.tar.gz
flashrom-222bf1013f39808e42479cd2f1cc2687cc59e657.tar.bz2
flashrom-222bf1013f39808e42479cd2f1cc2687cc59e657.zip
Fix programmer-centric probe (patch v2)
As reported by Stefan Tauner on IRC, the new programmer-centric logic is broken by re-using occupied members of the flashes array when changing to the next programmer. This fixes it. patch v2: prevent probing one chip per programmer even if the array is full. Using a do-while loop was a bad idea. Corresponding to flashrom svn r1479. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'buspirate_spi.c')
0 files changed, 0 insertions, 0 deletions