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

NAME

6       check_create - [GENERIC] create and write bbt(s) if necessary
7

SYNOPSIS

9       int check_create(struct mtd_info * mtd, uint8_t * buf,
10                        struct nand_bbt_descr * bd);
11

ARGUMENTS

13       mtd
14           MTD device structure
15
16       buf
17           temporary buffer
18
19       bd
20           descriptor for the good/bad block search pattern
21

DESCRIPTION

23       The function checks the results of the previous call to read_bbt and
24       creates / updates the bbt(s) if necessary Creation is necessary if no
25       bbt was found for the chip/device Update is necessary if one of the
26       tables is missing or the version nr. of one table is less than the
27       other
28

AUTHOR

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