summaryrefslogtreecommitdiffstats
path: root/arch/nios2/include/asm/dma-mapping.h
Commit message (Collapse)AuthorAgeFilesLines
* nios2: Fix DMA functions when CPU has no dcacheFranck Jullien2012-09-191-1/+13
| | | | | Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nios: add dma_alloc, asm/dma.hMarc Kleine-Budde2012-06-301-0/+10
| | | | | | | | This patch add dma_alloc to existing dma-mapping.h. On nios the mem is aligned to D_ACHE_LINE_SIZE. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix dma mapping end addressFranck JULLIEN2011-05-161-1/+1
| | | | | | | | The flush_dcache_range function takes an absolute end address so we have to add start address to the second parameter. Signed-off-by: Franck JULLIEN <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add Nios2 arch support to bareboxFranck JULLIEN2011-03-301-0/+25
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>