<p>Lijian Zhao has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/c/coreboot/+/29907">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/cannonlake: Load FSP teardown optionally<br><br>Make build still pass in case of no FsptUpd.h available.<br><br>BUG=N/A<br>TEST=Delete FsptUpd.h and build pass wihtout FSP_CAR set.<br><br>Change-Id: I3936d3deb8b079bd4db11e444f6bb7f9605520dc<br>Signed-off-by: Lijian Zhao <lijian.zhao@intel.com><br>---<br>M src/soc/intel/cannonlake/bootblock/bootblock.c<br>1 file changed, 3 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/07/29907/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/intel/cannonlake/bootblock/bootblock.c b/src/soc/intel/cannonlake/bootblock/bootblock.c</span><br><span>index 4eeef59..b7d00cd 100644</span><br><span>--- a/src/soc/intel/cannonlake/bootblock/bootblock.c</span><br><span>+++ b/src/soc/intel/cannonlake/bootblock/bootblock.c</span><br><span>@@ -19,6 +19,8 @@</span><br><span> #include <soc/bootblock.h></span><br><span> #include <soc/iomap.h></span><br><span> #include <soc/pch.h></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+#if IS_ENABLED(CONFIG_FSP_CAR)</span><br><span> #include <FsptUpd.h></span><br><span> </span><br><span> const FSPT_UPD temp_ram_init_params = {</span><br><span>@@ -37,6 +39,7 @@</span><br><span>                .CodeRegionSize = (uint32_t)CONFIG_ROM_SIZE,</span><br><span>         },</span><br><span> };</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span> </span><br><span> asmlinkage void bootblock_c_entry(uint64_t base_timestamp)</span><br><span> {</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/29907">change 29907</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/c/coreboot/+/29907"/><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-Change-Id: I3936d3deb8b079bd4db11e444f6bb7f9605520dc </div>
<div style="display:none"> Gerrit-Change-Number: 29907 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Lijian Zhao <lijian.zhao@intel.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>