diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-12-21 15:42:00 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-04 10:43:31 +0100 |
commit | 142963e9d5f694dd8dfa2d44172bd3ee8933deab (patch) | |
tree | cb5b0b3939fd40f4d76e0aa16bb6c83e0775020d /drivers/mtd/nand/nand_mxs.c | |
parent | 91adf62feb05559b1f1a1106a998ef4b23a577bf (diff) | |
download | barebox-142963e9d5f694dd8dfa2d44172bd3ee8933deab.tar.gz barebox-142963e9d5f694dd8dfa2d44172bd3ee8933deab.tar.xz |
mtd: nand: Add erased page bitflip check helper functions
This adds the bitflip check helper functions from the kernel. They are
used to check for bitflips in erased pages and correct them in the
buffer so that UBI can work with it. Unfortunately most nand controllers
do not have ECC for erased pages and don't do this on their own.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand/nand_mxs.c')
0 files changed, 0 insertions, 0 deletions