summaryrefslogtreecommitdiff
path: root/include/asm-blackfin/blackfin_local.h
AgeCommit message (Collapse)Author
2009-07-18Blackfin: add os log functionsMike Frysinger
Part of the mini Blackfin ABI with operating systems is that they can use 0x4f0-0x4f8 to pass log buffers to/from bootloaders. So add support to U-Boot for reading the log buffer. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: only flag L1 instruction for DMA memcpyMike Frysinger
The performance difference from doing an 8 bit DMA memcpy vs an optimized core memcpy can be pretty big when you add in the overhead of setting up the MDMA registers, cache flushes, etc... So only use dma_memcpy() when we actually require it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: rewrite cache handling functionsMike Frysinger
Take the cache flush functions from the kernel as they use hardware loops in order to get optimal performance. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: cache core/system clock valuesMike Frysinger
Calculating the clocks requires a bit of calls to gcc math functions, so cache the values after the first run since they'll most likely never change once U-Boot is up and running. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: fix dcache handling when doing dma memcpy'sMike Frysinger
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>
2008-02-04punt Blackfin VDSP headers and import sanitized/auto-generated onesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>