<p>Barnali Sarkar has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20738">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/common/block: Add max SPI transaction timeout as 5 sec<br><br>Earlier 15ms Timeout was kept for SPI transactions which was not<br>enough for SPI Erase transactions.<br><br>Increased the max timeout time to 5 secs which was present in SKL<br>before common code.<br>This increase in timeout wont disturb other SPI transactions like<br>Read, Write or Read Status, since, for those it will come out of<br>the loop once FDONE bit or FCERR bit is set.<br><br>BUG=b:63959637<br>BRANCH=none<br>TEST=Built and boot poppy and all SPI transactions suceeeds.<br><br>Change-Id: I1c015d80b33677de11755fb2097373631d1fa8c4<br>Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com><br>---<br>M src/soc/intel/common/block/fast_spi/fast_spi_def.h<br>1 file changed, 1 insertion(+), 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/38/20738/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/intel/common/block/fast_spi/fast_spi_def.h b/src/soc/intel/common/block/fast_spi/fast_spi_def.h<br>index 1262e6a..e2edcc0 100644<br>--- a/src/soc/intel/common/block/fast_spi/fast_spi_def.h<br>+++ b/src/soc/intel/common/block/fast_spi/fast_spi_def.h<br>@@ -150,7 +150,7 @@<br> /* Programmable values of Bit0(SSMS) of Set STRAP MSG Control (0xF4) Register*/<br> #define SPIBAR_RESET_CTRL_SSMC               1 /* Set_Strap Mux Select(SSMS) Bit=1*/<br> <br>-#define SPIBAR_HWSEQ_XFER_TIMEOUT  15 /* 15ms*/<br>+#define SPIBAR_HWSEQ_XFER_TIMEOUT        5000 /* max 5 secs*/<br> <br> void *fast_spi_get_bar(void);<br> <br></pre><p>To view, visit <a href="https://review.coreboot.org/20738">change 20738</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/20738"/><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: I1c015d80b33677de11755fb2097373631d1fa8c4 </div>
<div style="display:none"> Gerrit-Change-Number: 20738 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Barnali Sarkar <barnali.sarkar@intel.com> </div>