<p>Lijian Zhao has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/23600">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/cannonlake: Add support for EMMC DLL update<br><br>Add option to have customized DLL setting for EMMC interface to make<br>EMMC able to running at HS400 speed.<br><br>BUG=None<br><br>Change-Id: I38bc022d8c05dd1fbd03dc26aa6f33cd249e8248<br>Signed-off-by: Lijian Zhao <lijian.zhao@intel.com><br>---<br>M src/soc/intel/cannonlake/chip.c<br>M src/soc/intel/cannonlake/chip.h<br>2 files changed, 12 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/00/23600/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/intel/cannonlake/chip.c b/src/soc/intel/cannonlake/chip.c</span><br><span>index f05b55a..68f95d3 100644</span><br><span>--- a/src/soc/intel/cannonlake/chip.c</span><br><span>+++ b/src/soc/intel/cannonlake/chip.c</span><br><span>@@ -262,6 +262,12 @@</span><br><span>   /* eMMC and SD */</span><br><span>    params->ScsEmmcEnabled = config->ScsEmmcEnabled;</span><br><span>       params->ScsEmmcHs400Enabled = config->ScsEmmcHs400Enabled;</span><br><span style="color: hsl(120, 100%, 40%);">+      params->PchScsEmmcHs400DllDataValid = config->EmmcHs400DllNeed;</span><br><span style="color: hsl(120, 100%, 40%);">+ if (config->EmmcHs400DllNeed == 1) {</span><br><span style="color: hsl(120, 100%, 40%);">+               params->PchScsEmmcHs400RxStrobeDll1 =</span><br><span style="color: hsl(120, 100%, 40%);">+                      config->EmmcHs400RxStrobeDll1;</span><br><span style="color: hsl(120, 100%, 40%);">+             params->PchScsEmmcHs400TxDataDll = config->EmmcHs400TxDataDll;</span><br><span style="color: hsl(120, 100%, 40%);">+  }</span><br><span>    params->ScsSdCardEnabled = config->ScsSdCardEnabled;</span><br><span>   params->ScsUfsEnabled = config->ScsUfsEnabled;</span><br><span> </span><br><span>diff --git a/src/soc/intel/cannonlake/chip.h b/src/soc/intel/cannonlake/chip.h</span><br><span>index a42494c..fd86b8d 100644</span><br><span>--- a/src/soc/intel/cannonlake/chip.h</span><br><span>+++ b/src/soc/intel/cannonlake/chip.h</span><br><span>@@ -155,7 +155,12 @@</span><br><span>     /* eMMC and SD */</span><br><span>    uint8_t ScsEmmcEnabled;</span><br><span>      uint8_t ScsEmmcHs400Enabled;</span><br><span style="color: hsl(0, 100%, 40%);">-    uint8_t PchScsEmmcHs400TuningRequired;</span><br><span style="color: hsl(120, 100%, 40%);">+        /* Need to update DLL setting to get Emmc running at HS400 speed */</span><br><span style="color: hsl(120, 100%, 40%);">+   uint8_t EmmcHs400DllNeed;</span><br><span style="color: hsl(120, 100%, 40%);">+     /* 0-39: number of active delay for RX strobe, unit is 125 pSec */</span><br><span style="color: hsl(120, 100%, 40%);">+    uint8_t EmmcHs400RxStrobeDll1;</span><br><span style="color: hsl(120, 100%, 40%);">+        /* 0-78: number of active delay for TX data, unit is 125 pSec */</span><br><span style="color: hsl(120, 100%, 40%);">+      uint8_t EmmcHs400TxDataDll;</span><br><span>  uint8_t ScsSdCardEnabled;</span><br><span>    uint8_t ScsUfsEnabled;</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/23600">change 23600</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/23600"/><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: I38bc022d8c05dd1fbd03dc26aa6f33cd249e8248 </div>
<div style="display:none"> Gerrit-Change-Number: 23600 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Lijian Zhao <lijian.zhao@intel.com> </div>