aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-10-18 18:13:20 +0200
committerAlexander Graf <agraf@suse.de>2017-12-01 13:22:55 +0100
commit32fc2ac3810d87fe76b1e5671936e2404536e3ef (patch)
tree9f86ee41c5873380d9ed0d410844ca66660a2ae5 /lib
parent7406f824b8833447b15ef84b278b0c92bbe02922 (diff)
downloadu-boot-32fc2ac3810d87fe76b1e5671936e2404536e3ef.zip
u-boot-32fc2ac3810d87fe76b1e5671936e2404536e3ef.tar.gz
u-boot-32fc2ac3810d87fe76b1e5671936e2404536e3ef.tar.bz2
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 <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_boottime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index c77da8a..b1050e5 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);