diff options
Diffstat (limited to 'src/flash/nand/core.h')
-rw-r--r-- | src/flash/nand/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nand/core.h b/src/flash/nand/core.h index 19c53d1..8f54493 100644 --- a/src/flash/nand/core.h +++ b/src/flash/nand/core.h @@ -202,6 +202,8 @@ int nand_calculate_ecc(struct nand_device *nand, const uint8_t *dat, uint8_t *ecc_code); int nand_calculate_ecc_kw(struct nand_device *nand, const uint8_t *dat, uint8_t *ecc_code); +int nand_correct_data(struct nand_device *nand, u_char *dat, + u_char *read_ecc, u_char *calc_ecc); int nand_register_commands(struct command_context *cmd_ctx); |