nand_isbad_bbt

Name

nand_isbad_bbt --  [NAND Interface] Check if a block is bad

Synopsis

int nand_isbad_bbt (struct mtd_info * mtd, loff_t offs, int allowbbt);

Arguments

mtd

MTD device structure

offs

offset in the device

allowbbt

allow access to bad block table region