]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: simplify efi_set_load_options()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 7 Oct 2022 14:21:28 +0000 (16:21 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 10 Oct 2022 14:34:26 +0000 (16:34 +0200)
commit731ab362d5b1d95e4716a4cde53e0434922f483f
treefc787a1100b563a528df289e459d01dbc3288184
parent7605c927219d82b40042c83f229676b14342ef6b
efi_loader: simplify efi_set_load_options()

* Replace the OpenProtocol() call by efi_search_protocol().
* Remove the CloseProtocol() call.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_load_options.c