commit | a3a4749df2488487678328a03f4936c2f25363ab | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Thu Oct 23 17:46:24 2014 +0900 |
committer | Tom Rini <trini@ti.com> | Mon Oct 27 17:54:12 2014 -0400 |
tree | eaf8faf34ee1fa4a99eaa38dd53779662c5b827e | |
parent | 616e2162a5726a6a2617f43bf14e6f75fe928b18 [diff] [blame] |
cmd_mem: call unmap_sysmem() after map_sysmem() 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>
diff --git a/common/cmd_mem.c b/common/cmd_mem.c index bfca59e..0d50dcf 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c
@@ -480,6 +480,9 @@ if ((count % (64 << 10)) == 0) WATCHDOG_RESET(); } + unmap_sysmem(buf); + unmap_sysmem(src); + return 0; }