<p>Pratikkumar V Prajapati has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21972">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/skylake: update GNVS with SGX data<br><br>call sgx_fill_gnvs to update GNVS data, if<br>CONFIG_SOC_INTEL_COMMON_BLOCK_SGX is set.<br><br>Change-Id: Ief0531fbab34838a3f8adb9cdc7d3fe19203c432<br>Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati@intel.com><br>---<br>M src/soc/intel/skylake/acpi.c<br>1 file changed, 4 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/72/21972/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/intel/skylake/acpi.c b/src/soc/intel/skylake/acpi.c<br>index 387cb6d..1203661 100644<br>--- a/src/soc/intel/skylake/acpi.c<br>+++ b/src/soc/intel/skylake/acpi.c<br>@@ -32,6 +32,7 @@<br> #include <ec/google/chromeec/ec.h><br> #include <intelblocks/cpulib.h><br> #include <intelblocks/lpc_lib.h><br>+#include <intelblocks/sgx.h><br> #include <soc/intel/common/acpi.h><br> #include <soc/acpi.h><br> #include <soc/cpu.h><br>@@ -200,6 +201,9 @@<br>   /* Set USB2/USB3 wake enable bitmaps. */<br>      gnvs->u2we = config->usb2_wake_enable_bitmap;<br>   gnvs->u3we = config->usb3_wake_enable_bitmap;<br>+<br>+       if (IS_ENABLED(CONFIG_SOC_INTEL_COMMON_BLOCK_SGX))<br>+           sgx_fill_gnvs(gnvs);<br> }<br> <br> unsigned long acpi_fill_mcfg(unsigned long current)<br></pre><p>To view, visit <a href="https://review.coreboot.org/21972">change 21972</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/21972"/><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: Ief0531fbab34838a3f8adb9cdc7d3fe19203c432 </div>
<div style="display:none"> Gerrit-Change-Number: 21972 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pratikkumar V Prajapati <pratikkumar.v.prajapati@intel.com> </div>