<p>Bill XIE has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22181">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ec/lenovo/h8: Clear EC output queue after enablement<br><br>Sometimes (observed on Thinkpad T400s during cold boot)<br>a few (only one observed) garbage bytes may detained in<br>the output queue of EC after power up, and they should<br>be cleared otherwise later communications will be<br>disrupted.<br><br>Change-Id: Id1733f7350232d0b10ac0d1bc912b62e7fa4da75<br>Signed-off-by: Bill XIE <persmule@gmail.com><br>---<br>M src/ec/lenovo/h8/h8.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/81/22181/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c<br>index 882ac02..3442f68 100644<br>--- a/src/ec/lenovo/h8/h8.c<br>+++ b/src/ec/lenovo/h8/h8.c<br>@@ -196,6 +196,7 @@<br> <br>  dev->ops = &h8_dev_ops;<br> <br>+    ec_clear_out_queue();<br>         h8_log_ec_version();<br> <br>       /* Always enable I/O range 0x1600-0x160f and thermal management */<br></pre><p>To view, visit <a href="https://review.coreboot.org/22181">change 22181</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/22181"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Id1733f7350232d0b10ac0d1bc912b62e7fa4da75 </div>
<div style="display:none"> Gerrit-Change-Number: 22181 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Bill XIE <persmule@gmail.com> </div>