1. NAME

struct_nand_buffers - buffer structure for read/write

2. SYNOPSIS



 
Sélectionnez
struct nand_buffers {
  uint8_t ecccalc[NAND_MAX_OOBSIZE];
  uint8_t ecccode[NAND_MAX_OOBSIZE];
  uint8_t databuf[NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE];
};

3. MEMBERS

ecccalc[NAND_MAX_OOBSIZE]
    buffer for calculated ECC

ecccode[NAND_MAX_OOBSIZE]
    buffer for ECC read from flash

databuf[NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE]
    buffer for data - dynamically sized

4. DESCRIPTION

Do not change the order of buffers. databuf and oobrbuf must be in consecutive order.

5. AUTHOR

Thomas Gleixner <>
    Author.

6. COPYRIGHT