[flashrom] [PATCH] serprog SPI support

Urja Rannikko urjaman at gmail.com
Mon May 16 17:16:03 CEST 2011


Add SPI support to serprog protocol.

Signed-off-by: Urja Rannikko <urjaman at gmail.com>
---
Changed stuff mostly according to review ... and an e-mail that
arrived while I was writing this.
Added the optimized SPI read function for serprog that I had already
done, -r time for 1Mbyte 18s -> 11s.

> the other opbuf stuff should also be optional imho, but if this is done
> we probably would like to change the functions using it because they
> often bail out via exit if they read a NAK e.g. sp_flush_stream
Now it is mandatory for non-SPI, but optional for SPi.
If the programmer is SPI-only we should not get any other than delay
calls that would generate opbuf-using commands,
will test for this later and report.


-- 
Urja Rannikko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serprog_spi_support_r2.patch
Type: text/x-patch
Size: 13514 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20110516/8eae768c/attachment.patch>


More information about the flashrom mailing list