nand_block_isbad

Name

nand_block_isbad --  [MTD Interface] Check whether the block at the given offset is bad

Synopsis

int nand_block_isbad (struct mtd_info * mtd, loff_t ofs);

Arguments

mtd

MTD device structure

ofs

offset relative to mtd start