summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBenjamin Doron <benjamin.doron00@gmail.com>2020-09-12 02:55:57 +0000
committerPatrick Georgi <pgeorgi@google.com>2020-10-13 10:16:22 +0000
commit2b2dc0c6aec9e340c3fec8ae0b77fbdd94e31ef5 (patch)
tree2494ec40861e24979e2307cb716e8e440608a502 /src
parent12d48cdf67c3b3d0be2259377c1dce0522f434c7 (diff)
downloadcoreboot-2b2dc0c6aec9e340c3fec8ae0b77fbdd94e31ef5.tar.gz
coreboot-2b2dc0c6aec9e340c3fec8ae0b77fbdd94e31ef5.tar.bz2
coreboot-2b2dc0c6aec9e340c3fec8ae0b77fbdd94e31ef5.zip
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 <benjamin.doron00@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44995 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/acpi/acpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 0b65459954a4..89f2a46a8d07 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;
}