Use an alist for this data structure as it is somewhat simpler to manage. This means that bootstd holds a simple list of bootflow structs and can drop it at will, without chasing down lists.
Signed-off-by: Simon Glass <[email protected]> --- (no changes since v3) Changes in v3: - Update bootstd_add_bootflow() to return the element number boot/bootdev-uclass.c | 47 +++++++++++++------------------------------ boot/bootflow.c | 16 ++++----------- boot/bootstd-uclass.c | 42 +++++++++++++++++++------------------- cmd/bootdev.c | 2 +- cmd/bootflow.c | 2 +- include/bootflow.h | 11 +++++----- include/bootstd.h | 8 +++++--- 7 files changed, 51 insertions(+), 77 deletions(-) Applied to ci/master, thanks!

