]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cmd_mem: fix cp command
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 20 May 2013 21:08:08 +0000 (21:08 +0000)
committerTom Rini <trini@ti.com>
Fri, 24 May 2013 14:38:08 +0000 (10:38 -0400)
commit53237afe5b64abe7b17fbfed958f3dc83f503ffa
treeaa9ceb518a8bc908b40c6e34e05058765633ee5f
parentc28cbfa1a89cae2c0cb13144c8123345d61fdc87
cmd_mem: fix cp command

The "cp" command has not worked since
commit 0628ab8ec59834f98ede267edd21ddb8ba0bb57b,
because of the following lines, which set the destination
and the source to the same address.

buf = map_sysmem(addr, bytes);
src = map_sysmem(addr, bytes);

Tested-by: Tom Rini <trini@ti.com>
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
common/cmd_mem.c