]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
drivers: net: fsl-mc: cleanup the fsl_mc command help text
authorIoana Ciornei <ioana.ciornei@nxp.com>
Wed, 1 Apr 2026 15:04:44 +0000 (18:04 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 9 Apr 2026 18:17:28 +0000 (12:17 -0600)
All the parameters that can be currently passed to the fsl_mc command
are positional arguments which are mandatory. This is not perfectly
clear when reading the help text because of the use of square brackets.

Fix this by changing the square brackets, which are commonly used for
optional parameters, with < .. >.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/net/fsl-mc/mc.c

index 6e42fde536a43763a8fdf6979f356714f81ce041..039375e5dfddcb70c9aa5f93343a3600c08f3ccb 100644 (file)
@@ -2070,12 +2070,12 @@ static int do_fsl_mc(struct cmd_tbl *cmdtp, int flag, int argc,
 U_BOOT_CMD(
        fsl_mc,  CONFIG_SYS_MAXARGS,  1,   do_fsl_mc,
        "DPAA2 command to manage Management Complex (MC)",
-       "start mc [FW_addr] [DPC_addr] - Start Management Complex\n"
-       "fsl_mc apply DPL [DPL_addr] - Apply DPL file\n"
-       "fsl_mc lazyapply DPL [DPL_addr] - Apply DPL file on exit\n"
-       "fsl_mc apply spb [spb_addr] - Apply SPB Soft Parser Blob\n"
-       "fsl_mc start aiop [FW_addr] - Start AIOP\n"
-       "fsl_mc dump_log - Dump MC Log\n"
+       "fsl_mc start mc <fw_addr> <DPC_addr> - Start the Management Complex firmware\n"
+       "fsl_mc apply dpl <dpl_addr> - Apply the DPL (Data Path Layout) file\n"
+       "fsl_mc lazyapply dpl <DPL_addr> - Apply the DPL (Data Path Layout) file on exit\n"
+       "fsl_mc apply spb <spb_addr> - Apply the SPB Soft Parser Blob\n"
+       "fsl_mc start aiop <fw_addr> - Start AIOP\n"
+       "fsl_mc dump_log - Dump the MC Log\n"
 );
 
 void mc_env_boot(void)