[U-Boot] avr32: migrate cache functions

Andreas Bießmann andreas.devel at googlemail.com
Sat Jun 14 18:14:02 CEST 2014


Dear Andreas Devel,

Andreas Devel <andreas.devel at googlemail.com> writes:
>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 at googlemail.com>
>CC: Josh Wu <josh.wu at atmel.com>
>
>---
>This patch is required to apply 'net: macb: enable dcache in macb' [1] without
>build errors.
>The patch is currently only compile tested, runtime tests pending.
>
>[1] http://patchwork.ozlabs.org/patch/352786/
>
> arch/avr32/cpu/cache.c                              | 20 ++++++++++----------
> arch/avr32/include/asm/arch-at32ap700x/cacheflush.h |  2 --
> arch/avr32/include/asm/dma-mapping.h                |  6 ++++--
> arch/avr32/lib/board.c                              |  4 ++--
> 4 files changed, 16 insertions(+), 16 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list