On Mon, Dec 21, 2015 at 03:42:00PM +0100, Markus Pargmann wrote: > 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@xxxxxxxxxxxxxx> > --- > drivers/mtd/nand/nand_base.c | 128 +++++++++++++++++++++++++++++++++++++++++++ > include/linux/mtd/nand.h | 5 ++ > 2 files changed, 133 insertions(+) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox