nand_block_markbad

Name

nand_block_markbad --  [MTD Interface] Mark the block at the given offset as bad

Synopsis

int nand_block_markbad (struct mtd_info * mtd, loff_t ofs);

Arguments

mtd

MTD device structure

ofs

offset relative to mtd start