i have rebased urja's patch to current HEAD and instead of sending a lengthy "format this, format that" email i fixed the stuff that i thought needs fixing myself. to ease the re-review for urja i am sending my fixup patch separately, everyone else should probably combine 1/3 and 2/3.
urja was right about the delay function. i have also measured a similar speedup with his read function. we should fix spi_read_chunked. everything else slightly intersting is in the commit logs.
Stefan Tauner (3): Add SPI support to serprog protocol. fixup! Add SPI support to serprog protocol. serprog improvements
programmer.h | 9 ++- serprog-protocol.txt | 12 ++- serprog.c | 310 ++++++++++++++++++++++++++++++++++---------------- 3 files changed, 230 insertions(+), 101 deletions(-)