1NAND_SCAN_BBT(9) Public Functions Provided NAND_SCAN_BBT(9)
2
3
4
6 nand_scan_bbt - [NAND Interface] scan, find, read and maybe create bad
7 block table(s)
8
10 int nand_scan_bbt(struct mtd_info * mtd, struct nand_bbt_descr * bd);
11
13 mtd
14 MTD device structure
15
16 bd
17 descriptor for the good/bad block search pattern
18
20 The function checks, if a bad block table(s) is/are already available.
21 If not it scans the device for manufacturer marked good / bad blocks
22 and writes the bad block table(s) to the selected place.
23
24 The bad block table memory is allocated here. It must be freed by
25 calling the nand_free_bbt function.
26
28 Thomas Gleixner <tglx@linutronix.de>
29 Author.
30
32Kernel Hackers Manual 3.10 June 2019 NAND_SCAN_BBT(9)