cmd: cp: add missing map_sysmem
authorPhilippe Reynes <philippe.reynes@softathome.com>
Mon, 2 Dec 2019 16:33:22 +0000 (17:33 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 5 Dec 2019 15:28:38 +0000 (10:28 -0500)
commit787f10a9d2553f89e382e7ed09c2cf6b3b1d70cf
tree79be3853b128c75dc47a7ec4f7edd76dba5078f8
parentae0d12f8df7b6fe6f04f567e1dc9d5b760a394d1
cmd: cp: add missing map_sysmem

The command cp fails on sandbox because the address is used
directly. To fix this issue, we call the function map_sysmem
to translate the address.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
cmd/mem.c