other versions
CHECK_CREATE(9) | Internal Functions Provided | CHECK_CREATE(9) |
NAME¶
check_create - [GENERIC] create and write bbt(s) if necessarySYNOPSIS¶
int check_create(struct mtd_info * mtd, uint8_t * buf, struct nand_bbt_descr * bd);
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
DESCRIPTION¶
The function checks the results of the previous call to read_bbt and creates / updates the bbt(s) if necessary. Creation is necessary if no bbt was found for the chip/device. Update is necessary if one of the tables is missing or the version nr. of one table is less than the other.AUTHOR¶
Thomas Gleixner <tglx@linutronix.de>Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |