1CREATE_BBT(9) Internal Functions Provided CREATE_BBT(9)
2
3
4
6 create_bbt - [GENERIC] Create a bad block table by scanning the device
7
9 int create_bbt(struct mtd_info * mtd, uint8_t * buf,
10 struct nand_bbt_descr * bd, int chip);
11
13 mtd
14 MTD device structure
15
16 buf
17 temporary buffer
18
19 bd
20 descriptor for the good/bad block search pattern
21
22 chip
23 create the table for a specific chip, -1 read all chips; applies
24 only if NAND_BBT_PERCHIP option is set
25
27 Create a bad block table by scanning the device for the given good/bad
28 block identify pattern.
29
31 Thomas Gleixner <tglx@linutronix.de>
32 Author.
33
35Kernel Hackers Manual 3.10 June 2019 CREATE_BBT(9)