Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
puts ("Empty Script\n");
return 1;
}
puts ("Empty Script\n");
return 1;
}
+
+ /*
+ * scripts are just multi-image files with one component, seek
+ * past the zero-terminated sequence of image lengths to get
+ * to the actual image data
+ */
+ while (*data++);
break;
#if defined(CONFIG_FIT)
case IMAGE_FORMAT_FIT:
break;
#if defined(CONFIG_FIT)
case IMAGE_FORMAT_FIT:
/* make sure cmd is null terminated */
memmove (cmd, (char *)data, len);
*(cmd + len) = 0;
/* make sure cmd is null terminated */
memmove (cmd, (char *)data, len);
*(cmd + len) = 0;