projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0679cca
)
efi: Correct call to write_acpi_tables()
author
Simon Glass
<sjg@chromium.org>
Wed, 1 Dec 2021 16:02:41 +0000
(09:02 -0700)
committer
Simon Glass
<sjg@chromium.org>
Tue, 25 Jan 2022 18:44:36 +0000
(11:44 -0700)
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>
lib/efi_loader/efi_acpi.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_acpi.c
b/lib/efi_loader/efi_acpi.c
index 83f025e1ca6917c7585457187cdffc91471f6461..f2b55b49b60dc1b2c2ffdc244cc1ad7307b470e8 100644
(file)
--- 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,