]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: carve out efi_load_image_from_file()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 6 Dec 2020 09:47:57 +0000 (10:47 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Dec 2020 08:15:32 +0000 (09:15 +0100)
commit5b836a963000cf39f40a0e7dc701c2352e334531
treeda85116138440b89902bd2a6b48a2803d279438a
parentb7fcbd4eccd653bdcaac17baa79a5f0d6228ee01
efi_loader: carve out efi_load_image_from_file()

efi_load_image_from_file() should read via either of:

* EFI_SIMPLE_FILE_SYSTEM_PROTOCOL
* EFI_LOAD_FILE_PROTOCOL
* EFI_LOAD_FILE2_PROTOCOL

To make the code readable carve out a function to load the image via the
file system protocol.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c