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@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;