9
0
Fork 0
barebox/arch/ppc
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 Minimal P2020RDB platform support and configuration file 2012-05-17 20:33:39 +02:00
configs Minimal P2020RDB platform support and configuration file 2012-05-17 20:33:39 +02:00
cpu-85xx ppc 85xx: Fix whitespaces 2012-05-24 11:18:32 +02: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 Set _text_base to the firmware relocation address 2012-05-17 20:33:39 +02:00
mach-mpc5xxx ppc reloc.S: use a common trap relocation function 2012-05-11 09:06:44 +02:00
mach-mpc85xx MPC85xx start-up support code 2012-05-17 20:33:39 +02:00
Kconfig 85xx core support build files 2012-05-17 20:33:39 +02:00
Makefile Minimal P2020RDB platform support and configuration file 2012-05-17 20:33:39 +02:00
mach-ppc.dox rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00