AVR32: Make cacheflush cpu-dependent
authorOlav Morken <olavmrk@gmail.com>
Fri, 23 Jan 2009 11:56:27 +0000 (12:56 +0100)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 23 Feb 2009 09:34:23 +0000 (10:34 +0100)
commitd8f2aa3298610b44127dbc4796d8038aa5847e0b
tree10a80a2fe35a0a60de1761b1662d2464a9bedc1c
parentea393eb1d6a786fc2e895f90abb5f7e7541aef45
AVR32: Make cacheflush cpu-dependent

The AT32UC3A series of processors doesn't contain any cache, and issuing
cache control instructions on those will cause an exception. This commit
makes cacheflush.h arch-dependent in preparation for the AT32UC3A-support.

Signed-off-by: Gunnar Rangoy <gunnar@rangoy.com>
Signed-off-by: Paul Driveklepp <pauldriveklepp@gmail.com>
Signed-off-by: Olav Morken <olavmrk@gmail.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
board/atmel/atstk1000/flash.c
board/earthlcd/favr-32-ezkit/flash.c
cpu/at32ap/cache.c
include/asm-avr32/dma-mapping.h
lib_avr32/board.c