From 2b2dc0c6aec9e340c3fec8ae0b77fbdd94e31ef5 Mon Sep 17 00:00:00 2001 From: Benjamin Doron Date: Sat, 12 Sep 2020 02:55:57 +0000 Subject: acpi: Support MSDM table signature as SLIC Accept an MSDM table (a newer revision of SLIC, with similar ACPI structure) to advertise SLIC support. Tested, Windows registers the digital license. Change-Id: Ic3a1374c8a4880111a30662823c3be99008eedd3 Signed-off-by: Benjamin Doron Reviewed-on: https://review.coreboot.org/c/coreboot/+/44995 Reviewed-by: Angel Pons Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/acpi/acpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index 0b65459954..89f2a46a8d 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -1367,7 +1367,8 @@ unsigned long write_acpi_tables(unsigned long start) if (slic_file && (slic_file->length > slic_size || slic_file->length < sizeof(acpi_header_t) - || memcmp(slic_file->signature, "SLIC", 4) != 0)) { + || (memcmp(slic_file->signature, "SLIC", 4) != 0 + && memcmp(slic_file->signature, "MSDM", 4) != 0))) { slic_file = 0; } -- cgit v1.2.3