]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: Add helper functions for EFI
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 17 Mar 2021 19:54:59 +0000 (21:54 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 25 Mar 2021 19:14:25 +0000 (20:14 +0100)
commit37c3ca5c0b1a449356279efdcaca346b3eae84fd
treef2148b2140f74289665143c3c995179b705dad05
parent76e8acce12fe6e914fdab422c8af44956c1dac04
efi_loader: Add helper functions for EFI

A following patch introduces a different logic for loading initrd's
based on the EFI_LOAD_FILE2_PROTOCOL.
Since similar logic can be applied in the future for other system files
(i.e DTBs), let's add some helper functions which will retrieve and
parse file paths stored in EFI variables.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_loader.h
lib/efi_loader/Makefile
lib/efi_loader/efi_file.c
lib/efi_loader/efi_helper.c [new file with mode: 0644]
lib/efi_loader/efi_var_common.c