]> git.sur5r.net Git - u-boot/blobdiff - tools/imagetool.h
mkimage: fit_image: Add support for SOURCE_DATE_EPOCH in signatures
[u-boot] / tools / imagetool.h
index d191b9cfe709637a479b41697046f59b7263e2fe..63c08ebc09c3596a80378a341eb7716e01a5ba55 100644 (file)
@@ -216,12 +216,12 @@ int imagetool_get_filesize(struct image_tool_params *params, const char *fname);
  * an error message if SOURCE_DATE_EPOCH contains an invalid value and returns
  * 0.
  *
- * @params:    mkimage parameters
+ * @cmdname:   command name
  * @fallback:  timestamp to use if SOURCE_DATE_EPOCH isn't set
  * @return timestamp based on SOURCE_DATE_EPOCH
  */
 time_t imagetool_get_source_date(
-       struct image_tool_params *params,
+       const char *cmdname,
        time_t fallback);
 
 /*