projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2f43e
)
cmd_nand : fix compiler warning.
author
Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
Sun, 13 Jan 2008 11:36:12 +0000
(12:36 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 13 Jan 2008 14:57:48 +0000
(15:57 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
common/cmd_nand.c
patch
|
blob
|
history
diff --git
a/common/cmd_nand.c
b/common/cmd_nand.c
index b248a2cdb2c822f67c5c4e604669b4155bd96e5a..8d6c959584f64de348c3fc0d5276f186c7c08ebc 100644
(file)
--- a/
common/cmd_nand.c
+++ b/
common/cmd_nand.c
@@
-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)