Searched refs:crc1_ok (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/u-boot/env/ |
| H A D | common.c | 218 int crc1_ok, crc2_ok; in env_import_redund() local 224 crc1_ok = crc32(0, tmp_env1->data, ENV_SIZE) == in env_import_redund() 229 if (!crc1_ok && !crc2_ok) { in env_import_redund() 232 } else if (crc1_ok && !crc2_ok) { in env_import_redund() 234 } else if (!crc1_ok && crc2_ok) { in env_import_redund()
|
| H A D | sf.c | 168 int crc1_ok = 0, crc2_ok = 0; in env_sf_load() local 195 crc1_ok = 1; in env_sf_load() 204 if (!crc1_ok && !crc2_ok) { in env_sf_load() 208 } else if (crc1_ok && !crc2_ok) { in env_sf_load() 210 } else if (!crc1_ok && crc2_ok) { in env_sf_load()
|
| H A D | nand.c | 68 int crc1_ok = 0, crc2_ok = 0; in env_nand_init() local 78 crc1_ok = crc32(0, tmp_env1->data, ENV_SIZE) == tmp_env1->crc; in env_nand_init() 80 if (!crc1_ok && !crc2_ok) { in env_nand_init() 85 } else if (crc1_ok && !crc2_ok) { in env_nand_init() 89 else if (!crc1_ok && crc2_ok) { in env_nand_init()
|
| H A D | flash.c | 76 int crc1_ok = 0, crc2_ok = 0; in env_flash_init() local 85 crc1_ok = crc32(0, flash_addr->data, ENV_SIZE) == flash_addr->crc; in env_flash_init() 89 if (crc1_ok && !crc2_ok) { in env_flash_init() 92 } else if (!crc1_ok && crc2_ok) { in env_flash_init() 95 } else if (!crc1_ok && !crc2_ok) { in env_flash_init()
|
| /OK3568_Linux_fs/u-boot/tools/env/ |
| H A D | fw_env.c | 1138 int crc1, crc1_ok; in fw_env_open() local 1254 crc1_ok = (crc1 == redundant->crc); in fw_env_open() 1257 if (crc0_ok && !crc1_ok) { in fw_env_open() 1259 } else if (!crc0_ok && crc1_ok) { in fw_env_open() 1261 } else if (!crc0_ok && !crc1_ok) { in fw_env_open()
|