aboutsummaryrefslogtreecommitdiff
path: root/cmd/bootcount.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 15:40:56 -0700
committerTom Rini <trini@konsulko.com>2023-02-10 07:41:40 -0500
commit5b4d810de73cea31768dfd282667d81243f3d7b9 (patch)
treed791a44c5b883e21e3358f68f9a055c51440d544 /cmd/bootcount.c
parente7ec875dd10ae97c4ce240c30c306395598de709 (diff)
Correct SPL uses of SYS_LONGHELP
This converts 5 usages of this option to the non-SPL form, since there is no SPL_SYS_LONGHELP defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/bootcount.c')
-rw-r--r--cmd/bootcount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/bootcount.c b/cmd/bootcount.c
index 654bbb805c..3898d2543d 100644
--- a/cmd/bootcount.c
+++ b/cmd/bootcount.c
@@ -46,7 +46,7 @@ static int do_bootcount(struct cmd_tbl *cmdtp, int flag, int argc,
return CMD_RET_USAGE;
}
-#if CONFIG_IS_ENABLED(SYS_LONGHELP)
+#if IS_ENABLED(CONFIG_SYS_LONGHELP)
static char bootcount_help_text[] =
"print - print current bootcounter\n"
"reset - reset the bootcounter"
@@ -55,7 +55,7 @@ static char bootcount_help_text[] =
U_BOOT_CMD(bootcount, 2, 1, do_bootcount,
"bootcount",
-#if CONFIG_IS_ENABLED(SYS_LONGHELP)
+#if IS_ENABLED(CONFIG_SYS_LONGHELP)
bootcount_help_text
#endif
);