Home
last modified time | relevance | path

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

/arm-trusted-firmware-2.8.0/plat/st/stm32mp1/
A Dstm32mp1_boot_device.c55 goto ecc; in get_data_from_otp()
59 goto ecc; in get_data_from_otp()
123 ecc: in get_data_from_otp()
128 nand_dev->ecc.max_bit_corr = 1U; in get_data_from_otp()
132 nand_dev->ecc.max_bit_corr = 4U; in get_data_from_otp()
136 nand_dev->ecc.max_bit_corr = 8U; in get_data_from_otp()
140 nand_dev->ecc.mode = NAND_ECC_ONDIE; in get_data_from_otp()
144 if (nand_dev->ecc.max_bit_corr == 0U) { in get_data_from_otp()
168 device->nand_dev->ecc.mode = NAND_ECC_HW; in plat_get_raw_nand_data()
169 device->nand_dev->ecc.size = SZ_512; in plat_get_raw_nand_data()
/arm-trusted-firmware-2.8.0/include/drivers/
A Dnand.h17 struct ecc { struct
30 struct ecc ecc; argument
A Dmmc.h146 unsigned int ecc: 2; member
/arm-trusted-firmware-2.8.0/drivers/st/fmc/
A Dstm32_fmc2_nand.c344 uint8_t *ecc) in stm32_fmc2_ham_correct()
363 xor_ecc_1b = ecc[0] ^ eccbuffer[0]; in stm32_fmc2_ham_correct()
364 xor_ecc_2b = ecc[1] ^ eccbuffer[1]; in stm32_fmc2_ham_correct()
428 ecc[0] = heccr; in stm32_fmc2_ham_calculate()
429 ecc[1] = heccr >> 8; in stm32_fmc2_ham_calculate()
430 ecc[2] = heccr >> 16; in stm32_fmc2_ham_calculate()
758 switch (nand->ecc.max_bit_corr) { in stm32_fmc2_setup()
760 nand->ecc.bytes = 3; in stm32_fmc2_setup()
765 nand->ecc.bytes = 13; in stm32_fmc2_setup()
770 nand->ecc.bytes = 7; in stm32_fmc2_setup()
[all …]
/arm-trusted-firmware-2.8.0/drivers/mtd/nand/
A Draw_nand.c331 rawnand_dev.nand_dev->ecc.max_bit_corr = page.nb_ecc_bits; in nand_read_param_page()
332 rawnand_dev.nand_dev->ecc.size = SZ_512; in nand_read_param_page()
338 rawnand_dev.nand_dev->ecc.max_bit_corr, in nand_read_param_page()
416 rawnand_dev.nand_dev->ecc.mode = NAND_ECC_NONE; in nand_raw_init()

Completed in 19 milliseconds