Name
search_read_bbts —
[GENERIC] scan the device for bad block table(s)
Synopsis
void search_read_bbts ( | struct mtd_info * mtd, |
| uint8_t * buf, |
| struct nand_bbt_descr * td, |
| struct nand_bbt_descr * md) ; |
Arguments
struct mtd_info * mtd
MTD device structure
uint8_t * buf
temporary buffer
struct nand_bbt_descr * td
descriptor for the bad block table
struct nand_bbt_descr * md
descriptor for the bad block table mirror
Description
Search and read the bad block table(s).