X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_ximg.c;h=dceb975498beef93c2941afcbeacf5ba6a204ec2;hb=bc8f8c2614c8e104a66198633d8d765b720ed907;hp=b34c4d02da00a52fa31458afa73fe01c6b411499;hpb=111d6c6ad15d1425d3e5a678b2ff4b593e910fca;p=u-boot diff --git a/common/cmd_ximg.c b/common/cmd_ximg.c index b34c4d02da..dceb975498 100644 --- a/common/cmd_ximg.c +++ b/common/cmd_ximg.c @@ -43,7 +43,7 @@ #endif int -do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) +do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) { ulong addr = load_addr; ulong dest = 0; @@ -230,7 +230,7 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) printf (" Uncompressing part %d ... ", part); /* - * If we've got less than 4 MB of malloc() + * If we've got less than 4 MB of malloc() * space, use slower decompression algorithm * which requires at most 2300 KB of memory. */ @@ -262,7 +262,8 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) return 0; } -U_BOOT_CMD(imxtract, 4, 1, do_imgextract, +U_BOOT_CMD( + imxtract, 4, 1, do_imgextract, "extract a part of a multi-image", "addr part [dest]\n" " - extract from legacy image at and copy to "