Revert "mtd: rawnand: bbt: Skip bad blocks when searching for the BBT in NAND"
authorFabio Estevam <festevam@gmail.com>
Mon, 19 Apr 2021 14:03:50 +0000 (11:03 -0300)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 19 Apr 2021 16:10:18 +0000 (18:10 +0200)
commita881537dfaf281bfcb94313d69dcf9ef8fc89afe
tree5147e34116f6d8641ccd80af4f50928af5f8c083
parent1df1fc8c62f7527d953c7f3869930067bf5b3f29
Revert "mtd: rawnand: bbt: Skip bad blocks when searching for the BBT in NAND"

This reverts commit bd9c9fe2ad04546940f4a9979d679e62cae6aa51.

Since commit bd9c9fe2ad04 ("mtd: rawnand: bbt: Skip bad blocks when
searching for  the BBT in NAND") the bad block table cannot be found
on a imx27-phytec-phycard-s-rdk board:

Bad block table not found for chip 0
Bad block table not found for chip 0

Revert it for now, until a better solution can be found.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210419140350.809853-1-festevam@gmail.com
drivers/mtd/nand/raw/nand_bbt.c