1. NAME

create_bbt - [GENERIC] Create a bad block table by scanning the device

2. SYNOPSIS

int create_bbt(struct mtd_info *  mtd , uint8_t *  buf , struct nand_bbt_descr *  bd , int  chip );

3. ARGUMENTS

mtd
    MTD device structure

buf
    temporary buffer

bd
    descriptor for the good/bad block search pattern

chip
    create the table for a specific chip, -1 read all chips; applies only if NAND_BBT_PERCHIP option is set

4. DESCRIPTION

Create a bad block table by scanning the device for the given good/bad block identify pattern.

5. AUTHOR

Thomas Gleixner < >
    Author.

6. COPYRIGHT