projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
efi_loader: LoadImage: always allocate new pages
[oweals/u-boot.git]
/
lib
/
efi_loader
/
efi_bootmgr.c
diff --git
a/lib/efi_loader/efi_bootmgr.c
b/lib/efi_loader/efi_bootmgr.c
index a095df3f540bbf351a18a07f5487c3266717316c..196116b54729b871e1aa864af2cb981e835a1537 100644
(file)
--- a/
lib/efi_loader/efi_bootmgr.c
+++ b/
lib/efi_loader/efi_bootmgr.c
@@
-150,7
+150,7
@@
static void *try_load_entry(uint16_t n, struct efi_device_path **device_path,
debug("%s: trying to load \"%ls\" from %pD\n",
__func__, lo.label, lo.file_path);
- ret = efi_load_image_from_path(lo.file_path, &image);
+ ret = efi_load_image_from_path(lo.file_path, &image
, &size
);
if (ret != EFI_SUCCESS)
goto error;