Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       nand_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>.