/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot-sam460ex/common/ |
H A D | env_nand.c | 107 env_t *tmp_env2; in env_init() local 110 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_init() 134 else if(tmp_env1->flags > tmp_env2->flags) in env_init() 136 else if(tmp_env2->flags > tmp_env1->flags) in env_init() 143 env_ptr = tmp_env2; in env_init() 296 env_t *tmp_env1, *tmp_env2; in env_relocate_spec() local 304 free (tmp_env2); in env_relocate_spec() 314 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_relocate_spec() 318 free(tmp_env2); in env_relocate_spec() 342 free(tmp_env2); in env_relocate_spec() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot-sam460ex/common/ |
H A D | env_nand.c | 107 env_t *tmp_env2; in env_init() local 110 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_init() 134 else if(tmp_env1->flags > tmp_env2->flags) in env_init() 136 else if(tmp_env2->flags > tmp_env1->flags) in env_init() 143 env_ptr = tmp_env2; in env_init() 296 env_t *tmp_env1, *tmp_env2; in env_relocate_spec() local 304 free (tmp_env2); in env_relocate_spec() 314 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_relocate_spec() 318 free(tmp_env2); in env_relocate_spec() 342 free(tmp_env2); in env_relocate_spec() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot-sam460ex/common/ |
H A D | env_nand.c | 107 env_t *tmp_env2; in env_init() local 110 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_init() 134 else if(tmp_env1->flags > tmp_env2->flags) in env_init() 136 else if(tmp_env2->flags > tmp_env1->flags) in env_init() 143 env_ptr = tmp_env2; in env_init() 296 env_t *tmp_env1, *tmp_env2; in env_relocate_spec() local 304 free (tmp_env2); in env_relocate_spec() 314 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_relocate_spec() 318 free(tmp_env2); in env_relocate_spec() 342 free(tmp_env2); in env_relocate_spec() [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/u-boot-sam460ex/common/ |
H A D | env_nand.c | 107 env_t *tmp_env2; in env_init() local 110 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_init() 134 else if(tmp_env1->flags > tmp_env2->flags) in env_init() 136 else if(tmp_env2->flags > tmp_env1->flags) in env_init() 143 env_ptr = tmp_env2; in env_init() 296 env_t *tmp_env1, *tmp_env2; in env_relocate_spec() local 304 free (tmp_env2); in env_relocate_spec() 314 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_relocate_spec() 318 free(tmp_env2); in env_relocate_spec() 342 free(tmp_env2); in env_relocate_spec() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot-sam460ex/common/ |
H A D | env_nand.c | 107 env_t *tmp_env2; in env_init() local 110 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_init() 134 else if(tmp_env1->flags > tmp_env2->flags) in env_init() 136 else if(tmp_env2->flags > tmp_env1->flags) in env_init() 143 env_ptr = tmp_env2; in env_init() 296 env_t *tmp_env1, *tmp_env2; in env_relocate_spec() local 304 free (tmp_env2); in env_relocate_spec() 314 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_relocate_spec() 318 free(tmp_env2); in env_relocate_spec() 342 free(tmp_env2); in env_relocate_spec() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/u-boot-sam460ex/common/ |
H A D | env_nand.c | 107 env_t *tmp_env2; in env_init() local 110 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_init() 134 else if(tmp_env1->flags > tmp_env2->flags) in env_init() 136 else if(tmp_env2->flags > tmp_env1->flags) in env_init() 143 env_ptr = tmp_env2; in env_init() 296 env_t *tmp_env1, *tmp_env2; in env_relocate_spec() local 304 free (tmp_env2); in env_relocate_spec() 314 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_relocate_spec() 318 free(tmp_env2); in env_relocate_spec() 342 free(tmp_env2); in env_relocate_spec() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/u-boot-sam460ex/common/ |
H A D | env_nand.c | 107 env_t *tmp_env2; in env_init() local 110 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_init() 134 else if(tmp_env1->flags > tmp_env2->flags) in env_init() 136 else if(tmp_env2->flags > tmp_env1->flags) in env_init() 143 env_ptr = tmp_env2; in env_init() 296 env_t *tmp_env1, *tmp_env2; in env_relocate_spec() local 304 free (tmp_env2); in env_relocate_spec() 314 crc2_ok = (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_relocate_spec() 318 free(tmp_env2); in env_relocate_spec() 342 free(tmp_env2); in env_relocate_spec() [all …]
|
/dports/sysutils/u-boot-utilite/u-boot-2015.07/common/ |
H A D | env_nand.c | 72 env_t *tmp_env2; in env_init() local 75 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_init() 97 else if (tmp_env1->flags > tmp_env2->flags) in env_init() 99 else if (tmp_env2->flags > tmp_env1->flags) in env_init() 106 env_ptr = tmp_env2; in env_init() 315 env_t *ep, *tmp_env1, *tmp_env2; in env_relocate_spec() local 318 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_relocate_spec() 319 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_relocate_spec() 337 (crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc); in env_relocate_spec() 365 ep = tmp_env2; in env_relocate_spec() [all …]
|
H A D | env_ubi.c | 115 env_t *ep, *tmp_env1, *tmp_env2; in env_relocate_spec() local 118 tmp_env2 = (env_t *)env2_buf; in env_relocate_spec() 133 if (ubi_volume_read(CONFIG_ENV_UBI_VOLUME_REDUND, (void *)tmp_env2, in env_relocate_spec() 140 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_relocate_spec() 151 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_relocate_spec() 153 else if (tmp_env2->flags == 255 && tmp_env1->flags == 0) in env_relocate_spec() 155 else if (tmp_env1->flags > tmp_env2->flags) in env_relocate_spec() 157 else if (tmp_env2->flags > tmp_env1->flags) in env_relocate_spec() 166 ep = tmp_env2; in env_relocate_spec()
|
/dports/sysutils/u-boot-chip/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/env/ |
H A D | nand.c | 69 env_t *tmp_env2; in env_nand_init() local 71 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 72 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 90 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 94 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 96 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 103 env_ptr = tmp_env2; in env_nand_init() 321 env_t *tmp_env1, *tmp_env2; in env_nand_load() 325 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 326 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/env/ |
H A D | nand.c | 69 env_t *tmp_env2; in env_nand_init() local 71 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 72 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 90 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 94 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 96 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 103 env_ptr = tmp_env2; in env_nand_init() 321 env_t *tmp_env1, *tmp_env2; in env_nand_load() 325 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 326 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-nanopi-neo2/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-wandboard/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot/env/ |
H A D | nand.c | 69 env_t *tmp_env2; in env_nand_init() local 71 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 72 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 90 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 94 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 96 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 103 env_ptr = tmp_env2; in env_nand_init() 321 env_t *tmp_env1, *tmp_env2; in env_nand_load() 325 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 326 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-sopine/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|
/dports/sysutils/u-boot-rpi/u-boot-2021.07/env/ |
H A D | nand.c | 67 env_t *tmp_env2; in env_nand_init() local 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 70 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 88 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_nand_init() 92 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 94 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 env_ptr = tmp_env2; in env_nand_init() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 324 if (tmp_env1 == NULL || tmp_env2 == NULL) { in env_nand_load() [all …]
|