diff options
author | Stephen Warren <swarren@nvidia.com> | 2018-08-30 15:43:45 -0600 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-09-23 21:55:29 +0200 |
commit | 14deb5e628dd365d63002ebf0d85d2ea9804bad2 (patch) | |
tree | 86e80db3e71f96c32c13d3e9dac8abc3de55c799 /lib/efi_loader | |
parent | 0797f7f0b7e1d7853e2842ddc235ffef139fa792 (diff) | |
download | u-boot-14deb5e628dd365d63002ebf0d85d2ea9804bad2.tar.gz |
Revert "Revert "efi_loader: efi_allocate_pages is too restrictive""
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 <swarren@nvidia.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader')
-rw-r--r-- | lib/efi_loader/efi_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c index 0ac4ff554b..4f8cb545ad 100644 --- 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; |