avr32: migrate cache functions
authorAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 12 Jun 2014 20:07:52 +0000 (22:07 +0200)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Sat, 14 Jun 2014 16:06:58 +0000 (18:06 +0200)
commit0e05543576b460afff506a169dfdaa6f02bde5c6
treeaf1a8f951ff7509d99550bab33ba4a7e3d44eea3
parent0a26e1d6c394aacbf1153977b7348d1dff85db3f
avr32: migrate cache functions

Unfortunately the avr32 cache implementation has another API than the one
described in common.h. Migrate the flush/invalidate dcache functions to the
common API to be usable in device drivers.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
CC: Josh Wu <josh.wu@atmel.com>
arch/avr32/cpu/cache.c
arch/avr32/include/asm/arch-at32ap700x/cacheflush.h
arch/avr32/include/asm/dma-mapping.h
arch/avr32/lib/board.c