NAND_BLOCK_BAD(9) Internal Functions Provided NAND_BLOCK_BAD(9)NAMEnand_block_bad - [DEFAULT] Read bad block marker from the chip
SYNOPSIS
int nand_block_bad(struct mtd_info * mtd, loff_t ofs, int getchip);
ARGUMENTS
mtd
MTD device structure
ofs
offset from device start
getchip
0, if the chip is already selected
DESCRIPTION
Check, if the block is bad.
AUTHOR
Thomas Gleixner <tglx@linutronix.de>
Author.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 NAND_BLOCK_BAD(9)