mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-12 12:08:56 +01:00
Merge "ipq40xx: nand: Initialize nand flash device before flashing"
This commit is contained in:
commit
9dbc4f95f1
1 changed files with 2 additions and 1 deletions
|
|
@ -415,7 +415,8 @@ static int do_nand(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|||
}
|
||||
|
||||
dev = (int)simple_strtoul(argv[2], NULL, 10);
|
||||
set_dev(dev);
|
||||
if (set_dev(dev))
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue