<p>Furquan Shaikh has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22176">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/skylake: Fix broken GNVS offset for chromeos<br><br>Change 90ebf9 (soc/intel/skylake: Add GNVS variables and include SGX<br>ASL) added new GNVS variables but did not adjust the unused array size<br>and thus broke chromeos offset.<br><br>This change fixes the above issue by reducing the size of unused<br>array.<br><br>BUG=b:68254376<br>TEST=Verified that chromeos offset is correct. crossystem is able to<br>read all variables.<br><br>Change-Id: I5f76f5bba4f0f50a23a863450743385ad2a82b2b<br>Signed-off-by: Furquan Shaikh <furquan@chromium.org><br>---<br>M src/soc/intel/skylake/include/soc/nvs.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/76/22176/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/intel/skylake/include/soc/nvs.h b/src/soc/intel/skylake/include/soc/nvs.h<br>index 498bb2b..68ac947 100644<br>--- a/src/soc/intel/skylake/include/soc/nvs.h<br>+++ b/src/soc/intel/skylake/include/soc/nvs.h<br>@@ -61,7 +61,7 @@<br>       u8      ecps; /* 0x43 - SGX Enabled status */<br>         u64     emna; /* 0x44 - 0x4B EPC base address */<br>      u64     elng; /* 0x4C - 0x53 EPC Length */<br>-   u8      unused[189];<br>+ u8      unused[172];<br> <br>       /* ChromeOS specific (0x100 - 0xfff) */<br>       chromeos_acpi_t chromeos;<br></pre><p>To view, visit <a href="https://review.coreboot.org/22176">change 22176</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/22176"/><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: I5f76f5bba4f0f50a23a863450743385ad2a82b2b </div>
<div style="display:none"> Gerrit-Change-Number: 22176 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Furquan Shaikh <furquan@google.com> </div>