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
bootm: Disable interrupts before loading OS
[platform/kernel/u-boot.git]
/
common
/
cmd_mem.c
diff --git
a/common/cmd_mem.c
b/common/cmd_mem.c
index
64dd76a
..
77eafa0
100644
(file)
--- a/
common/cmd_mem.c
+++ b/
common/cmd_mem.c
@@
-445,7
+445,7
@@
static int do_mem_cp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
#endif
bytes = size * count;
- buf = map_sysmem(
addr
, bytes);
+ buf = map_sysmem(
dest
, bytes);
src = map_sysmem(addr, bytes);
while (count-- > 0) {
if (size == 4)
@@
-551,6
+551,8
@@
static int do_mem_loop(cmd_tbl_t *cmdtp, int flag, int argc,
*cp++;
}
unmap_sysmem(buf);
+
+ return 0;
}
#ifdef CONFIG_LOOPW