Home
last modified time | relevance | path

Searched refs:ecc_bit (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Datmel_nand.c1084 unsigned int ecc_word, ecc_bit; in atmel_nand_correct() local
1094 ecc_bit = ecc_readl(CONFIG_SYS_NAND_ECC_BASE, PR) & ATMEL_ECC_BITADDR; in atmel_nand_correct()
1103 if ((ecc_bit == ATMEL_ECC_BITADDR) in atmel_nand_correct()
1129 ecc_word, ecc_bit); in atmel_nand_correct()
1133 ((unsigned short *) dat)[ecc_word] ^= (1 << ecc_bit); in atmel_nand_correct()
1136 dat[ecc_word] ^= (1 << ecc_bit); in atmel_nand_correct()