summaryrefslogtreecommitdiffstats
path: root/lib_blackfin/string.c
Commit message (Collapse)AuthorAgeFilesLines
* Blackfin: use 8/16/32 bit transfer widths in dma_memcpy()Mike Frysinger2009-02-021-4/+19
| | | | | | | Rather than using 8bit transfers for everything, use 8/16/32 bit transfers as usable with the source/destination addresses and the count size. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: dma_memcpy(): fix random failuresMike Frysinger2009-02-021-8/+11
| | | | | | | | We have to make sure the DMA channel is actually disabled in hardware before attempting to reprogram it. Otherwise the new settings are ignored and we end up with random hangs/failures. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: fix dcache handling when doing dma memcpy'sMike Frysinger2009-01-281-4/+7
| | | | | | | | 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>
* Blackfin: split cache handling out of dma_memcpy()Mike Frysinger2009-01-281-8/+17
| | | | | | | Creating a new dma_memcpy() function that skips all cache checks allows us to use the function in very early init where the cache is not yet setup. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: abort dma_memcpy() for L1 scratchpadMike Frysinger2009-01-281-1/+12
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: unify cpu and boot modesMike Frysinger2008-03-301-0/+203
All of the duplicated code for Blackfin processors and boot modes have been unified. After all, the core is the same for all processors, just the peripheral set differs (which gets handled in the drivers). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
OpenPOWER on IntegriCloud