aboutsummaryrefslogtreecommitdiffstats
path: root/board/amd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-06-19 10:09:44 -0600
committerTom Rini <trini@konsulko.com>2024-06-26 13:17:51 -0600
commitb85ecb276bee4ef828852e75e9932638b48042dd (patch)
tree3372664a87f685fd7275d4c68eb2e114dc4bedda /board/amd
parent4721d1cb8e45795c10fad252fdfc4951fefaeff2 (diff)
downloadu-boot-b85ecb276bee4ef828852e75e9932638b48042dd.tar.gz
cmd: Make use of U_BOOT_LONGHELP when missing
After adding the U_BOOT_LONGHELP macro some new commands came in still that were not making use if it. Switch these cases over and in a few places add missing newlines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/amd')
-rw-r--r--board/amd/versal2/cmds.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/amd/versal2/cmds.c b/board/amd/versal2/cmds.c
index fbd99918a7f..56ae39bc6a1 100644
--- a/board/amd/versal2/cmds.c
+++ b/board/amd/versal2/cmds.c
@@ -71,10 +71,9 @@ static int do_versal2_load_pdi(struct cmd_tbl *cmdtp, int flag, int argc,
return cmd_process_error(cmdtp, ret);
}
-static char versal2_help_text[] =
+U_BOOT_LONGHELP(versal2,
"loadpdi addr len - Load pdi image\n"
- "load pdi image at ddr address 'addr' with pdi image size 'len'\n"
-;
+ "load pdi image at ddr address 'addr' with pdi image size 'len'\n");
U_BOOT_CMD_WITH_SUBCMDS(versal2, "Versal Gen 2 sub-system", versal2_help_text,
U_BOOT_SUBCMD_MKENT(loadpdi, 3, 1,