Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-keystone/
H A Dddr3.c240 u32 ecc_val = KS2_DDR3_ECC_EN; in ddr3_ecc_init_range() local
244 ecc_val |= KS2_DDR3_ECC_RMW_EN; in ddr3_ecc_init_range()
248 ddr3_ecc_config(base, ecc_val); in ddr3_ecc_init_range()
253 u32 ecc_val = KS2_DDR3_ECC_ENABLE; in ddr3_enable_ecc() local
257 ecc_val |= KS2_DDR3_ECC_ADDR_RNG_1_EN; in ddr3_enable_ecc()
263 ecc_val = 0; in ddr3_enable_ecc()
265 ecc_val |= KS2_DDR3_ECC_RMW_EN; in ddr3_enable_ecc()
268 ddr3_ecc_config(base, ecc_val); in ddr3_enable_ecc()
/openbmc/linux/drivers/mtd/nand/raw/
H A Ddavinci_nand.c122 unsigned int ecc_val = nand_davinci_readecc_1bit(nand_to_mtd(chip)); in nand_davinci_calculate_1bit() local
123 unsigned int ecc24 = (ecc_val & 0x0fff) | ((ecc_val & 0x0fff0000) >> 4); in nand_davinci_calculate_1bit()