[flashrom] [PATCH] Faster Dediprog writes
Richard Smith
richard at laptop.org
Thu Nov 18 16:37:45 CET 2010
On Wed, Nov 17, 2010 at 11:53 PM, Carl-Daniel Hailfinger
<c-d.hailfinger.devel.2006 at 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 at 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.
--
Richard A. Smith
More information about the flashrom
mailing list