]> git.baikalelectronics.ru Git - uboot.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)
commitbb3c99818b05ed80847b9cf3513cbf3663c9f3da
treefc787a1100b563a528df289e459d01dbc3288184
parentc08cc833f75193ca8b34ad577e4268f5422cc462
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