OpenOCD
|
Go to the source code of this file.
Macros | |
#define | MODPOLY 0x409 /* x^10 + x^3 + 1 in binary */ |
Functions | |
static void | gf_build_log_exp_table (void) |
int | nand_calculate_ecc_kw (struct nand_device *nand, const uint8_t *data, uint8_t *ecc) |
Variables | |
static uint16_t | gf_exp [1023+1023] |
static uint16_t | gf_log [1024] |
|
static |
int nand_calculate_ecc_kw | ( | struct nand_device * | nand, |
const uint8_t * | data, | ||
uint8_t * | ecc | ||
) |
Definition at line 93 of file ecc_kw.c.
References gf_build_log_exp_table(), gf_exp, and gf_log.
Referenced by nand_fileio_read().
|
static |
Definition at line 31 of file ecc_kw.c.
Referenced by gf_build_log_exp_table(), and nand_calculate_ecc_kw().
|
static |
Definition at line 37 of file ecc_kw.c.
Referenced by gf_build_log_exp_table(), and nand_calculate_ecc_kw().