]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: qcom: support for NAND controller properties
authorAbhishek Sahu <absahu@codeaurora.org>
Fri, 11 Aug 2017 11:39:17 +0000 (17:09 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:24 +0000 (16:49 +0200)
commit3b76a3a06b365e43ffd46c936d0355a6f332baae
tree9cf74f318bbdfc7e523be73da45dfc5a1e225597
parent588578045bea286a9087cd7d0ca554ff0f12c359
mtd: nand: qcom: support for NAND controller properties

Currently driver data is being assigned directly with ECC modes.
Now, the plan is to add more NAND controller versions which will
have different properties. This patch reorganizes the current driver
data assignment by creating NAND controller properties structure
which will contain all properties specific to NAND controller.

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