9
0
Fork 0
barebox/arch/openrisc/include/asm
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
..
bitops Add OpenRISC arch 2012-01-02 12:50:56 +01:00
barebox.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
bitops.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
byteorder.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
cache.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
common.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
dma.h blackfin, mips, openrisc, ppc, sandbox, x86: add generic dma_alloc, dma_free inlines 2012-06-30 12:46:25 +02:00
elf.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
io.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
openrisc_exc.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
posix_types.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
ptrace.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
sections.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
spr-defs.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
string.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
swab.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
system.h Add OpenRISC arch 2012-01-02 12:50:56 +01:00
types.h openrisc: fix build due to redefined phys_size_t 2012-06-21 11:57:26 +02:00