Blackfin: fix dcache handling when doing dma memcpy's
authorMike Frysinger <vapier@gentoo.org>
Mon, 6 Oct 2008 07:35:44 +0000 (03:35 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 28 Jan 2009 18:26:12 +0000 (13:26 -0500)
commit05b75e48832fc4afeecf8e76d704349557dffa35
tree94fdae6bb39256105205cf8823f86b82e49aedd4
parent68e5632494168095d75f120af70043b68afd2476
Blackfin: fix dcache handling when doing dma memcpy's

Our dcache invalidate function doesn't just invalidate, it also flushes.
So rename the function accordingly and fix the dma_memcpy() function so it
doesn't inadvertently corrupt the data destination.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/blackfin/cache.S
include/asm-blackfin/blackfin_local.h
lib_blackfin/string.c