Re: [PATCH] nand: brcmnand: correctly verify erased pages

2020-05-06 Thread Álvaro Fernández Rojas
Hi Florian, I added it on v2. Best regards, Álvaro. > El 4 may 2020, a las 23:43, Florian Fainelli escribió: > > > > On 5/4/2020 2:29 AM, Álvaro Fernández Rojas wrote: >> The current code checks that the whole OOB area is erased. >> This is a problem when JFFS2 cleanmarkers are added to the

Re: [PATCH] nand: brcmnand: correctly verify erased pages

2020-05-05 Thread Florian Fainelli
On 5/4/2020 2:29 AM, Álvaro Fernández Rojas wrote: > 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 the ECC aren't 0x

[PATCH] nand: brcmnand: correctly verify erased pages

2020-05-04 Thread Á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 the ECC aren't 0xff. Signed-off-by: Álvaro Fernández Rojas --- drivers/mtd/