mirror of
https://xff.cz/git/u-boot/
synced 2025-10-27 16:43:32 +01:00
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
This commit is contained in:
@@ -350,10 +350,10 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||||||
} else if (s != NULL && !strcmp(s, ".oob")) {
|
} else if (s != NULL && !strcmp(s, ".oob")) {
|
||||||
/* read out-of-band data */
|
/* read out-of-band data */
|
||||||
if (read)
|
if (read)
|
||||||
ret = nand->read_oob(nand, off, size, &size,
|
ret = nand->read_oob(nand, off, size, (size_t *) &size,
|
||||||
(u_char *) addr);
|
(u_char *) addr);
|
||||||
else
|
else
|
||||||
ret = nand->write_oob(nand, off, size, &size,
|
ret = nand->write_oob(nand, off, size, (size_t *) &size,
|
||||||
(u_char *) addr);
|
(u_char *) addr);
|
||||||
} else {
|
} else {
|
||||||
if (read)
|
if (read)
|
||||||
|
|||||||
Reference in New Issue
Block a user