[generic] read the bad block table starting from page
int read_bbt(struct mtd_info * mtd, uint8_t * buf, int page, int num, struct nand_bbt_descr * td, int offs);
mtd
MTD device structure
buf
temporary buffer
page
the starting page
num
the number of bbt descriptors to read
td
the bbt describtion table
offs
block number offset in the table
Read the bad block table starting from page.
Thomas Gleixner <[email protected]>
Author.