Nico Huber has uploaded this change for review. ( https://review.coreboot.org/c/libgfxinit/+/32491
Change subject: gma i2c: Try to clear NAK indicator ......................................................................
gma i2c: Try to clear NAK indicator
Change-Id: I7df80d8757e1d14e288d9424240e873cf5a5fd29 Signed-off-by: Nico Huber nico.h@gmx.de --- M common/hw-gfx-gma-i2c.adb 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/91/32491/1
diff --git a/common/hw-gfx-gma-i2c.adb b/common/hw-gfx-gma-i2c.adb index d8cdf44..e5cf010 100644 --- a/common/hw-gfx-gma-i2c.adb +++ b/common/hw-gfx-gma-i2c.adb @@ -251,6 +251,10 @@ (Register => GMBUS_Regs (2), Mask => GMBUS2_GMBUS_ACTIVE); end if; + if (GMBUS2 and GMBUS2_NAK_INDICATOR) /= 0 then + Reset_GMBUS (Success); + Success := False; + end if; end if; Length := Transfered;