Searched refs:update_cmd (Results 1 – 1 of 1) sorted by relevance
66 UPDATE_CMD update_cmd[] = { variable105 int num = sizeof(update_cmd) / sizeof(UPDATE_CMD); in RK_ota_set_partition()117 if ( update_cmd[i].need_update || is_sdboot || is_usbboot) { in RK_ota_set_partition()118 update_cmd[i].need_update = false; in RK_ota_set_partition()120 if (strcmp(rkimage_hdr.item[j].name, update_cmd[i].name) == 0) { in RK_ota_set_partition()121 LOGI("found rkimage_hdr.item[%d].name = %s.\n", j, update_cmd[i].name); in RK_ota_set_partition()123 update_cmd[i].offset = *((DWORD *)(&rkimage_hdr.item[j].file[51])); in RK_ota_set_partition()124 update_cmd[i].offset <<= 32; in RK_ota_set_partition()125 update_cmd[i].offset += rkimage_hdr.item[j].offset; in RK_ota_set_partition()126 … LOGI("offset more than 4G, after adjusting is %lld.\n", update_cmd[i].offset); in RK_ota_set_partition()[all …]