<p>Marc Jones has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/25756">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mainboard/google/kahlee: Set SPI speed early<br><br>Set the SPI speed for Normal, Fast, AltIO, and TPM in bootblock.<br>This setup is needed when moving AGESA out of the bootblock. It sets the<br>SPI bus speed of the TPM access for verstage.<br><br>BUG=b:70558952<br>TEST=Boot with AGESA moved out of the bootblock.<br><br>Change-Id: Ida77d78eb1f290e46b57a46298400ed6c8015e2c<br>Signed-off-by: Marc Jones <marc.jones@scarletltd.com><br>---<br>M src/mainboard/google/kahlee/bootblock/bootblock.c<br>1 file changed, 6 insertions(+), 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/56/25756/1</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 843bf4e..577c105 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,6 +34,12 @@</span><br><span> </span><br><span> void bootblock_mainboard_init(void)</span><br><span> {</span><br><span style="color: hsl(120, 100%, 40%);">+        /* Set SPI speeds before verstage. Needed for TPM */</span><br><span style="color: hsl(120, 100%, 40%);">+  sb_set_spi100(SPI_SPEED_22M,            /* Normal */</span><br><span style="color: hsl(120, 100%, 40%);">+                  SPI_SPEED_66M,          /* Fast   */</span><br><span style="color: hsl(120, 100%, 40%);">+                  SPI_SPEED_66M,          /* AltIO  */</span><br><span style="color: hsl(120, 100%, 40%);">+                  SPI_SPEED_66M);         /* TPM    */</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>       /* Setup TPM decode before verstage */</span><br><span>       sb_tpm_decode_spi();</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25756">change 25756</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/25756"/><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: Ida77d78eb1f290e46b57a46298400ed6c8015e2c </div>
<div style="display:none"> Gerrit-Change-Number: 25756 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marc Jones <marc@marcjonesconsulting.com> </div>