[default] read bad block marker from the chip
int nand_block_bad(struct mtd_info * mtd, loff_t ofs, int getchip);
mtd
MTD device structure
ofs
offset from device start
getchip
0, if the chip is already selected
Check, if the block is bad.
Thomas Gleixner <[email protected]>
Author.