mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
UBI: Fix size parsing in "ubi create"
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
2ee951ba2a
commit
2d2e05727f
1 changed files with 1 additions and 1 deletions
|
|
@ -546,7 +546,7 @@ static int do_ubi(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
}
|
||||
/* E.g., create volume size */
|
||||
if (argc == 4) {
|
||||
addr = simple_strtoul(argv[3], NULL, 16);
|
||||
size = simple_strtoul(argv[3], NULL, 16);
|
||||
argc--;
|
||||
}
|
||||
/* Use maximum available size */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue