Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mtd: nand: Fix regression in BBM detection
Commit c7b28e2 ("mtd: nand: refactor BB marker detection") caused a regression in detection of factory-set bad block markers, especially for certain small-page NAND. This fix removes some unneeded constraints on using NAND_SMALL_BADBLOCK_POS, making the detection code more correct. This regression can be seen, for example, in Hynix HY27US081G1M and similar. Signed-off-by: Brian Norris <[email protected]> Tested-by: Michael Guntsche <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
- Loading branch information