return ret;
}
-#ifdef SS_RECOVERYRAMDISK
int verify_RecoveryDelta_IMG(int part_idx, int update_type)
{
int ret = SUCCESS;
}
return ret;
}
-#endif
/*-----------------------------------------------------------------------------
else if (update_type == DELTA_FS)
ret = verify_Delta_FS(part_idx);
else if (update_type == EXTRA)
-#ifdef SS_RECOVERYRAMDISK
ret = verify_RecoveryDelta_IMG(part_idx, FULL_IMG);
-#else
- ret = -1;
-#endif
else
ret = -1;
else if (update_type == DELTA_FS)
ret = update_Delta_FS(part_idx, ui32Operation);
else if (update_type == EXTRA) //TOTA
-#ifdef SS_RECOVERYRAMDISK
ret = update_RecoveryDelta_IMG(part_idx, FULL_IMG);
-#else
- ret = -1;
-#endif
else
ret = -1;
if (!part_name)
return -1;
-#ifdef SS_RECOVERYRAMDISK
if ((update_type != EXTRA) || (0 == strcmp(part_name, "RAMDISK2"))) {
-#else
- if (update_type != EXTRA) {
-#endif
s_part_info[line_num].ua_parti_name = part_name;
s_part_info[line_num].ua_subject_name = subj_name;
s_part_info[line_num].ua_blk_name = blk_name;