1NAND_CALCULATE_ECC(9)      Public Functions Provided     NAND_CALCULATE_ECC(9)
2
3
4

NAME

6       nand_calculate_ecc - [NAND Interface] Calculate 3-byte ECC for
7       256/512-byte block
8

SYNOPSIS

10       int nand_calculate_ecc(struct mtd_info * mtd,
11                              const unsigned char * buf,
12                              unsigned char * code);
13

ARGUMENTS

15       mtd
16           MTD block structure
17
18       buf
19           input buffer with raw data
20
21       code
22           output buffer with ECC
23

AUTHOR

25       Thomas Gleixner <tglx@linutronix.de>
26           Author.
27
29Kernel Hackers Manual 2.6.         June 2019             NAND_CALCULATE_ECC(9)
Impressum