diff options
author | Marc Jones <marcj303@gmail.com> | 2018-08-22 19:36:40 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-08-27 15:54:34 +0000 |
commit | 7a5f0a981715b48ccd87647ebf02050376dd3be6 (patch) | |
tree | af767dfd3e2dee4af7c6b016576ce52f136f11ad | |
parent | 478f430182add12181c72ccf7a9f71c4d88bb2ca (diff) | |
download | coreboot-7a5f0a981715b48ccd87647ebf02050376dd3be6.tar.xz |
lib/nhlt: Use common function to set NHLT version
Set NHLT version with get_acpi_revision(NHLT) to keep all table versions
in sync.
Change-Id: I4ea9d511142e4ea68e651e58c2c985e739c032d9
Signed-off-by: Marc Jones <marcj303@gmail.com>
Reviewed-on: https://review.coreboot.org/28279
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/lib/nhlt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/nhlt.c b/src/lib/nhlt.c index f6135c7d8a..5001c385c5 100644 --- a/src/lib/nhlt.c +++ b/src/lib/nhlt.c @@ -413,7 +413,7 @@ uintptr_t nhlt_serialize_oem_overrides(struct nhlt *nhlt, 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; |