[coreboot-gerrit] Change in coreboot[master]: rx6110sa: Make sure that VLF bit will be cleared

Werner Zeh (Code Review) gerrit at coreboot.org
Mon Aug 7 09:02:05 CEST 2017


Werner Zeh has uploaded this change for review. ( https://review.coreboot.org/20893


Change subject: rx6110sa: Make sure that VLF bit will be cleared
......................................................................

rx6110sa: Make sure that VLF bit will be cleared

Ensure that the VLF bit will be cleared after a power loss event even if
the stopwatch has expired before the code to clear the bit is reached.

Change-Id: Ib2cfdabf4cd4df834395d6a102c6ae70568e71db
Signed-off-by: Werner Zeh <werner.zeh at siemens.com>
---
M src/drivers/i2c/rx6110sa/rx6110sa.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/20893/1

diff --git a/src/drivers/i2c/rx6110sa/rx6110sa.c b/src/drivers/i2c/rx6110sa/rx6110sa.c
index 761d83d..2c62f23 100644
--- a/src/drivers/i2c/rx6110sa/rx6110sa.c
+++ b/src/drivers/i2c/rx6110sa/rx6110sa.c
@@ -163,7 +163,8 @@
 	 * VLF-bit can be cleared.
 	 */
 	while (!stopwatch_expired(&sw))
-		flags &= ~VLF_BIT;
+		;
+	flags &= ~VLF_BIT;
 	rx6110sa_write(dev, FLAG_REGISTER, flags);
 
 	/* Before setting the clock stop oscillator. */

-- 
To view, visit https://review.coreboot.org/20893
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2cfdabf4cd4df834395d6a102c6ae70568e71db
Gerrit-Change-Number: 20893
Gerrit-PatchSet: 1
Gerrit-Owner: Werner Zeh <werner.zeh at siemens.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170807/52f60efd/attachment.html>


More information about the coreboot-gerrit mailing list