On 23.11.2010 00:54, Carl-Daniel Hailfinger wrote:
> On 18.11.2010 16:37, Richard Smith wrote:
>> On Wed, Nov 17, 2010 at 11:53 PM, Carl-Daniel Hailfinger
>> <[email protected]> wrote:
>>   
>>> Please note that the write speedup only applies to chips which have SPI
>>> page write (i.e. chips using spi_chip_write_256).
>>>
>>> Tests appreciated.
>>>
>>> Signed-off-by: Carl-Daniel Hailfinger <[email protected]>
>>>     
>> I had to tweak the   if (writecnt > 5) {} clause to allow for the
>> larger size but other than that this Works For Me. It drops the
>> program time on my 128k part to 30 seconds.  Thats quite a bit better
>> than the 20 minutes it used to take.
>>
>> I also verified that chunk sizes larger than 12 fail but I didn't try
>> any values between 1 and 12.
>>   
> 
> Thanks for testing! New patch follows. If I get an ack, I'll commit.
> 
> Add chunked write ability to the Dediprog SF100 driver.
> 
> Please note that the write speedup only applies to chips which have SPI
> page write (i.e. chips using spi_chip_write_256).
> 
> This is a quick fix for write speed until I get around to implementing
> full bulk SPI write support.
> 
> Tests appreciated.
> 
> Signed-off-by: Carl-Daniel Hailfinger <[email protected]>
> 

Acked-by: Mathias Krause <[email protected]>

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to