diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-15 08:00:25 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-27 05:04:30 +0300 |
commit | 907bcd3a33253515cb1bdc01077e127c6735f74b (patch) | |
tree | 5aacf8cf1abe10b14f366d39763dd6f7e4b8b154 /cmd/bloblist.c | |
parent | 71cebf0b5947cc0e393bec0841744d9eda0a038d (diff) | |
download | u-boot-907bcd3a33253515cb1bdc01077e127c6735f74b.tar.xz |
cmd: Add missing check for CONFIG_SYS_LONGHELP
Two commands are missing this check, so compilation fails when building
without CONFIG_CMDLINE. Add it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/bloblist.c')
-rw-r--r-- | cmd/bloblist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/bloblist.c b/cmd/bloblist.c index 97b5734161..21e7ff67af 100644 --- a/cmd/bloblist.c +++ b/cmd/bloblist.c @@ -29,9 +29,11 @@ static int do_bloblist_list(struct cmd_tbl *cmdtp, int flag, int argc, return 0; } +#ifdef CONFIG_SYS_LONGHELP static char bloblist_help_text[] = "info - show information about the bloblist\n" "bloblist list - list blobs in the bloblist"; +#endif U_BOOT_CMD_WITH_SUBCMDS(bloblist, "Bloblists", bloblist_help_text, U_BOOT_SUBCMD_MKENT(info, 1, 1, do_bloblist_info), |