bootstd: Record the bootdevs used during scanning
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:48:17 +0000 (10:48 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:41 +0000 (18:11 -0500)
commita950f2855a5fcc1e550aa6786720a3a995b1ceda
treedc3e9babc6e6bbbaa5e4841cffab95f7fb4bcdbf
parent4b7cb058df35222632efa3f71aad63757b226440
bootstd: Record the bootdevs used during scanning

Add a way to record the bootdevs used when scanning for bootflows. This is
useful for testing.

Enable this only with BOOTSTD_FULL and do the same for the progress
reporting.

Re-enable and update the affected tests now that we have this feature.

For bootdev_test_order_default() there is no-longer any support for using
the bootdev aliases to specify an ordering, so drop that part of the test.

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