Home
last modified time | relevance | path

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

/external/u-boot/env/
Dcommon.c143 int crc1_ok, crc2_ok; in env_import_redund() local
169 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == in env_import_redund()
172 if (!crc1_ok && !crc2_ok) { in env_import_redund()
175 } else if (crc1_ok && !crc2_ok) { in env_import_redund()
177 } else if (!crc1_ok && crc2_ok) { in env_import_redund()
Dnand.c67 int crc1_ok = 0, crc2_ok = 0; in env_nand_init() local
74 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init()
79 if (!crc1_ok && !crc2_ok) { in env_nand_init()
84 } else if (crc1_ok && !crc2_ok) { in env_nand_init()
88 else if (!crc1_ok && crc2_ok) { in env_nand_init()
Dflash.c75 int crc1_ok = 0, crc2_ok = 0; in env_flash_init() local
85 crc2_ok = in env_flash_init()
88 if (crc1_ok && !crc2_ok) { in env_flash_init()
91 } else if (!crc1_ok && crc2_ok) { in env_flash_init()
94 } else if (!crc1_ok && !crc2_ok) { in env_flash_init()