@@ -300,6 +300,7 @@ static const char *_img4_get_component_tag(const char *compname)
300300 { "Ap,RestoreANE2" , "ran2" },
301301 { "Ap,RestoreANE3" , "ran3" },
302302 { "Ap,RestoreCIO" , "rcio" },
303+ { "Ap,RestoreDCP2" , "rdc2" , },
303304 { "Ap,RestoreTMU" , "rtmu" },
304305 { "Ap,Scorpius" , "scpf" },
305306 { "Ap,SystemVolumeCanonicalMetadata" , "msys" },
@@ -356,7 +357,6 @@ static const char *_img4_get_component_tag(const char *compname)
356357 { "RecoveryMode" , "recm" },
357358 { "RestoreANS" , "rans" },
358359 { "RestoreDCP" , "rdcp" },
359- { "RestoreDCP2" , "rdc2" , },
360360 { "RestoreDeviceTree" , "rdtr" },
361361 { "RestoreExtDCP" , "recp" },
362362 { "RestoreKernelCache" , "rkrn" },
@@ -441,6 +441,8 @@ int img4_stitch_component(const char* component_name, const void* component_data
441441 memcpy ((void * )tag , "rtmu" , 4 );
442442 } else if (strcmp (component_name , "Ap,RestoreCIO" ) == 0 ) {
443443 memcpy ((void * )tag , "rcio" , 4 );
444+ } else if (strcmp (component_name , "Ap,RestoreDCP2" ) == 0 ) {
445+ memcpy ((void * )tag , "rdc2" , 4 );
444446 } else if (strcmp (component_name , "Ap,DCP2" ) == 0 ) {
445447 memcpy ((void * )tag , "dcp2" , 4 );
446448 } else if (strcmp (component_name , "Ap,RestoreSecureM3Firmware" ) == 0 ) {
0 commit comments