nand_correct_data(9)

NAME

nand_correct_data - [NAND Interface] Detect and correct bit error(s)

SYNOPSIS

int nand_correct_data(struct mtd_info * mtd, u_char * dat,
                      u_char * read_ecc, u_char * calc_ecc);

ARGUMENTS

mtd
MTD block structure
dat
raw data read from the chip
read_ecc
ECC from the chip
calc_ecc
the ECC calculated from raw data

DESCRIPTION

Detect and correct a 1 bit error for 256 byte block

AUTHOR

Thomas Gleixner <tglx@linutronix.de>
Author.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout