mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
boot: Improve comments related to global bootmeths
Add a few comments about global bootmeths and first_glob_method Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
This commit is contained in:
@@ -204,6 +204,7 @@ int bootmeth_setup_iter_order(struct bootflow_iter *iter, bool include_global)
|
||||
goto err_order;
|
||||
}
|
||||
|
||||
/* start with the global bootmeths */
|
||||
if (IS_ENABLED(CONFIG_BOOTMETH_GLOBAL) && include_global &&
|
||||
iter->first_glob_method != -1 && iter->first_glob_method != count) {
|
||||
iter->cur_method = iter->first_glob_method;
|
||||
|
||||
Reference in New Issue
Block a user