<p>Marc Jones has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/28279">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">lib/nhtl: Use common function to set NHTL version<br><br>Set NHLT version with get_acpi_revision(NHTL) to keep all table versions<br>in sync.<br><br>Change-Id: I4ea9d511142e4ea68e651e58c2c985e739c032d9<br>Signed-off-by: Marc Jones <marcj303@gmail.com><br>---<br>M src/lib/nhlt.c<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/79/28279/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/lib/nhlt.c b/src/lib/nhlt.c</span><br><span>index f6135c7..5001c38 100644</span><br><span>--- a/src/lib/nhlt.c</span><br><span>+++ b/src/lib/nhlt.c</span><br><span>@@ -413,7 +413,7 @@</span><br><span>    memset(header, 0, sizeof(acpi_header_t));</span><br><span>    memcpy(header->signature, "NHLT", 4);</span><br><span>   write_le32(&header->length, sz);</span><br><span style="color: hsl(0, 100%, 40%);">- write_le8(&header->revision, 5);</span><br><span style="color: hsl(120, 100%, 40%);">+       write_le8(&header->revision, get_acpi_table_revision(NHLT));</span><br><span> </span><br><span>      if (oem_id == NULL)</span><br><span>          oem_id = OEM_ID;</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/28279">change 28279</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/28279"/><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: I4ea9d511142e4ea68e651e58c2c985e739c032d9 </div>
<div style="display:none"> Gerrit-Change-Number: 28279 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marc Jones <marc@marcjonesconsulting.com> </div>