summaryrefslogtreecommitdiffstats
path: root/src/img4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/img4.c')
-rw-r--r--src/img4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/img4.c b/src/img4.c
index e18b419..ebe2ccd 100644
--- a/src/img4.c
+++ b/src/img4.c
@@ -100,6 +100,8 @@ int img4_stitch_component(const char* component_name, const unsigned char* compo
memcpy((char*)component_data+0xD, "rkrn", 4);
} else if (strcmp(component_name, "RestoreDeviceTree") == 0) {
memcpy((char*)component_data+0xD, "rdtr", 4);
+ } else if (strcmp(component_name, "RestoreSEP") == 0) {
+ memcpy((char*)component_data+0xD, "rsep", 4);
}
// create element header for the "IMG4" magic