commit | 174f55bdec62b5deaa0ed52fa335c1ee9ac9a72c | [log] [tgz] |
---|---|---|
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Fri Oct 08 00:37:55 2010 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Fri Oct 08 00:37:55 2010 +0000 |
tree | ee72939ddee85b2483d90ca0d4f2706482a30433 | |
parent | ef69783a8356a6d7967746d3a0902a6d04ae82f0 [diff] |
Fix timing of SPI status register writes (WRSR) SPI write status register (WRSR) may take longer than 100 ms, and it makes sense to poll for completion in 10 ms steps until 5 s are over. This patch complements r1115. Corresponding to flashrom svn r1201. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Joshua Roys <roysjosh@gmail.com>