mtd: nand: qcom: add and initialize QPIC DMA resources
authorAbhishek Sahu <absahu@codeaurora.org>
Fri, 11 Aug 2017 11:39:19 +0000 (17:09 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:25 +0000 (16:49 +0200)
commit497d7d852a48a28b5f98f1a994195d3c16f591fc
tree0f704f6327056a2a6bad352b8533fe09fafe67e6
parent8c5d5d6a0bc62bebed37f306b80ab125fa3fbb8d
mtd: nand: qcom: add and initialize QPIC DMA resources

1. QPIC NAND controller uses 3 BAM channels: command, data tx
   and data rx while EBI2 NAND controller uses only single ADM
   channel.
2. CRCI is only required for ADM DMA and it's not required for
   BAM DMA.

Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/qcom_nandc.c