summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-03-27 21:41:04 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-03-27 21:52:11 +0100
commit17394f9a66e1b8caf2bb43419668dcd26e722ffe (patch)
treea03a050d861319f9878bf53ee7f686bcddf471d7 /lib
parentd0826507e2d24974cb99bfa8cac39d7684107994 (diff)
downloadu-boot-17394f9a66e1b8caf2bb43419668dcd26e722ffe.tar.gz
u-boot-17394f9a66e1b8caf2bb43419668dcd26e722ffe.tar.bz2
u-boot-17394f9a66e1b8caf2bb43419668dcd26e722ffe.zip
efi_loader: TODO for the EFI file protocol
We currently only support EFI_FILE_PROTOCOL_REVISION while UEFI specs 2.4 - 2.7 prescribe EFI_FILE_PROTOCOL_REVISION2. Add a todo. Add missing constants for the EFI file protocol revision. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c
index bc715218a1..0483403be0 100644
--- a/lib/efi_loader/efi_file.c
+++ b/lib/efi_loader/efi_file.c
@@ -628,6 +628,10 @@ static efi_status_t EFIAPI efi_file_flush(struct efi_file_handle *file)
}
static const struct efi_file_handle efi_file_handle_protocol = {
+ /*
+ * TODO: We currently only support EFI file protocol revision 0x00010000
+ * while UEFI specs 2.4 - 2.7 prescribe revision 0x00020000.
+ */
.rev = EFI_FILE_PROTOCOL_REVISION,
.open = efi_file_open,
.close = efi_file_close,