summaryrefslogtreecommitdiff
path: root/cmd/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-19 18:49:26 -0600
committerSimon Glass <sjg@chromium.org>2020-10-06 09:07:54 -0600
commit4aed22762303755f8f26d14f0ad2608d63550e72 (patch)
tree8dd4859918fb4b6a1311cbf9ddb722505dfdb23b /cmd/Makefile
parent9c22adb8f979ce1386b600a13f5abc37ec92d696 (diff)
downloadu-boot-4aed22762303755f8f26d14f0ad2608d63550e72.tar.gz
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>
Diffstat (limited to 'cmd/Makefile')
-rw-r--r--cmd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Makefile b/cmd/Makefile
index c7a08ed109..015b83764c 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -24,6 +24,7 @@ obj-$(CONFIG_CMD_BDI) += bdinfo.o
obj-$(CONFIG_CMD_BEDBUG) += bedbug.o
obj-$(CONFIG_CMD_BIND) += bind.o
obj-$(CONFIG_CMD_BINOP) += binop.o
+obj-$(CONFIG_CMD_BLOBLIST) += bloblist.o
obj-$(CONFIG_CMD_BLOCK_CACHE) += blkcache.o
obj-$(CONFIG_CMD_BMP) += bmp.o
obj-$(CONFIG_CMD_BOOTCOUNT) += bootcount.o