]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: denali: support 64bit capable DMA engine
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 30 Mar 2017 06:45:54 +0000 (15:45 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 25 Apr 2017 12:18:35 +0000 (14:18 +0200)
commit6ca85349fe4f019f8cabad0ff406aaa156b3f552
tree9bf52dabe1c46e11efc47a1962e82793122deb60
parente6d5d96552294e520311830a4defcf3f94bfbbbe
mtd: nand: denali: support 64bit capable DMA engine

The current driver only supports the DMA engine up to 32 bit
physical address, but there also exists 64 bit capable DMA engine
for this IP.

The data DMA setup sequence is completely different, so I added the
64 bit DMA code as a new function denali_setup_dma64().  The 32 bit
one has been renamed to denali_setup_dma32().

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.c
drivers/mtd/nand/denali.h