1WRITE_BBT(9) Internal Functions Provided WRITE_BBT(9)
2
3
4
6 write_bbt - [GENERIC] (Re)write the bad block table
7
9 int write_bbt(struct mtd_info * mtd, uint8_t * buf,
10 struct nand_bbt_descr * td, struct nand_bbt_descr * md,
11 int chipsel);
12
14 mtd
15 MTD device structure
16
17 buf
18 temporary buffer
19
20 td
21 descriptor for the bad block table
22
23 md
24 descriptor for the bad block table mirror
25
26 chipsel
27 selector for a specific chip, -1 for all
28
30 (Re)write the bad block table
31
33 Thomas Gleixner <tglx@linutronix.de>
34 Author.
35
37Kernel Hackers Manual 2.6. June 2019 WRITE_BBT(9)