other versions
CREATE_BBT(9) | Internal Functions Provided | CREATE_BBT(9) |
NAME¶
create_bbt - [GENERIC] Create a bad block table by scanning the deviceSYNOPSIS¶
int create_bbt(struct mtd_info * mtd, uint8_t * buf, struct nand_bbt_descr * bd, int chip);
ARGUMENTS¶
struct mtd_info * mtdMTD device structure
uint8_t * buf
temporary buffer
struct nand_bbt_descr * bd
descriptor for the good/bad block search pattern
int chip
create the table for a specific chip, -1 read all chips;
applies only if NAND_BBT_PERCHIP option is set
DESCRIPTION¶
Create a bad block table by scanning the device for the given good/bad block identify pattern.AUTHOR¶
Thomas Gleixner <tglx@linutronix.de>Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |