coreboot-kgpe-d16/src/soc/nvidia/tegra
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 7b19a095652f1561590dcca922b9f8c308d7de9d)
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
..
apbmisc.c tegra124: enable JTAG in Security Mode 2014-11-12 20:16:53 +01:00
apbmisc.h tegra124: enable JTAG in Security Mode 2014-11-12 20:16:53 +01:00
dc.h t124: Clean up display init functions 2014-11-14 07:27:17 +01:00
displayport.h t124: Clean up display init functions 2014-11-14 07:27:17 +01:00
gpio.c
gpio.h
i2c.c tegra124: i2c: Reset the controller when there's an error. 2014-11-14 07:28:18 +01:00
i2c.h tegra124: i2c: Reset the controller when there's an error. 2014-11-14 07:28:18 +01:00
pingroup.c
pingroup.h
pinmux.c
pinmux.h
pwm.h tegra124: Add pwm_controller registers 2014-11-12 20:16:11 +01:00
usb.c
usb.h