9
0
Fork 0
barebox/arch/openrisc
Marc Kleine-Budde ed2180d658 blackfin, mips, openrisc, ppc, sandbox, x86: add generic dma_alloc, dma_free inlines
Some drivers call dma_inv_range() on buffers, on arm these buffers must
be cache line aligned. This patch introduces a generic dma_alloc,
dma_free. Archs can implement in their own functions in "asm/dma.h" and add a:

	#define dma_alloc dma_alloc
	#define dma_free dma_free

On all other archs the generic versions, which translate into xmalloc
and free are used.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-06-30 12:46:25 +02:00
..
boards/generic ENV: remove kernelimage_type from env/config 2012-03-13 13:36:30 +01:00
configs Add OpenRISC arch 2012-01-02 12:50:56 +01:00
cpu Add OpenRISC arch 2012-01-02 12:50:56 +01:00
include/asm blackfin, mips, openrisc, ppc, sandbox, x86: add generic dma_alloc, dma_free inlines 2012-06-30 12:46:25 +02:00
lib commands: remove struct command pointer from commands 2012-02-27 20:28:07 +01:00
Kconfig Add OpenRISC arch 2012-01-02 12:50:56 +01:00
Makefile Add OpenRISC arch 2012-01-02 12:50:56 +01:00