]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Allow iterating to the next bootdev priortiy
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:48:11 +0000 (10:48 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:41 +0000 (18:11 -0500)
commit43e89a306903117c8cb7105004f236acf1ec3d00
treeee93685486c00044f29b976853ed8677515bcdf0
parente4b694893f6cf1e4ac934f2ecb57c8e77a17e5b2
bootstd: Allow iterating to the next bootdev priortiy

Add a function which moves to the next priority to be processed.

This works by storing the current priority in the bootflow iterator. The
logic to set this up is included in a subsequent commit.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootdev-uclass.c
include/bootdev.h
include/bootflow.h
test/boot/bootdev.c