aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-01 09:02:41 -0700
committerSimon Glass <sjg@chromium.org>2022-01-25 11:44:36 -0700
commit47642428ee16a5bcc0c20f3519c0aaee897ea2fe (patch)
treecdad03923903ad719632407cab8b96629279a221 /lib
parent0679cca5072d6959b51f45c00cb5bf59d75a9329 (diff)
downloadu-boot-47642428ee16a5bcc0c20f3519c0aaee897ea2fe.zip
u-boot-47642428ee16a5bcc0c20f3519c0aaee897ea2fe.tar.gz
u-boot-47642428ee16a5bcc0c20f3519c0aaee897ea2fe.tar.bz2
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 <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_acpi.c b/lib/efi_loader/efi_acpi.c
index 83f025e..f2b55b4 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,