<p>Martin Roth <strong>merged</strong> this change.</p><p><a href="https://review.coreboot.org/25970">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  build bot (Jenkins): Verified
  Martin Roth: Looks good to me, approved
  Marshall Dawson: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">google/kahlee: Set SPI 100 MHz and SPI Dual Read IO mode<br><br>Set SPI Fast Read to 100MHz and Dual Read IO mode to speed up<br>the boot process by over a half second. Also, increase the Normal<br>Read speed to 33MHz as supported by the W25Q128FW.<br><br>BUG=b:70558952<br>TEST=Run cbmem -t to get boot times.<br><br>Change-Id: I616a96526ed90bb4ab0c9c6b78787799faa02633<br>Signed-off-by: Marc Jones <marc.jones@scarletltd.com><br>Reviewed-on: https://review.coreboot.org/25970<br>Tested-by: build bot (Jenkins) <no-reply@coreboot.org><br>Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>Reviewed-by: Martin Roth <martinroth@google.com><br>---<br>M src/mainboard/google/kahlee/bootblock/bootblock.c<br>1 file changed, 10 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mainboard/google/kahlee/bootblock/bootblock.c b/src/mainboard/google/kahlee/bootblock/bootblock.c</span><br><span>index 577c105..aac1d95 100644</span><br><span>--- a/src/mainboard/google/kahlee/bootblock/bootblock.c</span><br><span>+++ b/src/mainboard/google/kahlee/bootblock/bootblock.c</span><br><span>@@ -34,9 +34,17 @@</span><br><span> </span><br><span> void bootblock_mainboard_init(void)</span><br><span> {</span><br><span style="color: hsl(120, 100%, 40%);">+      /*</span><br><span style="color: hsl(120, 100%, 40%);">+     * W25Q128FW Setup</span><br><span style="color: hsl(120, 100%, 40%);">+     * Normal Read 40MHz</span><br><span style="color: hsl(120, 100%, 40%);">+   * Fast Read 104MHz</span><br><span style="color: hsl(120, 100%, 40%);">+    * Dual Read IO (1-2-2)</span><br><span style="color: hsl(120, 100%, 40%);">+        */</span><br><span style="color: hsl(120, 100%, 40%);">+   sb_read_mode(SPI_READ_MODE_DUAL122);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>       /* Set SPI speeds before verstage. Needed for TPM */</span><br><span style="color: hsl(0, 100%, 40%);">-    sb_set_spi100(SPI_SPEED_22M,            /* Normal */</span><br><span style="color: hsl(0, 100%, 40%);">-                    SPI_SPEED_66M,          /* Fast   */</span><br><span style="color: hsl(120, 100%, 40%);">+  sb_set_spi100(SPI_SPEED_33M,            /* Normal */</span><br><span style="color: hsl(120, 100%, 40%);">+                  SPI_SPEED_100M,         /* Fast   */</span><br><span>                         SPI_SPEED_66M,          /* AltIO  */</span><br><span>                         SPI_SPEED_66M);         /* TPM    */</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25970">change 25970</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/25970"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: I616a96526ed90bb4ab0c9c6b78787799faa02633 </div>
<div style="display:none"> Gerrit-Change-Number: 25970 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Marc Jones <marc@marcjonesconsulting.com> </div>
<div style="display:none"> Gerrit-Reviewer: Marc Jones <marc@marcjonesconsulting.com> </div>
<div style="display:none"> Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Martin Roth <martinroth@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>