int nand_memory_bbt (struct mtd_info * mtd, struct nand_bbt_descr * bd);
int nand_memory_bbt
MTD device structure
descriptor for the good/bad block search pattern
The function creates a memory based bbt by scanning the device for manufacturer / software marked good / bad blocks