diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-07-05 09:17:58 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-07-25 15:59:44 +0300 |
commit | 95147313a98c2403589c6bd9a6768c657442e16c (patch) | |
tree | 871e5a76a40014ee54c81deb7d1eeeff5d5bf378 /lib | |
parent | df76431b11396b940b5aa9b25edd5b0a33b18911 (diff) | |
download | u-boot-95147313a98c2403589c6bd9a6768c657442e16c.tar.xz |
efi_loader: set revision in loaded image protocol
The revision number has to be set in the loaded image protocol.
The problem was detected by running the SCT in
Protocol/LoadedImage/BlackBoxTest/LoadedImageBBTestMain.c:890
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 6bd64b9df9..18698566f5 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -1497,6 +1497,7 @@ efi_status_t efi_setup_loaded_image( /* efi_exit() assumes that the handle points to the info */ obj->handle = info; + info->revision = EFI_LOADED_IMAGE_PROTOCOL_REVISION; info->file_path = file_path; if (device_path) { |