9
0
Fork 0
barebox/arch/x86
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/x86_generic Use DEVICE_ID_DYNAMIC where applicable 2012-04-16 09:43:02 +02:00
boot x86: fix symbol size calculation 2011-11-11 12:28:35 +01:00
configs x86 Generic platform: Fix prompt name 2011-03-10 11:15:04 +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 x86 linker script: Add missing _text 2012-04-05 08:50:54 +02:00
mach-i386 introduce io.h 2011-09-22 19:03:05 +02:00
Kconfig move digest to crypto/ 2011-10-12 08:52:48 +02:00
Makefile Only pass -P to cpp when generating ld scripts 2011-10-18 09:18:41 +02:00
mach-x86.dox doc: eliminate nonexisting reference 2010-10-22 20:47:02 +02:00