]> Git Repo - u-boot.git/blobdiff - common/cmd_fpga.c
Make sure that argv[] argument pointers are not modified.
[u-boot.git] / common / cmd_fpga.c
index 362bffdcd5750e1b724b45e80e03f1dc1da02fac..ddc7a05a5b8f2c4a5e0c18c920e5bddea713d78d 100644 (file)
@@ -156,7 +156,7 @@ int fpga_loadbitstream(unsigned long dev, char* fpgadata, size_t size)
  * If there is no data addr field, the fpgadata environment variable is used.
  * The info command requires no data address field.
  */
-int do_fpga (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
+int do_fpga (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
 {
        int op, dev = FPGA_INVALID_DEVICE;
        size_t data_size = 0;
@@ -357,9 +357,10 @@ U_BOOT_CMD (fpga, 6, 1, do_fpga,
            "\tload\tLoad device from memory buffer\n"
            "\tloadb\tLoad device from bitstream buffer (Xilinx devices only)\n"
            "\tloadmk\tLoad device generated with mkimage\n"
-           "\tdump\tLoad device to memory buffer\n"
+           "\tdump\tLoad device to memory buffer"
 #if defined(CONFIG_FIT)
+           "\n"
            "\tFor loadmk operating on FIT format uImage address must include\n"
-           "\tsubimage unit name in the form of addr:<subimg_uname>\n"
+           "\tsubimage unit name in the form of addr:<subimg_uname>"
 #endif
 );
This page took 0.023794 seconds and 4 git commands to generate.