coreboot/src
Gabe Black 6541b283b0 tegra124: i2c: Reset the controller when there's an error.
This is the only way to clear the error bits in the controller. Without
clearing them, every future transaction will look like it failed.

BUG=chrome-os-partner:27220
TEST=Built and booted on nyan with the TPM frequency turned up to 400 KHz.
BRANCH=None

Original-Change-Id: Ib654e60ec3039ad9f5f96aa7288d3d877e5c843a
Original-Signed-off-by: Gabe Black <gabeblack@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/191811
Original-Reviewed-by: Tom Warren <twarren@nvidia.com>
Original-Reviewed-by: Gabe Black <gabeblack@chromium.org>
Original-Commit-Queue: Gabe Black <gabeblack@chromium.org>
Original-Tested-by: Gabe Black <gabeblack@chromium.org>
(cherry picked from commit 7b19a09565)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I301b6694cc521601b618973de891e4ed44c6a97d
Reviewed-on: http://review.coreboot.org/7460
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
2014-11-14 07:28:18 +01:00
..
arch arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
console Copy u-boot sources as is and modify the tree to still build 2014-11-12 20:39:13 +01:00
cpu cpu/x86/smm/Makefile.inc: Fix up linkage rules 2014-11-11 12:34:27 +01:00
device device/dram/ddr3.c: Fix sizeof on array func param overflow 2014-11-08 07:09:34 +01:00
drivers drivers/intel/gma/intel_dp.c: Fix printf type-specifier 2014-11-11 14:42:18 +01:00
ec {arch,cpu,drivers,ec}: Don't hide pointers behind typedefs 2014-10-27 23:40:05 +01:00
include pci_ops.{c,h}: Don't hide pointers behind typedefs 2014-11-05 14:45:57 +01:00
lib src/lib/Makefile.inc: Allow rmodules to link under Clang 2014-11-12 18:13:57 +01:00
mainboard Nyan: Set I2S1 Source to CLK_M 2014-11-14 07:27:42 +01:00
northbridge gm45: Don't crash if less than 4G of RAM are present. 2014-11-12 20:44:25 +01:00
soc tegra124: i2c: Reset the controller when there's an error. 2014-11-14 07:28:18 +01:00
southbridge sch: Move to implicit length patching 2014-11-09 12:55:13 +01:00
superio superio/ite: Use common dispatch for pnp entry/exit functions 2014-11-04 11:36:32 +01:00
vendorcode AMD Trinity: Update the Trinity SMU Firmware 2014-11-13 10:13:54 +01:00
Kconfig Kconfig: Hide DYNAMIC_CBMEM. 2014-11-09 02:03:24 +01:00