From bb932c56f0ba7890697fe2666cc63d2a215d95f1 Mon Sep 17 00:00:00 2001 From: Tom Warren Date: Wed, 30 Apr 2014 14:51:38 -0700 Subject: nyan*: I2C: Implement bus clear when 'ARB_LOST' error occurs This is a fix for the 'Lost arb' we're seeing on Nyan* during reboot stress testing. It occurs when we are slamming the default PMIC registers with pmic_write_reg(). Currently, I've only captured this a few times, and the bus clear seemed to work, as the PMIC writes continued (where they'd hang the system before bus clear) for a couple of regs, then it hangs hard, no messages, no 2nd lost arb, etc. So I've added code to the PMIC write function that will reset the SoC if any I2C error occurs. That seems to recover OK, i.e. on the next reboot the PMIC writes all go thru, boot is OK, kernel loads, etc. BUG=chrome-os-partner:28323 BRANCH=nyan TEST=Tested on nyan. Built for nyan and nyan_big. Original-Change-Id: I1ac5e3023ae22c015105b7f0fb7849663b4aa982 Original-Signed-off-by: Tom Warren Original-Reviewed-on: https://chromium-review.googlesource.com/197732 Original-Reviewed-by: Julius Werner Original-Reviewed-by: Jimmy Zhang (cherry picked from commit f445127e2d9e223a5ef9117008a7ac7631a7980c) Signed-off-by: Marc Jones Change-Id: I584d55b99d65f1e278961db6bdde1845cb01f3bc Reviewed-on: http://review.coreboot.org/7897 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks --- 3rdparty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '3rdparty/intel-sec-tools') diff --git a/3rdparty b/3rdparty index a8b0c5285049..9f68e20e5ef4 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit a8b0c52850495c30dfa1cd8cc2c679a6ba4e18ac +Subproject commit 9f68e20e5ef4b6681fb18bdb4022471bc6810788 -- cgit v1.2.3