X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_fpga.c;h=2e017b84d892d73df80203dfd26d224f62b45050;hb=3dfad40a0459f63099e177dc15a1df39d048f860;hp=9141dcce92136f7d3da8c6907d0692d768376cda;hpb=3596d55eb22703d3f4f1b839fe4b000fabe081b3;p=u-boot diff --git a/common/cmd_fpga.c b/common/cmd_fpga.c index 9141dcce92..2e017b84d8 100644 --- a/common/cmd_fpga.c +++ b/common/cmd_fpga.c @@ -85,7 +85,7 @@ int fpga_loadbitstream(unsigned long dev, char* fpgadata, size_t size) length = (*dataptr << 8) + *(dataptr+1); dataptr+=2; for(i=0;iusage); + cmd_usage(cmdtp); } /* @@ -350,16 +350,17 @@ static int fpga_get_op (char *opstr) } U_BOOT_CMD (fpga, 6, 1, do_fpga, - "fpga - loadable FPGA image support\n", + "loadable FPGA image support", "fpga [operation type] [device number] [image address] [image size]\n" "fpga operations:\n" "\tinfo\tlist known device information\n" "\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:\n" + "\tsubimage unit name in the form of addr:" #endif );