projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
616e216
)
cmd_mem: call unmap_sysmem() after map_sysmem()
author
Masahiro Yamada
<yamada.m@jp.panasonic.com>
Thu, 23 Oct 2014 08:46:24 +0000
(17:46 +0900)
committer
Tom Rini
<trini@ti.com>
Mon, 27 Oct 2014 21:54:12 +0000
(17:54 -0400)
Actually, unmap_sysmem() does nothing. Just in case.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
common/cmd_mem.c
patch
|
blob
|
history
diff --git
a/common/cmd_mem.c
b/common/cmd_mem.c
index bfca59e351f0f6705b9949b911b1aa2bf2d93af2..0d50dcfe9c1b8083a35f3cc6df5796a12a0149a2 100644
(file)
--- a/
common/cmd_mem.c
+++ b/
common/cmd_mem.c
@@
-480,6
+480,9
@@
static int do_mem_cp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
if ((count % (64 << 10)) == 0)
WATCHDOG_RESET();
}
+ unmap_sysmem(buf);
+ unmap_sysmem(src);
+
return 0;
}