OSDN Git Service

mtd: nand: qcom: support for command descriptor formation
authorAbhishek Sahu <absahu@codeaurora.org>
Mon, 25 Sep 2017 07:51:26 +0000 (13:21 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Sat, 7 Oct 2017 09:28:05 +0000 (11:28 +0200)
commit8d6b6d7e135e9bbfc923d34a45cb0e72695e63ed
tree7c3a94a47bd8928d03d6ceb36b52724d1ca7f0c7
parent8c4cdce8b1ab044a2ee1d86d5a086f67e32b3c10
mtd: nand: qcom: support for command descriptor formation

1. Add the function for command descriptor preparation which will
   be used only by BAM DMA and it will form the DMA descriptors
   containing command elements
2. DMA_PREP_CMD flag should be used for forming command DMA
   descriptors

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