On Wed, Nov 17, 2010 at 11:53 PM, Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net 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 c-d.hailfinger.devel.2006@gmx.net
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.