projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0797f7f
)
Revert "Revert "efi_loader: efi_allocate_pages is too restrictive""
author
Stephen Warren
<
[email protected]
>
Thu, 30 Aug 2018 21:43:45 +0000
(15:43 -0600)
committer
Alexander Graf
<
[email protected]
>
Sun, 23 Sep 2018 19:55:29 +0000
(21:55 +0200)
This reverts commit
ccfc78b820e5e431c5bd73b072e7536a972e1710
.
Now that the underlying issue is fixed, we can revert the revert and hence
restore the original EFI code.
Signed-off-by: Stephen Warren <
[email protected]
>
Signed-off-by: Alexander Graf <
[email protected]
>
lib/efi_loader/efi_memory.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_memory.c
b/lib/efi_loader/efi_memory.c
index 0ac4ff554bf06d12adace33c59e5a46f0386c323..4f8cb545ad445eb892fa34b3124f8d5427338829 100644
(file)
--- a/
lib/efi_loader/efi_memory.c
+++ b/
lib/efi_loader/efi_memory.c
@@
-303,7
+303,7
@@
efi_status_t efi_allocate_pages(int type, int memory_type,
switch (type) {
case EFI_ALLOCATE_ANY_PAGES:
/* Any page */
- addr = efi_find_free_memory(len,
gd->start_addr_sp
);
+ addr = efi_find_free_memory(len,
-1ULL
);
if (!addr) {
r = EFI_NOT_FOUND;
break;