[PATCH 1/2] mtd: nand: Add erased page bitflip check helper functions
Sascha Hauer
s.hauer at pengutronix.de
Mon Jan 4 01:44:00 PST 2016
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 at pengutronix.de>
> ---
> 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 |
More information about the barebox
mailing list