Specifying spispeed=reserved as programmer parameter resulted in
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>
Sat, 12 Mar 2016 19:49:14 +0000 (19:49 +0000)
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>
Sat, 12 Mar 2016 19:49:14 +0000 (19:49 +0000)
commit206e2c56f702d697f83ac909da53e8df15e48f15
tree40a2a89636f80290353c09b710e5b71a740e8400
parent99b2468c9eaa97f7209ee919aa254ba536fd84c2
Specifying spispeed=reserved as programmer parameter resulted in
selecting the default SPI speed instead of aborting. Rewrite the logic
to be more readable.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
git-svn-id: svn://flashrom.org/flashrom/trunk@1949 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
sb600spi.c