diff options
author | Olav Morken <olavmrk@gmail.com> | 2009-01-23 12:56:27 +0100 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2009-02-23 10:34:23 +0100 |
commit | d8f2aa3298610b44127dbc4796d8038aa5847e0b (patch) | |
tree | 10a80a2fe35a0a60de1761b1662d2464a9bedc1c /lib_avr32 | |
parent | ea393eb1d6a786fc2e895f90abb5f7e7541aef45 (diff) | |
download | u-boot-d8f2aa3298610b44127dbc4796d8038aa5847e0b.tar.gz u-boot-d8f2aa3298610b44127dbc4796d8038aa5847e0b.tar.xz u-boot-d8f2aa3298610b44127dbc4796d8038aa5847e0b.zip |
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>
Diffstat (limited to 'lib_avr32')
-rw-r--r-- | lib_avr32/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_avr32/board.c b/lib_avr32/board.c index 959375a48f..57115df09b 100644 --- a/lib_avr32/board.c +++ b/lib_avr32/board.c @@ -86,7 +86,7 @@ void *sbrk(ptrdiff_t increment) } #ifdef CONFIG_SYS_DMA_ALLOC_LEN -#include <asm/cacheflush.h> +#include <asm/arch/cacheflush.h> #include <asm/io.h> static unsigned long dma_alloc_start; |