Nico Huber has uploaded this change for review.

View Change

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;


To view, visit change 32491. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libgfxinit
Gerrit-Branch: master
Gerrit-Change-Id: I7df80d8757e1d14e288d9424240e873cf5a5fd29
Gerrit-Change-Number: 32491
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h@gmx.de>
Gerrit-MessageType: newchange