nand_block_bad — [DEFAULT] Read bad block marker from the chip
int nand_block_bad (
)
mtd
MTD device structure
ofs
offset from device start
Check, if the block is bad.