summaryrefslogtreecommitdiff
path: root/cmd/bootcount.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bootcount.c')
-rw-r--r--cmd/bootcount.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/cmd/bootcount.c b/cmd/bootcount.c
index 3898d2543d2..30ce5dba30d 100644
--- a/cmd/bootcount.c
+++ b/cmd/bootcount.c
@@ -46,16 +46,11 @@ static int do_bootcount(struct cmd_tbl *cmdtp, int flag, int argc,
return CMD_RET_USAGE;
}
-#if IS_ENABLED(CONFIG_SYS_LONGHELP)
-static char bootcount_help_text[] =
+U_BOOT_LONGHELP(bootcount,
"print - print current bootcounter\n"
- "reset - reset the bootcounter"
- ;
-#endif
+ "reset - reset the bootcounter");
U_BOOT_CMD(bootcount, 2, 1, do_bootcount,
"bootcount",
-#if IS_ENABLED(CONFIG_SYS_LONGHELP)
bootcount_help_text
-#endif
);