<p>Piotr Król would like Michał Żygowski to <strong>review</strong> this change.</p><p><a href="https://review.coreboot.org/27359">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">src/sb/amd/pi/hudson/sd.c: disable SDR50 tuning and set correct clock freq in SD2.0 mode<br><br>According to BKDG for AMD Family 16h Models 30h-3Fh Processors<br>SDR50 tuning should be disabled in 0xA8 register.<br><br>Also fix clock frequency setting in 0xA4 for stepping >= A1<br>which caused reduced performance of SD cards transfer speed<br>even by half.<br><br>Change-Id: I80ca754b0c89e08aa90ff885467c7486a3efb999<br>Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com><br>Signed-off-by: Piotr Król <piotr.krol@3mdeb.com><br>---<br>M src/southbridge/amd/pi/hudson/sd.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/27359/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/southbridge/amd/pi/hudson/sd.c b/src/southbridge/amd/pi/hudson/sd.c</span><br><span>index a76ff92..a87367f 100644</span><br><span>--- a/src/southbridge/amd/pi/hudson/sd.c</span><br><span>+++ b/src/southbridge/amd/pi/hudson/sd.c</span><br><span>@@ -43,7 +43,8 @@</span><br><span>                      pci_write_config32(dev, 0xD0, 0x0000058B);</span><br><span>           }</span><br><span>            else {                                  /* Stepping >= A1 */</span><br><span style="color: hsl(0, 100%, 40%);">-                 pci_write_config32(dev, 0xA4, 0x31FE3FB2);</span><br><span style="color: hsl(120, 100%, 40%);">+                    pci_write_config32(dev, 0xA4, 0x31FE32B2);</span><br><span style="color: hsl(120, 100%, 40%);">+                    pci_write_config32(dev, 0xA8, 0x00000070);</span><br><span>                   pci_write_config32(dev, 0xB0, 0x01180C19);</span><br><span>                   pci_write_config32(dev, 0xD0, 0x0000078B);</span><br><span>           }</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27359">change 27359</a>. To unsubscribe, or for help writing mail filters, 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/27359"/><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: I80ca754b0c89e08aa90ff885467c7486a3efb999 </div>
<div style="display:none"> Gerrit-Change-Number: 27359 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Piotr Król <piotr.krol@3mdeb.com> </div>
<div style="display:none"> Gerrit-Reviewer: Michał Żygowski <michal.zygowski@3mdeb.com> </div>