bootstd: Support running bootdev hunters
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:34 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:40 +0000 (18:11 -0500)
commitc7b63d500df707bd9c9041e0dae3a25f56098978
tree1e9e545f889364b42b4772393bfd93f0e365baa4
parentbd90b092882099afa3786829036c82d6a4241fc8
bootstd: Support running bootdev hunters

Add a way to run a bootdev hunter to find bootdevs of a certain type. Add
this to the 'bootdev hunt' command. Test for this are added in a later
patch, since a useful test needs some hunters to work with.

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