Re: [U-Boot] [PATCH 2/4] mtd: nand: Don't abort erase operation when a bad block is detected

2018-08-06 Thread Stefan Roese
Hi Boris, On 06.08.2018 22:06, Boris Brezillon wrote: Hi Stefan, On Mon, 6 Aug 2018 17:12:51 +0200 Stefan Roese wrote: It was noticed, that the erase command (mtd erase spi-nand0) aborts upon the first bad block. With this change, bad blocks are now skipped and the erase operation will

Re: [U-Boot] [PATCH 2/4] mtd: nand: Don't abort erase operation when a bad block is detected

2018-08-06 Thread Boris Brezillon
Hi Stefan, On Mon, 6 Aug 2018 17:12:51 +0200 Stefan Roese wrote: > It was noticed, that the erase command (mtd erase spi-nand0) aborts upon > the first bad block. With this change, bad blocks are now skipped and > the erase operation will continue. > That's not what the raw NAND framework

[U-Boot] [PATCH 2/4] mtd: nand: Don't abort erase operation when a bad block is detected

2018-08-06 Thread Stefan Roese
It was noticed, that the erase command (mtd erase spi-nand0) aborts upon the first bad block. With this change, bad blocks are now skipped and the erase operation will continue. Signed-off-by: Stefan Roese Cc: Miquel Raynal Cc: Boris Brezillon Cc: Jagan Teki --- drivers/mtd/nand/core.c | 2