int nand_block_bad (struct mtd_info * mtd, loff_t ofs, int getchip);
int nand_block_bad
MTD device structure
offset from device start
0, if the chip is already selected
Check, if the block is bad.