[PATCH 1/5] bloblist: Add a command
Simon Glass
sjg at chromium.org
Mon Oct 5 23:32:40 CEST 2020
It is helpful to be able to see basic statistics about the bloblist and
also to list its contents. Add a 'bloblist' command to handle this.
Put the display functions in the bloblist modules rather than in the
command code itself. That allows showing a list from SPL, where commands
are not available.
Also make bloblist_first/next_blob() static as they are not used outside
this file.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
cmd/Kconfig | 9 +++++++
cmd/Makefile | 1 +
cmd/bloblist.c | 37 +++++++++++++++++++++++++++
common/bloblist.c | 62 +++++++++++++++++++++++++++++++++++++++++++---
include/bloblist.h | 32 ++++++++++++++++++++++++
test/bloblist.c | 59 ++++++++++++++++++++++++++++++++++++++++++-
6 files changed, 196 insertions(+), 4 deletions(-)
create mode 100644 cmd/bloblist.c
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list