bootstd: Allow hunting for bootdevs of a given priority
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:48:07 +0000 (10:48 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:41 +0000 (18:11 -0500)
commit79a7d4a61ff34c7745811c7b3090a60b230c2ef9
treec695ce097337e6cf870d2e013d436ed50df3e3c7
parentd73420e4fe7c7e22a41ed140c6be9c11db6b9503
bootstd: Allow hunting for bootdevs of a given priority

Add a way to run the hunter function for a particular priority, so that
new bootdevs can be found.

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