Logo Search packages:      
Sourcecode: linux-2.6 version File versions

nand_bbt_descr Struct Reference

#include <bbm.h>

List of all members.


Detailed Description

struct nand_bbt_descr - bad block table descriptor : options for this descriptor : the page(s) where we find the bbt, used with option BBT_ABSPAGE when bbt is searched, then we store the found bbts pages here. Its an array and supports up to 8 chips now : offset of the pattern in the oob area of the page : offset of the bbt version counter in the oob area of the page
Version:
: version read from the bbt page during scan : length of the pattern, if 0 no pattern check is performed : maximum number of blocks to search for a bbt. This number of blocks is reserved at the end of the device where the tables are written. : if non-0, this pattern denotes a reserved (rather than bad) block in the stored bbt : pattern to identify bad block table or factory marked good / bad blocks, can be NULL, if len = 0
Descriptor for the bad block table marker and the descriptor for the pattern which identifies good and bad blocks. The assumption is made that the pattern and the version count are always located in the oob area of the first block.

struct nand_bbt_descr - bad block table descriptor : options for this descriptor : the page(s) where we find the bbt, used with option BBT_ABSPAGE when bbt is searched, then we store the found bbts pages here. Its an array and supports up to 8 chips now : offset of the pattern in the oob area of the page : offset of the bbt version counter in the oob are of the page

Version:
: version read from the bbt page during scan : length of the pattern, if 0 no pattern check is performed : maximum number of blocks to search for a bbt. This number of blocks is reserved at the end of the device where the tables are written. : if non-0, this pattern denotes a reserved (rather than bad) block in the stored bbt : pattern to identify bad block table or factory marked good / bad blocks, can be NULL, if len = 0
Descriptor for the bad block table marker and the descriptor for the pattern which identifies good and bad blocks. The assumption is made that the pattern and the version count are always located in the oob area of the first block.

Definition at line 44 of file bbm.h.


Public Attributes

int len
int maxblocks
int offs
int options
int pages [NAND_MAX_CHIPS]
uint8_t * pattern
int reserved_block_code
int veroffs
uint8_t version [NAND_MAX_CHIPS]

The documentation for this struct was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index