Re: [v2] mtd: rawnand: Change calculating of position page containing BBM

2019-10-04 Thread Miquel Raynal
On Tue, 2019-09-24 at 05:54:31 UTC, Piotr Sroka wrote: > Change calculating of position page containing BBM > > If none of BBM flags are set then function nand_bbm_get_next_page > reports EINVAL. It causes that BBM is not read at all during scanning > factory bad blocks. The result is that the

[v2] mtd: rawnand: Change calculating of position page containing BBM

2019-09-23 Thread Piotr Sroka
Change calculating of position page containing BBM If none of BBM flags are set then function nand_bbm_get_next_page reports EINVAL. It causes that BBM is not read at all during scanning factory bad blocks. The result is that the BBT table is build without checking factory BBM at all. For