other versions
READ_BBT(9) | Internal Functions Provided | READ_BBT(9) |
NAME¶
read_bbt - [GENERIC] Read the bad block table starting from page
SYNOPSIS¶
int read_bbt(struct mtd_info * mtd, uint8_t * buf, int page, int num, struct nand_bbt_descr * td, int offs);
ARGUMENTS¶
struct mtd_info * mtd
MTD device structure
uint8_t * buf
temporary buffer
int page
the starting page
int num
the number of bbt descriptors to read
struct nand_bbt_descr * td
the bbt describtion table
int offs
block number offset in the table
DESCRIPTION¶
Read the bad block table starting from page.
AUTHOR¶
Thomas Gleixner <tglx@linutronix.de>
Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |