]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: qcom: use the ecc strength from device parameter
authorAbhishek Sahu <absahu@codeaurora.org>
Wed, 20 Jun 2018 07:27:32 +0000 (12:57 +0530)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:24:06 +0000 (09:24 +0200)
commit22430897afe6e23c948525ddf979be0ac947a100
tree23efd7122acfa0de43617e73eb3835cdeacdb3d9
parentd0abc568d989b44074fa2307733cb5be78e201b6
mtd: rawnand: qcom: use the ecc strength from device parameter

Currently the driver uses the ECC strength specified in DT.
The QPIC/EBI2 NAND supports 4 or 8-bit ECC correction. The same
kind of board can have different NAND parts so use the ECC
strength from device parameters if it is not specified in DT.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/qcom_nandc.c