
From: Simon Glass <sjg@chromium.org> QEMU provides a table indicating the checksums to be calculated. U-Boot already handles this, so we don't need to compute the checksums at the end. Drop this unnecessary code. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/qfw/qfw_acpi.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/qfw/qfw_acpi.c b/drivers/qfw/qfw_acpi.c index 16dd94ba71f..0eef0650e26 100644 --- a/drivers/qfw/qfw_acpi.c +++ b/drivers/qfw/qfw_acpi.c @@ -239,11 +239,6 @@ out: printf("error: no RSDP found\n"); return addr; } - struct acpi_rsdp *rsdp = ctx->rsdp; - - rsdp->length = sizeof(*rsdp); - rsdp->xsdt_address = 0; - rsdp->ext_checksum = table_compute_checksum((u8 *)rsdp, sizeof(*rsdp)); gd_set_acpi_start(acpi_get_rsdp_addr()); -- 2.43.0