Provided by: linux-doc-2.6.15_2.6.15-23.39_all
nand_block_checkbad - [GENERIC] Check if a block is marked bad
int nand_block_checkbad (struct mtd_info * mtd, loff_t ofs,
int getchip, int allowbbt);
mtd MTD device structure
ofs offset from device start
0, if the chip is already selected
1, if its allowed to access the bbt area
Check, if the block is bad. Either by reading the bad block table or
calling of the scan function.
Thomas Gleixner <email@example.com>.