diff options
author | Julius Werner <jwerner@chromium.org> | 2018-04-30 17:57:08 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2018-05-02 00:23:30 +0000 |
commit | 6dc7b220a30aae322928cbb845988d9f5aa7ef78 (patch) | |
tree | b145c1882b599f775e1edb082398535af8a2e0fa /util/autoport | |
parent | 9b5c28af186b68936615d3d95542ef762baeaafe (diff) |
software_i2c: Improve error behavior
This patch fixes a bug in the software_i2c (bitbang) framework where it
would previously not return an error when receiving a NACK on a write
transaction (deviating behavior from our hardware I2C drivers). It also
adds explicit error codes to be returned for the different kinds of
failure conditions so they are more useful for debugging when dumped.
Change-Id: Ie63bf35123d89dcd99a1f9c079d4cae6a33b0b09
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/25963
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Diffstat (limited to 'util/autoport')
0 files changed, 0 insertions, 0 deletions