9
0
Fork 0
barebox/arch/mips
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 MIPS: XBurst: suitable solution for per-board debug_ll 2012-06-05 08:36:59 +02:00
boot MIPS: import CPU and cache detection code from Linux 3.4 2012-05-23 18:47:53 +02:00
configs MIPS: add defconfig for Ritmix RZX-50 board 2012-05-17 20:27:45 +02:00
include blackfin, mips, openrisc, ppc, sandbox, x86: add generic dma_alloc, dma_free inlines 2012-06-30 12:46:25 +02:00
lib MIPS: cpuinfo: import CPU message from Linux 3.4 2012-05-23 18:47:53 +02:00
mach-bcm47xx introduce io.h 2011-09-22 19:03:05 +02:00
mach-malta MIPS: malta: use common DEBUG_LL code for NS16550 2012-05-13 11:02:33 +02:00
mach-xburst MIPS: XBurst: suitable solution for per-board debug_ll 2012-06-05 08:36:59 +02:00
Kconfig MIPS: add XBurst processor family support 2012-05-17 20:27:45 +02:00
Makefile MIPS: make possible board-specific header files 2012-06-05 08:36:59 +02:00
mach-mips.dox MIPS: add XBurst processor family support 2012-05-17 20:27:45 +02:00