diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2016-03-12 19:49:14 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2016-03-12 19:49:14 +0000 |
commit | 57cdd6ba66219f568917e58c3dc585c7d725ce45 (patch) | |
tree | 40a2a89636f80290353c09b710e5b71a740e8400 /cli_classic.c | |
parent | 8e6565449be9dbf74dad3b5078f2bdc7c587cb2c (diff) | |
download | flashrom-57cdd6ba66219f568917e58c3dc585c7d725ce45.tar.gz flashrom-57cdd6ba66219f568917e58c3dc585c7d725ce45.tar.bz2 flashrom-57cdd6ba66219f568917e58c3dc585c7d725ce45.zip |
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>
Diffstat (limited to 'cli_classic.c')
0 files changed, 0 insertions, 0 deletions