]>
git.ipfire.org Git - thirdparty/u-boot.git/blob - cmd/bloblist.c
1 // SPDX-License-Identifier: GPL-2.0+
3 * Command-line access to bloblist features
5 * Copyright 2020 Google LLC
6 * Written by Simon Glass <sjg@chromium.org>
12 #include <asm/global_data.h>
14 DECLARE_GLOBAL_DATA_PTR
;
16 static int do_bloblist_info(struct cmd_tbl
*cmdtp
, int flag
, int argc
,
19 bloblist_show_stats();
24 static int do_bloblist_list(struct cmd_tbl
*cmdtp
, int flag
, int argc
,
32 U_BOOT_LONGHELP(bloblist
,
33 "info - show information about the bloblist\n"
34 "bloblist list - list blobs in the bloblist");
36 U_BOOT_CMD_WITH_SUBCMDS(bloblist
, "Bloblists", bloblist_help_text
,
37 U_BOOT_SUBCMD_MKENT(info
, 1, 1, do_bloblist_info
),
38 U_BOOT_SUBCMD_MKENT(list
, 1, 1, do_bloblist_list
));