diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-08-24 02:10:18 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-08-24 02:10:18 +0000 |
commit | bdead0d27dc03c2f40b36d98dc94b717f38d56e7 (patch) | |
tree | 054c1e6873b476f147b9adbfdde01d38c09b878d /spi.c | |
parent | 89edf36c177eec2b1a2cbbcaff48c4e9a946a190 (diff) | |
download | flashrom-bdead0d27dc03c2f40b36d98dc94b717f38d56e7.tar.gz flashrom-bdead0d27dc03c2f40b36d98dc94b717f38d56e7.tar.bz2 flashrom-bdead0d27dc03c2f40b36d98dc94b717f38d56e7.zip |
Get rid of sp_die()
- Add return values to sp_flush_stream(), sp_pass_writen(),
sp_execute_opbuf(), sp_execute_opbuf_noflush(),
sp_check_opbuf_usage(), sp_do_read_n().
- Use those return values to propagate errors instead of exiting.
In some places this has to wait for core API changes (error handling for
chip_readb, chip_readn, chip_write) hence comments are added instead.
Corresponding to flashrom svn r1719.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'spi.c')
0 files changed, 0 insertions, 0 deletions