mtd: nand: qcom: enable BAM or ADM mode
authorAbhishek Sahu <absahu@codeaurora.org>
Thu, 17 Aug 2017 12:07:45 +0000 (17:37 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:28 +0000 (16:49 +0200)
commit9d43f91569526b60775174115c98768cb48fc828
tree2e02c79f0b5093aa969a496bb398b25c5245e504
parenta86b9c4f57108a1368b7363bda12de704a7a64ec
mtd: nand: qcom: enable BAM or ADM mode

1. DM_EN is only required for EBI2 NAND controller which uses ADM
2. BAM mode will be disabled after power on reset which needs to
   be enabled before starting any BAM transfers.

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