Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
nand.h File Reference
#include <linux/wait.h>
#include <linux/spinlock.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/flashchip.h>
#include <linux/mtd/bbm.h>

Go to the source code of this file.

Data Structures

struct  nand_onfi_params
 
struct  nand_hw_control
 
struct  nand_ecc_ctrl
 
struct  nand_buffers
 
struct  nand_chip
 
struct  nand_flash_dev
 
struct  nand_manufacturers
 
struct  platform_nand_chip
 
struct  platform_nand_ctrl
 
struct  platform_nand_data
 

Macros

#define NAND_MAX_CHIPS   8
 
#define NAND_MAX_OOBSIZE   640
 
#define NAND_MAX_PAGESIZE   8192
 
#define NAND_NCE   0x01
 
#define NAND_CLE   0x02
 
#define NAND_ALE   0x04
 
#define NAND_CTRL_CLE   (NAND_NCE | NAND_CLE)
 
#define NAND_CTRL_ALE   (NAND_NCE | NAND_ALE)
 
#define NAND_CTRL_CHANGE   0x80
 
#define NAND_CMD_READ0   0
 
#define NAND_CMD_READ1   1
 
#define NAND_CMD_RNDOUT   5
 
#define NAND_CMD_PAGEPROG   0x10
 
#define NAND_CMD_READOOB   0x50
 
#define NAND_CMD_ERASE1   0x60
 
#define NAND_CMD_STATUS   0x70
 
#define NAND_CMD_STATUS_MULTI   0x71
 
#define NAND_CMD_SEQIN   0x80
 
#define NAND_CMD_RNDIN   0x85
 
#define NAND_CMD_READID   0x90
 
#define NAND_CMD_ERASE2   0xd0
 
#define NAND_CMD_PARAM   0xec
 
#define NAND_CMD_GET_FEATURES   0xee
 
#define NAND_CMD_SET_FEATURES   0xef
 
#define NAND_CMD_RESET   0xff
 
#define NAND_CMD_LOCK   0x2a
 
#define NAND_CMD_UNLOCK1   0x23
 
#define NAND_CMD_UNLOCK2   0x24
 
#define NAND_CMD_READSTART   0x30
 
#define NAND_CMD_RNDOUTSTART   0xE0
 
#define NAND_CMD_CACHEDPROG   0x15
 
#define NAND_CMD_DEPLETE1   0x100
 
#define NAND_CMD_DEPLETE2   0x38
 
#define NAND_CMD_STATUS_MULTI   0x71
 
#define NAND_CMD_STATUS_ERROR   0x72
 
#define NAND_CMD_STATUS_ERROR0   0x73
 
#define NAND_CMD_STATUS_ERROR1   0x74
 
#define NAND_CMD_STATUS_ERROR2   0x75
 
#define NAND_CMD_STATUS_ERROR3   0x76
 
#define NAND_CMD_STATUS_RESET   0x7f
 
#define NAND_CMD_STATUS_CLEAR   0xff
 
#define NAND_CMD_NONE   -1
 
#define NAND_STATUS_FAIL   0x01
 
#define NAND_STATUS_FAIL_N1   0x02
 
#define NAND_STATUS_TRUE_READY   0x20
 
#define NAND_STATUS_READY   0x40
 
#define NAND_STATUS_WP   0x80
 
#define NAND_ECC_READ   0
 
#define NAND_ECC_WRITE   1
 
#define NAND_ECC_READSYN   2
 
#define NAND_GET_DEVICE   0x80
 
#define NAND_BUSWIDTH_16   0x00000002
 
#define NAND_NO_PADDING   0x00000004
 
#define NAND_CACHEPRG   0x00000008
 
#define NAND_COPYBACK   0x00000010
 
#define NAND_IS_AND   0x00000020
 
#define NAND_4PAGE_ARRAY   0x00000040
 
#define BBT_AUTO_REFRESH   0x00000080
 
#define NAND_NO_SUBPAGE_WRITE   0x00000200
 
#define NAND_BROKEN_XD   0x00000400
 
#define NAND_ROM   0x00000800
 
#define NAND_SUBPAGE_READ   0x00001000
 
#define NAND_SAMSUNG_LP_OPTIONS   (NAND_NO_PADDING | NAND_CACHEPRG | NAND_COPYBACK)
 
#define NAND_MUST_PAD(chip)   (!(chip->options & NAND_NO_PADDING))
 
#define NAND_HAS_CACHEPROG(chip)   ((chip->options & NAND_CACHEPRG))
 
#define NAND_HAS_COPYBACK(chip)   ((chip->options & NAND_COPYBACK))
 
#define NAND_HAS_SUBPAGE_READ(chip)   ((chip->options & NAND_SUBPAGE_READ))
 
#define NAND_SKIP_BBTSCAN   0x00010000
 
#define NAND_OWN_BUFFERS   0x00020000
 
#define NAND_SCAN_SILENT_NODEV   0x00040000
 
#define NAND_CONTROLLER_ALLOC   0x80000000
 
#define NAND_CI_CHIPNR_MSK   0x03
 
#define NAND_CI_CELLTYPE_MSK   0x0C
 
#define ONFI_TIMING_MODE_0   (1 << 0)
 
#define ONFI_TIMING_MODE_1   (1 << 1)
 
#define ONFI_TIMING_MODE_2   (1 << 2)
 
#define ONFI_TIMING_MODE_3   (1 << 3)
 
#define ONFI_TIMING_MODE_4   (1 << 4)
 
#define ONFI_TIMING_MODE_5   (1 << 5)
 
#define ONFI_TIMING_MODE_UNKNOWN   (1 << 6)
 
#define ONFI_FEATURE_ADDR_TIMING_MODE   0x1
 
#define ONFI_SUBFEATURE_PARAM_LEN   4
 
#define ONFI_CRC_BASE   0x4F4E
 
#define NAND_MFR_TOSHIBA   0x98
 
#define NAND_MFR_SAMSUNG   0xec
 
#define NAND_MFR_FUJITSU   0x04
 
#define NAND_MFR_NATIONAL   0x8f
 
#define NAND_MFR_RENESAS   0x07
 
#define NAND_MFR_STMICRO   0x20
 
#define NAND_MFR_HYNIX   0xad
 
#define NAND_MFR_MICRON   0x2c
 
#define NAND_MFR_AMD   0x01
 
#define NAND_MFR_MACRONIX   0xc2
 
#define NAND_MFR_EON   0x92
 

Enumerations

enum  nand_ecc_modes_t {
  NAND_ECC_NONE, NAND_ECC_SOFT, NAND_ECC_HW, NAND_ECC_HW_SYNDROME,
  NAND_ECC_HW_OOB_FIRST, NAND_ECC_SOFT_BCH
}
 

Functions

int nand_scan (struct mtd_info *mtd, int max_chips)
 
int nand_scan_ident (struct mtd_info *mtd, int max_chips, struct nand_flash_dev *table)
 
int nand_scan_tail (struct mtd_info *mtd)
 
void nand_release (struct mtd_info *mtd)
 
void nand_wait_ready (struct mtd_info *mtd)
 
int nand_lock (struct mtd_info *mtd, loff_t ofs, uint64_t len)
 
int nand_unlock (struct mtd_info *mtd, loff_t ofs, uint64_t len)
 
struct nand_onfi_params __attribute__ ((packed))
 

Variables

u8 sig [4]
 
__le16 revision
 
__le16 features
 
__le16 opt_cmd
 
u8 reserved [22]
 
char manufacturer [12]
 
char model [20]
 
u8 jedec_id
 
__le16 date_code
 
u8 reserved2 [13]
 
__le32 byte_per_page
 
__le16 spare_bytes_per_page
 
__le32 data_bytes_per_ppage
 
__le16 spare_bytes_per_ppage
 
__le32 pages_per_block
 
__le32 blocks_per_lun
 
u8 lun_count
 
u8 addr_cycles
 
u8 bits_per_cell
 
__le16 bb_per_lun
 
__le16 block_endurance
 
u8 guaranteed_good_blocks
 
__le16 guaranteed_block_endurance
 
u8 programs_per_page
 
u8 ppage_attr
 
u8 ecc_bits
 
u8 interleaved_bits
 
u8 interleaved_ops
 
u8 reserved3 [13]
 
u8 io_pin_capacitance_max
 
__le16 async_timing_mode
 
__le16 program_cache_timing_mode
 
__le16 t_prog
 
__le16 t_bers
 
__le16 t_r
 
__le16 t_ccs
 
__le16 src_sync_timing_mode
 
__le16 src_ssync_features
 
__le16 clk_pin_capacitance_typ
 
__le16 io_pin_capacitance_typ
 
__le16 input_pin_capacitance_typ
 
u8 input_pin_capacitance_max
 
u8 driver_strenght_support
 
__le16 t_int_r
 
__le16 t_ald
 
u8 reserved4 [7]
 
u8 reserved5 [90]
 
__le16 crc
 
struct nand_hw_control __attribute__
 

: Manufacturer name

struct nand_manufacturers - NAND Flash Manufacturer ID Structure

: manufacturer ID code of device.

struct nand_flash_dev nand_flash_ids []
 
struct nand_manufacturers nand_manuf_ids []
 
int nand_scan_bbt (struct mtd_info *mtd, struct nand_bbt_descr *bd)
 
int nand_update_bbt (struct mtd_info *mtd, loff_t offs)
 
int nand_default_bbt (struct mtd_info *mtd)
 
int nand_isbad_bbt (struct mtd_info *mtd, loff_t offs, int allowbbt)
 
int nand_erase_nand (struct mtd_info *mtd, struct erase_info *instr, int allowbbt)
 
int nand_do_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, uint8_t *buf)
 

Macro Definition Documentation

#define BBT_AUTO_REFRESH   0x00000080

Definition at line 189 of file nand.h.

#define NAND_4PAGE_ARRAY   0x00000040

Definition at line 183 of file nand.h.

#define NAND_ALE   0x04

Definition at line 73 of file nand.h.

#define NAND_BROKEN_XD   0x00000400

Definition at line 194 of file nand.h.

#define NAND_BUSWIDTH_16   0x00000002

Definition at line 167 of file nand.h.

#define NAND_CACHEPRG   0x00000008

Definition at line 171 of file nand.h.

#define NAND_CI_CELLTYPE_MSK   0x0C

Definition at line 229 of file nand.h.

#define NAND_CI_CHIPNR_MSK   0x03

Definition at line 228 of file nand.h.

#define NAND_CLE   0x02

Definition at line 71 of file nand.h.

#define NAND_CMD_CACHEDPROG   0x15

Definition at line 106 of file nand.h.

#define NAND_CMD_DEPLETE1   0x100

Definition at line 115 of file nand.h.

#define NAND_CMD_DEPLETE2   0x38

Definition at line 116 of file nand.h.

#define NAND_CMD_ERASE1   0x60

Definition at line 87 of file nand.h.

#define NAND_CMD_ERASE2   0xd0

Definition at line 93 of file nand.h.

#define NAND_CMD_GET_FEATURES   0xee

Definition at line 95 of file nand.h.

#define NAND_CMD_LOCK   0x2a

Definition at line 99 of file nand.h.

#define NAND_CMD_NONE   -1

Definition at line 127 of file nand.h.

#define NAND_CMD_PAGEPROG   0x10

Definition at line 85 of file nand.h.

#define NAND_CMD_PARAM   0xec

Definition at line 94 of file nand.h.

#define NAND_CMD_READ0   0

Definition at line 82 of file nand.h.

#define NAND_CMD_READ1   1

Definition at line 83 of file nand.h.

#define NAND_CMD_READID   0x90

Definition at line 92 of file nand.h.

#define NAND_CMD_READOOB   0x50

Definition at line 86 of file nand.h.

#define NAND_CMD_READSTART   0x30

Definition at line 104 of file nand.h.

#define NAND_CMD_RESET   0xff

Definition at line 97 of file nand.h.

#define NAND_CMD_RNDIN   0x85

Definition at line 91 of file nand.h.

#define NAND_CMD_RNDOUT   5

Definition at line 84 of file nand.h.

#define NAND_CMD_RNDOUTSTART   0xE0

Definition at line 105 of file nand.h.

#define NAND_CMD_SEQIN   0x80

Definition at line 90 of file nand.h.

#define NAND_CMD_SET_FEATURES   0xef

Definition at line 96 of file nand.h.

#define NAND_CMD_STATUS   0x70

Definition at line 88 of file nand.h.

#define NAND_CMD_STATUS_CLEAR   0xff

Definition at line 125 of file nand.h.

#define NAND_CMD_STATUS_ERROR   0x72

Definition at line 118 of file nand.h.

#define NAND_CMD_STATUS_ERROR0   0x73

Definition at line 120 of file nand.h.

#define NAND_CMD_STATUS_ERROR1   0x74

Definition at line 121 of file nand.h.

#define NAND_CMD_STATUS_ERROR2   0x75

Definition at line 122 of file nand.h.

#define NAND_CMD_STATUS_ERROR3   0x76

Definition at line 123 of file nand.h.

#define NAND_CMD_STATUS_MULTI   0x71

Definition at line 117 of file nand.h.

#define NAND_CMD_STATUS_MULTI   0x71

Definition at line 117 of file nand.h.

#define NAND_CMD_STATUS_RESET   0x7f

Definition at line 124 of file nand.h.

#define NAND_CMD_UNLOCK1   0x23

Definition at line 100 of file nand.h.

#define NAND_CMD_UNLOCK2   0x24

Definition at line 101 of file nand.h.

#define NAND_CONTROLLER_ALLOC   0x80000000

Definition at line 225 of file nand.h.

#define NAND_COPYBACK   0x00000010

Definition at line 173 of file nand.h.

#define NAND_CTRL_ALE   (NAND_NCE | NAND_ALE)

Definition at line 76 of file nand.h.

#define NAND_CTRL_CHANGE   0x80

Definition at line 77 of file nand.h.

#define NAND_CTRL_CLE   (NAND_NCE | NAND_CLE)

Definition at line 75 of file nand.h.

#define NAND_ECC_READ   0

Definition at line 152 of file nand.h.

#define NAND_ECC_READSYN   2

Definition at line 156 of file nand.h.

#define NAND_ECC_WRITE   1

Definition at line 154 of file nand.h.

#define NAND_GET_DEVICE   0x80

Definition at line 159 of file nand.h.

#define NAND_HAS_CACHEPROG (   chip)    ((chip->options & NAND_CACHEPRG))

Definition at line 208 of file nand.h.

#define NAND_HAS_COPYBACK (   chip)    ((chip->options & NAND_COPYBACK))

Definition at line 209 of file nand.h.

#define NAND_HAS_SUBPAGE_READ (   chip)    ((chip->options & NAND_SUBPAGE_READ))

Definition at line 210 of file nand.h.

#define NAND_IS_AND   0x00000020

Definition at line 178 of file nand.h.

#define NAND_MAX_CHIPS   8

Definition at line 52 of file nand.h.

#define NAND_MAX_OOBSIZE   640

Definition at line 59 of file nand.h.

#define NAND_MAX_PAGESIZE   8192

Definition at line 60 of file nand.h.

#define NAND_MFR_AMD   0x01

Definition at line 574 of file nand.h.

#define NAND_MFR_EON   0x92

Definition at line 576 of file nand.h.

#define NAND_MFR_FUJITSU   0x04

Definition at line 568 of file nand.h.

#define NAND_MFR_HYNIX   0xad

Definition at line 572 of file nand.h.

#define NAND_MFR_MACRONIX   0xc2

Definition at line 575 of file nand.h.

#define NAND_MFR_MICRON   0x2c

Definition at line 573 of file nand.h.

#define NAND_MFR_NATIONAL   0x8f

Definition at line 569 of file nand.h.

#define NAND_MFR_RENESAS   0x07

Definition at line 570 of file nand.h.

#define NAND_MFR_SAMSUNG   0xec

Definition at line 567 of file nand.h.

#define NAND_MFR_STMICRO   0x20

Definition at line 571 of file nand.h.

#define NAND_MFR_TOSHIBA   0x98

Definition at line 566 of file nand.h.

#define NAND_MUST_PAD (   chip)    (!(chip->options & NAND_NO_PADDING))

Definition at line 207 of file nand.h.

#define NAND_NCE   0x01

Definition at line 69 of file nand.h.

#define NAND_NO_PADDING   0x00000004

Definition at line 169 of file nand.h.

#define NAND_NO_SUBPAGE_WRITE   0x00000200

Definition at line 191 of file nand.h.

#define NAND_OWN_BUFFERS   0x00020000

Definition at line 219 of file nand.h.

#define NAND_ROM   0x00000800

Definition at line 197 of file nand.h.

#define NAND_SAMSUNG_LP_OPTIONS   (NAND_NO_PADDING | NAND_CACHEPRG | NAND_COPYBACK)

Definition at line 203 of file nand.h.

#define NAND_SCAN_SILENT_NODEV   0x00040000

Definition at line 221 of file nand.h.

#define NAND_SKIP_BBTSCAN   0x00010000

Definition at line 214 of file nand.h.

#define NAND_STATUS_FAIL   0x01

Definition at line 130 of file nand.h.

#define NAND_STATUS_FAIL_N1   0x02

Definition at line 131 of file nand.h.

#define NAND_STATUS_READY   0x40

Definition at line 133 of file nand.h.

#define NAND_STATUS_TRUE_READY   0x20

Definition at line 132 of file nand.h.

#define NAND_STATUS_WP   0x80

Definition at line 134 of file nand.h.

#define NAND_SUBPAGE_READ   0x00001000

Definition at line 200 of file nand.h.

#define ONFI_CRC_BASE   0x4F4E

Definition at line 311 of file nand.h.

#define ONFI_FEATURE_ADDR_TIMING_MODE   0x1

Definition at line 244 of file nand.h.

#define ONFI_SUBFEATURE_PARAM_LEN   4

Definition at line 247 of file nand.h.

#define ONFI_TIMING_MODE_0   (1 << 0)

Definition at line 235 of file nand.h.

#define ONFI_TIMING_MODE_1   (1 << 1)

Definition at line 236 of file nand.h.

#define ONFI_TIMING_MODE_2   (1 << 2)

Definition at line 237 of file nand.h.

#define ONFI_TIMING_MODE_3   (1 << 3)

Definition at line 238 of file nand.h.

#define ONFI_TIMING_MODE_4   (1 << 4)

Definition at line 239 of file nand.h.

#define ONFI_TIMING_MODE_5   (1 << 5)

Definition at line 240 of file nand.h.

#define ONFI_TIMING_MODE_UNKNOWN   (1 << 6)

Definition at line 241 of file nand.h.

Enumeration Type Documentation

Enumerator:
NAND_ECC_NONE 
NAND_ECC_SOFT 
NAND_ECC_HW 
NAND_ECC_HW_SYNDROME 
NAND_ECC_HW_OOB_FIRST 
NAND_ECC_SOFT_BCH 

Definition at line 139 of file nand.h.

Function Documentation

struct nand_onfi_params __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

int nand_default_bbt ( struct mtd_info mtd)

nand_default_bbt - [NAND Interface] Select a default bad block table for the device : MTD device structure

This function selects the default bad block table support for the device and calls the nand_scan_bbt function.

Definition at line 1332 of file nand_bbt.c.

int nand_do_read ( struct mtd_info mtd,
loff_t  from,
size_t  len,
size_t retlen,
uint8_t buf 
)
int nand_erase_nand ( struct mtd_info mtd,
struct erase_info instr,
int  allowbbt 
)

nand_erase_nand - [INTERN] erase block(s) : MTD device structure : erase instruction : allow erasing the bbt area

Erase one ore more blocks.

Definition at line 2499 of file nand_base.c.

int nand_isbad_bbt ( struct mtd_info mtd,
loff_t  offs,
int  allowbbt 
)

nand_isbad_bbt - [NAND Interface] Check if a block is bad : MTD device structure : offset in the device : allow access to bad block table region

Definition at line 1381 of file nand_bbt.c.

int nand_lock ( struct mtd_info mtd,
loff_t  ofs,
uint64_t  len 
)

nand_lock - [REPLACEABLE] locks all blocks present in the device : mtd info : offset to start unlock from : length to unlock

This feature is not supported in many NAND parts. 'Micron' NAND parts do have this feature, but it allows only to lock all blocks, not for specified range for block. Implementing 'lock' feature by making use of 'unlock', for now.

Returns lock status.

Definition at line 972 of file nand_base.c.

void nand_release ( struct mtd_info mtd)

nand_release - [NAND Interface] Free resources held by the NAND device : MTD device structure

Definition at line 3693 of file nand_base.c.

int nand_scan ( struct mtd_info mtd,
int  maxchips 
)

nand_scan - [NAND Interface] Scan for the NAND device : MTD device structure : number of chips to scan for

This fills out all the uninitialized function pointers with the defaults. The flash ID is read and the mtd/chip structures are filled with the appropriate values. The mtd->owner field must be set to the module of the caller.

Definition at line 3672 of file nand_base.c.

int nand_scan_bbt ( struct mtd_info mtd,
struct nand_bbt_descr bd 
)

nand_scan_bbt - [NAND Interface] scan, find, read and maybe create bad block table(s) : MTD device structure : descriptor for the good/bad block search pattern

The function checks, if a bad block table(s) is/are already available. If not it scans the device for manufacturer marked good / bad blocks and writes the bad block table(s) to the selected place.

The bad block table memory is allocated here. It must be freed by calling the nand_free_bbt function.

Definition at line 1121 of file nand_bbt.c.

int nand_scan_ident ( struct mtd_info mtd,
int  maxchips,
struct nand_flash_dev table 
)

nand_scan_ident - [NAND Interface] Scan for the NAND device : MTD device structure : number of chips to scan for : alternative NAND ID table

This is the first phase of the normal nand_scan() function. It reads the flash ID and sets up MTD fields accordingly.

The mtd->owner field must be set to the module of the caller.

Definition at line 3307 of file nand_base.c.

int nand_scan_tail ( struct mtd_info mtd)

nand_scan_tail - [NAND Interface] Scan for the NAND device : MTD device structure

This is the second phase of the normal nand_scan() function. It fills out all the uninitialized function pointers with the defaults and scans for a bad block table if appropriate.

Definition at line 3362 of file nand_base.c.

int nand_unlock ( struct mtd_info mtd,
loff_t  ofs,
uint64_t  len 
)

nand_unlock - [REPLACEABLE] unlocks specified locked blocks : mtd info : offset to start unlock from : length to unlock

Returns unlock status.

Definition at line 919 of file nand_base.c.

int nand_update_bbt ( struct mtd_info mtd,
loff_t  offs 
)

nand_update_bbt - [NAND Interface] update bad block table(s) : MTD device structure : the offset of the newly marked block

The function updates the bad block table(s).

Definition at line 1189 of file nand_bbt.c.

void nand_wait_ready ( struct mtd_info mtd)

Definition at line 492 of file nand_base.c.

Variable Documentation

u8 addr_cycles

Definition at line 333 of file nand.h.

__le16 async_timing_mode

Definition at line 348 of file nand.h.

__le16 bb_per_lun

Definition at line 335 of file nand.h.

u8 bits_per_cell

Definition at line 334 of file nand.h.

__le16 block_endurance

Definition at line 336 of file nand.h.

__le32 blocks_per_lun

Definition at line 331 of file nand.h.

__le32 byte_per_page

Definition at line 326 of file nand.h.

__le16 clk_pin_capacitance_typ

Definition at line 356 of file nand.h.

__le16 crc

Definition at line 368 of file nand.h.

__le32 data_bytes_per_ppage

Definition at line 328 of file nand.h.

__le16 date_code

Definition at line 322 of file nand.h.

u8 driver_strenght_support

Definition at line 360 of file nand.h.

u8 ecc_bits

Definition at line 341 of file nand.h.

Definition at line 314 of file nand.h.

__le16 guaranteed_block_endurance

Definition at line 338 of file nand.h.

u8 guaranteed_good_blocks

Definition at line 337 of file nand.h.

u8 input_pin_capacitance_max

Definition at line 359 of file nand.h.

__le16 input_pin_capacitance_typ

Definition at line 358 of file nand.h.

u8 interleaved_bits

Definition at line 342 of file nand.h.

u8 interleaved_ops

Definition at line 343 of file nand.h.

u8 io_pin_capacitance_max

Definition at line 347 of file nand.h.

__le16 io_pin_capacitance_typ

Definition at line 357 of file nand.h.

u8 jedec_id

Definition at line 321 of file nand.h.

u8 lun_count

Definition at line 332 of file nand.h.

char manufacturer[12]

Definition at line 319 of file nand.h.

char model[20]

Definition at line 320 of file nand.h.

struct nand_flash_dev nand_flash_ids[]

Definition at line 24 of file nand_ids.c.

struct nand_manufacturers nand_manuf_ids[]

Definition at line 168 of file nand_ids.c.

__le16 opt_cmd

Definition at line 315 of file nand.h.

__le32 pages_per_block

Definition at line 330 of file nand.h.

u8 ppage_attr

Definition at line 340 of file nand.h.

__le16 program_cache_timing_mode

Definition at line 349 of file nand.h.

u8 programs_per_page

Definition at line 339 of file nand.h.

u8 reserved[22]

Definition at line 316 of file nand.h.

u8 reserved2[13]

Definition at line 323 of file nand.h.

u8 reserved3[13]

Definition at line 344 of file nand.h.

u8 reserved4[7]

Definition at line 363 of file nand.h.

u8 reserved5[90]

Definition at line 366 of file nand.h.

Definition at line 313 of file nand.h.

u8 sig[4]

Definition at line 312 of file nand.h.

__le16 spare_bytes_per_page

Definition at line 327 of file nand.h.

__le16 spare_bytes_per_ppage

Definition at line 329 of file nand.h.

__le16 src_ssync_features

Definition at line 355 of file nand.h.

__le16 src_sync_timing_mode

Definition at line 354 of file nand.h.

__le16 t_ald

Definition at line 362 of file nand.h.

__le16 t_bers

Definition at line 351 of file nand.h.

__le16 t_ccs

Definition at line 353 of file nand.h.

__le16 t_int_r

Definition at line 361 of file nand.h.

__le16 t_prog

Definition at line 350 of file nand.h.

__le16 t_r

Definition at line 352 of file nand.h.