
Dear Andreas Devel,
Andreas Devel andreas.devel@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@googlemail.com CC: Josh Wu josh.wu@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