]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cmd_mmc: fix bootpart-resize maxarg to 4
authorWally Yeh <wally.yeh@atrustcorp.com>
Thu, 25 Sep 2014 15:00:16 +0000 (23:00 +0800)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 3 Oct 2014 14:26:50 +0000 (17:26 +0300)
commitfa7b88519e9158cee2b0900d26c049f09f49f8c5
tree3c2c5445589c270bba6fe12192baf2dc2ef47373
parent786a27b7ec9efd1ebf50008050e3cff9ce458198
cmd_mmc: fix bootpart-resize maxarg to 4

sub-command 'bootpart-resize' check for argc == 4,
it will retrun CMD_RET_FAILURE when argc value not matched.

but bootpart-resize's maxarg is 3, which means you never execute
this sub-command successfully.

fix it by change bootpart-resize maxarg to 4.

Signed-off-by: wally.yeh <wally.yeh@atrustcorp.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pierre Aubert <p.aubert@staubli.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
common/cmd_mmc.c