[flashrom] [PATCH] Partial writes for SPI

David Hendricks dhendrix at google.com
Fri Apr 2 23:57:48 CEST 2010

On Wed, Mar 24, 2010 at 7:10 PM, Carl-Daniel Hailfinger <
c-d.hailfinger.devel.2006 at gmx.net> wrote:

> Every SPI programmer driver had its own completely different chip write
> implementation, and all of them were insufficiently commented.
> Create spi_write_chunked as a copy of spi_read_chunked and convert all
> SPI programmers to use it.
> No functional changes except:
> - Bus Pirate uses 12 Byte writes instead of 8 Byte writes
> - SB600 uses 5 Byte writes instead of 1 Byte writes
> Should work. Not for 0.9.1, but since I had that thing on my disk
> anyway, I figured I'd post it to the list in case someone wants to
> experiment with partial writes.
> Tests appreciated.

Looks like a step in the right direction to me, I'd love to see it post
0.9.2. I even had a chance to test it on Intel and VIA SPI controllers, and
it seemed not to break anything :-)

Acked-by: David Hendricks <dhendrix at google.com>

David Hendricks (dhendrix)
Systems Software Engineer, Google Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20100402/ec204e88/attachment.html>

More information about the flashrom mailing list