coreboot/src/device
Julius Werner 6dc7b220a3 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>
2018-05-02 00:23:30 +00:00
..
dram device/dram/ddr3: improve XMP support 2018-04-16 08:46:23 +00:00
oprom device/oprom/yabel: Fix spelling of *successful* 2018-04-23 09:23:13 +00:00
azalia_device.c Correct some common spelling mistakes 2016-01-07 22:57:02 +01:00
cardbus_device.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cpu_device.c src/device: Capitalize CPU, RAM and ROM 2016-07-31 18:33:30 +02:00
device.c device: constify some variables 2018-04-30 06:22:13 +00:00
device_simple.c lib: provide clearer devicetree semantics 2017-04-25 18:14:38 +02:00
device_util.c device: constify some variables 2018-04-30 06:22:13 +00:00
hypertransport.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i2c.c Reinvent I2C ops 2017-08-18 15:33:45 +00:00
i2c_bus.c device/i2c_bus: allow i2c_bus and i2c_simple to coexist 2018-01-24 05:02:50 +00:00
Kconfig Add a default path for vbt.bin 2018-02-01 18:57:28 +00:00
Makefile.inc device: Include devicetree in SMM stage 2018-02-22 09:55:19 +00:00
pci_class.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pci_device.c timestamps: Add timestamps around the vbios load & init 2018-03-08 18:14:54 +00:00
pci_early.c src/device: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:48:57 +00:00
pci_ops.c PCI ops: MMCONF_SUPPORT_DEFAULT is required 2016-12-07 12:59:28 +01:00
pci_rom.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
pciexp_device.c device: Add flag to disable PCIe ASPM 2018-04-26 21:32:48 +00:00
pcix_device.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pnp_device.c device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
root_device.c device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00
smbus_ops.c device/smbus: Reuse I2C bus operations where applicable 2017-08-18 15:34:15 +00:00
software_i2c.c software_i2c: Improve error behavior 2018-05-02 00:23:30 +00:00