]> git.baikalelectronics.ru Git - uboot.git/commit
bloblist: Add a command
authorSimon Glass <sjg@chromium.org>
Sun, 20 Sep 2020 00:49:26 +0000 (18:49 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Oct 2020 15:07:54 +0000 (09:07 -0600)
commit57b29d5c85a1a860d87c10fe6d6574598aef9e35
tree8dd4859918fb4b6a1311cbf9ddb722505dfdb23b
parentf4d2f1a1e92fc04f6b6ab710a5fb24b6d9d31f32
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>
cmd/Kconfig
cmd/Makefile
cmd/bloblist.c [new file with mode: 0644]
common/bloblist.c
include/bloblist.h
test/bloblist.c