[coreboot-gerrit] Change in coreboot[master]: lib/nhtl: Use common function to set NHTL version
Marc Jones (Code Review)
gerrit at coreboot.org
Thu Aug 23 05:47:09 CEST 2018
Marc Jones has uploaded this change for review. ( https://review.coreboot.org/28279
Change subject: lib/nhtl: Use common function to set NHTL version
......................................................................
lib/nhtl: Use common function to set NHTL version
Set NHLT version with get_acpi_revision(NHTL) to keep all table versions
in sync.
Change-Id: I4ea9d511142e4ea68e651e58c2c985e739c032d9
Signed-off-by: Marc Jones <marcj303 at gmail.com>
---
M src/lib/nhlt.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/28279/1
diff --git a/src/lib/nhlt.c b/src/lib/nhlt.c
index f6135c7..5001c38 100644
--- a/src/lib/nhlt.c
+++ b/src/lib/nhlt.c
@@ -413,7 +413,7 @@
memset(header, 0, sizeof(acpi_header_t));
memcpy(header->signature, "NHLT", 4);
write_le32(&header->length, sz);
- write_le8(&header->revision, 5);
+ write_le8(&header->revision, get_acpi_table_revision(NHLT));
if (oem_id == NULL)
oem_id = OEM_ID;
--
To view, visit https://review.coreboot.org/28279
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4ea9d511142e4ea68e651e58c2c985e739c032d9
Gerrit-Change-Number: 28279
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc at marcjonesconsulting.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180823/a705ee2a/attachment.html>
More information about the coreboot-gerrit
mailing list