]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Allow hunting for a bootdev by label
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:48:09 +0000 (10:48 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:41 +0000 (18:11 -0500)
commit66e3dce78750f6fc4f6a402ce62c20ba95976dd1
treeea4d629072d737d7ddfcc88e9af34e83ca5960a9
parenteacc261178b9c8024cb8de89ee4ca6c68d80d96a
bootstd: Allow hunting for a bootdev by label

Add a function to hunt for a bootdev label and find the bootdev produced
by the hunter (or already present).

Add a few extra flags so that we can distinguish between "mmc1", "mmc" and
"1" which all need to be handled differently.

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