[Blackfin] arch: fix bug when DMA operation related core B of BF561
authorEnrik Berkhan <Enrik.Berkhan@ge.com>
Mon, 24 Dec 2007 11:51:31 +0000 (19:51 +0800)
committerBryan Wu <bryan.wu@analog.com>
Mon, 24 Dec 2007 11:51:31 +0000 (19:51 +0800)
commit76a7f4049277691b9b800a23dc09009374cdaa21
tree1cd3070c59cf43ffbaff2d324d204a3085428e3f
parent37931db5bdce35d37a9bdf93082604620ba3341a
[Blackfin] arch: fix bug when DMA operation related core B of BF561

- Before DMA'ing data to core B L1 memory, caches have to be flushed.
- Before DMA'ing data from core B L1 memory, caches have to be invalidated.
- Fix lock/unlock.

Signed-off-by: Enrik Berkhan <Enrik.Berkhan@ge.com>
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/mach-bf561/coreb.c