summaryrefslogtreecommitdiff
path: root/arch/avr32/include/asm/arch-at32ap700x
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2014-06-12 20:07:52 (GMT)
committerAndreas Bießmann <andreas.devel@googlemail.com>2014-06-14 16:06:58 (GMT)
commit0e05543576b460afff506a169dfdaa6f02bde5c6 (patch)
treeaf1a8f951ff7509d99550bab33ba4a7e3d44eea3 /arch/avr32/include/asm/arch-at32ap700x
parent0a26e1d6c394aacbf1153977b7348d1dff85db3f (diff)
downloadu-boot-0e05543576b460afff506a169dfdaa6f02bde5c6.tar.xz
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>
Diffstat (limited to 'arch/avr32/include/asm/arch-at32ap700x')
-rw-r--r--arch/avr32/include/asm/arch-at32ap700x/cacheflush.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/avr32/include/asm/arch-at32ap700x/cacheflush.h b/arch/avr32/include/asm/arch-at32ap700x/cacheflush.h
index 13d6d3a..e08cd9d 100644
--- a/arch/avr32/include/asm/arch-at32ap700x/cacheflush.h
+++ b/arch/avr32/include/asm/arch-at32ap700x/cacheflush.h
@@ -49,9 +49,7 @@ static inline void icache_invalidate_line(volatile void *vaddr)
* Applies the above functions on all lines that are touched by the
* specified virtual address range.
*/
-void dcache_invalidate_range(volatile void *start, size_t len);
void dcache_clean_range(volatile void *start, size_t len);
-void dcache_flush_range(volatile void *start, size_t len);
void icache_invalidate_range(volatile void *start, size_t len);
static inline void dcache_flush_unlocked(void)