SysTutorials

Linux Manual Pages › Section 9

nand_block_bad(9)

nand_block_bad – [DEFAULT] Read bad block marker from the chip

Synopsis

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

Arguments

mtd

MTD device structure

ofs

offset from device start

Description

Check, if the block is bad.

Author

Thomas Gleixner <tglx [at] linutronix.de>

Author.

Copyright