[PATCH v4 05/19] bootstd: Move the bootflow list into an alist

Simon Glass sjg at chromium.org
Thu Dec 5 20:56:04 CET 2024


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 <sjg at chromium.org>
---

(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!


More information about the U-Boot mailing list