]> git.sur5r.net Git - u-boot/commit
fix copy from ram to dataflash
authorKim B. Heino <Kim.Heino@bluegiga.com>
Mon, 3 Mar 2008 08:39:13 +0000 (10:39 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 3 Mar 2008 20:48:02 +0000 (21:48 +0100)
commit84d0c2f1e39caff58bf765a7ab7c72da23c25ec8
tree184a16fb920a073a9afa285bc383822feacdbb0d
parent32bf3d143a888f8deacfdcc97e898f6c06d0aea4
fix copy from ram to dataflash

If I try to "cp.b <ram> <dataflash>", u-boot selects normal flash
routines instead of dataflash. This is because it checks "if source
address is not dataflash" instead of target address.

Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>
common/cmd_mem.c