Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/nand/raw/
A Dzynq_nand.c402 unsigned short ecc_odd, ecc_even; in zynq_nand_correct_data() local
412 ecc_odd = read_ecc_lower ^ calc_ecc_lower; in zynq_nand_correct_data()
415 if ((ecc_odd == 0) && (ecc_even == 0)) in zynq_nand_correct_data()
418 if (ecc_odd == (~ecc_even & 0xfff)) { in zynq_nand_correct_data()
420 byte_addr = (ecc_odd >> 3) & 0x1ff; in zynq_nand_correct_data()
422 bit_addr = ecc_odd & 0x7; in zynq_nand_correct_data()
428 if (onehot(ecc_odd | ecc_even)) in zynq_nand_correct_data()

Completed in 5 milliseconds