<p>Pratikkumar V Prajapati has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21275">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/common/sgx: provide weak implementation of cpu_lock_sgx_memory()<br><br>SOC/CPU specific provides the actual implementation if its needed.<br>Not all SOC/CPU needs to perform this init sequence.<br><br>Change-Id: I9212e99488905d245983accc8a49a94061b22119<br>Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati@intel.com><br>---<br>M src/soc/intel/common/block/sgx/sgx.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/75/21275/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/intel/common/block/sgx/sgx.c b/src/soc/intel/common/block/sgx/sgx.c<br>index a199a83..7480d4b 100644<br>--- a/src/soc/intel/common/block/sgx/sgx.c<br>+++ b/src/soc/intel/common/block/sgx/sgx.c<br>@@ -167,6 +167,12 @@<br>   return 0;<br> }<br> <br>+/* SOC/CPU specific provides the actual implementation if its needed */<br>+__attribute__((weak)) void cpu_lock_sgx_memory(void)<br>+{<br>+        /* Do nothing*/<br>+}<br>+<br> void sgx_configure(void)<br> {<br>         device_t dev = SA_DEV_ROOT;<br></pre><p>To view, visit <a href="https://review.coreboot.org/21275">change 21275</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/21275"/><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: I9212e99488905d245983accc8a49a94061b22119 </div>
<div style="display:none"> Gerrit-Change-Number: 21275 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pratikkumar V Prajapati <pratikkumar.v.prajapati@intel.com> </div>