diff options
author | Tom Rini <trini@konsulko.com> | 2022-10-07 11:51:05 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-07 11:51:05 -0400 |
commit | 11ef7f07ce60b60fb78c330b3ae35fd1037e50c1 (patch) | |
tree | fbbc12ec51fc3651d5fce002ebf38c76621dac8e /lib/efi_loader/efi_load_initrd.c | |
parent | f5717231abad983b4d8f87db612ae60dec86cb1b (diff) | |
parent | a75e8355eaa561ebd6128c92a90288d5d7c1f060 (diff) | |
download | u-boot-WIP/07Oct2022.zip u-boot-WIP/07Oct2022.tar.gz u-boot-WIP/07Oct2022.tar.bz2 |
Merge tag 'efi-2023-01-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efiWIP/07Oct2022
Pull request for efi-2023-01-rc1
UEFI:
* Provide driver binding protocol to registered events for block devices
* Code simplification and refactoring
* Fix pylint errors in test_efi_secboot
Other:
* Improve checks for register ranges
Diffstat (limited to 'lib/efi_loader/efi_load_initrd.c')
-rw-r--r-- | lib/efi_loader/efi_load_initrd.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/efi_loader/efi_load_initrd.c b/lib/efi_loader/efi_load_initrd.c index 3d6044f..87fde3f 100644 --- a/lib/efi_loader/efi_load_initrd.c +++ b/lib/efi_loader/efi_load_initrd.c @@ -208,14 +208,13 @@ efi_status_t efi_initrd_register(void) if (ret != EFI_SUCCESS) return ret; - ret = EFI_CALL(efi_install_multiple_protocol_interfaces - (&efi_initrd_handle, - /* initramfs */ - &efi_guid_device_path, &dp_lf2_handle, - /* LOAD_FILE2 */ - &efi_guid_load_file2_protocol, - (void *)&efi_lf2_protocol, - NULL)); + ret = efi_install_multiple_protocol_interfaces(&efi_initrd_handle, + /* initramfs */ + &efi_guid_device_path, &dp_lf2_handle, + /* LOAD_FILE2 */ + &efi_guid_load_file2_protocol, + (void *)&efi_lf2_protocol, + NULL); return ret; } |