nds32: DMA mapping API
authorGreentime Hu <greentime@andestech.com>
Tue, 24 Oct 2017 08:22:35 +0000 (16:22 +0800)
committerGreentime Hu <greentime@andestech.com>
Thu, 22 Feb 2018 02:44:32 +0000 (10:44 +0800)
commit80081b33910f417310921430dbfb5c8bf20e86aa
tree42d8174ee9aa751821a074bddb5b7fff8201de04
parent4a64f68dbda6fb0eb5be23616ee2f09023c6fdc5
nds32: DMA mapping API

This patch adds support for the DMA mapping API. It uses dma_map_ops for
flexibility.

Signed-off-by: Vincent Chen <vincentc@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/nds32/include/asm/dma-mapping.h [new file with mode: 0644]
arch/nds32/kernel/dma.c [new file with mode: 0644]