Correct map_sysmem() logic in do_mem_mw()
authorSimon Glass <sjg@chromium.org>
Thu, 5 Mar 2015 19:25:18 +0000 (12:25 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 17 Apr 2015 01:27:41 +0000 (19:27 -0600)
commitcc5e196e0350055e3e438d5dc2341316027c8d93
tree0da94e5896c41e059640886b8ad659759750e265
parent161d2e4e5b98310c4910a353e432dbabcb1bd630
Correct map_sysmem() logic in do_mem_mw()

This function does not unmap what it maps. Correct it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/cmd_mem.c