Re: [PATCH v2 05/10] mtd: rawnand: brcmnand: correctly verify erased pages

2023-02-21 Thread William Zhang
On 02/11/2023 07:29 AM, Linus Walleij wrote: From: Álvaro Fernández Rojas The current code checks that the whole OOB area is erased. This is a problem when JFFS2 cleanmarkers are added to the OOB, since it will fail due to the usable OOB bytes not being 0xff. Correct this by only checking

[PATCH v2 05/10] mtd: rawnand: brcmnand: correctly verify erased pages

2023-02-11 Thread Linus Walleij
From: Álvaro Fernández Rojas The current code checks that the whole OOB area is erased. This is a problem when JFFS2 cleanmarkers are added to the OOB, since it will fail due to the usable OOB bytes not being 0xff. Correct this by only checking that data and ECC bytes aren't 0xff. Fixes: