Searched refs:ecc0 (Results 1 – 1 of 1) sorted by relevance
143 u32 ecc0, ecc1; in flash_read_ecc() local147 ecc0 = nandc_readl(NANDC_CHIP_DATA(cs)) & 0xF; in flash_read_ecc()149 if (ecc1 > ecc0) in flash_read_ecc()150 ecc0 = ecc1; in flash_read_ecc()152 if (ecc1 > ecc0) in flash_read_ecc()153 ecc0 = ecc1; in flash_read_ecc()155 if (ecc1 > ecc0) in flash_read_ecc()156 ecc0 = ecc1; in flash_read_ecc()158 return ecc0; in flash_read_ecc()