]> git.baikalelectronics.ru Git - uboot.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)
commitf9458918c538e763eae265466eba2569355c1eb2
treeea4d629072d737d7ddfcc88e9af34e83ca5960a9
parentc6342085fbdb999ef3a493b4914d60c8d6d1cacd
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