]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: qcom: support for different DEV_CMD register offsets
authorAbhishek Sahu <absahu@codeaurora.org>
Thu, 17 Aug 2017 12:07:47 +0000 (17:37 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:29 +0000 (16:49 +0200)
commit37d16d6d1022009bdb33d7539211d16c0a69815b
tree7bad0f9d000f0b191fa552aaf2f91ed9ad553804
parent5915af6f970d7860690e65fe3558555739160ea1
mtd: nand: qcom: support for different DEV_CMD register offsets

The FLASH_DEV_CMD registers starting offset is not same in
different QPIC NAND controller versions. This patch adds
the starting offset in NAND controller properties and uses
the same for calculating the actual offset of these registers.

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