
The help text should not be build unless CONFIG_SYS_LONGHELP is enabled. Add this as a condition.
Signed-off-by: Simon Glass sjg@chromium.org ---
cmd/armffa.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/cmd/armffa.c b/cmd/armffa.c index 7e6eafc03ad7..28b65678a8e9 100644 --- a/cmd/armffa.c +++ b/cmd/armffa.c @@ -188,6 +188,7 @@ static int do_ffa_devlist(struct cmd_tbl *cmdtp, int flag, int argc, char *const return CMD_RET_SUCCESS; }
+#ifdef CONFIG_SYS_LONGHELP static char armffa_help_text[] = "getpart <partition UUID>\n" " - lists the partition(s) info\n" @@ -195,6 +196,7 @@ static char armffa_help_text[] = " - sends a data pattern to the specified partition\n" "devlist\n" " - displays information about the FF-A device/driver\n"; +#endif
U_BOOT_CMD_WITH_SUBCMDS(armffa, "Arm FF-A test command", armffa_help_text, U_BOOT_SUBCMD_MKENT(getpart, 2, 1, do_ffa_getpart),