This is just a preview, but maybe someone want to take a look at it over the weekend. This will be useful to automatically determine working payload sizes on awkward programmers. It is also a good idea to separate the checking from actual hardware state changes IMHO. And the ICH code regarding opcodes should be refactored anyway :)
I would welcome any verbose probe logs, especially on the more awkward programmers like wbsio, it87, sb600 etc.
Stefan Tauner (3): Prepare ichspi for check_trans(). Prepare wbsio_spi.c for check_trans() Introduce check_trans().
bitbang_spi.c | 2 + buspirate_spi.c | 15 +++- dediprog.c | 24 ++++-- dummyflasher.c | 2 + flash.h | 1 + ft2232_spi.c | 15 +++- ichspi.c | 259 ++++++++++++++++++++++++++++++++----------------------- it85spi.c | 2 + it87spi.c | 30 +++++-- linux_spi.c | 32 +++++-- programmer.h | 10 +++ sb600spi.c | 52 ++++++----- serprog.c | 33 ++++--- spi.c | 30 ++++++- wbsio_spi.c | 147 ++++++++++++++++++------------- 15 files changed, 428 insertions(+), 226 deletions(-)