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>
This commit is contained in:
parent
e7ec875dd1
commit
5b4d810de7
4 changed files with 5 additions and 5 deletions
|
@ -46,7 +46,7 @@ static int do_bootcount(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
return CMD_RET_USAGE;
|
return CMD_RET_USAGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_IS_ENABLED(SYS_LONGHELP)
|
#if IS_ENABLED(CONFIG_SYS_LONGHELP)
|
||||||
static char bootcount_help_text[] =
|
static char bootcount_help_text[] =
|
||||||
"print - print current bootcounter\n"
|
"print - print current bootcounter\n"
|
||||||
"reset - reset the bootcounter"
|
"reset - reset the bootcounter"
|
||||||
|
@ -55,7 +55,7 @@ static char bootcount_help_text[] =
|
||||||
|
|
||||||
U_BOOT_CMD(bootcount, 2, 1, do_bootcount,
|
U_BOOT_CMD(bootcount, 2, 1, do_bootcount,
|
||||||
"bootcount",
|
"bootcount",
|
||||||
#if CONFIG_IS_ENABLED(SYS_LONGHELP)
|
#if IS_ENABLED(CONFIG_SYS_LONGHELP)
|
||||||
bootcount_help_text
|
bootcount_help_text
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
|
|
|
@ -83,7 +83,7 @@ static int do_cpu_detail(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_IS_ENABLED(SYS_LONGHELP)
|
#if IS_ENABLED(CONFIG_SYS_LONGHELP)
|
||||||
static char cpu_help_text[] =
|
static char cpu_help_text[] =
|
||||||
"list - list available CPUs\n"
|
"list - list available CPUs\n"
|
||||||
"cpu detail - show CPU detail"
|
"cpu detail - show CPU detail"
|
||||||
|
|
2
cmd/dm.c
2
cmd/dm.c
|
@ -84,7 +84,7 @@ static int do_dm_dump_uclass(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
#define DM_MEM
|
#define DM_MEM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_IS_ENABLED(SYS_LONGHELP)
|
#if IS_ENABLED(CONFIG_SYS_LONGHELP)
|
||||||
static char dm_help_text[] =
|
static char dm_help_text[] =
|
||||||
"compat Dump list of drivers with compatibility strings\n"
|
"compat Dump list of drivers with compatibility strings\n"
|
||||||
"dm devres Dump list of device resources for each device\n"
|
"dm devres Dump list of device resources for each device\n"
|
||||||
|
|
|
@ -177,7 +177,7 @@ static int ti_do_pd(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv
|
||||||
|
|
||||||
U_BOOT_CMD(pd, 4, 1, ti_do_pd,
|
U_BOOT_CMD(pd, 4, 1, ti_do_pd,
|
||||||
"TI power domain control",
|
"TI power domain control",
|
||||||
#if CONFIG_IS_ENABLED(SYS_LONGHELP)
|
#if IS_ENABLED(CONFIG_SYS_LONGHELP)
|
||||||
"dump - show power domain status\n"
|
"dump - show power domain status\n"
|
||||||
"enable [psc] [lpsc] - enable power domain\n"
|
"enable [psc] [lpsc] - enable power domain\n"
|
||||||
"disable [psc] [lpsc] - disable power domain\n"
|
"disable [psc] [lpsc] - disable power domain\n"
|
||||||
|
|
Loading…
Reference in a new issue