<p>Arthur Heymans has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20971">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">nb/amd/mct_ddr3/mct_d.c: Break out of allow_config_restore loop<br><br>No need to further search for non matching SPD when first one is<br>found.<br><br>Change-Id: Ie669d1bc38411e40ab95c28b17ee8818874dc741<br>Signed-off-by: Arthur Heymans <arthur@aheymans.xyz><br>---<br>M src/northbridge/amd/amdmct/mct_ddr3/mct_d.c<br>1 file changed, 5 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/20971/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c<br>index da803ff..e4612f1 100644<br>--- a/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c<br>+++ b/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c<br>@@ -2715,9 +2715,12 @@<br>                  struct DCTStatStruc *pDCTstat;<br>                        pDCTstat = pDCTstatA + Node;<br> <br>-                      if (pDCTstat->NodePresent)<br>-                                if (!pDCTstat->spd_data.nvram_spd_match)<br>+                  if (pDCTstat->NodePresent) {<br>+                              if (!pDCTstat->spd_data.nvram_spd_match) {<br>                                         allow_config_restore = 0;<br>+                                    break;<br>+                               }<br>+                    }<br>             }<br> <br>          /* FIXME<br></pre><p>To view, visit <a href="https://review.coreboot.org/20971">change 20971</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/20971"/><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: Ie669d1bc38411e40ab95c28b17ee8818874dc741 </div>
<div style="display:none"> Gerrit-Change-Number: 20971 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> </div>