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)
commit58f1f22ac34c39958344cd1ae8a89e1030dcdbbd
tree9cf74f318bbdfc7e523be73da45dfc5a1e225597
parentd8a9b320a26c1ea28e51e4f3ecfb593d5aac2910
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