[flashrom] [PATCH] Multibyte SPI write for Bus Pirate

Sean Nelson audiohacked at gmail.com
Sun Mar 21 03:40:06 CET 2010


On 3/9/10 4:55 PM, Carl-Daniel Hailfinger wrote:
> On 10.03.2010 01:44, Carl-Daniel Hailfinger wrote:
>    
>> I found this in the Bus Pirate forum, apparently written by Patrick Georgi.
>>
>>      
> There was one bug: Writes are not allowed to cross a page boundary.
> Given that we want to finish the generic chunked write sometime soon,
> the patch below (which I shamelessly copied from ft2232spi.c) reduces
> write size to 8 and should work for all currently supported SPI chips.
>
> Signed-off-by: Carl-Daniel Hailfinger<c-d.hailfinger.devel.2006 at gmx.net>
>    
Acked-by: Sean Nelson <audiohacked at gmail.com>




More information about the flashrom mailing list