[default] mark a block bad via bad block marker
int nand_default_block_markbad(struct mtd_info * mtd, loff_t ofs);
mtd
MTD device structure
ofs
offset from device start
This is the default implementation, which can be overridden by a hardware specific driver. It provides the details for writing a bad block marker to a block.
Thomas Gleixner <[email protected]>
Author.