[GENERIC] create a memory based bad block table
int nand_memory_bbt (
|struct mtd_info * mtd, |
| ||struct nand_bbt_descr * bd|
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.