Provided by: linux-doc-2.6.15_2.6.15-23.39_all
nand_scan_bbt - [NAND Interface] scan, find, read and maybe create bad
int nand_scan_bbt (struct mtd_info * mtd, struct nand_bbt_descr * bd);
mtd MTD device structure
bd descriptor for the good/bad block search pattern
The function checks, if a bad block table(s) is/are already available.
If not it scans the device for manufacturer marked good / bad blocks
and writes the bad block table(s) to the selected place.
The bad block table memory is allocated here. It must be freed by
calling the nand_free_bbt function.
Thomas Gleixner <firstname.lastname@example.org>.