]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: samsung: add ECC requirements for K9F4G08U0D
authorMiquel Raynal <miquel.raynal@free-electrons.com>
Thu, 7 Dec 2017 09:33:58 +0000 (10:33 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 14 Dec 2017 12:34:23 +0000 (13:34 +0100)
commit281717923d6015dfddf33c99c7e4e7d0be9f475b
tree5cdd01e12f4cb525ddecf3646a2e87e3d14e854c
parentc256b4f44e4e837a0396327109bf3d9ce2080a97
mtd: nand: samsung: add ECC requirements for K9F4G08U0D

Samsung NAND chip K9F4G08U0D minimum ECC strength requirement is 1 bit
per 512 bytes. As the chip is not ONFI nor JEDEC and because of the lack
of these values, boards using it fail to probe the NAND controller
driver. Fix this by setting up the default values.

Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nand_samsung.c