1. NAME

write_bbt - [GENERIC] (Re)write the bad block table

2. SYNOPSIS

int write_bbt(struct mtd_info *  mtd , uint8_t *  buf , struct nand_bbt_descr *  td , struct nand_bbt_descr *  md , int  chipsel );

3. ARGUMENTS

mtd
    MTD device structure

buf
    temporary buffer

td
    descriptor for the bad block table

md
    descriptor for the bad block table mirror

chipsel
    selector for a specific chip, -1 for all

4. DESCRIPTION

(Re)write the bad block table.

5. AUTHOR

Thomas Gleixner < >
    Author.

6. COPYRIGHT