mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-15 17:34:43 +00:00
acpi: Add a checksum to the DMAR table
This table lacks a correct checksum at present, so fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
698c00e0b7
commit
e53d631f83
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue