]> git.baikalelectronics.ru Git - uboot.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)
commitd7d10a1eb5e1946a8131a849a72531ca45759845
treeb4b167b47aa3e4934734d75f62c9a7e5b94a91d5
parent0ec96ac09199e80153fcbb95e20d74def42d869d
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: cb50316984d9 ("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