From: Simon Glass Date: Wed, 1 Dec 2021 16:02:41 +0000 (-0700) Subject: efi: Correct call to write_acpi_tables() X-Git-Tag: v2025.01-rc5-pxa1908~1562^2~83 X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=47642428ee16a5bcc0c20f3519c0aaee897ea2fe;p=u-boot.git efi: Correct call to write_acpi_tables() This must be passed a ulong, not a u64. Fix it to avoid LTO warnings on sandbox. Signed-off-by: Simon Glass --- diff --git a/lib/efi_loader/efi_acpi.c b/lib/efi_loader/efi_acpi.c index 83f025e1ca..f2b55b49b6 100644 --- a/lib/efi_loader/efi_acpi.c +++ b/lib/efi_loader/efi_acpi.c @@ -34,7 +34,7 @@ efi_status_t efi_acpi_register(void) * a 4k-aligned address, so it is safe to assume that * write_acpi_tables() will write the table at that address. */ - write_acpi_tables(acpi); + write_acpi_tables((ulong)acpi); /* And expose them to our EFI payload */ return efi_install_configuration_table(&acpi_guid,