mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-07 17:57:38 +01:00
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
This commit is contained in:
commit
1a0a7ced39
1 changed files with 2 additions and 2 deletions
|
|
@ -350,10 +350,10 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
} else if (s != NULL && !strcmp(s, ".oob")) {
|
||||
/* read out-of-band data */
|
||||
if (read)
|
||||
ret = nand->read_oob(nand, off, size, &size,
|
||||
ret = nand->read_oob(nand, off, size, (size_t *) &size,
|
||||
(u_char *) addr);
|
||||
else
|
||||
ret = nand->write_oob(nand, off, size, &size,
|
||||
ret = nand->write_oob(nand, off, size, (size_t *) &size,
|
||||
(u_char *) addr);
|
||||
} else {
|
||||
if (read)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue