cfg_nand.h File Reference

Configuration file for NAND driver module. More...

Go to the source code of this file.

Defines

#define CONFIG_NAND_DATA_SIZE   2048
 Page data size.
#define CONFIG_NAND_SPARE_SIZE   64
 Page spare area size.
#define CONFIG_NAND_PAGES_PER_BLOCK   64
 Pages per block.
#define CONFIG_NAND_NUM_BLOCK   2048
 Number of blocks.
#define CONFIG_NAND_NUM_REMAP_BLOCKS   128
 Number of reserved blocks.
#define CONFIG_NAND_TMOUT   100
 NAND operations timeout.
#define CONFIG_NAND_LOG_LEVEL   LOG_LVL_WARN
 Module logging level.
#define CONFIG_NAND_LOG_FORMAT   LOG_FMT_TERSE
 Module logging format.

Detailed Description

Configuration file for NAND driver module.

Author:
Stefano Fedrigo <aleph@develer.com>

Definition in file cfg_nand.h.


Define Documentation

#define CONFIG_NAND_DATA_SIZE   2048

Page data size.

Size of the data section of a programmable page in bytes.

Definition at line 47 of file cfg_nand.h.

#define CONFIG_NAND_LOG_FORMAT   LOG_FMT_TERSE

Module logging format.

Definition at line 109 of file cfg_nand.h.

#define CONFIG_NAND_LOG_LEVEL   LOG_LVL_WARN

Module logging level.

Definition at line 101 of file cfg_nand.h.

#define CONFIG_NAND_NUM_BLOCK   2048

Number of blocks.

Total number of erase blocks in one NAND chip.

Definition at line 74 of file cfg_nand.h.

#define CONFIG_NAND_NUM_REMAP_BLOCKS   128

Number of reserved blocks.

Blocks reserved for remapping defective NAND blocks.

Definition at line 83 of file cfg_nand.h.

#define CONFIG_NAND_PAGES_PER_BLOCK   64

Pages per block.

Number of pages in a erase block.

Definition at line 65 of file cfg_nand.h.

#define CONFIG_NAND_SPARE_SIZE   64

Page spare area size.

Size of the spare section of a programmable page in bytes.

Definition at line 56 of file cfg_nand.h.

#define CONFIG_NAND_TMOUT   100

NAND operations timeout.

How many milliseconds the cpu waits for completion of NAND operations.

Definition at line 93 of file cfg_nand.h.