nand_default_block_markbad (9) Linux Manual Page
nand_default_block_markbad – [DEFAULT] mark a block bad via bad block marker
Synopsis
int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs);
Arguments
mtd
-
- MTD device structure
ofs
- offset from device start
Description
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.
Author
Thomas Gleixner <tglx [at] linutronix.de>
- Author.
