[generic] scan the device for bad block table(s)
void search_read_bbts(struct mtd_info * mtd, uint8_t * buf, struct nand_bbt_descr * td, struct nand_bbt_descr * md);
mtd
MTD device structure
buf
temporary buffer
td
descriptor for the bad block table
md
descriptor for the bad block table mirror
Search and read the bad block table(s).
Thomas Gleixner <[email protected]>
Author.