[flashrom] [PATCH] SPI flashing speedup

Andrew Goodbody ajg02 at elfringham.co.uk
Wed Jun 16 22:41:06 CEST 2010


On 16/06/2010 15:56, Michael Karcher wrote:
> In shared flash environments, a short sleep between polls of the status
> register might be very useful. I don't see a big timing impact of a 10us
> sleep on flashrom, but it will greatly reduce SPI load.

No, I don't think so, at least not because of the shared environment. 
Generally (always?) in a shared environment you first have to tell the 
other device to completely stop accessing the flash. Once you start any 
operation other than read then you cannot have anything else access that 
flash device or else one or the other will get corrupted results eg ID 
instead of code fetch. So the best thing to do is to complete all 
operations as quickly as possible and then signal the shared accesses to 
resume.

Andrew




More information about the flashrom mailing list