1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-23 03:22:11 +02:00

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>
This commit is contained in:
Heinrich Schuchardt
2017-10-18 18:13:20 +02:00
committed by Alexander Graf
parent 7406f824b8
commit 32fc2ac381

View File

@@ -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);