Scroll to navigation

STRUCT NAND_FLASH_DE(9) Structures STRUCT NAND_FLASH_DE(9)

NAME

struct_nand_flash_dev - NAND Flash Device ID Structure

SYNOPSIS

struct nand_flash_dev {

char * name;
union ecc;
int onfi_timing_mode_default; };

MEMBERS

name

a human-readable name of the NAND chip

ecc

ECC correctability and step information from the datasheet. ecc.strength_ds: The ECC correctability from the datasheet, same as the ecc_strength_ds in nand_chip{}. ecc.step_ds: The ECC step required by the ecc.strength_ds, same as the ecc_step_ds in nand_chip{}, also from the datasheet. For example, the “4bit ECC for each 512Byte” can be set with NAND_ECC_INFO(4, 512).

onfi_timing_mode_default

the default ONFI timing mode entered after a NAND reset. Should be deduced from timings described in the datasheet.

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.