bloblist: Add a command
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@chromium.org>
Showing
- cmd/Kconfig 9 additions, 0 deletionscmd/Kconfig
- cmd/Makefile 1 addition, 0 deletionscmd/Makefile
- cmd/bloblist.c 37 additions, 0 deletionscmd/bloblist.c
- common/bloblist.c 59 additions, 3 deletionscommon/bloblist.c
- include/bloblist.h 32 additions, 0 deletionsinclude/bloblist.h
- test/bloblist.c 58 additions, 1 deletiontest/bloblist.c
Loading
Please register or sign in to comment