<div class="gmail_quote">On Wed, Mar 24, 2010 at 7:10 PM, Carl-Daniel Hailfinger <span dir="ltr"><<a href="mailto:c-d.hailfinger.devel.2006@gmx.net">c-d.hailfinger.devel.2006@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

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

<br>Acked-by: David Hendricks <<a href="mailto:dhendrix@google.com">dhendrix@google.com</a>><br clear="all"><br>-- <br>David Hendricks (dhendrix)<br>Systems Software Engineer, Google Inc.<br>
</div>