From: Simon Glass Date: Sat, 15 Mar 2025 14:26:03 +0000 (+0000) Subject: acpi: Add a checksum to the DMAR table X-Git-Tag: v2025.07-rc1~119^2~9^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e53d631f833b7cdcaa413a8e339acfe3d1c01a1f;p=pandora-u-boot.git acpi: Add a checksum to the DMAR table This table lacks a correct checksum at present, so fix it. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt --- diff --git a/lib/acpi/acpi_table.c b/lib/acpi/acpi_table.c index fd6156f63d3..a80e164bc82 100644 --- a/lib/acpi/acpi_table.c +++ b/lib/acpi/acpi_table.c @@ -66,6 +66,7 @@ int acpi_create_dmar(struct acpi_dmar *dmar, enum dmar_flags flags) dmar->host_address_width = info.address_width - 1; dmar->flags = flags; + header->checksum = table_compute_checksum(dmar, header->length); return 0; }