commit | 57cdd6ba66219f568917e58c3dc585c7d725ce45 | [log] [tgz] |
---|---|---|
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Sat Mar 12 19:49:14 2016 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Sat Mar 12 19:49:14 2016 +0000 |
tree | 40a2a89636f80290353c09b710e5b71a740e8400 | |
parent | 8e6565449be9dbf74dad3b5078f2bdc7c587cb2c [diff] |
sb600spi: rewrite and fix corner case Specifying spispeed=reserved as programmer parameter resulted in selecting the default SPI speed instead of aborting. Rewrite the logic to be more readable. Corresponding to flashrom svn r1949. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>