nand_correct_data(9)

nand_correct_data9

[nand interface] detect and correct bit error(s)

Usage

int nand_correct_data(struct mtd_info * mtd, unsigned char * buf, unsigned char * read_ecc, unsigned char * calc_ecc);

Arguments

mtd

MTD block structure

buf

raw data read from the chip

read_ecc

ECC from the chip

calc_ecc

the ECC calculated from raw data

Overview

Detect and correct a 1 bit error for 256/512 byte block

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Thomas Gleixner <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.