Re: [PATCH v2 4/4] mtd: rawnand: AMD: Also use the last page for bad block markers

2019-01-22 Thread Boris Brezillon
On Tue, 22 Jan 2019 11:23:33 + Schrempf Frieder wrote: > From: Frieder Schrempf > > According to the datasheet of some Cypress SLC NANDs, the bad > block markers can be in the first, second or last page of a block. > So let's check all three locations. > > Signed-off-by: Frieder Schrempf

[PATCH v2 4/4] mtd: rawnand: AMD: Also use the last page for bad block markers

2019-01-22 Thread Schrempf Frieder
From: Frieder Schrempf According to the datasheet of some Cypress SLC NANDs, the bad block markers can be in the first, second or last page of a block. So let's check all three locations. Signed-off-by: Frieder Schrempf --- drivers/mtd/nand/raw/nand_amd.c | 8 +++- 1 file changed, 7