]> git.baikalelectronics.ru Git - uboot.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)
commit49e3f5a24c6c191eb4d8dbedc972ccfb39b6ac69
treeee93685486c00044f29b976853ed8677515bcdf0
parent39a586418de7215e0c0edb64584683a215afd326
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