]> git.sur5r.net Git - u-boot/commit
mtd:mxs:nand calculate ecc strength dynamically
authorPeng Fan <Peng.Fan@freescale.com>
Wed, 15 Apr 2015 07:27:21 +0000 (09:27 +0200)
committerScott Wood <scottwood@freescale.com>
Sun, 24 May 2015 19:26:54 +0000 (14:26 -0500)
commitbd38da1a558ea31f2dee4a14a972333b68bfa0ee
tree9624c1ac8ea61f77277bd2e31fbe7ebb9fb48204
parent6b8583b0adac6c8119d2fc6fd4f03ed8373b5d42
mtd:mxs:nand calculate ecc strength dynamically

Calculate ecc strength according oobsize, but not hardcoded
which is not aligned with kernel driver

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Signed-off-by: Ye.Li <b37916@freescale.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
drivers/mtd/nand/mxs_nand.c