diff options
author | Tom Rini <trini@konsulko.com> | 2020-09-07 08:49:50 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-07 08:49:50 -0400 |
commit | 06193ca210c6f0c864d68a0743d77880bf8d0564 (patch) | |
tree | aae9a01c66cb18600cd903ef1ca904c6c6091268 /lib/efi_loader/efi_boottime.c | |
parent | e5df264e7aaca0d94428586837a1f70a23479d16 (diff) | |
parent | d2a885720be6eb66595a26754d075cfd5e868420 (diff) |
Merge tag 'efi-2020-10-rc4' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2020-10-rc4
Bug fixes are provided in the following areas:
* convert file system debug and print messages go log messages
* convert UEFI booting messages to log messages
* UEFI related code clean up and simplification
Diffstat (limited to 'lib/efi_loader/efi_boottime.c')
-rw-r--r-- | lib/efi_loader/efi_boottime.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index d49145fc76b..dcd3eec8944 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -1883,10 +1883,6 @@ efi_status_t EFIAPI efi_load_image(bool boot_policy, if (ret != EFI_SUCCESS) goto error; } else { - if (!source_size) { - ret = EFI_LOAD_ERROR; - goto error; - } dest_buffer = source_buffer; } /* split file_path which contains both the device and file parts */ |