projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix copy from ram to dataflash
[platform/kernel/u-boot.git]
/
common
/
cmd_mem.c
diff --git
a/common/cmd_mem.c
b/common/cmd_mem.c
index
ed91f27
..
4262e26
100644
(file)
--- a/
common/cmd_mem.c
+++ b/
common/cmd_mem.c
@@
-417,7
+417,7
@@
int do_mem_cp ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
/* check if we are copying to Flash */
if ( (addr2info(dest) != NULL)
#ifdef CONFIG_HAS_DATAFLASH
- && (!addr_dataflash(
addr
))
+ && (!addr_dataflash(
dest
))
#endif
) {
int rc;