1NAND_BLOCK_CHECKBAD(9)    Internal Functions Provided   NAND_BLOCK_CHECKBAD(9)
2
3
4

NAME

6       nand_block_checkbad - [GENERIC] Check if a block is marked bad
7

SYNOPSIS

9       int nand_block_checkbad(struct mtd_info * mtd, loff_t ofs, int getchip,
10                               int allowbbt);
11

ARGUMENTS

13       mtd
14           MTD device structure
15
16       ofs
17           offset from device start
18
19       getchip
20           0, if the chip is already selected
21
22       allowbbt
23           1, if its allowed to access the bbt area
24

DESCRIPTION

26       Check, if the block is bad. Either by reading the bad block table or
27       calling of the scan function.
28

AUTHOR

30       Thomas Gleixner <tglx@linutronix.de>
31           Author.
32
34Kernel Hackers Manual 2.6.       November 2011          NAND_BLOCK_CHECKBAD(9)
Impressum