From: Heinrich Schuchardt Date: Wed, 18 Oct 2017 16:13:20 +0000 (+0200) Subject: efi_loader: set parent handle in efi_load_image X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=32fc2ac3810d87fe76b1e5671936e2404536e3ef;p=u-boot.git efi_loader: set parent handle in efi_load_image The parent_handle of the loaded image must be set. Set the system table. Signed-off-by: Heinrich Schuchardt Signed-off-by: Alexander Graf --- diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index c77da8a9c1..b1050e5fb4 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -1282,6 +1282,8 @@ static efi_status_t EFIAPI efi_load_image(bool boot_policy, return EFI_EXIT(EFI_UNSUPPORTED); } + info->system_table = &systab; + info->parent_handle = parent_image; *image_handle = info; return EFI_EXIT(EFI_SUCCESS);