]> 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)
commitf90132a37c68305e340bc34e3b6e5079691b7b3a
tree23efd7122acfa0de43617e73eb3835cdeacdb3d9
parent8f945dbe01f20d01ce002dc7a0c6537cb7194e12
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