]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: Fix to set bootdev_root correctly if bootdev found
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Mon, 12 Jul 2021 09:05:17 +0000 (18:05 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 12 Jul 2021 18:38:16 +0000 (20:38 +0200)
commitb0b1449b3be9b93ecc57d91b0cb18ed81fc8a1ee
treeb4b167b47aa3e4934734d75f62c9a7e5b94a91d5
parent70bad5462ca77dcd62efb6fdff03b26460df5f14
efi_loader: Fix to set bootdev_root correctly if bootdev found

Fix find_boot_device() to set bootdev_root if it finds the
bootdev from BootNext. Currently it sets the bootdev_root only
when it finds bootdev from BootOrder.

Fixes: c74cd8bd08d1 ("efi_loader: capsule: add capsule_on_disk support")
Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Accked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_capsule.c