On 10/16/2015 04:29 PM, Thomas Chou wrote:
Convert dma_alloc_coherent to use memalign.

Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
---
v2
   use memalign.
v3
   check memalign() return for out of memory.
v4
   use malloc_cache_aligned().
v5
   use invalidate_dcache_range() as Marek suggested.
v6
   defer assignment of handle as Marek suggested.

  arch/nios2/include/asm/dma-mapping.h | 27 ++++++++++++++-------------
  1 file changed, 14 insertions(+), 13 deletions(-)


Applied to u-boot-nios.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to