diff options
author | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2016-01-04 03:04:36 +0000 |
---|---|---|
committer | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2016-01-04 03:04:36 +0000 |
commit | 714a92302eb40ea1b05f9caa719aaa02e2fd0848 (patch) | |
tree | 63b2175ae000eb80d39702446e5ad1e1180ad380 /dummyflasher.c | |
parent | e066c130f1d9a70405f19aef6be855c4e9e41297 (diff) | |
download | flashrom-714a92302eb40ea1b05f9caa719aaa02e2fd0848.tar.gz |
serprog: clear NDELAY flag only once after opening the port.
Change sp_openserport() to directly clear the O_NONBLOCK flag that
is potentially set by opening the device with O_NDELAY instead of
clearing ALL flags in serialport_config() unconditionally.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Urja Rannikko <urjaman@gmail.com>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1905 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'dummyflasher.c')
0 files changed, 0 insertions, 0 deletions