boot: Run global bootmeths after all bootdevs are exhausted
authorSimon Glass <sjg@chromium.org>
Wed, 15 Oct 2025 15:44:13 +0000 (16:44 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 22 Oct 2025 20:16:56 +0000 (14:16 -0600)
commit060ce66b83e5ed19180103c26e525d85c2a2aa8b
tree9bb650e623483eedcadebf3ef2d820f4c4fab8cc
parenteff1dca96330269c8281b17d00f5d2d0e62bd26e
boot: Run global bootmeths after all bootdevs are exhausted

When there are no more bootdevs we should still go through the global
bootmeths, since some may not have yet been used, if their priority has
not yet come up.

Add a final check for this at the end of the iterator.

Update the documentation to match the new behaviour of global bootmeths.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootflow.c
doc/develop/bootstd/overview.rst