u-boot/drivers/mtd/onenand
Ladislav Michl 4e118ce6d8 mtd: OneNAND: Fix onenand_block_markbad
commit dfe64e2c89
    Author: Sergey Lapin <slapin@ossfans.org>
    Date:   Mon Jan 14 03:46:50 2013 +0000

        mtd: resync with Linux-3.7.1

modified onenand_block_markbad to call mtd_block_markbad,
but as _block_markbad function pointer used by mtd_block_markbad
to do actual job is by default pointing back to
onenand_block_markbad there is no way this function ever
finishes its job.
Fix it by changing function body according current (4.12-rc6)
linux implementation.
Tested on IGEPv2 board with Muxed OneNAND(DDP) 512MB containing
several unerasable blocks this function marked bad.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
2017-06-23 10:38:07 -04:00
..
Makefile drivers: mtd: convert makefiles to Kbuild style 2013-10-31 13:22:13 -04:00
onenand_base.c mtd: OneNAND: Fix onenand_block_markbad 2017-06-23 10:38:07 -04:00
onenand_bbt.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
onenand_spl.c onenand_spl_simple: Add DDP OneNAND support 2017-06-23 10:38:07 -04:00
onenand_uboot.c mtd: OneNAND: allow board init function fail 2016-07-22 14:46:12 -04:00
samsung.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00