summaryrefslogtreecommitdiff
path: root/ubi-utils/src/bin2nand/nandecc.h
blob: 8ae8a66b4431956006b4a99f1a5ab45a5b06a8ee (plain)
1
2
3
4
5
6
7
8
9
10
11
/*
 * NAND ecc functions
 */
#ifndef _NAND_ECC_H
#define _NAND_ECC_H

#include <stdint.h>

extern int nand_calculate_ecc(const uint8_t *dat, uint8_t *ecc_code);

#endif