[flashrom] [RFC] Add .reset to struct flashchip?

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Dec 15 23:16:33 CET 2009


On 15.12.2009 23:04, Maciej Pijanka wrote:
> On Tue, 15 Dec 2009, Carl-Daniel Hailfinger wrote:
>
>   
>> We have more than one chip which gets horribly confused by probe
>> sequences for other chips.
>>
>> Sending a reset command to the detected chip (and sleeping a bit) before
>> performing any read/write/erase action could fix a number of problems
>> we're seeing right now.
>> This could be achieved by adding a .reset function to struct flashchip.
>>     
> Any ideas/approximations how much it will lengthen probe sequence? 
> (ie, send detect then reset-with-wait to each probed chip)
>   

No slowdown on probe. The idea is to run reset once after all probes are
done.

Regards,
Carl-Daniel

-- 
Developer quote of the month: 
"We are juggling too many chainsaws and flaming arrows and tigers."





More information about the flashrom mailing list